After upgrade to NC 29 (also 0.1), no editing or viewer works in browser

Neither CODE (external), nor editing markdownfile or viewing PDF files is working after upgrading from NC28, browser just downloads the specific file, regardless of browser brand, are I’m missing something

Please post output of occ config:list system and occ app:list.

Also, you may want to review your Nextcloud log from the time period of the original upgrade to v29. It may indicate some apps weren’t compatible or upgraded or similar.

What installation method? What method did you use to upgrade?

The installation method is more or less fpm and nginx in docker, I use it in combination with mailcow. The update method to 29.0.0 (yesterday, I’ve waited until group folders was ready for NC29) was done starting with web and finished with occ upgrade without any error. At this point, the behaviour was, as I described. Today, I upgraded to 29.0.1, all done using the web interface, without any error, but without changing the behaviour.

the config:list

 {
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "nc.mo-its.at"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.1.1",
        "overwrite.cli.url": "http:\/\/localhost",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0,
            "dbindex": 10
        },
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "overwritehost": "nc.mo-its.at",
        "overwriteprotocol": "https",
        "overwritewebroot": "\/",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "588",
        "mail_smtpstreamoptions": {
            "ssl": {
                "verify_peer": false,
                "verify_peer_name": false
            }
        },
        "maintenance": false,
        "theme": "",
        "loglevel": 2
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "2.21.1",
            "types": "filesystem"
        },
        "backgroundjob": {
            "lastjob": "252"
        },
        "circles": {
            "enabled": "yes",
            "installed_version": "29.0.0-dev",
            "loopback_tmp_scheme": "http",
            "maintenance_run": "0",
            "maintenance_update": "{\"3\":1716555442,\"2\":1716557542,\"1\":1716557842}",
            "migration_22": "1",
            "migration_run": "0",
            "types": "filesystem,dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "logging"
        },
        "contactsinteraction": {
            "enabled": "yes",
            "installed_version": "1.10.0",
            "types": "dav"
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "files_metadata": "{\"photos-original_date_time\":{\"value\":null,\"type\":\"int\",\"etag\":\"\",\"indexed\":true,\"editPermission\":0},\"photos-size\":{\"value\":null,\"type\":\"array\",\"etag\":\"\",\"indexed\":false,\"editPermission\":0},\"photos-exif\":{\"value\":null,\"type\":\"array\",\"etag\":\"\",\"indexed\":false,\"editPermission\":0},\"photos-ifd0\":{\"value\":null,\"type\":\"array\",\"etag\":\"\",\"indexed\":false,\"editPermission\":0},\"blurhash\":{\"value\":null,\"type\":\"string\",\"etag\":\"c54fb84a0b90860c3e26c627bd0c068f\",\"indexed\":false,\"editPermission\":0}}",
            "files_metadata_installed": "1",
            "installedat": "1706778861.2209",
            "lastcron": "1716557842",
            "lastupdateResult": "{\"version\":\"29.0.1.1\",\"versionstring\":\"Nextcloud 29.0.1\",\"url\":\"https:\\\/\\\/download.nextcloud.com\\\/server\\\/releases\\\/nextcloud-29.0.1.zip\",\"web\":\"https:\\\/\\\/docs.nextcloud.com\\\/server\\\/29\\\/admin_manual\\\/maintenance\\\/upgrade.html\",\"changes\":\"https:\\\/\\\/updates.nextcloud.com\\\/changelog_server\\\/?version=29.0.1\",\"autoupdater\":\"1\",\"eol\":\"0\"}",
            "lastupdatedat": "0",
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "updater.secret.created": "1716547588",
            "vendor": "nextcloud",
            "oc.integritycheck.checker": "[]"
        },
        "dashboard": {
            "enabled": "yes",
            "installed_version": "7.9.0",
            "types": ""
        },
        "dav": {
            "buildCalendarReminderIndex": "yes",
            "buildCalendarSearchIndex": "yes",
            "builtSocialSearchIndex": "yes",
            "chunks_migrated": "1",
            "enabled": "yes",
            "installed_version": "1.30.1",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "types": "filesystem"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "authentication"
        },
        "files": {
            "default_quota": "1 GB",
            "enabled": "yes",
            "installed_version": "2.1.0",
            "types": "filesystem"
        },
        "files_downloadlimit": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": ""
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "2.10.0",
            "types": ""
        },
        "files_reminders": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "filesystem"
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "filesystem,dav"
        },
        "firstrunwizard": {
            "enabled": "yes",
            "installed_version": "2.18.0",
            "types": "logging"
        },
        "groupfolders": {
            "enabled": "yes",
            "installed_version": "17.0.0",
            "types": "filesystem,dav"
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "2.14.0",
            "types": "logging"
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": "authentication"
        },
        "nextcloud_announcements": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "2.17.0",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": "authentication"
        },
        "password_policy": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "authentication"
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "2.5.0",
            "lastPlaceMappedUser": "admin",
            "lastPlaceMappingDone": "true",
            "types": "dav,authentication"
        },
        "privacy": {
            "enabled": "yes",
            "installed_version": "1.13.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "prevent_group_restriction"
        },
        "recommendations": {
            "enabled": "yes",
            "installed_version": "2.1.0",
            "types": ""
        },
        "related_resources": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "types": ""
        },
        "richdocuments": {
            "enabled": "yes",
            "installed_version": "8.4.2",
            "public_wopi_url": "https:\/\/co.mo-its.at",
            "types": "prevent_group_restriction",
            "wopi_allowlist": "172.22.1.0\/24,fd4d:6169:6c63:6f77::1\/64",
            "wopi_url": "https:\/\/co.mo-its.at"
        },
        "serverinfo": {
            "cached_count_filecache": "1133",
            "cached_count_storages": "3",
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "filesystem"
        },
        "sociallogin": {
            "allow_login_connect": "",
            "auto_create_groups": "",
            "button_text_wo_prefix": "",
            "create_disabled_users": "",
            "custom_providers": "{\"custom_oauth2\":[{\"name\":\"mailcow\",\"title\":\"MO-ITS Mail System\",\"apiBaseUrl\":\"https:\\\/\\\/col.mo-its.at\",\"authorizeUrl\":\"https:\\\/\\\/col.mo-its.at\\\/oauth\\\/authorize\",\"tokenUrl\":\"https:\\\/\\\/col.mo-its.at\\\/oauth\\\/token\",\"profileUrl\":\"https:\\\/\\\/col.mo-its.at\\\/oauth\\\/profile\",\"logoutUrl\":\"\",\"clientId\":\"c9941e1eb679\",\"clientSecret\":\"1c72a8a20c20dffc1cfae241\",\"scope\":\"profile\",\"profileFields\":\"\",\"displayNameClaim\":\"\",\"groupsClaim\":\"\",\"style\":\"\",\"defaultGroup\":\"\"}]}",
            "disable_notify_admins": "1",
            "disable_registration": "",
            "enabled": "yes",
            "hide_default_login": "",
            "installed_version": "5.6.4",
            "no_prune_user_groups": "",
            "oauth_providers": "null",
            "prevent_create_email_exists": "1",
            "restrict_users_wo_assigned_groups": "",
            "restrict_users_wo_mapped_groups": "",
            "types": "",
            "update_profile_on_login": "1"
        },
        "spreed": {
            "default_group_notification": "1",
            "enabled": "yes",
            "has_reference_id": "yes",
            "installed_version": "19.0.1",
            "project_access_invalidated": "1",
            "recording_servers": "***REMOVED SENSITIVE VALUE***",
            "signaling_servers": "***REMOVED SENSITIVE VALUE***",
            "signaling_token_privkey_es256": "***REMOVED SENSITIVE VALUE***",
            "signaling_token_pubkey_es256": "***REMOVED SENSITIVE VALUE***",
            "stun_servers": "***REMOVED SENSITIVE VALUE***",
            "turn_servers": "***REMOVED SENSITIVE VALUE***",
            "types": "dav,prevent_group_restriction"
        },
        "support": {
            "SwitchUpdaterServerHasRun": "yes",
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": "session"
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "logging"
        },
        "text": {
            "enabled": "yes",
            "installed_version": "3.10.0",
            "types": "dav"
        },
        "theming": {
            "enabled": "yes",
            "installed_version": "2.4.0",
            "types": "logging"
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": ""
        },
        "updatenotification": {
            "core": "29.0.1.1",
            "enabled": "yes",
            "groupfolders": "16.0.6",
            "installed_version": "1.19.1",
            "richdocuments": "8.3.7",
            "sociallogin": "5.6.4",
            "spreed": "19.0.1",
            "types": "",
            "update_check_errors": "0"
        },
        "user_status": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": ""
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "2.3.0",
            "types": ""
        },
        "weather_status": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": ""
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.11.0",
            "types": "filesystem"
        }
    }
}

and the app:list

Enabled:
  - activity: 2.21.1
  - circles: 29.0.0-dev
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contactsinteraction: 1.10.0
  - dashboard: 7.9.0
  - dav: 1.30.1
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.0
  - files_downloadlimit: 2.0.0
  - files_pdfviewer: 2.10.0
  - files_reminders: 1.2.0
  - files_sharing: 1.21.0
  - files_trashbin: 1.19.0
  - files_versions: 1.22.0
  - firstrunwizard: 2.18.0
  - groupfolders: 17.0.0
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - nextcloud_announcements: 1.18.0
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - password_policy: 1.19.0
  - photos: 2.5.0
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - recommendations: 2.1.0
  - related_resources: 1.4.0
  - richdocuments: 8.4.2
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - sociallogin: 5.6.4
  - spreed: 19.0.1
  - support: 1.12.0
  - survey_client: 1.17.0
  - systemtags: 1.19.0
  - text: 3.10.0
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - updatenotification: 1.19.1
  - user_status: 1.9.0
  - viewer: 2.3.0
  - weather_status: 1.9.0
  - workflowengine: 2.11.0
Disabled:
  - admin_audit: 1.19.0
  - bruteforcesettings: 2.9.0
  - encryption: 2.17.0
  - files_external: 1.21.0
  - suspicious_login: 7.0.0
  - twofactor_totp: 11.0.0-dev
  - user_ldap: 1.20.0

thx in advance

Before troubleshooting too deeply, can you confirm you’re running the latest nginx config from the manual? It has been updated several times through the v27/28 cycles:

https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html

Same problem. It happened after I upgraded to NC29.0.1. In order to make sure if I had done anything obviously wrong, I carefully upgraded another NC instance deployed on a server quite different from that one, in terms of location, OS, and configurations, etc… Again, the problem occurred immediately. Waiting for a fix, or the next NC version.

Update: Fixed. The problem is with the Javascipt/mjs settings in the Nginx configuration. Thanks to jtr. The problem needs to be addressed manually. It is not about upgrading to a new NC version.

1 Like