500 after update to nc 25 (+ OS update)

I don’t know for sure this will help resolve your issue, but there are a couple errors related to apps in your logs like:

Info    related_resources   Could not resolve OCA\Circles\CirclesManager! Class "OCA\Circles\CirclesManager" does not exist                2022-10-22T19:29:03+00:00 
Debug   drawio              /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.   2022-10-22T19:29:17+00:00
Info    related_resources   Could not resolve OCA\Circles\CirclesManager! Class "OCA\Circles\CirclesManager" does not exist                2022-10-22T19:29:17+00:00 

Could you try and disable all your apps with the occ command and see if that helps? :pray:

Thanks for your fast response. I disabled all “custom” apps. However, behavior is the same.

Now occ app:list returns:

Enabled:
  - bruteforcesettings: 2.5.0
  - cloud_federation_api: 1.8.0
  - contactsinteraction: 1.6.0
  - dav: 1.24.0
  - federatedfilesharing: 1.15.0
  - files: 1.20.1
  - files_external: 1.17.0
  - 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
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - oauth2: 1.13.0
  - provisioning_api: 1.15.0
  - related_resources: 1.0.1
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - systemtags: 1.15.0
  - text: 3.6.0
  - twofactor_backupcodes: 1.14.0
  - twofactor_nextcloud_notification: 3.5.0
  - twofactor_totp: 7.0.0
  - viewer: 1.9.0
  - workflowengine: 2.7.0
Disabled:
  - activity: 2.17.0
  - admin_audit: 1.13.0
  - breezedark: 24.0.2
  - calendar: 4.0.1
  - camerarawpreviews: 0.8.0
  - circles: 22.0.0
  - comments: 1.9.0
  - contacts: 5.0.1
  - dashboard: 7.0.0
  - deck: 1.8.0
  - drawio: 1.0.3
  - encryption
  - federation: 1.9.0
  - files_inotify
  - firstrunwizard: 2.6.0
  - mail: 2.0.3
  - nextcloud_announcements: 1.8.0
  - notes: 4.6.0
  - notifications: 2.11.1
  - notify_push: 0.5.0
  - onlyoffice: 7.6.6
  - password_policy: 1.13.0
  - photos: 1.5.0
  - privacy: 1.7.0
  - recommendations: 0.7.0
  - sharebymail: 1.13.0
  - support: 1.2.1
  - survey_client: 1.7.0
  - suspicious_login
  - theming: 1.14.0
  - updatenotification: 1.13.0
  - user_ldap
  - user_status: 1.0.0
  - weather_status: 1.0.0

Would you recommend disabling more apps? I have 2FA active for instance and don’t know what happens if I just disable the 2FA apps.

If it still isn’t working, then yes, try and disable more apps until you only have the core left, if it still doesn’t work with that, it is something else.

I don’t know what will happen when you disable the 2FA using the occ command unfortunately, I haven’t really done it myself except for one time almost a year ago now, so I don’t remember, sorry :pray:

It isn’t really mentioned in the docs either what disabling it will end up doing

Logically I would think it should work fine, and then pick up your settings again when you enable it but that is only a pure guess based on a hazy memory and not a certainty. So I will say disable the other ones first that isn’t a part of the core and see if your instance comes back alive again and leave 2FA for last.

Hopefully you won’t need to disable it at all since I see the apps giving you error message are disabled, if you try and access it now are you able to access the login page?

Edit: For Docker you should also be able to get logs by using something like docker logs <container name/id>, which might help provide you more information on what is going wrong

Ok, I tried to disable all apps but for some I get xxx can't be disabled.

occ app:list now returns (all enabled can't be disabled):

Enabled:
  - cloud_federation_api: 1.8.0
  - dav: 1.24.0
  - federatedfilesharing: 1.15.0
  - files: 1.20.1
  - lookup_server_connector: 1.13.0
  - oauth2: 1.13.0
  - provisioning_api: 1.15.0
  - settings: 1.7.0
  - twofactor_backupcodes: 1.14.0
  - viewer: 1.9.0
  - workflowengine: 2.7.0
Disabled:
  - activity: 2.17.0
  - admin_audit: 1.13.0
  - breezedark: 24.0.2
  - bruteforcesettings: 2.5.0
  - calendar: 4.0.1
  - camerarawpreviews: 0.8.0
  - circles: 22.0.0
  - comments: 1.9.0
  - contacts: 5.0.1
  - contactsinteraction: 1.6.0
  - dashboard: 7.0.0
  - deck: 1.8.0
  - drawio: 1.0.3
  - encryption
  - federation: 1.9.0
  - files_external: 1.17.0
  - files_inotify
  - 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.6.0
  - logreader: 2.10.0
  - mail: 2.0.3
  - nextcloud_announcements: 1.8.0
  - notes: 4.6.0
  - notifications: 2.11.1
  - notify_push: 0.5.0
  - onlyoffice: 7.6.6
  - password_policy: 1.13.0
  - photos: 1.5.0
  - privacy: 1.7.0
  - recommendations: 0.7.0
  - related_resources: 1.0.1
  - serverinfo: 1.15.0
  - sharebymail: 1.13.0
  - support: 1.2.1
  - survey_client: 1.7.0
  - suspicious_login
  - systemtags: 1.15.0
  - text: 3.6.0
  - theming: 1.14.0
  - twofactor_nextcloud_notification: 3.5.0
  - twofactor_totp: 7.0.0
  - updatenotification: 1.13.0
  - user_ldap
  - user_status: 1.0.0
  - weather_status: 1.0.0

500 error is still showing. No login page. Tried to docker-compose up --force-recreate -d but no change.

I see, that’s unfortunate…
What information does it give you with docker-compose logs ?

You should see the startup sequence in the logs there at least after a recreate

Edit: You can also run the occ check command as explained in the post below from a topic with the same error code and see what that tells you

Here is the content of docker-compose logs. Nothing too interesting imo. Just a lot of 500 responses.

nextcloud      | Configuring Redis as session handler
nextcloud      | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.99.0.5. Set the 'ServerName' directive globally to suppress this message
nextcloud      | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.99.0.5. Set the 'ServerName' directive globally to suppress this message
nextcloud      | [Sat Oct 22 20:17:34.603920 2022] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.54 (Debian) PHP/8.1.11 configured -- resuming normal operations
nextcloud      | [Sat Oct 22 20:17:34.603978 2022] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
nextcloud      | 172.70.246.127 - xxxx [22/Oct/2022:20:17:39 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 162.158.91.222 - xxxx [22/Oct/2022:20:17:40 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 198.41.242.213 - xxxx [22/Oct/2022:20:17:43 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 162.158.91.222 - xxxx [22/Oct/2022:20:17:43 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.99.0.8 - - [22/Oct/2022:20:17:45 +0000] "GET /index.php/apps/notify_push/test/version HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 172.70.243.10 - xxxx [22/Oct/2022:20:17:46 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:17:46 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.250.131 - xxxx [22/Oct/2022:20:17:49 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:17:49 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1624 "-" "-"
nextcloud      | 198.41.242.149 - xxxx [22/Oct/2022:20:17:50 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:17:50 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.246.251 - xxxx [22/Oct/2022:20:17:51 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1612 "-" "-"
nextcloud      | 162.158.90.133 - xxxx [22/Oct/2022:20:17:53 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:17:54 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1626 "-" "-"
nextcloud      | 162.158.91.234 - xxxx [22/Oct/2022:20:17:56 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1628 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:17:57 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 162.158.92.3 - xxxx [22/Oct/2022:20:17:59 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.251.48 - xxxx [22/Oct/2022:20:18:00 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:18:00 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.246.251 - xxxx [22/Oct/2022:20:18:01 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.250.131 - xxxx [22/Oct/2022:20:18:03 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.246.251 - xxxx [22/Oct/2022:20:18:04 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 172.70.246.127 - - [22/Oct/2022:20:18:06 +0000] "PROPFIND /remote.php/dav/principals/users/xxxx/ HTTP/1.1" 503 1962 "-" "macOS/12.6 (21G115) CalendarAgent/961.4.2"
nextcloud      | 198.41.242.215 - xxxx [22/Oct/2022:20:18:06 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:18:07 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.251.148 - xxxx [22/Oct/2022:20:18:09 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 198.41.242.215 - xxxx [22/Oct/2022:20:18:09 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.246.251 - xxxx [22/Oct/2022:20:18:11 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:18:11 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1628 "-" "-"
nextcloud      | 198.41.242.215 - xxxx [22/Oct/2022:20:18:13 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:18:14 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 162.158.92.149 - xxxx [22/Oct/2022:20:18:16 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1624 "-" "-"
nextcloud      | 162.158.91.222 - xxxx [22/Oct/2022:20:18:18 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1630 "-" "-"
nextcloud      | 172.70.250.131 - xxxx [22/Oct/2022:20:18:19 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.246.127 - xxxx [22/Oct/2022:20:18:20 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:18:21 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:18:21 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.242.17 - xxxx [22/Oct/2022:20:18:23 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:18:25 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1622 "-" "-"
mariadb        | 2022-10-22 20:17:33+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.9.3+maria~ubu2204 started.
mariadb        | 2022-10-22 20:17:33+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mariadb        | 2022-10-22 20:17:33+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.9.3+maria~ubu2204 started.
mariadb        | 2022-10-22 20:17:34+00:00 [Note] [Entrypoint]: MariaDB upgrade (mariadb-upgrade) required, but skipped due to $MARIADB_AUTO_UPGRADE setting
mariadb        | 2022-10-22 20:17:34 0 [Note] mariadbd (server 10.9.3-MariaDB-1:10.9.3+maria~ubu2204-log) starting as process 1 ...
mariadb        | 2022-10-22 20:17:34 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mariadb        | 2022-10-22 20:17:34 0 [Note] InnoDB: Number of transaction pools: 1
mariadb        | 2022-10-22 20:17:34 0 [Note] InnoDB: Using genxxxx crc32 instructions
mariadb        | 2022-10-22 20:17:34 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
mariadb        | 2022-10-22 20:17:34 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
mariadb        | 2022-10-22 20:17:34 0 [Note] InnoDB: Completed initialization of buffer pool
mariadb        | 2022-10-22 20:17:34 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
mariadb        | 2022-10-22 20:17:34 0 [Note] InnoDB: 128 rollback segments are active.
mariadb        | 2022-10-22 20:17:34 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
mariadb        | 2022-10-22 20:17:34 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
mariadb        | 2022-10-22 20:17:34 0 [Note] InnoDB: log sequence number 166717127662; transaction id 247364133
mariadb        | 2022-10-22 20:17:34 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mariadb        | 2022-10-22 20:17:34 0 [Note] Plugin 'FEEDBACK' is disabled.
mariadb        | 2022-10-22 20:17:34 0 [Note] Server socket created on IP: '0.0.0.0'.
mariadb        | 2022-10-22 20:17:34 0 [Note] Server socket created on IP: '::'.
mariadb        | 2022-10-22 20:17:34 0 [Warning] 'proxies_priv' entry '@% root@xxxx' ignored in --skip-name-resolve mode.
mariadb        | 2022-10-22 20:17:34 0 [Note] mariadbd: ready for connections.
mariadb        | Version: '10.9.3-MariaDB-1:10.9.3+maria~ubu2204-log'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
mariadb        | 2022-10-22 20:17:34 0 [Note] InnoDB: Buffer pool(s) load completed at 221022 20:17:34
nextcloud      | 172.70.243.10 - xxxx [22/Oct/2022:20:18:26 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:18:28 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 172.70.251.148 - xxxx [22/Oct/2022:20:18:29 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.246.127 - xxxx [22/Oct/2022:20:18:30 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 172.70.246.251 - xxxx [22/Oct/2022:20:18:31 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:18:32 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.242.139 - xxxx [22/Oct/2022:20:18:33 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1626 "-" "-"
nextcloud      | 172.70.246.251 - xxxx [22/Oct/2022:20:18:35 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.242.17 - xxxx [22/Oct/2022:20:18:36 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 162.158.91.222 - xxxx [22/Oct/2022:20:18:38 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.251.148 - xxxx [22/Oct/2022:20:18:39 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.242.139 - xxxx [22/Oct/2022:20:18:40 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.246.251 - xxxx [22/Oct/2022:20:18:42 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1628 "-" "-"
nextcloud      | 162.158.91.222 - xxxx [22/Oct/2022:20:18:42 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 172.70.242.17 - xxxx [22/Oct/2022:20:18:43 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1630 "-" "-"
nextcloud      | 172.70.246.251 - xxxx [22/Oct/2022:20:18:46 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 172.70.242.17 - xxxx [22/Oct/2022:20:18:46 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1624 "-" "-"
nextcloud      | 162.158.91.222 - xxxx [22/Oct/2022:20:18:49 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 172.70.242.139 - xxxx [22/Oct/2022:20:18:50 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1626 "-" "-"
nextcloud      | 162.158.90.133 - xxxx [22/Oct/2022:20:18:50 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.243.20 - xxxx [22/Oct/2022:20:18:52 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:18:53 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1626 "-" "-"
nextcloud      | 172.70.250.131 - xxxx [22/Oct/2022:20:18:53 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:18:56 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.251.48 - xxxx [22/Oct/2022:20:18:57 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:18:59 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.242.139 - xxxx [22/Oct/2022:20:19:00 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.246.95 - xxxx [22/Oct/2022:20:19:00 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 162.158.91.222 - xxxx [22/Oct/2022:20:19:03 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.246.251 - xxxx [22/Oct/2022:20:19:03 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 162.158.90.247 - xxxx [22/Oct/2022:20:19:04 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:19:06 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.246.115 - xxxx [22/Oct/2022:20:19:07 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:19:09 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1624 "-" "-"
nextcloud      | 172.70.250.175 - xxxx [22/Oct/2022:20:19:10 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 162.158.90.157 - xxxx [22/Oct/2022:20:19:10 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 172.70.243.20 - xxxx [22/Oct/2022:20:19:13 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:19:13 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 162.158.92.3 - xxxx [22/Oct/2022:20:19:14 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1624 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:19:16 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.243.10 - xxxx [22/Oct/2022:20:19:17 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 162.158.91.222 - xxxx [22/Oct/2022:20:19:20 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 172.70.242.139 - xxxx [22/Oct/2022:20:19:20 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.251.48 - xxxx [22/Oct/2022:20:19:20 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1634 "-" "-"
cron           | crond: crond (busybox 1.30.1) started, log level 0
cron           | crond: user:www-data entry:(null)
cron           | 100001000010000100001000010000100001000010000100001000010000
cron           | 111111111111111111111111
cron           | 11111111111111111111111111111111
cron           | 111111111111
cron           | 1111111
cron           | crond: user:www-data entry:(null)
cron           | 100001000010000100001000010000100001000010000100001000010000
cron           | 111111111111111111111111
cron           | 11111111111111111111111111111111
cron           | 111111111111
cron           | 1111111
cron           | crond: wakeup dt=15
cron           | crond: file www-data:
cron           | crond:  line php -f /var/www/html/cron.php
cron           | crond: wakeup dt=60
cron           | crond: file www-data:
cron           | crond:  line php -f /var/www/html/cron.php
cron           | crond: wakeup dt=60
cron           | crond: file www-data:
cron           | crond:  line php -f /var/www/html/cron.php
cron           | crond:  job: 0 php -f /var/www/html/cron.php
cron           | crond: child running /bin/bash
cron           | crond: USER www-data pid   7 cmd php -f /var/www/html/cron.php
cron           | crond: wakeup dt=10
cron           | crond: wakeup dt=10
cron           | crond: wakeup dt=10
cron           | crond: wakeup dt=10
nextcloud      | 172.70.243.20 - xxxx [22/Oct/2022:20:19:23 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 198.41.242.213 - xxxx [22/Oct/2022:20:19:24 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1624 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:19:24 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.246.127 - xxxx [22/Oct/2022:20:19:27 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.246.251 - xxxx [22/Oct/2022:20:19:27 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1630 "-" "-"
nextcloud      | 172.70.251.148 - xxxx [22/Oct/2022:20:19:30 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 172.70.251.148 - xxxx [22/Oct/2022:20:19:30 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 162.158.91.222 - xxxx [22/Oct/2022:20:19:30 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.246.193 - xxxx [22/Oct/2022:20:19:33 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:19:33 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1624 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:19:34 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1614 "-" "-"
nextcloud      | 198.41.242.215 - xxxx [22/Oct/2022:20:19:37 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:19:37 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.246.115 - xxxx [22/Oct/2022:20:19:40 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.250.131 - xxxx [22/Oct/2022:20:19:40 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.246.251 - xxxx [22/Oct/2022:20:19:40 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.246.115 - xxxx [22/Oct/2022:20:19:43 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1630 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:19:44 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:19:44 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1624 "-" "-"
nextcloud      | 172.70.251.148 - xxxx [22/Oct/2022:20:19:46 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.246.251 - xxxx [22/Oct/2022:20:19:47 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.250.131 - xxxx [22/Oct/2022:20:19:49 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.250.175 - xxxx [22/Oct/2022:20:19:50 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:19:51 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.246.95 - xxxx [22/Oct/2022:20:19:53 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:19:54 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.243.20 - xxxx [22/Oct/2022:20:19:54 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.251.148 - xxxx [22/Oct/2022:20:19:56 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.246.251 - xxxx [22/Oct/2022:20:19:58 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.246.193 - xxxx [22/Oct/2022:20:19:59 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.250.175 - xxxx [22/Oct/2022:20:19:59 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 162.158.91.222 - xxxx [22/Oct/2022:20:20:01 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.251.48 - xxxx [22/Oct/2022:20:20:03 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:20:04 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:20:05 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 162.158.90.43 - xxxx [22/Oct/2022:20:20:06 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.246.251 - xxxx [22/Oct/2022:20:20:08 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.250.131 - xxxx [22/Oct/2022:20:20:09 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.250.175 - xxxx [22/Oct/2022:20:20:09 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:20:11 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.246.95 - xxxx [22/Oct/2022:20:20:12 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1626 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:20:15 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1624 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:20:15 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1616 "-" "-"
nextcloud      | 172.70.250.175 - xxxx [22/Oct/2022:20:20:16 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:20:18 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.246.95 - xxxx [22/Oct/2022:20:20:19 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.242.139 - xxxx [22/Oct/2022:20:20:19 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1626 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:20:21 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 198.41.242.215 - xxxx [22/Oct/2022:20:20:22 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.243.20 - xxxx [22/Oct/2022:20:20:25 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.246.115 - xxxx [22/Oct/2022:20:20:25 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:20:25 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.243.10 - xxxx [22/Oct/2022:20:20:28 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:20:29 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1624 "-" "-"
nextcloud      | 172.70.246.193 - xxxx [22/Oct/2022:20:20:29 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 162.158.91.222 - xxxx [22/Oct/2022:20:20:32 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.250.131 - xxxx [22/Oct/2022:20:20:32 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 162.158.91.222 - xxxx [22/Oct/2022:20:20:35 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 162.158.91.220 - xxxx [22/Oct/2022:20:20:35 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:20:36 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.246.127 - xxxx [22/Oct/2022:20:20:38 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.251.48 - xxxx [22/Oct/2022:20:20:39 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 162.158.91.222 - xxxx [22/Oct/2022:20:20:39 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1618 "-" "-"
nextcloud      | 172.70.242.17 - xxxx [22/Oct/2022:20:20:42 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1622 "-" "-"
nextcloud      | 172.70.243.20 - xxxx [22/Oct/2022:20:20:42 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1634 "-" "-"
nextcloud      | 172.70.251.48 - xxxx [22/Oct/2022:20:20:45 +0000] "MKCOL /remote.php/dav/files/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 198.41.242.33 - xxxx [22/Oct/2022:20:20:45 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1620 "-" "-"
nextcloud      | 172.70.250.149 - xxxx [22/Oct/2022:20:20:46 +0000] "PUT /remote.php/dav/files/xxxx/xxxx HTTP/1.1" 500 1620 "-" "-"
redis          | 1:C 22 Oct 2022 20:17:33.651 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis          | 1:C 22 Oct 2022 20:17:33.651 # Redis version=7.0.5, bits=64, commit=00000000, modified=0, pid=1, just started
redis          | 1:C 22 Oct 2022 20:17:33.651 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis          | 1:M 22 Oct 2022 20:17:33.652 * monotonic clock: POSIX clock_gettime
redis          | 1:M 22 Oct 2022 20:17:33.653 * Running mode=standalone, port=6379.
redis          | 1:M 22 Oct 2022 20:17:33.653 # Server initialized
redis          | 1:M 22 Oct 2022 20:17:33.653 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis          | 1:M 22 Oct 2022 20:17:33.655 * Loading RDB produced by version 7.0.5
redis          | 1:M 22 Oct 2022 20:17:33.655 * RDB age 1 seconds
redis          | 1:M 22 Oct 2022 20:17:33.655 * RDB memory usage when created 1.84 Mb
redis          | 1:M 22 Oct 2022 20:17:33.658 * Done loading RDB, keys loaded: 1129, keys expired: 0.
redis          | 1:M 22 Oct 2022 20:17:33.658 * DB loaded from disk: 0.005 seconds
redis          | 1:M 22 Oct 2022 20:17:33.658 * Ready to accept connections

occ check provides an empty response

occ status returns:

  - installed: true
  - version: 25.0.0.18
  - versionstring: 25.0.0
  - edition: 
  - maintenance: false
  - needsDbUpgrade: false
  - productname: Nextcloud
  - extendedSupport: false

occ upgrade returns Nextcloud is already latest version

There are some interesting parts in those logs

One related to redis memory issues with no config file present and one related to Cron and the HTTP user

crond: user:www-data entry:(null)
redis          | 1:C 22 Oct 2022 20:17:33.651 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis          | 1:M 22 Oct 2022 20:17:33.653 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.

Here is a topic and GitHub issue of users experiencing the same thing with Docker and certain images

There is also another user with the same Ubuntu version as you that needed to enable the Apache2 Headers module again in the topic I linked earlier

They were using Ubuntu 22.04 with PHP 8.0, is that the same versions as you?

Beyond this I don’t know :pray:

It might be that you need to recover using a backup, unless someone else might drop by that knows how to resolve it or where to find more info to help you resolve it

I am having the same kind of issue. Pushed an update and can no longer access the server. Update in process it says.
I am almost ready to scrap everything and start fresh, unless anyone has any ideas how to fix what seems to be a borked update?

cron was working perfectly fine before the upgrade. Don’t know what the (null) has to say in the log line above.

IMO redis is just saying that I dont have created a config file and it is using the defaults which would be a problem when RAM is low. RAM is not low on the machine. It seams to be a known issue with running redis in docker. Compare: https://serverfault.com/questions/1053313/is-it-possible-to-set-vm-overcommit-memory-1-only-for-specific-containers

I think because I use docker, the Ubuntu version should not be relevant. Inside the container nc is using debian 11.5 and php 8.1.

Alright :+1:

Yes you are correct, I was thinking if the container was using Ubuntu as well :slight_smile:

Then I don’t know unfortunately :pray: hopefully someone else drops by that might know a way to help you resolve it

Yes, setting up a new nc env is easy. I’m just afraid that the error is in the db somehow. Data is on the file system, but I don’t know how I can backup and restore just the contacts and calendar as well as info about shared folders.

I am wondering why the calls are clearly reaching the server (as response code 500 as well as log entries in docker log show) but there are no errors in the nc logs at all, even with loglevel debug. Therefore, I’m completely in the dark at this point.

Currently I’m thinking about the integrated Apache may not forward the request to the nc backend for some reason and just response 500 itself. However, Apache logs should show up in docker logs as well imo.

Any creative idea how to debug further?

Wanted to chime in:

I had nearly the same issue after updating to 25.0.0. If I’m reading this thread right you’re using Apache.

I was unable to login to the web interface after updating. I’d input my login info, and in response I’d just get a refreshed login screen with a different URL and an HTTP 500 for an asset. In my case the asset was “/core/img/app-background.jpg.”

Just as you – occ completely functional. No errors in logs, both Nextcloud and NGINX/Apache.

I fixed the problem by messing around with the NGINX configuration supplied in the admin manual. That configuration includes this block:

 location ~ \.(?:css|js|svg|gif|png|jpg|ico|wasm|tflite)$ {
            try_files $uri /nextcloud/index.php$request_uri;
            expires 6M;         # Cache-Control policy borrowed from `.htaccess`
            access_log off;     # Optional: Don't log access to assets

            location ~ \.wasm$ {
                default_type application/wasm;
            }
        }

I can reliably trigger and solve the issue at will by inserting/deleting this part of the NGINX config and deleting the reference to the file extension of the asset that’s the subject of the HTTP 500, in my case “jpg.” I can keep the rest of the config intact if I just delete the reference to “jpg.”

Based on how prevalent login issues seem to be on this forum after the release of NC 25 it would seem to me that there’s a bug pertaining to UI assets somewhere.

I can login without incident modifying my server configuration in the way I described and with these apps active:

Enabled:
  - activity: 2.17.0
  - bruteforcesettings: 2.5.0
  - calendar: 4.0.1
  - cloud_federation_api: 1.8.0
  - contacts: 5.0.1
  - contactsinteraction: 1.6.0
  - dashboard: 7.5.0
  - dav: 1.24.0
  - federatedfilesharing: 1.15.0
  - files: 1.20.1
  - files_pdfviewer: 2.6.0
  - files_rightclick: 1.4.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - nextcloud_announcements: 1.14.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - password_policy: 1.15.0
  - photos: 2.0.0
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - related_resources: 1.0.1
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - suspicious_login: 4.3.0
  - text: 3.6.0
  - theming: 2.0.0
  - twofactor_backupcodes: 1.14.0
  - updatenotification: 1.15.0
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - workflowengine: 2.7.0

I think the only relevant apps in this case are dashboard and theming. I did update related-resources to 1.0.1 before fixing my issue, but I didn’t see any change from updating.

EDIT:

Upon further investigation the NGINX configuration in the admin manual actually changed slightly from what was supplied when I set up this instance in May this year.

Prior to NC 24 the NGINX configuration contained the location block I described above. From NC 24 onwards the manual was changed to include

# Set the `immutable` cache control options only for assets with a cache busting `v` argument
map $arg_v $asset_immutable {
    "" "";
    default "immutable";
}

and


    location ~ \.(?:css|js|svg|gif|png|jpg|ico|wasm|tflite|map)$ {
        try_files $uri /index.php$request_uri;
        add_header Cache-Control "public, max-age=15778463, $asset_immutable";
        access_log off;     # Optional: Don't log access to assets

        location ~ \.wasm$ {
            default_type application/wasm;
        }
    }

Using this updated configuration makes the login issue disappear with the entire location block intact. So it would seem this issue is not a bug in Nextcloud but that changes were made in NC 24/25 that necessitate a change in web server configurations, and existing users would not know to change their configurations until they encounter the issue and/or happen to stumble upon the changes in the manual.

1 Like

Interesting point. I’m using the „normal“ docker image with the integrated Apache web server nextcloud:latest (a big mistake to use latest tag), not the fpm version. Therefore, I would assume that nc devs patch the config when releasing the official image. But indeed maybe this is the root case.

With the old / broken config, were you able to see the login screen or did you just get a blank 500 page as I do?

I can see the login screen and input credentials, but when I submit the page refreshes and the browser reports a 500 for “/core/img/app-background.jpg.”

Nextcloud logs would report two separate errors on login:

“The requested uri (/core/img/app-background.jpg” cannot be processed by the script '/nextcloud/index.php"

“Current user is not logged in”

Both of these I can trigger and resolve at will by inserting/deleting that block controlling static assets in my nginx.conf. I think the web interface refuses to load if it gets any type of error trying to load UI assets even if the login would otherwise be successful.

I have the same issue. Error 500. Login is not possible. Would be glad, if there are some hints, how to solve it.
If I click on the show Passwort (eye), the password is removed from the line.

How I could solve the issue:
After deactivating all activated Apps, nextcloud-login and calendar worked properly.

Hi, I had the same issue with the 500 internal server error on nearly 10 different instances of nextcloud and the cause was always the same.

I used the Webbased updater, but there seems to be a change with the handle of the occ app “spreed” when you upgrade from nc 24.x to nc 25.x that causes the error.

If you want to check if it is the same thing in your case, you have to have a look in the webserver log (for me apache2 in /var/log/error.log) for a similar entry like this;

[Wed Dec 14 15:30:24.407020 2022] [php:error] [pid 7842] [client my.server.ip.adress:65135] PHP Fatal error: Declaration of OCA\Talk\Share\RoomShareProvider::getSharesInFolder($userId, OCP\Files\Folder $node, $reshares): array must be compatible with OCP\Share\IShareProvider::getSharesInFolder($userId, OCP\Files\Folder $node, $reshares, $shallow = true) in /var/www/nextcloud/apps/spreed/lib/Share/RoomShareProvider.php on line 520

Solution for me:
I used the shell based CLI updater instead of the Webbased and everything was fine.

change to the directory where nextcloud is installed (often /var/www/nextcloud and type the following;

for download and perform updatefiles;

sudo -u www-data php updater/updater.phar --no-interaction

or;

sudo -u www-data php --define apc.enable_cli=1 occ upgrade

(–define apc.enable_cli=1 is optional but helps if there is a memcache information which is blocking executing this)

change maintenance mode in php.conf (often stored in /var/www/nextcloud/conf) back to false after you have finished the upgrade

Thats it, NC should run again as expected, dont forget to create a Backup BEFORE you beginn if something is going wrong.

I hope this will helping other people solving this quickly :grinning:

another good article to the same issue

Regards
Flo

2 Likes