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]: Stuck on step 6 updates #453

Closed
5 of 9 tasks
StephaneCouturier opened this issue Nov 19, 2022 · 2 comments · Fixed by #472
Closed
5 of 9 tasks

[Bug]: Stuck on step 6 updates #453

StephaneCouturier opened this issue Nov 19, 2022 · 2 comments · Fixed by #472

Comments

@StephaneCouturier
Copy link

StephaneCouturier commented Nov 19, 2022

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

Similarly to nextcloud/server#15450, my updater is stuck on step6 of the update from 24.0.6 to 24.0.7.

The page https://x.x.x/updater/ gives the message "Step 6 is currently in process. Please reload this page later."
This has been like this for more than 12hours.

Running Nextcloud 24.0.6 server (stable channel)
Shared web hosting with provider OVH, so I do not think I can run shell commands.

This update tested successfully with the same provider on a different cloud instance.

Steps to reproduce

  1. From 24.0.6 server (stable channel)
  2. Launch the online update from the Settings panel
  3. The step6 extracting stopped and displayed an error
  4. Reloading he page displays "Step 6 is currently in process. Please reload this page later."

Expected behavior

Full update.

Installation method

Community Web installer on a VPS or web space

Operating system

No response

PHP engine version

PHP 8.0

Web server

No response

Database engine version

MySQL

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?

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

Configuration report

I use a shared web hosting service, I do not think I can run such commands.

List of activated Apps

Tasks, Contacts, Decks, Mail, Talk

Nextcloud Signing status

Cannot perform this.

Nextcloud Logs

{"reqId":"Y3iv0IuBeI-drYB135CUfQAAAGw","level":3,"time":"2022-11-19T10:28:32+00:00","remoteAddr":"2a01:cb15:811e:e600:feaa:14ff:fe1a:ef58","user":"--","app":"PHP","method":"GET","url":"/index.php/js/core/merged-template-prepend.js?v=7a05a710-3","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /home/path_to_cloud_folder/lib/base.php#416","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Falkon/22.08.3 Chrome/87.0.4280.144 Safari/537.36","version":"24.0.6.1","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /home/path_to_cloud_folder/lib/base.php#416","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/home/path_to_cloud_folder/lib/base.php",416]},{"file":"/home/path_to_cloud_folder/lib/base.php","line":416,"function":"ini_set","args":["session.cookie_secure","true"]},{"file":"/home/path_to_cloud_folder/lib/base.php","line":666,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/home/path_to_cloud_folder/lib/base.php","line":1111,"function":"init","class":"OC","type":"::","args":[]},{"file":"/home/path_to_cloud_folder/index.php","line":34,"args":["/home/path_to_cloud_folder/lib/base.php"],"function":"require_once"}],"File":"/home/path_to_cloud_folder/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Y3iv0IuBeI-drYB135CUfQAAAGw","level":3,"time":"2022-11-19T10:28:32+00:00","remoteAddr":"2a01:cb15:811e:e600:feaa:14ff:fe1a:ef58","user":"--","app":"PHP","method":"GET","url":"/index.php/js/core/merged-template-prepend.js?v=7a05a710-3","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /home/path_to_cloud_folder/lib/base.php#420","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Falkon/22.08.3 Chrome/87.0.4280.144 Safari/537.36","version":"24.0.6.1","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /home/path_to_cloud_folder/lib/base.php#420","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/home/path_to_cloud_folder/lib/base.php",420]},{"file":"/home/path_to_cloud_folder/lib/base.php","line":420,"function":"ini_set","args":["session.cookie_httponly","true"]},{"file":"/home/path_to_cloud_folder/lib/base.php","line":666,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/home/path_to_cloud_folder/lib/base.php","line":1111,"function":"init","class":"OC","type":"::","args":[]},{"file":"/home/path_to_cloud_folder/index.php","line":34,"args":["/home/path_to_cloud_folder/lib/base.php"],"function":"require_once"}],"File":"/home/path_to_cloud_folder/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Y3iv0IuBeI-drYB135CUfQAAAGw","level":3,"time":"2022-11-19T10:28:32+00:00","remoteAddr":"2a01:cb15:811e:e600:feaa:14ff:fe1a:ef58","user":"--","app":"PHP","method":"GET","url":"/index.php/js/core/merged-template-prepend.js?v=7a05a710-3","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /home/path_to_cloud_folder/lib/base.php#424","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Falkon/22.08.3 Chrome/87.0.4280.144 Safari/537.36","version":"24.0.6.1","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /home/path_to_cloud_folder/lib/base.php#424","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/home/path_to_cloud_folder/lib/base.php",424]},{"file":"/home/path_to_cloud_folder/lib/base.php","line":424,"function":"ini_set","args":["session.cookie_path","/"]},{"file":"/home/path_to_cloud_folder/lib/base.php","line":666,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/home/path_to_cloud_folder/lib/base.php","line":1111,"function":"init","class":"OC","type":"::","args":[]},{"file":"/home/path_to_cloud_folder/index.php","line":34,"args":["/home/path_to_cloud_folder/lib/base.php"],"function":"require_once"}],"File":"/home/path_to_cloud_folder/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Y3iv0IuBeI-drYB135CUfQAAAGw","level":3,"time":"2022-11-19T10:28:32+00:00","remoteAddr":"2a01:cb15:811e:e600:feaa:14ff:fe1a:ef58","user":"--","app":"base","method":"GET","url":"/index.php/js/core/merged-template-prepend.js?v=7a05a710-3","message":"Failed to start session","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Falkon/22.08.3 Chrome/87.0.4280.144 Safari/537.36","version":"24.0.6.1","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/home/path_to_cloud_folder/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->","args":["ocup1snn58yj"]},{"file":"/home/path_to_cloud_folder/lib/base.php","line":666,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/home/path_to_cloud_folder/lib/base.php","line":1111,"function":"init","class":"OC","type":"::","args":[]},{"file":"/home/path_to_cloud_folder/index.php","line":34,"args":["/home/path_to_cloud_folder/lib/base.php"],"function":"require_once"}],"File":"/home/path_to_cloud_folder/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}


Updater log:
2022-11-18T23:02:49+0100 eGO23hRdOv [info] current version: 24.0.7 build time: 2022-11-03T11:04:33+00:00 7f47000def372cc90705cdb45fe1acb78ebdc27f
2022-11-18T23:02:57+0100 xPEgSCsjD7 [info] request to updater
2022-11-18T23:02:57+0100 xPEgSCsjD7 [info] currentStep()
2022-11-18T23:02:57+0100 xPEgSCsjD7 [info] show HTML page
2022-11-18T23:02:57+0100 xPEgSCsjD7 [info] current version: 24.0.7 build time: 2022-11-03T11:04:33+00:00 7f47000def372cc90705cdb45fe1acb78ebdc27f
2022-11-19T11:20:54+0100 4yxJxsCGHI [info] request to updater
2022-11-19T11:20:54+0100 4yxJxsCGHI [info] currentStep()
2022-11-19T11:20:54+0100 4yxJxsCGHI [info] show HTML page
2022-11-19T11:20:54+0100 4yxJxsCGHI [info] current version: 24.0.6 build time: 2022-10-06T09:18:03+00:00 3aabb381b9e7ffc5b13f951b8fb89494fe903a2c
2022-11-19T11:25:02+0100 69oyWjkCFO [info] request to updater
2022-11-19T11:25:02+0100 69oyWjkCFO [info] currentStep()
2022-11-19T11:25:02+0100 69oyWjkCFO [info] show HTML page
2022-11-19T11:25:02+0100 69oyWjkCFO [info] current version: 24.0.6 build time: 2022-10-06T09:18:03+00:00 3aabb381b9e7ffc5b13f951b8fb89494fe903a2c
2022-11-19T11:26:13+0100 1znYMnzmhU [info] request to updater
2022-11-19T11:26:13+0100 1znYMnzmhU [info] currentStep()
2022-11-19T11:26:13+0100 1znYMnzmhU [info] show HTML page
2022-11-19T11:26:13+0100 1znYMnzmhU [info] current version: 24.0.6 build time: 2022-10-06T09:18:03+00:00 3aabb381b9e7ffc5b13f951b8fb89494fe903a2c
2022-11-19T11:26:21+0100 jvDHT2kknx [info] request to updater
2022-11-19T11:26:21+0100 jvDHT2kknx [info] currentStep()
2022-11-19T11:26:21+0100 jvDHT2kknx [info] show HTML page
2022-11-19T11:26:21+0100 jvDHT2kknx [info] current version: 24.0.6 build time: 2022-10-06T09:18:03+00:00 3aabb381b9e7ffc5b13f951b8fb89494fe903a2c
2022-11-19T11:26:35+0100 ajMD7LW58T [info] request to updater
2022-11-19T11:26:35+0100 ajMD7LW58T [info] currentStep()
2022-11-19T11:26:35+0100 ajMD7LW58T [info] show HTML page
2022-11-19T11:26:35+0100 ajMD7LW58T [info] current version: 24.0.6 build time: 2022-10-06T09:18:03+00:00 3aabb381b9e7ffc5b13f951b8fb89494fe903a2c
2022-11-19T11:26:43+0100 ERMGY1fbmp [info] request to updater
2022-11-19T11:26:43+0100 ERMGY1fbmp [info] currentStep()
2022-11-19T11:26:43+0100 ERMGY1fbmp [info] show HTML page
2022-11-19T11:26:43+0100 ERMGY1fbmp [info] current version: 24.0.6 build time: 2022-10-06T09:18:03+00:00 3aabb381b9e7ffc5b13f951b8fb89494fe903a2c
2022-11-19T11:27:30+0100 L00q4M43dD [info] request to updater
2022-11-19T11:27:30+0100 L00q4M43dD [info] currentStep()
2022-11-19T11:27:30+0100 L00q4M43dD [info] show HTML page
2022-11-19T11:27:30+0100 L00q4M43dD [info] current version: 24.0.6 build time: 2022-10-06T09:18:03+00:00 3aabb381b9e7ffc5b13f951b8fb89494fe903a2c
2022-11-19T11:27:38+0100 AUgcmw7Or3 [info] request to updater
2022-11-19T11:27:38+0100 AUgcmw7Or3 [info] currentStep()
2022-11-19T11:27:38+0100 AUgcmw7Or3 [info] show HTML page
2022-11-19T11:27:38+0100 AUgcmw7Or3 [info] current version: 24.0.6 build time: 2022-10-06T09:18:03+00:00 3aabb381b9e7ffc5b13f951b8fb89494fe903a2c
2022-11-19T11:36:41+0100 QfcrV41ysF [info] request to updater
2022-11-19T11:36:42+0100 QfcrV41ysF [info] currentStep()
2022-11-19T11:36:42+0100 QfcrV41ysF [info] show HTML page
2022-11-19T11:36:42+0100 QfcrV41ysF [info] current version: 24.0.6 build time: 
2022-11-19T11:36:53+0100 1sZx6S55mB [info] request to updater
2022-11-19T11:36:53+0100 1sZx6S55mB [info] currentStep()
2022-11-19T11:36:53+0100 1sZx6S55mB [info] show HTML page
2022-11-19T11:36:53+0100 1sZx6S55mB [info] current version: 24.0.6 build time: 
2022-11-19T11:37:04+0100 xPwQIoSdbd [info] request to updater
2022-11-19T11:37:04+0100 xPwQIoSdbd [info] currentStep()
2022-11-19T11:37:04+0100 xPwQIoSdbd [info] show HTML page
2022-11-19T11:37:04+0100 xPwQIoSdbd [info] current version: 24.0.6 build time: 
2022-11-19T11:37:35+0100 CtMSUIGFOC [info] request to updater
2022-11-19T11:37:35+0100 CtMSUIGFOC [info] currentStep()
2022-11-19T11:37:35+0100 CtMSUIGFOC [info] Step 6 is in state "start".
2022-11-19T11:37:39+0100 i6R7xX5hfE [info] request to updater
2022-11-19T11:37:39+0100 i6R7xX5hfE [info] currentStep()
2022-11-19T11:37:39+0100 i6R7xX5hfE [info] Step 6 is in state "start".
2022-11-19T11:37:52+0100 o51BiszkUr [info] request to updater
2022-11-19T11:37:52+0100 o51BiszkUr [info] currentStep()
2022-11-19T11:37:52+0100 o51BiszkUr [info] Step 6 is in state "start".
2022-11-19T11:38:43+0100 9uDu7EO4LF [info] request to updater
2022-11-19T11:38:43+0100 9uDu7EO4LF [info] currentStep()
2022-11-19T11:38:43+0100 9uDu7EO4LF [info] Step 6 is in state "start".
2022-11-19T11:38:45+0100 sQkmX8X6BH [info] request to updater
2022-11-19T11:38:45+0100 sQkmX8X6BH [info] currentStep()
2022-11-19T11:38:45+0100 sQkmX8X6BH [info] Step 6 is in state "start".
2022-11-19T11:38:47+0100 YfhqIk125e [info] request to updater
2022-11-19T11:38:47+0100 YfhqIk125e [info] currentStep()
2022-11-19T11:38:47+0100 YfhqIk125e [info] Step 6 is in state "start".

Additional info

I tried 1 suggestion from nextcloud/server#15450 :

  • remove(renamed) the data/update.../.step
  • the reloading the updater, a page is displayed and requests Authentication: To login you need to provide the unhashed value of "updater.secret" in your config file.
  • I paste the value xxxx found in the config file: 'updater.secret' => 'xxxx'
  • but it says invalid "Invalid password"

Thank you for the help.

@szaimen szaimen transferred this issue from nextcloud/server Nov 19, 2022
@StephaneCouturier StephaneCouturier changed the title [Bug]: Stuck on step 6 : update nextcloud 24.0.6 to 24.0.7 [Bug]: Stuck on step 6 updates Dec 10, 2022
@StephaneCouturier
Copy link
Author

Hi, I have the same issue from 25.0.1 to 25.0.2 on an instance using the same web host / shared hosting service.

@joshtrichards
Copy link
Member

For those following this issue, can you see if the discussion in #547 leads to turning up any information about your environment that may be triggering this to re-occur for you? If so, please post follow-up there. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants