# Error while updating from 19.0.5.2 auf 20.0.2.0 on Qnap-TS251

**URL:** <https://help.nextcloud.com/t/error-while-updating-from-19-0-5-2-auf-20-0-2-0-on-qnap-ts251/99666>\
**Category:** ℹ️ Support\
**Tags:** update\_problems, nc20, qnap\
**Created:** [November 29, 2020, 10:01am UTC](https://help.nextcloud.com/t/error-while-updating-from-19-0-5-2-auf-20-0-2-0-on-qnap-ts251/99666 "2020-11-29T10:01:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![WeT-Klb](https://help.nextcloud.com/letter_avatar/wet-klb/32/6_22734026db12803ebb3e059622ac3534.png) [@WeT-Klb](https://help.nextcloud.com/u/WeT-Klb)\
**Post date:** [November 29, 2020, 10:01am UTC](https://help.nextcloud.com/t/error-while-updating-from-19-0-5-2-auf-20-0-2-0-on-qnap-ts251/99666/1 "2020-11-29T10:01:54Z")

</div>

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:

```auto
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** :

```auto
PASTE HERE

```

The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):

```auto
<?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',
);
```

---

<div class="post-metadata">

**Author:** ![WeT-Klb](https://help.nextcloud.com/letter_avatar/wet-klb/32/6_22734026db12803ebb3e059622ac3534.png) [@WeT-Klb](https://help.nextcloud.com/u/WeT-Klb)\
**Post date:** [December 12, 2020, 7:09pm UTC](https://help.nextcloud.com/t/error-while-updating-from-19-0-5-2-auf-20-0-2-0-on-qnap-ts251/99666/2 "2020-12-12T19:09:55Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 7:48pm UTC](https://help.nextcloud.com/t/error-while-updating-from-19-0-5-2-auf-20-0-2-0-on-qnap-ts251/99666/3 "2024-12-12T19:48:52Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 7:48pm UTC](https://help.nextcloud.com/t/error-while-updating-from-19-0-5-2-auf-20-0-2-0-on-qnap-ts251/99666/4 "2024-12-12T19:48:54Z")

</div>


