Error while updating from 19.0.5.2 auf 20.0.2.0 on Qnap-TS251

Hallo,

until now there´s running Nextcloud 19.0.5.2 on my Qnap TS-251 with Firmware 4.5.1.1945 without any problems.
Until now i always used the console through WinSCP/Putty to do upgrades.
Unfortunately when i tried to update to 20.0.2.0 i got an error message.
The Updater i started like this:

ln -s /mnt/ext/opt/apache/bin/php /bin/php

sudo -u httpdusr php /share/CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/updater/updater.phar

This time after step 5 (Validating" i get this message:

Verify integrity …PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 141997160 bytes) in phar:///share/CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/updater/updater.phar/lib/Updater.php on line 637

On my QNAP below /share/CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/updater/updater.phar there is no further directory like shown in that message(…/lib/Updater.php).
Can somebody somehow help and tell me if and how i can do the upgrade?
I can´t find where the file limitation to 134217728 bytes is defined.

Greetings
Werner
[/details]

Nextcloud version (eg, 20.0.2):
Operating system and version: Qnap TS-251 4.5.1.1945
Apache or nginx version (eg, Apache 2.4.25): ???
PHP version (eg, 7.1): 7.3

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' => 'xxxxxxxxxxx',
  'passwordsalt' => 'yyyyyyyyyyyyyyy',
  'secret' => 'zzzzzzzzzzzzzzzzzzzzzzz',
  'trusted_domains' => 
  array (
    0 => '192.168.a.b',
    1 => 'name.dyndns.org',
  ),
  'datadirectory' => '/share/CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/data',
  'overwrite.cli.url' => 'http://192.168.a.b:port/nextcloud',
  'dbtype' => 'mysql',
  'version' => '19.0.5.2',
  'dbname' => 'Nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'DBUSER',
  'dbpassword' => 'DBPASSWORD',
  'logtimezone' => 'UTC',
  'installed' => true,
  'maintenance' => false,
  'updater.release.channel' => 'stable',
  'theme' => '',
  'loglevel' => 2,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'app_install_overwrite' => 
  array (
    0 => 'calendar',
  ),
  'mail_sendmailmode' => 'smtp',
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_from_address' => 'Nextcloud',
  'mail_domain' => 't-online.de',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => 'securesmtp.t-online.de',
  'mail_smtpport' => '587',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'smtpname',
  'mail_smtppassword' => 'smtppassword',
);
1 Like

Today the Upgrade from 19.0.5. to 19.0.6 worked by using the console updater.
After that i was offered to upgrade to 20.0.3 - but exactly the same bahaviour like before when i tried to upgrade from 19.0.5 to 20.0.2.

1 Like