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

After updater is finished, update process must be run again! #181

Closed
tflidd opened this issue Aug 29, 2018 · 1 comment
Closed

After updater is finished, update process must be run again! #181

tflidd opened this issue Aug 29, 2018 · 1 comment
Labels

Comments

@tflidd
Copy link

tflidd commented Aug 29, 2018

I have seen this on many updates (NC 12), most recently from 14.0.0 beta 1 to 14.0.0 RC1.

Steps:

  • start update: sudo -u www-data php updater/updater.phar
  • Start update? [y/N] y
  • Should the "occ upgrade" command be executed? [Y/n] y
  • Keep maintenance mode active? [y/N] n

Now if I go to the login page, it says:

Nextcloud will be updated to version 14.0.0 RC 1

But I don't want to start such procedures via web-interface, so I run sudo -u www-data php occ upgrade

Then it checks all apps again (nothing is done because this step was already carried out during update), and then it works. I'm not sure if there is perhaps an additional step on the database or something like that but this step should be integrated in the update procedure.

@tflidd tflidd added the bug label Aug 29, 2018
@MorrisJobke
Copy link
Member

The problem with this is to be searched in the server mostly (yes could originate in the updater as well, but we are a bit unsure of the reasons). Could we continue it in that ticket: nextcloud/server#10362

The workaround as of now would be:

run updater.phar, but don't let it execute occ upgrade itself, but do it manually. Or just run occ upgrade again.

That means to answer at your second last step with n.

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

No branches or pull requests

2 participants