Release channel is always displayed as "Stable" in administration Overview

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.0 RC1
  • Operating system and version (e.g., Ubuntu 24.04):
    • Arch Linux
  • Web server and version (e.g, Apache 2.4.25):
    • Apache 2.4.62-1
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • none
  • PHP version (e.g, 8.3):
    • 8.3.15
  • Is this the first time you’ve seen this error? (Yes / No):
    • No
  • When did this problem seem to first start?
    • 31.x some beta or RC 1
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • I don't remember, but no containers, just a dir in http server
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

In “Overview” page of Admin UI, “Current update channel” always shows “Stable”. If I choose “Beta”, it shows “Channel updated” popup and I see that value is changed in config/config.php, but UI still shows “Stable” after page reload.

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

  1. Open admin UI, logged in from user with admin permissions
  2. Go to “Overview” page (/index.php/settings/admin/overview)
  3. Change value of “Current update channel” to something other than “Stable”, for example “Beta”
  4. Reload page
  5. “Current update channel” still displays “Stable”

Log entries

Nextcloud

Nothing new appeared in logs while doing this

Web Browser

[INFO] core: Clipboard API not available, using fallback core-main.js:1:49059
session heartbeat polling started core-main.js:1:28724
Notifications permissions denied NotificationsApp-BblOjCtt.chunk.mjs:35:70220
Polling interval updated to 30000 NotificationsApp-BblOjCtt.chunk.mjs:35:69515
Started background fetcher as session_keepalive is enabled NotificationsApp-BblOjCtt.chunk.mjs:35:66719
Notifications permissions denied NotificationsApp-BblOjCtt.chunk.mjs:35:70220
Polling interval updated to 30000 NotificationsApp-BblOjCtt.chunk.mjs:35:69515
Started background fetcher as session_keepalive is enabled NotificationsApp-BblOjCtt.chunk.mjs:35:66719
Got notification data, restoring default polling interval. 2 NotificationsApp-BblOjCtt.chunk.mjs:35:68470
Got notification data, restoring default polling interval. NotificationsApp-BblOjCtt.chunk.mjs:35:68470

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/httpd/error_log:

[Fri Jan 31 00:58:21.896780 2025] [access_compat:error] [pid 4236:tid 4251] [client ::1:36048] AH01797: client denied by server configuration: /srv/http/nextcloud/data/.ncdata
[Fri Jan 31 00:58:21.920353 2025] [access_compat:error] [pid 4236:tid 4247] [client 192.168.1.2:57214] AH01797: client denied by server configuration: /srv/http/nextcloud/data/.ncdata

Configuration

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": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost:8083",
            "192.168.1.2:8083",
            "zubat.local:8083"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "sqlite3",
        "version": "31.0.0.12",
        "overwrite.cli.url": "http:\/\/zubat.local:8083\/nextcloud",
        "htaccess.RewriteBase": "\/nextcloud",
        "installed": true,
        "maintenance": false,
        "theme": "",
        "overwritehost": "zubat.local:8083",
        "enabledPreviewProviders": [
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\Krita",
            "OC\\Preview\\Movie",
            "OC\\Preview\\Imaginary"
        ],
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "RU",
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "preview_max_memory": -1,
        "preview_max_filesize_image": -1,
        "jpeg_quality": "60",
        "trashbin_retention_obligation": "auto, 7",
        "log_type": "file",
        "logfile": "\/var\/log\/nextcloud.log",
        "loglevel": 1,
        "data-fingerprint": "9d77ec6e881d228a2544a2484f4e49d2",
        "updater.release.channel": "beta"
    }
}

Apps

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

Enabled:
  - admin_audit: 1.21.0
  - app_api: 5.0.2
  - cloud_federation_api: 1.14.0
  - dashboard: 7.11.0
  - dav: 1.33.0
  - federatedfilesharing: 1.21.0
  - files: 2.3.1
  - files_downloadlimit: 4.0.0
  - files_external: 1.23.0
  - files_pdfviewer: 4.0.0
  - files_reminders: 1.4.0
  - files_sharing: 1.23.1
  - files_trashbin: 1.21.0
  - files_versions: 1.24.0
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - nextcloud_announcements: 3.0.0
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - photos: 4.0.0-dev.1
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - settings: 1.14.0
  - systemtags: 1.21.1
  - text: 5.0.0
  - theming: 2.6.1
  - twofactor_backupcodes: 1.20.0
  - updatenotification: 1.21.0
  - viewer: 4.0.0
  - weather_status: 1.11.0
  - webhook_listeners: 1.2.0
  - workflow_script: 2.0.0
  - workflowengine: 2.13.0
Disabled:
  - activity: 4.0.0 (installed 4.0.0)
  - bruteforcesettings: 4.0.0 (installed 4.0.0)
  - circles: 31.0.0-dev.0 (installed 27.0.0)
  - comments: 1.21.0 (installed 1.17.0)
  - contactsinteraction: 1.12.0 (installed 1.8.0)
  - encryption: 2.19.0
  - federation: 1.21.0 (installed 1.17.0)
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - firstrunwizard: 4.0.0 (installed 2.16.0)
  - password_policy: 3.0.0 (installed 1.17.0)
  - previewgenerator: 5.7.0 (installed 5.7.0)
  - recommendations: 4.0.0 (installed 1.6.0)
  - related_resources: 2.0.0 (installed 1.2.0)
  - serverinfo: 3.0.0 (installed 1.17.0)
  - sharebymail: 1.21.0 (installed 1.17.0)
  - support: 3.0.0 (installed 1.8.0)
  - survey_client: 3.0.0 (installed 1.15.0)
  - suspicious_login: 9.0.1
  - twofactor_nextcloud_notification: 5.0.0
  - twofactor_totp: 13.0.0-dev.0
  - user_ldap: 1.22.0
  - user_status: 1.11.0 (installed 1.7.0)
  - workflow_media_converter: 1.11.7 (installed 1.11.7)

Interesting. Maybe there is a bug here. I saw an inbound report a few days ago that was similar, but they had the opposite (stuck at beta). Seems like your situation may be related.

I can no longer reproduce this in 31.0.0 RC2 (not sure if it’s really fixed or just stopped occuring on my setup).

Maybe it’s fixed in this commit. (Differences between RC1 and RC2 on github)

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.