Nextcloud version 15.0.0:
Operating system and version Fedora 29 (SeLinux enabled):
Apache or nginx version Apache 2.4.37:
PHP version 7.2.13:
The issue you are facing: Am attempting to complete the upgrade to NC 15 but getting an error:
UnexpectedValueException: The files of the app “files” were not correctly replaced before running the update
Update failed
Is this the first time you’ve seen this error? Y:
Steps to replicate it:
- sudo -u apache php occ upgrade
The output of your Nextcloud log in Admin > Logging:
only one I could find is empty
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'instanceid',
'passwordsalt' => 'passwordsalt',
'secret' => 'secret',
'trusted_domains' =>
array (
0 => 'xxxxxxxxx.duckdns.org',
),
'datadirectory' => '/mnt/extradasd/qcloud',
'dbtype' => 'mysql',
'version' => '14.0.3.0',
'overwrite.cli.url' => 'http://xxxxxxxxx.duckdns.org',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxxx',
'dbpassword' => 'iMtaDDb2AY3z9hWf8PEZqVT1D0lH86',
'installed' => true,
'theme' => '',
'loglevel' => 2,
'maintenance' => true,
'mail_from_address' => 'mailfrom',
'mail_smtpmode' => 'smtp',
'mail_domain' => 'provider.com',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.broadband.provider.com',
'mail_smtpport' => '465',
'mail_smtpname' => 'mailfrom@provider.com',
'mail_smtppassword' => 'smtppassword',
'updater.secret' => '$2y$10$Ydbv/wnqBk14CmdK4C2..uWIRsqEW3O7L9mKvM6ZUoMd3hCvxG4k.',
);
The output of your Apache/nginx/system log in /var/log/____
:
error log is empty
Additional Info
I did not have any 3rd party apps so did not copy any of the old “apps” directory contents over (was doing a manual upgrade as per the documentation). After receiving the above error, I then did a copy (option -npR) of the “apps” directory but still received the same error. Stopped and restarted apache and no change in progress.