Hello!
First things first: My name is tim, i’ve been maintaining a Next-/OwnCloud- Instance for quite a few years now. I am 47 years old, live in northern germany and am about to make IT stuff my profession.
I cannot say for sure when this trouble started. The first error lines in /var/log/apache2/nextcloud-error.log may have appeared earlier this year, but it all used to work pretty well.
Right now any interaction on the front end leads to a longish error message in said error.log, please see below. Its content hints at Bug 34019
The administrative frontend is mostly dysfunctional, the user frontend doesn’t show any files (there are many). Other apps work fine, though.
I suspect that i am rather struggling with the deprecation of my 32bit arch. As far as i read the bug report, the patch to #34019 was reverted for 32bit so i did a
grep -ni float /srv/nextcloud/lib/private/Files/Storage/Wrapper/Quota.php
which showed 0 results. No luck!
I do remember doing a little CLI manipulation a few months ago because quotas didn’t work. AFAIR i executed
sudo -u www-data php occ user:setting [uid] files quota 1GB
which seemed to do the trick. Could this be related?
So my question is: Am i struck by bug 34019 on 32bit system or have i damaged something when doing occ magic? The latest updates ran pretty much without error (except for the announced deprecation of my i386 machine and PHP7.3)
My system:
- virtual server in a remote hosting site
- arch: i386
- NC version: 25.0.3
- OS: Debian Linux 11 “stable” with kernel 5.13.12
- PHP7.3
- Webserver: Apache 2.4.54
- Database: MariaDB 10.5.18
- Upgrade channel: stable
Please let me know if you need more info to examine the problem.
Example error line:
[Tue Dec 20 14:29:15.604418 2022] [proxy_fcgi:error] [pid 2028:tid 3846175552] [client 94.31.86.114:39556] AH01071: Got error ‘PHP message: {“reqId”:“30aagSjS2euZtcOpBcAa”,“level”:3,“time”:“December 20, 2022 13:29:15”,“remoteAddr”:“94.31.86.114”,“user”:“tim”,“app”:“no app in context”,“method”:“GET”,“url”:“/ocs/v1.php/cloud/user?format=json”,“message”:“Typed property OC\\Files\\Storage\\Wrapper\\Quota::$quota must be int or null, float used in file ‘/srv/nextcloud/lib/private/Files/Storage/Wrapper/Quota.php’ line 68”,“userAgent”:“Mozilla/5.0 (Linux) mirall/3.1.1-2+deb11u1 (Nextcloud)”,“version”:“25.0.2.3”,“exception”:{“Exception”:“Exception”,“Message”:“Typed property OC\\Files\\Storage\\Wrapper\\Quota::$quota must be int or null, float used in file ‘/srv/nextcloud/lib/private/Files/Storage/Wrapper/Quota.php’ line 68”,“Code”:0,“Trace”:[{“file”:“/srv/nextcloud/lib/private/AppFramework/App.php”,“line”:172,“function”:“dispatch”,“class”:“OC\\AppFramework\\Http\\Dispatcher”,“type”:“->”},{“file”:“/srv/nextcloud/lib/private/Route/Router.php”,“line”:298,“function”:“main”,“class”:“OC\\AppFramework\\App”,“type”:“::”},{“file”:"/srv/ne…’
(Log line not shortened by me)