Nextcloud version: 25.0.3.2
Operating system and version: Ubuntu-18.04
Apache or nginx version: Apache/2.4.29
PHP version: PHP 8.2.4
The issue you are facing:
When updating Nextcloud the update gets stuck on stage: Delete old file
Is this the first time you’ve seen this error? (Y/N): N
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '*',
'passwordsalt' => '*',
'secret' => '*',
'trusted_domains' =>
array (
0 => '192.168.1.124',
1 => '*',
2 => '*',
),
'datadirectory' => '/mnt/d/data/',
'dbtype' => 'mysql',
'version' => '25.0.3.2',
'overwrite.cli.url' => '*',
'overwriteprotocol' => 'https',
'htaccess.RewriteBase' => '/',
'dbname' => 'nextdb',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'usr',
'dbpassword' => '*',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => *,
),
'memcache.locking' => '\\OC\\Memcache\\Redis',
'default_phone_region' => '*',
'allow_local_remote_servers' => true,
'check_data_directory_permissions' => false,
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_sendmailmode' => 'smtp',
'mail_smtpauth' => 1,
'mail_smtpsecure' => 'ssl',
'mail_from_address' => 'noreply',
'mail_domain' => '*',
'mail_smtphost' => '*',
'mail_smtpport' => '*',
'mail_smtpname' => '*',
'mail_smtppassword' => '*',
'maintenance' => true,
'theme' => '',
'loglevel' => 2,
'app_install_overwrite' =>
array (
0 => 'hancomoffice',
1 => 'googledocsredirect',
),
'updater.secret' => '*',
);
The update command line error:
[✘] Delete old files failed
core/shipped.json is not available
Update failed. To resume or retry just execute the updater again.
Here are some errors that occur before the error (it spits out more than I pasted here):
PHP Warning: ZipArchive::extractTo(/mnt/d/data//updater-ocnir00z6m7w/downloads/nextcloud/3rdparty/microsoft/azure-storage-blob/src/Blob/Models/ContainerProperties.php): Operation failed: Operation not permitted in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 701
PHP Warning: ZipArchive::extractTo(/mnt/d/data//updater-ocnir00z6m7w/downloads/nextcloud/3rdparty/microsoft/azure-storage-blob/src/Blob/Models/ListBlobBlocksResult.php): Operation failed: Operation not permitted in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 701
PHP Warning: ZipArchive::extractTo(/mnt/d/data//updater-ocnir00z6m7w/downloads/nextcloud/3rdparty/microsoft/azure-storage-blob/src/Blob/BlobSharedAccessSignatureHelper.php): Operation failed: Operation not permitted in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 701
PHP Warning: ZipArchive::extractTo(/mnt/d/data//updater-ocnir00z6m7w/downloads/nextcloud/3rdparty/microsoft/azure-storage-blob/src/Blob/BlobRestProxy.php): Operation failed: Operation not permitted in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 701
PHP Warning: ZipArchive::extractTo(/mnt/d/data//updater-ocnir00z6m7w/downloads/nextcloud/3rdparty/microsoft/azure-storage-blob/BreakingChanges.md): Operation failed: Operation not permitted in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 701
PHP Warning: ZipArchive::extractTo(/mnt/d/data//updater-ocnir00z6m7w/downloads/nextcloud/3rdparty/microsoft/azure-storage-blob/CONTRIBUTING.md): Operation failed: Operation not permitted in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 701
PHP Warning: ZipArchive::extractTo(/mnt/d/data//updater-ocnir00z6m7w/downloads/nextcloud/3rdparty/microsoft/azure-storage-blob/ChangeLog.md): Operation failed: Operation not permitted in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 701
PHP Warning: ZipArchive::extractTo(/mnt/d/data//updater-ocnir00z6m7w/downloads/nextcloud/3rdparty/microsoft/azure-storage-blob/composer.json): Operation failed: Operation not permitted in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 701
PHP Warning: ZipArchive::extractTo(/mnt/d/data//updater-ocnir00z6m7w/downloads/nextcloud/3rdparty/microsoft/azure-storage-blob/LICENSE): Operation failed: Operation not permitted in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 701
PHP Warning: ZipArchive::extractTo(/mnt/d/data//updater-ocnir00z6m7w/downloads/nextcloud/3rdparty/microsoft/azure-storage-blob/README.md): Operation failed: Operation not permitted in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 701
PHP Warning: ZipArchive::extractTo(/mnt/d/data//updater-ocnir00z6m7w/downloads/nextcloud/COPYING): Operation failed: Operation not permitted in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 701
PHP Warning: ZipArchive::extractTo(/mnt/d/data//updater-ocnir00z6m7w/downloads/nextcloud/config/CAN_INSTALL): Operation failed: Operation not permitted in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 701
PHP Warning: ZipArchive::extractTo(/mnt/d/data//updater-ocnir00z6m7w/downloads/nextcloud/config/config.sample.php): Operation failed: Operation not permitted in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 701
What should I do? I have my data folder in a different drive, I tried to temporarily moving the data folder inside Nextcloud where it is located by default but it resulted in the same error.