Error 500 after updating to 33.0.10 from 33.0.5

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 33.0.10
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04.5 LTS
  • Web server and version (e.g, Apache 2.4.25):
    • 2.4.58
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • 8.5.11 (will update after I updated nextcloud)
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • running the web updater yesterday evening
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Bare Metal (I think?)
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

Hi everyone! I’ve been wanting to get everything up to date due to the PHP vulnerabilities, and thought while I’m at it I might as well also update Nextcloud. I’ve run the web updater and it seems to complete normally without throwing any visible errors, and the log says the update did complete successfully, but when I try to access the front-end afterwards it’s just throwing “500 Internal Server Error”.

I’ve rolled back to a backup and tried to update via the occ, but I get the same result.

I’ve searched and read through a lot of forum posts having similar issues with other versions, but none of the fixes did anything for me.

Steps to replicate it (hint: details matter!):

  1. Run the updater from 33.0.10 to 33.0.5

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

Updater.log: Nextcloud Updater.log - Pastebin.com

Nextcloud.log: Nextcloud Nextcloud.log - Pastebin.com

Configuration

Nextcloud

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.ShipScrewUnscrewersTender.de",
            "159.195.39.191"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "33.0.10.1",
        "overwrite.cli.url": "https:\/\/cloud.shipscrewunscrewerstender.de",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance_window_start": 3,
        "maintenance": false,
        "htaccess.RewriteBase": "\u2019",
        "loglevel": 2,
        "defaultapp": "files,dashboard",
        "default_phone_region": "DE",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "serverid": 1,
        "theme": "",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

Apps

The output of occ app:list (if possible).

Enabled:
  - activity: 6.0.0
  - app_api: 33.0.0
  - bruteforcesettings: 6.0.0
  - calendar: 6.6.3
  - circles: 33.0.0
  - cloud_federation_api: 1.17.0
  - comments: 1.23.0
  - contacts: 8.9.2
  - contactsinteraction: 1.14.1
  - dashboard: 7.13.0
  - dav: 1.36.1
  - federatedfilesharing: 1.23.0
  - federation: 1.23.0
  - files: 2.5.0
  - files_downloadlimit: 5.1.0
  - files_lock: 33.0.6
  - files_pdfviewer: 6.0.0
  - files_reminders: 1.6.0
  - files_sharing: 1.25.2
  - files_trashbin: 1.23.0
  - files_versions: 1.26.0
  - firstrunwizard: 6.0.0
  - logreader: 6.0.0
  - lookup_server_connector: 1.21.0
  - nextcloud_announcements: 5.0.0
  - notes: 6.1.0
  - notifications: 6.0.0
  - oauth2: 1.21.0
  - password_policy: 5.0.0
  - photos: 6.0.0
  - privacy: 5.0.0
  - profile: 1.2.0
  - provisioning_api: 1.23.0
  - recommendations: 6.0.0
  - related_resources: 4.0.0
  - richdocuments: 10.3.2
  - richdocumentscode: 26.4.402
  - serverinfo: 5.0.0
  - settings: 1.16.0
  - sharebymail: 1.23.0
  - support: 5.0.0
  - survey_client: 5.0.0
  - systemtags: 1.23.0
  - text: 7.0.1
  - theming: 2.8.0
  - twofactor_backupcodes: 1.22.0
  - twofactor_totp: 15.0.0
  - updatenotification: 1.23.0
  - user_status: 1.13.0
  - viewer: 6.0.0
  - weather_status: 1.13.0
  - webhook_listeners: 1.5.0
  - workflowengine: 2.15.0
Disabled:
  - admin_audit: 1.23.0
  - documentserver_community: 0.2.4 (installed 0.2.4)
  - encryption: 2.21.0
  - files_external: 1.25.1
  - suspicious_login: 11.0.0
  - testing: 1.23.0
  - twofactor_nextcloud_notification: 7.0.0
  - user_ldap: 1.24.0

What is your Apache error log showing when you accessing https://cloud.shipscrewunscrewerstender.de/apps/richdocumentscode/proxy.php?req=/hosting/discovery?

Something is causing the built-in Collabora CODE (richdocumentscode) to fail badly.

Sorry for the hasty first response…

Indeed it seems there is an issue with the built in document server. Try disabling this.

Thanks a lot for pointing me to the Apache Error Log, a snippet there led me to the .htaccess file:

[Fri Oct 23 19:18:05.276129 2026] [mpm_prefork:notice] [pid 50885] AH00163: Apache/2.4.58 (Ubuntu) OpenSSL/3.0.13 configured -- resuming normal operations
[Fri Oct 23 19:18:05.276160 2026] [core:notice] [pid 50885] AH00094: Command line: '/usr/sbin/apache2'
[Fri Oct 23 19:18:39.289891 2026] [core:alert] [pid 53597] [client [my ip]] /var/www/nextcloud/.htaccess: RewriteBase: argument is not a valid URL
[Fri Oct 23 19:18:40.240837 2026] [core:alert] [pid 53598] [client [my ip]] /var/www/nextcloud/.htaccess: RewriteBase: argument is not a valid URL


For now I have just commented that line out, and I can access the frontend again!

This likely the cause.

Thank you! I don’t know why I would have put that in there or when I did, but now updating the .htaccess via the OCC also works normally again!