-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: scan-app-data conversion #34283
Comments
Hi, is this instance running with 64bit PHP? |
I managed to find a fix due to the deprecation with php 8+. I don't know how to use Github properly so I'll post my fix here. Hopefully someone who's more skilled than me can pull this. File in question: Line 242: Changed to-
|
@Hiyoal mind to make a PR to review? Thanks. |
Fixes nextcloud#34283 Signed-off-by: Moritz Göppl <24495490+mgoeppl@users.noreply.github.com>
I also have this problem in v25.0.1 not every time i run the scan but often. |
I have also seen this problem on two recent NC updates: NC 25.0.0
NC 25.0.2 RC3
PHP is 64-bit
|
Nextcloud Version is 25.0.2. not sure how to check if php executable is 32/64 yet |
Applies suggestion from @Hiyoal in nextcloud#34283. See nextcloud#34283 (comment). Closes nextcloud#34283. Signed-off-by: EWouters <6179932+EWouters@users.noreply.github.com>
@st3iny We can close this now, right? |
Not yet. The command |
Adapted from sugestions by @Hiyoal in nextcloud#34283 and @st3iny in nextcloud#35935. See nextcloud#34283 (comment) and nextcloud#35935 (comment). Closes nextcloud#34283. Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: EWouters <6179932+EWouters@users.noreply.github.com>
Hi, please update to 24.0.9 or better 25.0.3 and report back if it fixes the issue. Thank you! My goal is to add a label like e.g. 25-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort! If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+ |
Merged 👍 |
Adapted from sugestions by @Hiyoal in #34283 and @st3iny in #35935. See #34283 (comment) and #35935 (comment). Closes #34283. Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: EWouters <6179932+EWouters@users.noreply.github.com>
Adapted from sugestions by @Hiyoal in #34283 and @st3iny in #35935. See #34283 (comment) and #35935 (comment). Closes #34283. Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: EWouters <6179932+EWouters@users.noreply.github.com>
Adapted from sugestions by @Hiyoal in #34283 and @st3iny in #35935. See nextcloud/server#34283 (comment) and nextcloud/server#35935 (comment). Closes #34283. Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: EWouters <6179932+EWouters@users.noreply.github.com>
Bug description
After running occ files:scan-app-data on server v24.0.5, I'm getting
In ScanAppData.php line 242:
Implicit conversion from float 0.4666666666666667 to int loses precision
Steps to reproduce
Expected behavior
Not getting error message
Installation method
Community Manual installation with Archive
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: