Nextcloud version (eg, 20.0.5): 27.0.0
Operating system and version (eg, Ubuntu 20.04): Rocky Linux 9.2 (Blue Onyx)
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.53
PHP version (eg, 7.4): 8.2.8
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N):Y
Steps to replicate it:
- Have run this on and identical installation (different data)
- Execute sudo -u apache php --define apc.enable_cli=1 updater/updater.phar --no-interaction -vvv
- Fails with:
Nextcloud Updater - version: v26.0.0beta2-9-g64e2e4c dirty
Current version is 27.0.0.
Update to Nextcloud 27.1.0 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-27.1.0.zip
Open changelog
Updater run in non-interactive mode.
Start update
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[] Check for expected files
[] Check for write permissions
[] Create backup
[] Downloading
[] Verify integrity
[] Extracting
[] Enable maintenance mode
[] Replace entry points
[ ] Delete old files …PHP Warning: rmdir(/var/www/html/nextcloud/updater/…/3rdparty): Permission denied in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 887
[✘] Delete old files failed
Could not rmdir: /var/www/html/nextcloud/updater/…/3rdparty
Update failed. To resume or retry just execute the updater again.
The output of your Nextcloud log in Admin > Logging:
Nextcloud not accessible to access Admin Log
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => 'XXXXXXXXXXXXXXXXXS',
'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXX',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'www.youngforever.com.au',
2 => 'nextcloud.youngforever.com.au',
3 => 'nextcloud.youngforever.au',
4 => '192.168.5.2',
),
'datadirectory' => '/data/youngdata',
'dbtype' => 'mysql',
'version' => '27.0.0.8',
'overwrite.cli.url' => 'http://nextcloud.youngforever.com.au',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'oc_admin',
'dbpassword' => 'xxxxxxxxxxxx',
'installed' => true,
'instanceid' => 'occhmk8kzusp',
'maintenance' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
),
'theme' => '',
'loglevel' => 2,
'default_phone_region' => 'AU',
'app_install_overwrite' =>
array (
0 => 'documentserver_community',
1 => 'impersonate',
),
'enable_previews' => true,
'preview_max_x' => 4096,
'preview_max_y' => 4096,
'preview_max_filesize_image' => 150,
'preview_max_memory' => 256,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
);
The output of your Apache/nginx/system log in /var/log/____
:
HTTP Logs contain no current data, since upgrade failed.
PASTE HERE
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
Nothing in Log since update started.