There is an issue right now with the group folders app which may leave you with a blank page during the update to NC17.
Please make sure to disable the app āGroup foldersā before you perform the update to NC17 via the web updater!
After the update to NC17 check that the app āGroup foldersā is updated to version 5.x.
If not, update the app manually. After the app update, you can enable āGroup foldersā again.
In case you already ran into this issue, please:
login to your server via ssh
run the occ command āupgradeā: sudo -u <web user> php /path/to/nc/occ upgrade
I read somewhere that all of the apps should be disabled before attempting any upgrade; is that still true? Or just āgroup foldersā if itās present?
I have a lot of NextCloud apps to upgrade (probably thousands) so Iām looking for a smart way to automate this. I thought about running this:
UPDATE `{$PREFIX}appconfig` SET `configvalue`='no' WHERE `appid`!='core' AND `configkey`='enabled' AND `configvalue`='yes'
And that does appear to work, but it leaves the app looking rather bare after the upgrade so Iām not sure if itās a good idea or not. This is the list of apps that it disables for an upgrade from 16.0.5:
I notice that āgroup foldersā isnāt there; is that an optional app you would have installed yourself?
Any advice you can give would be great. If I can just check for an app named āgroup_foldersā, or something, and disable it if present then that would be a nice simple solution.
For now (update to NC17) this has to be done only for the optional app āGroup foldersā.
So usually you donāt have to disable any apps. Nextcloud disables incompatible apps itself during the update process.
Here there was just an issue with the upgrade path.
To be on the safe side and if you want to avoid any issues which slipped through in the Beta phase you can of course disable all apps yourself before upgrade.
This was the first issue with an app for a long time for me however.
The way I understand your code line, it only disables all your apps. It doesnāt really update the app.
To update all apps at once via automatism, there is an occ command: sudo -u <web user> php /path/to/nextcloud/occ app:update --all
So you could probably combine all that.
disable all apps with your command
run the NC update
update all apps (if not automatically done by the update) with the occ command
enable all the apps with your slightly adapted command (SET āconfigvalueā=āyesā)
Yes, this app is not shipped by default. You would have to download it from the store. So only users who (use this app or) had the app downloaded and enabled before, are affected.
what I think is a bit frustrating/confusing: in the settings there was written āfor every app an update is available!ā so I did the upgrade and baaamm āthe following 23 apps are incompatible and disabledā. Very nice.