Nextcloud update pushed too early?
-
N nebulon referenced this topic
-
I do see this show up several times in the log when that nextcloud instance starts:
Healtheck error: Error: connect ECONNREFUSED 172.18.18.24:80
-
@nebulon Is it somehow possible to reinstall the app with the same version (or rerun the update but without starting from an old backup)?
-
Right so it's fixed on that broken. It turns out that for some reasons the ownership on many directories inside the NC
datadirectory have been changed from www-data to yellowtent. This included the content of:data/appdata_{instanceid}/appstore/which looked like:drwxr-xr-x 3 yellowtent yellowtent 4.0K Oct 2 12:55 . drwxr-xr-x 19 www-data www-data 4.0K Oct 2 12:55 .. -rw-r--r-- 1 yellowtent yellowtent 87K Oct 1 11:19 appapi_apps.json drwxr-xr-x 5 yellowtent yellowtent 4.0K Oct 1 11:19 app-discover-cache -rw-r--r-- 1 yellowtent yellowtent 2.8M Oct 1 11:19 apps.json -rw-r--r-- 1 yellowtent yellowtent 161K Oct 1 11:19 categories.json -rw-r--r-- 1 yellowtent yellowtent 7.2K Oct 1 11:19 discover.json...and which broke the App Store. Revering the permission to www-data made everything work right away.
But actually many directories are affected inside the
appdata_{instanceid}directory as well as users files inside thedatadirectory.I'm going to do a good backup and put the app in maintenance mode before I change ownership every inside the
databecause it feels a bit scary.@staff Any clues on how it happened??
-
@staff quick question. When Nextcloud 32.0.1 gets released, will it be possible to update directly to it for those instance that are still on NC31, skipping 32.0.0?
-
@staff quick question. When Nextcloud 32.0.1 gets released, will it be possible to update directly to it for those instance that are still on NC31, skipping 32.0.0?
-
@avatar1024 good idea, we can revoke 32.0.0 so it can be skipped.
@girish on my instances NC still tries to first update to 32.0.0 despite 32.0.1 having now been pushed.