Skip to content

[Bug]: Updater does not offer an update to a version that was previously declined #60918

@jsullivan3

Description

@jsullivan3

⚠️ This issue respects the following points: ⚠️

Bug description

(Please note that I had to select the checkbox that indicates my NextCloud server is up-to-date, though by definition it cannot be in order for this bug to occur. My apologies for having to click that box in order to file the ticket.)

I regularly invoke updater.phar to check for NextCloud updates. I am currently running version 33.0.3 and was recently presented with the option to update to version 33.0.4. I declined the update because I realized I did not have sufficient time to complete it, and I wanted to perform the upgrade later when I would have time.

Unfortunately, when I run updater.phar I get the following output:

Nextcloud Updater - version: v33.0.2-6-g02c3af1

Current version is 33.0.3.

No update available.

Nothing to do.

I also tried querying for an update through the web UI, which also indicates that no update is available. I've seen this behavior with an earlier point-release, though I cannot remember what version I was running at the time. The release of the next subsequent point-release was correctly detected by the updater, and I was able to upgrade my environment.

Is there a way to "jump-start" the upgrade process so that I can upgrade my environment to 33.0.4 without waiting for 33.0.5 to be released? I'd be happy to include any logs that may offer additional insight into what may be going wrong. Thank you in advance for your help!

Steps to reproduce

  1. Run a version of NextCloud that is N-1, such as 33.0.3 once 33.0.4 is available.
  2. Run updater.phar and decline to proceed with the update.
  3. Run updater.phar again; the option to update to 33.0.4 is not presented.

Expected behavior

If I decline the update to 33.0.4, I would expect to be presented again with the option to update the next time I invoke updater.phar.

Nextcloud Server version

33

Operating system

RHEL/CentOS

PHP engine version

PHP 8.4

Web server

Apache (supported)

Database engine version

MariaDB

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

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

Are you using the Nextcloud Server Encryption module?

None

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***",     
        "trusted_domains": [                                          
            "localhost",                                              
            "nextcloud.worldwidesullivan.com",
            "nextcloud.local.worldwidesullivan.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "US",
        "dbtype": "mysql",
        "version": "33.0.3.2",
        "overwrite.cli.url": "https:\/\/nextcloud.worldwidesullivan.com\/nextcloud",
        "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***",
        "maintenance": false,
        "theme": "",
        "loglevel": 0,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "overwritehost": "nextcloud.worldwidesullivan.com",
        "overwriteprotocol": "https",
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "tls",
        "mail_sendmailmode": "smtp",
        "mail_smtpauth": 1,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "updater.release.channel": "stable"
    }
}

List of activated Apps

Enabled:               
  - activity: 6.0.0
  - app_api: 33.0.0     
  - bruteforcesettings: 6.0.0
  - circles: 33.0.0
  - cloud_federation_api: 1.17.0
  - comments: 1.23.0             
  - contactsinteraction: 1.14.1
  - dashboard: 7.13.0         
  - dav: 1.36.0        
  - federatedfilesharing: 1.23.0
  - federation: 1.23.0    
  - files: 2.5.0            
  - files_downloadlimit: 5.1.0
  - 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                                    
  - 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
  - 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
  - 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

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Additional info

I'm not entirely sure what logs to include, but I would be happy to provide them on request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap33-feedbackbug

    Type

    No fields configured for Bug.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions