nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.35k stars 4.06k forks source link

[Bug]: Version 25.0.3 Download? Upgrade? #36349

Closed 4nanook closed 1 year ago

4nanook commented 1 year ago

⚠️ This issue respects the following points: ⚠️

Bug description

I am presently running 25.0.2, it tells me an upgrade to 25.0.3 is available. I try to upgrade automatically, it explodes in the backup phase even though I have my php timeout set to 3600 seconds (one hour).

Ok, about half the time I end up having to upgrade by hand because Nextcloud upgrades are usually flaky at best, but when I go to the download page, it tells me the most recent server is 25.0.0-rc3 even though 25.0.2 tells me 25.0.3 is available, so I can't find the code to upgrade manually.

Steps to reproduce

  1. Try to upgrade from 25.0.2 to 25.0.3 automaticall.
  2. After it fails predictably, go and try to download 25.0.3 manually for a manual upgrade.
  3. Your website shows only 25.0.0-rc3 available as the most recent upgrade.

Expected behavior

One would expect the automatic upgrade to work, but I've been running nextcloud long enough to know this is an unreasonable expectation. Then you would expect to find the version it tells you is available for upgrade to be available for download, it isn't.

Installation method

Community Web installer on a VPS or web space

Operating system

Debian/Ubuntu

PHP engine version

PHP 7.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. 22.2.3 to 22.2.4)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.eskimo.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "25.0.2.3",
        "overwrite.cli.url": "https:\/\/nextcloud.eskimo.com\/",
        "overwriteprotocol": "https",        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "user_backends": [
            {
                "class": "\\OCA\\UserExternal\\IMAP",
                "arguments": [
                    "204.122.16.222",
                    143,
                    "none",
                    "",
                    false,
                    false
                ]
            }
        ],
        "data-fingerprint": "15c5e08aba95f4a9f58603c46b0bedc9",
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Memcached",
        "memcached_servers": [
            [
                "localhost",
                11211
            ]
        ],
        "theme": "",
        "log_type": "file",
        "logfile": "\/misc\/nextcloud\/nextcloud.log",
        "loglevel": 0,        "logdateformat": "F d, Y H:i:s",
        "updater.release.channel": "stable",
        "has_rebuilt_cache": true,
        "app_install_overwrite": [
            "auto_mail_accounts",
            "caniupdate",
            "whiteboard",
            "ojsxc",
            "user_ispconfig",
            "integration_moodle"
        ],
        "ldapIgnoreNamingRules": false,
        "encryption.legacy_format_support": false,
        "encryption.key_storage_migrated": true,
        "default_phone_region": "ISO 3166-2:US",
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

List of activated Apps

Enabled:
  - activity: 2.17.0
  - admin_audit: 1.15.0
  - afterlogic: 2.0.5
  - analytics: 4.6.0
  - announcementcenter: 6.4.0
  - appointments: 1.14.10
  - approval: 1.0.12
  - audioplayer: 3.3.1
  - bookmarks: 12.0.0
  - bruteforcesettings: 2.5.0
  - calendar: 4.2.1
  - camerarawpreviews: 0.8.0
  - cfg_share_links: 3.0.2
  - checksum: 1.2.0
  - circles: 25.0.0
  - cloud_federation_api: 1.8.0
  - cms_pico: 1.0.21
  - comments: 1.15.0
  - contacts: 5.0.3
  - contactsinteraction: 1.6.0
  - cookbook: 0.10.1
  - cospend: 1.5.5
  - cpanelmailsync: 0.1.7
  - csp_editor: 1.1.0
  - dav: 1.24.0
  - deck: 1.8.3
  - drawio: 2.1.0
  - drop_account: 2.1.0
  - eidlogin: 1.0.11
  - encryption: 2.13.0
  - event_update_notification: 2.0.0
  - federatedfilesharing: 1.15.0
  - federation: 1.15.0
  - files: 1.20.1
  - files_accesscontrol: 1.15.1
  - files_automatedtagging: 1.15.0
  - files_downloadactivity: 1.15.0
  - files_downloadlimit: 1.0.1
  - files_external: 1.17.0
  - files_inotify: 0.1.13  - files_linkeditor: 1.1.13
  - files_lock: 24.0.1
  - files_mindmap: 0.0.27
  - files_pdfviewer: 2.6.0
  - files_photospheres: 1.25.2
  - files_retention: 1.14.1
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_snapshots: 1.0.5
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - files_versions_s3: 0.1.9
  - files_zip: 1.1.2
  - fileslibreofficeedit: 1.1.0
  - firstrunwizard: 2.14.0
  - forms: 3.0.3
  - geoblocker: 0.5.7
  - gestion: 2.2.2
  - gpoddersync: 3.7.1
  - gpxpod: 5.0.4
  - grauphel: 1.0.18
  - group_everyone: 0.1.11
  - groupfolders: 13.1.0
  - groupquota: 0.1.9
  - guests: 2.3.0
  - integration_discourse: 1.0.4
  - integration_dropbox: 1.0.6
  - integration_github: 1.0.14
  - integration_gitlab: 1.0.12
  - integration_google: 1.0.9
  - integration_jira: 1.0.4
  - integration_mastodon: 1.0.3
  - integration_moodle: 1.0.2
  - integration_onedrive: 1.1.4
  - integration_openproject: 2.1.0
  - integration_reddit: 1.0.5
  - integration_twitter: 1.0.3
  - integration_zammad: 2.0.1
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - mail: 2.2.2
  - maps: 0.2.4
  - mediadc: 0.3.3
  - metadata: 0.17.0
  - music: 1.8.1
  - ncdownloader: 1.0.2
  - news: 20.0.1
  - nextcloud_announcements: 1.14.0
  - notes: 4.6.0  - notify_push: 0.5.2
  - oauth2: 1.13.0
  - oidc: 0.2.9
  - onlyoffice: 7.6.8
  - ownpad: 0.7.1
  - passman: 2.4.3
  - password_policy: 1.15.0
  - passwords: 2023.1.13
  - pax_fax: 1.0.9
  - phonetrack: 0.7.4
  - photos: 2.0.1
  - polls: 4.0.0
  - previewgenerator: 5.1.1
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - qownnotesapi: 22.10.0
  - quicknotes: 0.8.5
  - quota_warning: 1.15.0
  - rainloop: 7.2.6
  - ransomware_protection: 1.14.0
  - recognize: 3.3.6
  - recommendations: 1.4.0
  - registration: 2.0.0
  - related_resources: 1.0.3
  - richdocuments: 7.1.0
  - richdocumentscode: 22.5.802
  - root_cache_cleaner: 0.1.3
  - sendent: 1.3.2
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - sharerenamer: 3.1.0
  - sip_trip_phone: 1.0.9
  - smb_test: 0.3.5
  - sms_relentless: 1.1.4
  - sociallogin: 5.3.0
  - spreed: 15.0.3
  - support: 1.8.0
  - survey_client: 1.13.0
  - suspicious_login: 4.3.0
  - systemtags: 1.15.0
  - tasks: 0.14.5
  - text: 3.6.0
  - theming: 2.0.1
  - timemanager: 0.3.4
  - timetracker: 0.0.77
  - twofactor_backupcodes: 1.14.0
  - twofactor_email: 2.7.1
  - twofactor_nextcloud_notification: 3.5.0
  - twofactor_totp: 7.0.0  - twofactor_webauthn: 1.0.0
  - unsplash: 2.1.1
  - updatenotification: 1.15.0
  - uppush: 1.1.3
  - user_external: 3.1.0
  - user_ldap: 1.15.0
  - user_migration: 2.0.1
  - user_oidc: 1.2.1
  - user_retention: 1.8.1
  - user_status: 1.5.0
  - user_usage_report: 1.9.0
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - webapppassword: 23.1.0
  - welcome: 1.0.6
  - workflow_ocr: 1.25.2
  - workflowengine: 2.7.0
Disabled:
  - dashboard: 7.5.0
  - notifications: 2.13.1
Why the fuck does it think I haven't filled this in?

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No practical way to do this, you need to provide an upload function if you want an entire log, many many megabytes.

Additional info

If someone would just tell me where to download 25.0.3 I can probably get past my install issues. Automatic updates fail more often than not, I'm used to this, but usually I can go download the correct version. Nextcloud server isn't up to date, but your bug reporting software wouldn't let me submit this bug unless I checked that box. Bug reporting almost as buggy as product.

kesselb commented 1 year ago

Thanks for your report :+1:

image

https://nextcloud.com/changelog/

Does that answer your question?

4nanook commented 1 year ago

Seems very weird that one has to go to the changelog page instead of the downloads page to download the most recent version.

kesselb commented 1 year ago

image

https://nextcloud.com/install/

Get ZIP file is pointing to https://download.nextcloud.com/server/releases/latest.zip. latest.zip will always redirect to the latest uploaded major release.

If you share with us which link on which page confused you, I will forward it and see what we can do to improve it.

solracsf commented 1 year ago

Also note that on CLI, direct link is also proposed:

# sudo -u www-data php /var/www/nextcloud/updater/updater.phar --no-backup
Nextcloud Updater - version: v25.0.1-4-g5649b58

Current version is 25.0.2.

Update to Nextcloud 25.0.3 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-25.0.3.zip
4nanook commented 1 year ago

As I stated at the beginning automatic update failed, and when I went to the download page only 25.0.0-rc3, but I found 25.0.3 and installed, but there is another bug which I will open a separate issue on.