After an upgrade to NC25 Beta 6 from NC24 Nextcloud throws an 500 internal server error for logged in users. I switched the debug level to 0, but wasn't unable to finde more information than this trace which doesn't help me to get an idea, what might trigger the problem.
Technische Details
Entfernte Adresse: *.*.*.*
Anfragekennung: VCfmkYXxYwbhOMWqG9E4
Typ: Exception
Code: 0
Nachricht: Return value of OC\Files\Storage\Wrapper\Quota::getQuota() must be of the type int, float returned in file '/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Quota.php' line 70
Datei: /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php
Zeile: 165
Trace
#0 /var/www/nextcloud/lib/private/AppFramework/App.php(172): OC\AppFramework\Http\Dispatcher->dispatch()
#1 /var/www/nextcloud/lib/private/Route/Router.php(298): OC\AppFramework\App::main()
#2 /var/www/nextcloud/lib/base.php(1047): OC\Route\Router->match()
#3 /var/www/nextcloud/index.php(36): OC::handleRequest()
#4 {main}
Vorige
#0 /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Quota.php(74): OC\Files\Storage\Wrapper\Quota->getQuota()
#1 /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Quota.php(110): OC\Files\Storage\Wrapper\Quota->hasQuota()
#2 /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(334): OC\Files\Storage\Wrapper\Quota->free_space()
#3 /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(334): OC\Files\Storage\Wrapper\Wrapper->free_space()
#4 /var/www/nextcloud/lib/private/Files/View.php(1171): OC\Files\Storage\Wrapper\Wrapper->free_space()
#5 /var/www/nextcloud/lib/private/Files/View.php(1117): OC\Files\View->basicOperation()
#6 /var/www/nextcloud/lib/private/Files/Node/Folder.php(383): OC\Files\View->free_space()
#7 /var/www/nextcloud/apps/spreed/lib/TInitialState.php(137): OC\Files\Node\Folder->getFreeSpace()
#8 /var/www/nextcloud/apps/spreed/lib/Files/TemplateLoader.php(97): OCA\Talk\Files\TemplateLoader->publishInitialStateForUser()
#9 /var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php(87): OCA\Talk\Files\TemplateLoader->handle()
#10 /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php(251): OC\EventDispatcher\ServiceEventListener->__invoke()
#11 /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
#12 /var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php(88): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
#13 /var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php(100): OC\EventDispatcher\EventDispatcher->dispatch()
#14 /var/www/nextcloud/apps/dashboard/lib/Controller/DashboardController.php(99): OC\EventDispatcher\EventDispatcher->dispatchTyped()
#15 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(225): OCA\Dashboard\Controller\DashboardController->index()
#16 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(133): OC\AppFramework\Http\Dispatcher->executeController()
#17 /var/www/nextcloud/lib/private/AppFramework/App.php(172): OC\AppFramework\Http\Dispatcher->dispatch()
#18 /var/www/nextcloud/lib/private/Route/Router.php(298): OC\AppFramework\App::main()
#19 /var/www/nextcloud/lib/base.php(1047): OC\Route\Router->match()
#20 /var/www/nextcloud/index.php(36): OC::handleRequest()
#21 {main}
Haven't tried to reproduce it on other instances. Error occured directly after installing Beta5 with the web installer. Tried to upgrade to Beta6 with a manual upgrade. Nothing changed.
200 OK instead of 500 Internal Server Error.
Updated to a major version (ex. 22.2.3 to 23.0.1)
{
"system": {
"maintenance": false,
"config_is_read_only": false,
"installed": true,
"version": "25.0.0.11",
"share_folder": "\/Shared\/",
"sharing.maxAutocompleteResults": 50,
"sharing.minSearchStringLength": 2,
"sharing.enable_share_accept": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"forcessl": true,
"blacklisted_files": [
".htaccess"
],
"theme": "",
"default_language": "de",
"3rdpartyroot": "",
"3rdpartyurl": "", [44/384]
"defaultapp": "apporder",
"knowledgebaseenabled": false,
"knowledgebaseurl": "https:\/\/api.owncloud.com\/v1",
"appstoreenabled": true,
"appstoreurl": "https:\/\/apps.nextcloud.com\/api\/v1",
"activity_expire_days": 186,
"mail_smtpdebug": false,
"mail_smtpmode": "sendmail",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"mail_smtptimeout": 10,
"mail_smtpauthtype": "LOGIN",
"trashbin_retention_obligation": "180, auto",
"versions_retention_obligation": "30,auto",
"allow_user_to_change_display_name": true,
"appcodechecker": true,
"updatechecker": true,
"log_type": "file",
"logfile": "\/tmp\/nextcloud.log",
"logfilemode": 416,
"loglevel": 0,
"syslog_tag": "Nextcloud",
"remember_login_cookie_lifetime": 1209600,
"session_lifetime": 86400,
"xframe_restriction": true,
"apps_paths": [
{
"path": "\/var\/www\/nextcloud\/apps\/",
"url": "\/apps",
"writable": true
}
],
"customclient_desktop": "",
"customclient_android": "",
"customclient_ios": "",
"instanceid": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***.org"
],
"appstore.experimental.enabled": true,
"debug": true,
"log_rotate_size": 1048576,
"singleuser": false,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mysql.utf8mb4": true,
"updater.release.channel": "beta",
"preview_libreoffice_path": "\/usr\/bin\/libreoffice",
"enable_previews": true,
"preview_max_x": 800,
"preview_max_y": 800,
"enabledPreviewProviders": [
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\HEIC",
"OC\\Preview\\BMP",
"OC\\Preview\\XBitmap",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\OpenDocument",
"OC\\Preview\\Krita",
"OC\\Preview\\MSOffice2003",
"OC\\Preview\\MSOffice2007",
"OC\\Preview\\MSOfficeDoc",
"OC\\Preview\\PDF",
"OC\\Preview\\Postscript",
"OC\\Preview\\StarOffice",
"OC\\Preview\\SVG",
"OC\\Preview\\Font"
],
"twofactor_enforced": "false",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"skeletondirectory": "",
"app_install_overwrite": {
"25": "bbb"
},
"overwrite.cli.url": "https:\/\/***.org",
"data-fingerprint": "7921b76ed34d1840b29754d584250194",
"logtimezone": "Europe\/Berlin",
"activity_use_cached_mountpoints": true,
"has_rebuilt_cache": true,
"simpleSignUpLink.shown": true,
"default_phone_region": "DE",
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}
Bug description
After an upgrade to NC25 Beta 6 from NC24 Nextcloud throws an 500 internal server error for logged in users. I switched the debug level to 0, but wasn't unable to finde more information than this trace which doesn't help me to get an idea, what might trigger the problem.
Steps to reproduce
Haven't tried to reproduce it on other instances. Error occured directly after installing Beta5 with the web installer. Tried to upgrade to Beta6 with a manual upgrade. Nothing changed.
Expected behavior
200 OK instead of 500 Internal Server Error.
Installation method
Community Manual installation with Archive
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Nginx
Database engine version
MySQL
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?
No response
What user-backends are you using?
Configuration report
{ "system": { "maintenance": false, "config_is_read_only": false, "installed": true, "version": "25.0.0.11", "share_folder": "\/Shared\/", "sharing.maxAutocompleteResults": 50, "sharing.minSearchStringLength": 2, "sharing.enable_share_accept": true, "memcache.local": "\\OC\\Memcache\\APCu", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "dbname": "***REMOVED SENSITIVE VALUE***", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbtableprefix": "oc_", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "forcessl": true, "blacklisted_files": [ ".htaccess" ], "theme": "", "default_language": "de", "3rdpartyroot": "", "3rdpartyurl": "", [44/384] "defaultapp": "apporder", "knowledgebaseenabled": false, "knowledgebaseurl": "https:\/\/api.owncloud.com\/v1", "appstoreenabled": true, "appstoreurl": "https:\/\/apps.nextcloud.com\/api\/v1", "activity_expire_days": 186, "mail_smtpdebug": false, "mail_smtpmode": "sendmail", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "25", "mail_smtptimeout": 10, "mail_smtpauthtype": "LOGIN", "trashbin_retention_obligation": "180, auto", "versions_retention_obligation": "30,auto", "allow_user_to_change_display_name": true, "appcodechecker": true, "updatechecker": true, "log_type": "file", "logfile": "\/tmp\/nextcloud.log", "logfilemode": 416, "loglevel": 0, "syslog_tag": "Nextcloud", "remember_login_cookie_lifetime": 1209600, "session_lifetime": 86400, "xframe_restriction": true, "apps_paths": [ { "path": "\/var\/www\/nextcloud\/apps\/", "url": "\/apps", "writable": true } ], "customclient_desktop": "", "customclient_android": "", "customclient_ios": "", "instanceid": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "***.org" ], "appstore.experimental.enabled": true, "debug": true, "log_rotate_size": 1048576, "singleuser": false, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mysql.utf8mb4": true, "updater.release.channel": "beta", "preview_libreoffice_path": "\/usr\/bin\/libreoffice", "enable_previews": true, "preview_max_x": 800, "preview_max_y": 800, "enabledPreviewProviders": [ "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\HEIC", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\MP3", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown", "OC\\Preview\\OpenDocument", "OC\\Preview\\Krita", "OC\\Preview\\MSOffice2003", "OC\\Preview\\MSOffice2007", "OC\\Preview\\MSOfficeDoc", "OC\\Preview\\PDF", "OC\\Preview\\Postscript", "OC\\Preview\\StarOffice", "OC\\Preview\\SVG", "OC\\Preview\\Font" ], "twofactor_enforced": "false", "twofactor_enforced_groups": [], "twofactor_enforced_excluded_groups": [], "skeletondirectory": "", "app_install_overwrite": { "25": "bbb" }, "overwrite.cli.url": "https:\/\/***.org", "data-fingerprint": "7921b76ed34d1840b29754d584250194", "logtimezone": "Europe\/Berlin", "activity_use_cached_mountpoints": true, "has_rebuilt_cache": true, "simpleSignUpLink.shown": true, "default_phone_region": "DE", "updater.secret": "***REMOVED SENSITIVE VALUE***" } }List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
Additional info
No response