AIO: Beta Update to NC 31: Server error

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:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • NC31 RC1
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu

Summary of the issue you are facing:

  1. I do a Beta update like here described: How to update to Nextcloud 30 now? · nextcloud/all-in-one · Discussion #5133 · GitHub

  2. Now I get the internal server error page in the browser

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.

Only the message:

"Unable to generate a URL for the named route \"richdocuments.document.editonline\" as such route does not exist."

"The requested alias \"OCP\\IServerContainer\" is deprecated. Please request \"Psr\\Container\\ContainerInterface\" directly. This alias will be removed in a future Nextcloud version."

"Call to undefined method OC\\TaskProcessing\\Manager::getAvailableTaskTypeIds()"
"Unable to generate a URL for the named route \"files.view.index\" as such route does not exist."

"Call to undefined method OC\\TaskProcessing\\Manager::getAvailableTaskTypeIds()"

"Unable to generate a URL for the named route \"theming.theming.getthemestylesheet\" as such route does not exist."

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

    "system": {
        "debug": false,
        "one-click-instance": true,
        "one-click-instance.user-limit": 100,
        "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
            }
        ],
        "check_data_directory_permissions": false,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "overwritehost": "c.roehrl-online.de",
        "overwriteprotocol": "https",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "c.***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "31.0.9.0",
        "overwrite.cli.url": "https:\***/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "maintenance": true,
        "loglevel": 0,
        "log_type": "file",
        "logfile": "\/var\/www\/html\/data\/nextcloud.log",
        "log_rotate_size": "10485760",
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "jpeg_quality": 60,
        "enabledPreviewProviders": {
            "1": "OC\\Preview\\Image",
            "2": "OC\\Preview\\MarkDown",
            "3": "OC\\Preview\\MP3",
            "4": "OC\\Preview\\TXT",
            "5": "OC\\Preview\\OpenDocument",
            "6": "OC\\Preview\\Movie",
            "7": "OC\\Preview\\Krita",
            "0": "OC\\Preview\\Imaginary",
            "23": "OC\\Preview\\ImaginaryPDF"
        },
        "enable_previews": true,
        "upgrade.disable-web": true,
        "mail_smtpmode": "smtp",
        "trashbin_retention_obligation": "auto, 30",
        "versions_retention_obligation": "auto, 30",
        "activity_expire_days": "30",
        "simpleSignUpLink.shown": false,
        "share_folder": "\/Shared",
        "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
        "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
        "updatedirectory": "\/nc-updater",
        "davstorage.request_timeout": 3600,
        "htaccess.RewriteBase": "\/",
        "dbpersistent": false,
        "files_external_allow_create_new_local": false,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "allow_local_remote_servers": true,
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "DE",
        "skeletondirectory": "\/mnt\/ncdata\/skeleton",
        "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-musl",
        "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "appsallowlist": false,
        "updater.release.channel": "beta",
        "app_install_overwrite": [
            "nextcloud-aio",
            "memories",
            "files_rightclick",
            "workflow_media_converter",
            "fulltextsearch_elasticsearch",
            "news",
            "bookmarks",
            "fulltextsearch",
            "files_fulltextsearch",
            "previewgenerator"
        ],
        "defaultapp": "",
        "memories.gis_type": 2,
        "maintenance_window_start": 100,
        "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
        "memories.db.triggers.fcu": true,
        "auth.bruteforce.protection.enabled": true,
        "ratelimit.protection.enabled": true,
        "data-fingerprint": "a126e354b437c805b95cb702d9c1408c",
        "forbidden_filename_basenames": [
            "con",
            "prn",
            "aux",
            "nul",
            "com0",
            "com1",
            "com2",
            "com3",
            "com4",
            "com5",
            "com6",
            "com7",
            "com8",
            "com9",
            "com\u00b9",
            "com\u00b2",
            "com\u00b3",
            "lpt0",
            "lpt1",
            "lpt2",
            "lpt3",
            "lpt4",
            "lpt5",
            "lpt6",
            "lpt7",
            "lpt8",
            "lpt9",
            "lpt\u00b9",
            "lpt\u00b2",
            "lpt\u00b3"
        ],
        "forbidden_filename_characters": [
            "<",
            ">",
            ":",
            "\"",
            "|",
            "?",
            "*",
            "\\",
            "\/"
        ],
        "forbidden_filename_extensions": [
            " ",
            ".",
            ".filepart",
            ".part"
        ],
        "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
        "updatechecker": false,

Apps

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

I disabled all apps:

Enabled:

  • cloud_federation_api: 1.16.0
  • dav: 1.34.2
  • federatedfilesharing: 1.22.0
  • files: 2.4.0
  • files_fulltextsearch: 31.0.0
  • fulltextsearch: 31.0.0
  • fulltextsearch_elasticsearch: 31.0.0
  • lookup_server_connector: 1.20.0
  • oauth2: 1.20.0
  • profile: 1.1.0
  • provisioning_api: 1.22.0
  • richdocuments: 9.0.0-beta.2
  • settings: 1.15.0
  • spreed: 22.0.0-rc.2
  • support: 4.0.0-dev.0
  • theming: 2.7.0
  • twofactor_backupcodes: 1.21.0
  • viewer: 5.0.0-dev.0
  • workflowengine: 2.14.0
    Disabled:
  • activity: 5.0.0-dev.0 (installed 5.0.0-dev.0)
  • admin_audit: 1.22.0 (installed 1.22.0)
  • app_api: 32.0.0-dev.5 (installed 5.0.2)
  • bookmarks: 15.2.0 (installed 15.2.0)
  • bruteforcesettings: 5.0.0-dev.0 (installed 5.0.0-dev.0)
  • circles: 32.0.0-dev.0 (installed 32.0.0-dev.0)
  • comments: 1.22.0 (installed 1.22.0)
  • contacts: 8.0.0 (installed 8.0.0)
  • contactsinteraction: 1.13.0 (installed 1.13.0)
  • dashboard: 7.12.0 (installed 7.12.0)
  • encryption: 2.20.0
  • federation: 1.22.0 (installed 1.22.0)
  • files_downloadlimit: 5.0.0-dev.0 (installed 4.0.0)
  • files_external: 1.24.0
  • files_pdfviewer: 5.0.0-dev.0 (installed 5.0.0-dev.0)
  • files_reminders: 1.5.0 (installed 1.5.0)
  • files_sharing: 1.24.0 (installed 1.24.0)
  • files_trashbin: 1.22.0 (installed 1.22.0)
  • files_versions: 1.25.0 (installed 1.25.0)
  • firstrunwizard: 5.0.0-dev.0 (installed 5.0.0-dev.0)
  • groupfolders: 20.0.0 (installed 20.0.0)
  • logreader: 5.0.0-dev.0 (installed 5.0.0-dev.0)
  • mail: 5.5.0-rc.1 (installed 5.5.0-rc.1)
  • memories: 7.6.2 (installed 7.6.2)
  • news: 27.0.0-beta.1 (installed 27.0.0-beta.1)
  • nextcloud-aio: 0 (installed 0.8.0)
  • nextcloud_announcements: 4.0.0-dev.0 (installed 1.16.0)
  • notifications: 5.0.0-dev.0 (installed 5.0.0-dev.0)
  • password_policy: 4.0.0-dev.0 (installed 4.0.0-dev.0)
  • photos: 5.0.0-dev.1 (installed 5.0.0-dev.1)
  • previewgenerator: 5.10.0 (installed 5.10.0)
  • privacy: 4.0.0-dev.0 (installed 1.11.0)
  • recommendations: 5.0.0-dev.0 (installed 5.0.0-dev.0)
  • related_resources: 3.0.0-dev.0 (installed 3.0.0-dev.0)
  • serverinfo: 4.0.0-dev.0 (installed 4.0.0-dev.0)
  • sharebymail: 1.22.0 (installed 1.22.0)
  • survey_client: 4.0.0-dev.0 (installed 1.15.0)
  • suspicious_login: 10.0.0-dev.0
  • systemtags: 1.22.0 (installed 1.21.1)
  • text: 6.0.0-dev.0 (installed 6.0.0-dev.0)
  • twofactor_nextcloud_notification: 6.0.0-dev.0 (installed 6.0.0-dev.0)
  • twofactor_totp: 14.0.0 (installed 14.0.0)
  • updatenotification: 1.22.0 (installed 1.22.0)
  • user_ldap: 1.23.0
  • user_status: 1.12.0 (installed 1.12.0)
  • weather_status: 1.12.0 (installed 1.7.0)
  • webhook_listeners: 1.3.0 (installed 1.1.0-dev)
  • workflow_script: 3.0.0 (installed 3.0.0)

Thanks a lot! :heart: