Hi, i was trying upgrad my nextcloud installation from v15 to v18 in an docker container.
Until now i thought i can do this with my command:
docker stack deploy “stackname” -c /var/data/docker-compose/nextcloud/docker-compose.yml
In the compose file is only meantioned nextcloud:latest which should install me this:
- [
18.0.0-apache
,18.0-apache
,18-apache
,apache
,18.0.0
,18.0
,18
,latest
] - My database is an mariadb:10 container.
The installation is showing me this now:
Internal Server Error
The server encountered an internal error and was unable to complete your request.
After this i tried to repair this in the command line with:
sudo -u www-data php occ upgrade
This is showing me:
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed
Maintenance mode is kept active
Reset log level
I found an repair option but this is not working because it seems some tables are missing:
root@xx:/var/www/html# sudo -u www-data php occ maintenance:repair
Output:
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgradeIn AbstractMySQLDriver.php line 42:
An exception occurred while executing ‘SELECT
filecache
.fileid
,storage
,path
,path_hash
,filecache
.parent
,name
,mimetype
,mimepart
,size
,mtime
,storage_mtime
,encrypted
,etag
,permissions
,checksum
,metadata_etag
,creation_time
,upload_time
FROMfilecache
filecache
LEFT JOINfi lecache_extended
fe
ONfilecache
.fileid
=fe
.fileid
WHERE (storage
= ?) AND (path_hash
= ?)’ with params [2, “e13df7347672d0e202590220c2c48cbe”]:SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘nextcloud.filecache_extended’ doesn’t exist
In PDOStatement.php line 119:
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘nextcloud.filecache_extended’ doesn’t exist
In PDOStatement.php line 117:
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘nextcloud.filecache_extended’ doesn’t exist
maintenance:repair [–include-expensive]
root@xx:/var/www/html# sudo -u www-data php occ -V
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Nextcloud 18.0.0
Do you have a tip for me how i can fix my data?