Support intro
Attempting to manually update via updater.phar fails during verifying downloaded update
with:
[ ] Verify integrity …PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 155248904 bytes) in phar:///usr/local/www/nextcloud/updater/updater.phar/lib/Updater.php on line 637
Nextcloud version 21.0.0
Operating system and version _FreeBSD 12.2
Apache or nginx version _nginx/1.18.0
PHP version _PHP 7.4.16
The issue you are facing:
sudo -u www php /usr/local/www/nextcloud/updater/updater.phar
Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4
Current version is 21.0.0.
Update to Nextcloud 21.0.1 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
Open changelog
Steps that will be executed:
[ ] Check for expected files
[ ] Check for write permissions
[ ] Create backup
[ ] Downloading
[ ] Verify integrity
[ ] Extracting
[ ] Enable maintenance mode
[ ] Replace entry points
[ ] Delete old files
[ ] Move new files in place
[ ] Done
Start update? [y/N] y
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 …PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 155248904 bytes) in phar:///usr/local/www/nextcloud/updater/updater.phar/lib/Updater.php on line 637
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- run sudo -u www php /usr/local/www/nextcloud/updater/updater.phar
The output of your Nextcloud log in Admin > Logging:
This is updater.phar there is nothing present in this log related to it
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'REMOVED',
'passwordsalt' => 'REMOVED',
'secret' => 'REMOVED',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'REMOVED',
),
'datadirectory' => '/usr/local/www/nextcloud/data',
'dbtype' => 'mysql',
'version' => '21.0.0.18',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'REMOVED',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'REMOVED',
'dbpassword' => 'REMOVED',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'simpleSignUpLink.shown' => false,
'tempdirectory' => '/usr/local/www/nextcloudTMP',
'upload_tmp_dir' => '/usr/local/www/nextcloudTMP',
'installed' => true,
'‘debug’' => '‘false’',
'loglevel' => 2,
'app_install_overwrite' =>
array (
0 => 'unsplash',
),
'maintenance' => false,
);
The output of your Apache/nginx/system log in /var/log/____
:
This is updater.phar there is nothing present in this log related to it