-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Do not fail hard if no appinfo is returned during update #9008
Conversation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This changes the upgrade error that I see, but I'm still getting an error (upgrading from 13.0.1 to this PR):
I suppose it makes sense given this PR, but I don't really know what it means. Should that app have been disabled instead? |
No, you need to ensure that you uploaded the new update correctly and that all files are readable by the www-data user |
That is caused because it is a shipped app and you deleted one of it's files. Thus we know that there happened something bad. For other apps we are not that confident and thus just disable them. (just for the background of this. Shipped apps are defined in here: https://github.com/nextcloud/server/blob/master/core/shipped.json#L2-L37 If you remove the line with "activity" then the upgrade should run and disable the activity app. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works 👍
Fix for #8964
Before that the updater was failing hard when the appinfo of an enabled app could not been fetched. Now we just disable that app and continue.
Steps to reproduce: