brent Posted March 7, 2023 Share Posted March 7, 2023 If you try and run an upgrade on your nextcloud instance and it fails. Try the following. 1. Occasionally, files do not show up after a upgrade. A rescan of the files can help: sudo -u www-data php console.php files:scan --all 2. Sometimes, Nextcloud can get stuck in a upgrade if the web based upgrade process is used. This is usually due to the process taking too long and encountering a PHP time-out. Stop the upgrade process this way: sudo -u www-data php occ maintenance:mode --off 3. Sometimes, Nextcloud will return errors after upgrading telling you some indexes are missing. sudo -u www-data php occ db:add-missing-indices 4. Then start the manual process: sudo -u www-data php occ upgrade 5. If this does not work properly, try the repair function: sudo -u www-data php occ maintenance:repair 6. Log back into nextcloud and run the upgrade again. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now