Sorry to hear you’re facing problems
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
Or for longer, use three backticks above and below the code snippet:
longer example here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version: or upgrade to 14, somewhere inbetween
Operating system and version: Debian on Raspberry Pi
Apache or nginx version: 2.4.25-3
PHP version: 7.0.30
The issue you are facing:
I started the installer in the web interface and it seemed to run fine and said I just had to relog in. Great. The login screen says
The files of the app (federation), (files), (files_versions), (files_videoplayer), (firstrunwizard), (gallery), (logreader), (lookup_server_connector), (password_policy), (sharebymail), (twofactor_backupcodes) were not replaced correctly. Make sure it is a version compatible with the server.
But even on console I only get
2018-10-08T20:41:55+00:00 Updating database schema
2018-10-08T20:41:55+00:00 Updated database
2018-10-08T20:41:55+00:00 UnexpectedValueException: The files of the app “files” were not correctly replaced before running the update
2018-10-08T20:41:55+00:00 Update failed
2018-10-08T20:41:55+00:00 Maintenance mode is kept active
Is this the first time you’ve seen this error? Yes.
Steps to replicate it: I don’t know, I never had that before,
The output of your Nextcloud log in Admin > Logging:
Can't acces that anymore
The output of your config.php file in
/path/to/nextcloud (make sure you remove any identifiable information!):
<?php $CONFIG = array ( 'datadirectory' => '/var/www/html/data', 'dbtype' => 'mysql', 'version' => '184.108.40.206', [ removed db info ] 'filelocking.enabled' => true, 'memcache.local' => '\\OC\\Memcache\\APCu', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => 'localhost', 'port' => 6379, ), 'installed' => true, 'maintenance' => true, 'theme' => '', 'loglevel' => 1, ;```
The output of your Apache/nginx/system log in
/var/log/____: Maybe theres one interesting line…
[Mon Oct 08 20:46:18.086818 2018] [:error] [pid 15337] [client 220.127.116.11:62395] PHP Warning: ZipArchive::extractTo(): No space left on device in /var/www/html/updater/index.php on line 760 [Mon Oct 08 22:04:23.376100 2018] [mpm_prefork:notice] [pid 580] AH00169: caught SIGTERM, shutting down [Mon Oct 08 22:12:26.011555 2018] [mpm_prefork:notice] [pid 23690] AH00163: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations [Mon Oct 08 22:12:26.011834 2018] [core:notice] [pid 23690] AH00094: Command line: '/usr/sbin/apache2'
So I noticed that my SD card was full (since trash was stored on there and not on the external drive, and maybe that’s why the update was not completely (or not at all) downloaded. How can I now proceed and restart the upgrade?