Skip to content

[Bug]: Nothing works after upgrading to 24.0.7, and then to 25.0.1 #35413

@manu5801

Description

@manu5801

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

After upgrading to 24.0.7 most (but not ALL !) logged-in users get a white page, if not already logged they cannot login.
After upgrading again to 25.0.1, same behaviour.

In the log files we have the same message for both versions, ie:

Steps to reproduce

  1. Upgrade from 24.0.6 to 25.0.1
  2. try to login and ask several users to login also
  3. Some users can login, other users cannot. I could not determine why the bug does not appear for everybody
  4. Some already connected users have a white page and cannot do anything
  5. We got the same behaviour in the upgrade from 24.0.6 to 24.0.7

Expected behavior

Login OK, File application or other applications available after logged in

Installation method

Community Docker image

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.0

Web server

Nginx

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

Updated from a minor version (ex. 22.2.3 to 22.2.4)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

/var/www/html $ php occ config:list system
{
    "system": {
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.le-pic.org"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "25.0.1.1",
        "overwrite.cli.url": "https:\/\/cloud.le-pic.org",
        "overwriteprotocol": "https",
        "default_language": "fr",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "skeletondirectory": "\/var\/www\/html\/core\/skeleton_pic",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "forwarded_for_headers": [
            "HTTP_X_FORWARDED_FOR"
        ],
        "maintenance": false,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "theme": "",
        "loglevel": 0,
        "default_phone_region": "ISO 3166-2:FR",
        "mail_smtpsecure": "tls"
    }
}

List of activated Apps

/var/www/html $ php occ app:list
Enabled:
  - activity: 2.17.0
  - announcementcenter: 6.4.0
  - calendar: 4.1.0
  - circles: 25.0.0
  - cloud_federation_api: 1.8.0
  - comments: 1.15.0
  - contactsinteraction: 1.6.0
  - dashboard: 7.5.0
  - dav: 1.24.0
  - deck: 1.8.2
  - federatedfilesharing: 1.15.0
  - federation: 1.15.0
  - files: 1.20.1
  - files_mindmap: 0.0.27
  - files_pdfviewer: 2.6.0
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - firstrunwizard: 2.14.0
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - nextcloud_announcements: 1.14.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - onlyoffice: 7.6.8
  - ownpad: 0.7.1
  - password_policy: 1.15.0
  - photos: 2.0.0
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - recommendations: 1.4.0
  - related_resources: 1.0.3
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - support: 1.8.0
  - survey_client: 1.13.0
  - systemtags: 1.15.0
  - tasks: 0.14.5
  - text: 3.6.0
  - theming: 2.0.1
  - twofactor_backupcodes: 1.14.0
  - updatenotification: 1.15.0
  - user_status: 1.5.0
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - workflowengine: 2.7.0
Disabled:
  - admin_audit
  - bruteforcesettings
  - encryption
  - files_external
  - suspicious_login
  - twofactor_totp
  - user_ldap
/var/www/html $

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

{"log":"172.18.0.2 - - [23/Nov/2022:22:12:20 +0000] \"GET /apps/theming/image/logo?v=11 HTTP/1.1\" 404 8242 \"-\" \"Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0\" \"172.18.0.1\"\n","stream":"stdout","time":"2022-11-23T22:12:20.309316458Z"}
{"log":"2022/11/23 22:12:21 [error] 31#31: *150 FastCGI sent in stderr: \"PHP message: PHP Fatal error:  Nesting level too deep - recursive dependency? in /var/www/html/lib/private/Log/ExceptionSerializer.php on line 215\" while reading response header from upstream, client: 172.18.0.2, server: , request: \"PROPFIND /remote.php/dav/files/helene/ HTTP/1.1\", upstream: \"fastcgi://172.24.0.4:9000\", host: \"cloud.le-pic.org\"\n","stream":"stderr","time":"2022-11-23T22:12:21.190263041Z"}
{"log":"172.18.0.2 - helene [23/Nov/2022:22:12:21 +0000] \"PROPFIND /remote.php/dav/files/helene/ HTTP/1.1\" 500 5 \"-\" \"Mozilla/5.0 (Linux) mirall/2.5.1git (Nextcloud)\" \"172.18.0.1\"\n","stream":"stdout","time":"2022-11-23T22:12:21.190669752Z"}
{"log":"2022/11/23 22:12:21 [error] 31#31: *150 FastCGI sent in stderr: \"PHP message: PHP Fatal error:  Nesting level too deep - recursive dependency? in /var/www/html/lib/private/Log/ExceptionSerializer.php on line 215\" while reading response header from upstream, client: 172.18.0.2, server: , request: \"GET /apps/recommendations/api/recommendations/always HTTP/1.1\", upstream: \"fastcgi://172.24.0.4:9000\", host: \"cloud.le-pic.org\"\n","stream":"stderr","time":"2022-

Additional info

We could provide a workaround commenting out lines 205-207 in the file /var/www/html/lib/private/Log/ExceptionSerializer.php, so that the removeValuesFromArg function producing the error is no more called and everything works now

Please note the bug is present in versions 24.0.7 AND 25.0.1, we did not notice it in previous versions.

We use the community container nextcloud:25-fpm-alpine

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap25-feedbackbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions