A successful Update
It failed
Set log level to debug
Updating database schema
Updated database
UnexpectedValueException: The files of the app "files_rightclick" were not correctly replaced before running the update
Update failed
Maintenance mode is kept active
Reset log level
Operating system:
arch linux (manjaro)
Web server:
Server version: Apache/2.4.41 (Unix)
Server built: Aug 13 2019 22:44:41
Database:
psql (PostgreSQL) 11.5
PHP version:
PHP 7.3.10
Nextcloud version: (see Nextcloud admin page)
17.0.0.9
Updated from an older Nextcloud/ownCloud or fresh install:
update
Where did you install Nextcloud from:
arch linux package
* Solution *
I found the cause: The directory apps/files_rightclick/ contained another directory named files_rightclick once again.
I was able to resolve the problem by hand in three steps.
cp -r apps/files_rightclick/files_rightclick/* apps/files_rightclick/sudo -u http ./occ upgradeconfig/config.php set maintenance to falseHad the same issue. Solution worked for me also
Same issue with upgrade to 17.0.1. Same fix also worked. Thank you.
same issue upon upgrade but the cp -r solution did not work for me.
The following did work though:
mv apps/files_rightclick/ /some/other/place/sudo -u http ./occ upgradesudo -u http ./occ maintenance:mode --off
Most helpful comment
Same issue with upgrade to 17.0.1. Same fix also worked. Thank you.