Error when updating via web interface
Nextcloud version (eg, 20.0.5): 27.1.2. (27.1.0, 27.1.1)
Operating system and version (eg, Ubuntu 20.04): RedHat 8.8
Apache or nginx version (eg, Apache 2.4.25): nginx/1.23.1
PHP version (eg, 7.4): PHP 8.1.24
The issue you are facing:
When updating via the web interface at the step:
Check for expected files.
the error is given:
The following extra files have been found:
composer.json
composer.lock
package-lock.json
package.json
the update is interrupted.
The update can be completed only after manually deleting the specified files from the ./nextcloud folder.
What needs to be done so that each update does not require manual deletion of the listed files?
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
- When updating via the web interface (version: 27.1.X Update channel:
Stable
The output of your Nextcloud log in Admin > Logging:
PASTE HERE
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'xxxxxxxx',
'passwordsalt' => 'xxxxxxxx',
'secret' => 'xxxxxxxx',
'trusted_domains' =>.
array (
0 => 'iassist.ru',
),
'datadirectory' => '/data/nextcloud-d',
'overwrite.cli.url' => 'https://iassist.ru',
'overwriteprotocol' => 'https',
'dbtype' => 'mysql',
'version' => '27.1.3.2',
'dbname' => 'xxxxxxxx',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'xxxxxxxx',
'dbpassword' => 'xxxxxxxx',
'installed' => true,
'mysql.utf8mb4' => true,
'updater.release.channel' => 'stable',
'theme' => '',
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => true,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>.
array (
'host' => '127.0.0.1',
'port' => 6379,
),
'maintenance' => false,
'loglevel' => 2,
'logfile' => '/var/log/nextcloud/nextcloud.log',
'mail_smtpmode' => 'smtp',
'mail_from_address' => 'xxxxxxxx',
'mail_domain' => 'xxxxxxxx',
'mail_sendmailmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'xxxxxxxx',
'mail_smtpport' => '465',
'mail_smtpname' => 'xxxxxxxx',
'mail_smtppassword' => 'xxxxxxxx',
'enable_previews' => true,
'enabledPreviewProviders' =>.
array (
0 => 'OC\\Preview\\PDF',
1 => 'OC\\Preview\\BMP',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\JPEG',
4 => 'OC\\Preview\\PNG',
5 => 'OC\\Preview\\TXT',
6 => 'OC\\Preview\\HEIC',
7 => 'OC\\Preview\\HEIF',
8 => 'OC\\Preview\\XBitmap',
),
'updater.secret' => 'xxxxxxxx',
);