Hi, I am new to NC and just finished my first major version upgrade from 24 to 25 today. The upgrade was performed via web /setting/admin/updater page, all the major upgrade steps were proceeded except the last step, where it asked me to run ‘php occ update’ equivalent from within the updater web page.
I think the last step failed during certain extension update, since it timed out on fetching new version tar.gz file from app store. In the end, my NC instance stayed on the maintenance mode forever.
I’ve tried the following ‘fixes’:
Re-ran ‘php occ update’ to catch up missing post update steps. One extension was upgraded.
Brought instance back to normal state (maintenance=off).
/settings/admin/overview reported missing indicies and I fixed it.
However I think things are still wrong somewhere. No obivious errors in updater.log / nextcloud.log, I noticed:
/settings/admin/logging page is empty
My user icon looks incorrect.
Now my questions are:
Any way to confirm all the post update commands are executed ?
Assuming certain commands failed during my initial run, any way to re-run them manually ?
Is that possible to restore /www/nextcloud folder from previous backup and re-run update again (to fix everything essentially from database) ?
My system info:
NC version: 184.108.40.206 from 220.127.116.11
OS version: debian OMV7 via docker, NC image from linuxserver/nextcloud/latest
very happy to see new users posting qualified questions with lot of things already sorted out. In general upgrading applications is not intended for containers, the philosophy of Docker is rather to throw away old container and replace by new version…
I remember sometimes linuxserver team does special things - e.g. application upgrades within containers. Unfortunately I’m not familiar with linuxserver docker image - I would recommend to ask there.
Thank you for replying me so quickly.
Then I guess my upgrade is successful (after the indicies fix).
In fact with the docker approach both nextcloud and database data are stored outside container on the hosting server:
nextcloud: everything under www/nextcloud, together with its own config.
database: all the created tables under the nextcloud schema namespace.
This is done via a standalone docker volume persist option: volume mount.
The upgrade on nextcloud will apply changes on all the persistent data, the container itself only offers php runtimes (required libraries/extentions) and some other useful libraries for nextcloud (for instance ffmpeg and imagemagic).
I will monitor the system for a few days and see what will happen, then report back in case there is indeed problem.
BTW, the error I got under /setting/admin/logging page:
react-dom.production.min.js:216 Error: Minified React error #188; visit https://reactjs.org/docs/error-decoder.html?invariant=188 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at t.findDOMNode (react-dom.production.min.js:289:284)
at t.transition (CSSTransitionGroupChild.js:129:30)
at r.componentWillEnter (CSSTransitionGroupChild.js:97:15)
at s.performEnter (TransitionGroup.js:83:19)
at Array.forEach ()
at t.componentDidUpdate (TransitionGroup.js:191:17)
at po (react-dom.production.min.js:219:502)
at El (react-dom.production.min.js:259:160)