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]: web updater failing 27.00 to 27.0.2 #483

Closed
5 of 8 tasks
stratege1401 opened this issue Aug 11, 2023 · 7 comments
Closed
5 of 8 tasks

[Bug]: web updater failing 27.00 to 27.0.2 #483

stratege1401 opened this issue Aug 11, 2023 · 7 comments

Comments

@stratege1401
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

Web updater from 27.0.0 to 27.0.2 failed.

Fresh Nextcloud 27.0.0 install on a Debian 12, apache2 2.54, php 8.2, mariadb, redis ...
Everything is working absolutly fine.

NC signal an update is available. Opening the webupdater works until step4, then hang...

No specific logs.

Steps to reproduce

  1. fresh 27.0.0 install
  2. after the notification, use the web updater
  3. step four hangs

Expected behavior

no hangs obviously on step 4

Installation method

Community Manual installation with Archive

Nextcloud Server version

27

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MariaDB

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": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "version": "27.0.2.1",
        "default_phone_region": "FR",
        "trusted_domains": [
            "next.rkn.ovh",
            "82.64.24.17",
            "192.168.1.254"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/next.rkn.ovh\/",
        "dbtype": "mysql",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": "false",
        "redis": {
            "localhost": "\/var\/run\/redis\/redis.sock",
            "port": 6379,
            "timeout": 0
        },
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [
            "twofactor_reminder",
            "twofactor_admin",
            "hibp",
            "twofactor_gateway",
            "hibp_login_check",
            "admin_notifications"
        ],
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [],
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "loglevel": 2,
        "maintenance": false
    }
}

List of activated Apps

root@next:/var/www/html# sudo -u www-data php occ app:list
Enabled:
  - activity: 2.19.0
  - admin_notifications: 1.0.2
  - cfg_share_links: 4.1.0
  - circles: 27.0.1
  - cloud_federation_api: 1.10.0
  - comments: 1.17.0
  - contactsinteraction: 1.8.0
  - dav: 1.27.0
  - external: 5.2.0
  - federatedfilesharing: 1.17.0
  - federation: 1.17.0
  - files: 1.22.0
  - files_notify_redis: 0.3.1
  - files_pdfviewer: 2.8.0
  - files_rightclick: 1.6.0
  - files_sharing: 1.19.0
  - files_snapshots: 1.0.7
  - files_trashbin: 1.17.0
  - files_versions: 1.20.0
  - firstrunwizard: 2.16.0
  - hibp: 0.1.0
  - hibp_login_check: 0.0.1
  - impersonate: 1.14.0
  - logreader: 2.12.0
  - lookup_server_connector: 1.15.0
  - nextcloud_announcements: 1.16.0
  - notifications: 2.15.0
  - oauth2: 1.15.1
  - password_policy: 1.17.0
  - passwords: 2023.8.31
  - photos: 2.3.0
  - privacy: 1.11.0
  - provisioning_api: 1.17.0
  - recommendations: 1.6.0
  - registration: 2.2.0
  - related_resources: 1.2.0
  - serverinfo: 1.17.0
  - settings: 1.9.0
  - sharebymail: 1.17.0
  - support: 1.10.0
  - survey_client: 1.15.0
  - systemtags: 1.17.0
  - terms_of_service: 2.2.0
  - text: 3.8.0
  - theming: 2.2.0
  - twofactor_admin: 0.2.1
  - twofactor_backupcodes: 1.16.0
  - twofactor_email: 2.7.3
  - twofactor_gateway: 0.20.0
  - twofactor_nextcloud_notification: 3.7.0
  - twofactor_reminder: 1.0.0
  - twofactor_totp: 9.0.0
  - twofactor_webauthn: 1.2.0
  - unsplash: 2.2.1
  - updatenotification: 1.17.0
  - user_status: 1.7.0
  - viewer: 2.1.0
  - weather_status: 1.7.0
  - workflowengine: 2.9.0
Disabled:
  - admin_audit: 1.17.0
  - bruteforcesettings: 2.7.0
  - dashboard: 7.7.0 (installed 7.7.0)
  - encryption: 2.15.0
  - files_external: 1.19.0
  - suspicious_login: 5.0.0
  - user_ldap: 1.17.0

Nextcloud Signing status

empty file

Nextcloud Logs

i provide the only intersecting part... nothing to see anywhere else

[version] => 27.0.2.1
    [versionstring] => Nextcloud 27.0.2
    [url] => https://download.nextcloud.com/server/releases/nextcloud-27.0.2.zip
    [web] => https://docs.nextcloud.com/server/27/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=27.0.2
    [autoupdater] => 1
    [eol] => 0
    [signature] => pd8gQOxzJqcjCR10kWmt+vKhOXWJimF8FhdGcuzkZc/7Ujg8zY+xL3UQ9BG0x9nN
YXC7CtgMDeVr55/UoB2qHpWijze7HD7qsBD9tx4MDTvcTyH4lF5LGsFWydCUrEvH
TAF3mBAqRasfq7Exz7QbMtiqsw3U4+sku2QEQyYZOH6dupbT/k3i5I+syRQiTK9O
1mhmO0WnSMSlW+uMPUsABipYyfiY4bxRJja/kv4GVA66DLSdxrq7WUvvxK2HNKOf
V22tSiRwjvYLZDM6drqpW6DY6hKMoeKFGc14KrFgwN1WFJShmdFCG+Tld3iEcVwE
wf5nncfHuTeT/AapME4dLQ==
)

2023-08-11T14:02:58+0000 4PMX3EGmPg [info] request to updater
2023-08-11T14:02:58+0000 4PMX3EGmPg [info] currentStep()
2023-08-11T14:02:58+0000 4PMX3EGmPg [info] Step 4 is in state "start".
2023-08-11T14:03:05+0000 AYAgg4MRk2 [info] request to updater
2023-08-11T14:03:05+0000 AYAgg4MRk2 [info] currentStep()
2023-08-11T14:03:05+0000 AYAgg4MRk2 [info] Step 4 is in state "start".
2023-08-11T14:03:10+0000 pEwEakkIfA [info] request to updater
2023-08-11T14:03:10+0000 pEwEakkIfA [info] currentStep()
2023-08-11T14:03:10+0000 pEwEakkIfA [info] Step 4 is in state "start".
2023-08-11T14:04:36+0000 kxqQHqW08q [info] request to updater
2023-08-11T14:04:36+0000 kxqQHqW08q [info] currentStep()
2023-08-11T14:04:36+0000 kxqQHqW08q [info] Step 4 is in state "start".
2023-08-11T14:04:56+0000 U0aJa4O6TD [info] request to updater
2023-08-11T14:04:56+0000 U0aJa4O6TD [info] currentStep()
2023-08-11T14:04:56+0000 U0aJa4O6TD [info] Step 4 is in state "start".
2023-08-11T14:06:31+0000 v9HLXn9jqh [info] request to updater
2023-08-11T14:06:31+0000 v9HLXn9jqh [info] currentStep()
2023-08-11T14:06:31+0000 v9HLXn9jqh [info] Step 4 is in state "start".

Additional info

No response

@rightsaidfred99

This comment was marked as resolved.

@stratege1401
Copy link
Author

stratege1401 commented Aug 12, 2023 via email

@joshtrichards
Copy link
Member

2023-08-11T14:02:58+0000 4PMX3EGmPg [info] Step 4 is in state "start".

Since there are no additional log entries after this it would appear the rest of the preliminary checks in downloadUpdate() are not finding a problem so I can only assume what's hanging is the download itself.

It needs to download the archive file which is ~200 MB.

Can you confirm, using curl or wget at the command-line, that you can access the archive url from your NC server (doesn't sound like you're using Docker so just from the same host) - e.g.

curl https://download.nextcloud.com/server/releases/nextcloud-27.0.2.zip --output /dev/null

@rightsaidfred99

This comment was marked as off-topic.

@joshtrichards

This comment was marked as off-topic.

@joshtrichards
Copy link
Member

@stratege1401 If you're able, it would be helpful to see a non-excerpt version of your updater.log. You can still redact anything deemed confidential of course.

@joshtrichards
Copy link
Member

Closing due to not receiving any further details. I suggest running updater.phar from the command line next time around to see if something isn't making it into the logs.

Also, check the contents of your data/updater-INSTANCEID download folder.

@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants