Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Clicking on 'Open updater' produces no action #50011

Open
5 of 8 tasks
howardlowndes opened this issue Jan 2, 2025 · 5 comments
Open
5 of 8 tasks

[Bug]: Clicking on 'Open updater' produces no action #50011

howardlowndes opened this issue Jan 2, 2025 · 5 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 30-feedback bug feature: install and update needs info

Comments

@howardlowndes
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

Trying to update from server 3.0.2 to 3.0.4, clicking the offered button 'Open updater' produces no action

Steps to reproduce

  1. Select Administration Settings
  2. Wait for configuration check
  3. Note 'Current version is 3.0.2'
  4. Note 'Update to version 3.0.4 is available'
  5. Click on 'Open updater'
  6. ..."crickets"... nothing happens...

Expected behavior

A screen change to present the system updater

Nextcloud Server version

30

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "config_is_read_only": "true",
        "trusted_domains": [
            "localhost",
            "raspi-dmz",
            "howard.id.au",
            "lowndes.id.au",
            "10.2.2.250",
            "10.2.2.16",
            "127.0.0.1"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "sqlite3",
        "version": "30.0.2.2",
        "overwrite.cli.url": "http:\/\/localhost",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "AU"
    }
}

List of activated Apps

Enabled:
  - activity: 3.0.0
  - app_api: 4.0.0
  - bruteforcesettings: 3.0.0
  - circles: 30.0.0
  - cloud_federation_api: 1.13.0
  - comments: 1.20.1
  - contactsinteraction: 1.11.0
  - dashboard: 7.10.0
  - dav: 1.31.1
  - federatedfilesharing: 1.20.0
  - federation: 1.20.0
  - files: 2.2.0
  - files_downloadlimit: 3.0.0
  - files_pdfviewer: 3.0.0
  - files_reminders: 1.3.0
  - files_sharing: 1.22.0
  - files_trashbin: 1.20.1
  - files_versions: 1.23.0
  - firstrunwizard: 3.0.0
  - logreader: 3.0.0
  - lookup_server_connector: 1.18.0
  - nextcloud_announcements: 2.0.0
  - notes: 4.11.0
  - notifications: 3.0.0
  - oauth2: 1.18.1
  - openotp_auth: 1.30.2
  - password_policy: 2.0.0
  - photos: 3.0.2
  - privacy: 2.0.0
  - provisioning_api: 1.20.0
  - recommendations: 3.0.0
  - related_resources: 1.5.0
  - richdocuments: 8.5.2
  - serverinfo: 2.0.0
  - settings: 1.13.0
  - sharebymail: 1.20.0
  - spreed: 20.0.2
  - support: 2.0.0
  - survey_client: 2.0.0
  - systemtags: 1.20.0
  - text: 4.1.0
  - theming: 2.5.0
  - twofactor_backupcodes: 1.19.0
  - twofactor_nextcloud_notification: 4.0.0
  - twofactor_totp: 12.0.0-dev
  - twofactor_webauthn: 2.0.0
  - updatenotification: 1.20.0
  - user_status: 1.10.0
  - viewer: 3.0.0
  - weather_status: 1.10.0
  - webhook_listeners: 1.1.0-dev
  - whiteboard: 1.0.4
  - workflowengine: 2.12.0
Disabled:
  - admin_audit: 1.20.0
  - encryption: 2.18.0
  - files_external: 1.22.0
  - suspicious_login: 8.0.0
  - user_ldap: 1.21.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

is this relevant???

{"reqId":"i5zBbON5Jkj4IoUWbJxJ","level":2,"time":"2025-01-01T01:47:13+00:00","remoteAddr":"110.141.219.107","user":"howard","app":"no app in context","method":"GET","url":"/nc/index.php/settings/apps/dashboard","message":"Invalid defaultDaemonConfig data provided to provideInitialState by settings","userAgent":"Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","version":"30.0.2.2","data":[]}

Additional info

No response

@howardlowndes howardlowndes added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jan 2, 2025
@joshtrichards
Copy link
Member

joshtrichards commented Jan 2, 2025

What install method? And how have you deployed updates previously in your environment?

Is there an updater/ folder in your installation directory? What's in it?

@joshtrichards
Copy link
Member

joshtrichards commented Jan 2, 2025

Please monitor your browser inspector Network and Console tabs when you click "Open Updater".

I suspect this is a configuration matter which may need to be troubleshooted. You can do so via the help forum - https://help.nextcloud.com

@howardlowndes
Copy link
Author

howardlowndes commented Jan 3, 2025 via email

@howardlowndes
Copy link
Author

howardlowndes commented Jan 3, 2025 via email

@joshtrichards
Copy link
Member

joshtrichards commented Jan 3, 2025

ls -l /var/www/html/nextcloud/updater

Your logs indicate your Nextcloud is a subdirectory installation in http://domain.tld/nc and thus that yourwebroot is /nc.

However your output above suggests your webroot is either / or /nextcloud (depending on your VirtualHost or equivalent web server configuration).

As a result, the URL being generated for the updater is likely incorrect. You can confirm this by checking what URL your browser is requesting via the browser inspector Network tab.

So your Nextcloud config does not reflect whatever you're doing (whether it's due to a reverse proxy or your custom web server configuration). As such, your situation appears to be a configuration matter, not a bug.

Try setting overwritewebroot and overwrite.cli.url (and possibly trusted_proxies). Also check for errors or warnings under Admin settings->Overview.

Please troubleshoot at the help forum (https://help.nexcloud.com) or refer to the documentation (https://docs.nextcloud.com)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 30-feedback bug feature: install and update needs info
Projects
None yet
Development

No branches or pull requests

2 participants