-
Notifications
You must be signed in to change notification settings - Fork 34
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
Skip the update if there are incompatible apps (unless forced/overrriden) #401
Comments
Yes, this is really important for the community. The same would also be nice for the docker version as well. |
I agree with this demand, but one note;
|
The problem is not nextcloud updates themselves really, the problem is the fact it's made super hard to even know which of your apps are compatible. You would need to view them one-by-one and make lists of the onces that are or are not compatible. An easy tool to check update compatibility would be a great start to get somewhat ahead of this issue. |
I would like to have such a feature but because of #241 I doubt it gets implemented. |
This would need nextcloud/server#34713. In theory, we could then integrate this into the Updater as a pre-check step and run it in the same way we do |
How to use GitHub
Is your feature request related to a problem? Please describe.
I have a cron job that includes
php7.4 /var/local/nextcloud/webroot/updater/updater.phar --no-interaction --quiet
, and the last time it upgraded Nextcloud, it disabled theoidc_login
andtwofactor_u2f
apps, among others. Disabling the former prevents logging in, and unintentionally disabling the latter is a security issue, I think.Describe the solution you'd like
Add a command-line flag to
updater.phar
so that if the upgrade would disable any apps, it prints an error message instead of continuing.Describe alternatives you've considered
A command-line flag that lists specific apps that are considered critical would work too.
Additional context
The issue I had was updating from 22.2.3.0 to 23.0.0.10, and the logs showed these apps disabled:
The text was updated successfully, but these errors were encountered: