Nextcloud on 32bit Odroid XU4 throws "Invalid "upload_max_filesize" setting. Invalid quantity "10G"

I have searched the forum for similar issues

on

This category is for issues regarding specific apps, NOT general issues with YunoHost.

on

This form is written in English :uk: but feel free to write in French :fr: if you’re more comfortable!

on

What type of hardware are you using

Other ARM board

What YunoHost version are you running

11.2.30.2

What app is this about

Nextcloud 29.0.2~ynh1

Describe your issue

After updating several PHP/PHP-FPM related packages to their respective newest version, Nextcloud throws a 500 error with this message:
Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

I changed the value (see below) of the (in the nextcloud error log) mentioned variable to 2G from 10G but it doesn’t change the behavior of Nextcloud or fixes the error, maybe these don’t get applied anyway?:
/etc/php/8.2/fpm/pool.d/nextcloud.conf:php_value[upload_max_filesize] = 2G
/etc/php/7.3/fpm/pool.d/nextcloud.conf:php_value[post_max_size] = 2G
/etc/php/7.3/fpm/pool.d/nextcloud.conf:php_value[upload_max_filesize] = 2G
/etc/php/8.2/fpm/pool.d/nextcloud.conf:php_value[post_max_size] = 2G

This instance is running on an ODroid XU4 32bit and it seems, that this may be the culprit of this issue, see here:

Share relevant logs or error messages

{“reqId”:“ouZedJ0NosvGY8ESaXxI”,“level”:3,“time”:“2024-10-13T17:50:32+00:00”,“remoteAddr”:“192.168.210.131”,“user”:“0x0000001”,“app”:“PHP”,“method”:“GET”,“url”:“/nextcloud/index.php/apps/files/preview-service-worker.js”,“message”:“Invalid "upload_max_filesize" setting. Invalid quantity "10G": value is out of range, using overflow result for backwards compatibility at Unknown#0”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0”,“version”:“29.0.2.2”,“data”:{“app”:“PHP”}}

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.