|
Here is what solved the issue:
Access your server
Open www/nextcloud/config/config.php
Or 1panel => /opt/1panel/apps/nextcloud/nextcloud/data/config/www/nextcloud/config/config.php
Change the line 'maintenance' => true, to 'maintenance' => false,
Save the modified file.
Access your Nextcloud again. Maintenance mode will be off and the update of Duplicate Finder will be offered to you.
Do the update.
All is good again.
首先執行
sudo docker exec -it nextcloud-aio-nextcloud php occ maintenance:mode --off
但沒啥反應
然後:
sudo docker exec -it nextcloud-aio-nextcloud php occ upgrade
一開始也沒反應,但重啟 NC 後就又能用了!
出現了關於缺少資料庫索引的錯誤訊息,所以我執行了
sudo docker exec -it nextcloud-aio-nextcloud php occ db:add-missing-indices |