Unable to Update

Hello there,

Nextcloud version (eg, 20.0.5): 20.0.6
Operating system and version (eg, Ubuntu 20.04): Debian 10
Apache or nginx version (eg, Apache 2.4.25): nginx/1.14.2
PHP version (eg, 7.4): PHP 7.3.19-1

The issue you are facing:

The update process stops with this error;
" Check for expected files
The following extra files have been found:

  • strg"

In /strg folder I have mounted a 1TB volume to store all the users information, I never thought that will be a problem for an update process. What I should do in order to continue the update process?

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. log in to Nextcloud
  2. Click on the update
  3. The update GUI shows the error Update error - Image on Pasteboard

The output of your Nextcloud log in Admin > Logging:

No error showing here.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
   'trusted_domains' =>
  array (
    0 => 'cloud.gscsite.net',
  'datadirectory' => '/var/www/nextcloud/strg',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => 'https://cloud.gscsite.net',
  'dbname' => 'nextcloudDBgscNET',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
   'installed' => true,
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '',
    'port' => 6379,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'updater.secret' => ');

The output of your Apache/nginx/system log in /var/log/____:

There is no error is shown here, the application is working correctly, just once I try to update to the new version.

I suppose the updater app is too confused to handle this. You have two other options, either ignore it and do a manual update (backup, remove everything except data folder and the config folder, then copy in place the new code, check the permissions and run the occ upgrade command). Or you move the data folder outside the webroot, there are tutorials how to move the data folder. You can just mount the disk at a different mount point.

Hello there,

After moving the folder to another location out of the nextcloud path I ware able to update it to the latest version.

Thanks for all your help,