Updater.phar resets upload size to 511 MB

First, let me say that despite the glitch described below, updater.phar is a great improvement in respect to the former update handling!

I used updater.phar for updating from -> to: -> -> ->

Operating system and version (eg, Ubuntu 16.04): Debian 9.1

Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.25 (Debian)

PHP version (eg, 5.6): 7.0.19-1

Is this the first time you’ve seen this error?: no, it happens in every update process (see above)

Can you reliably replicate it? (If so, please outline steps): yes, with every update process (see above)

The issue you are facing: the upload size is always reduced to 511 MB, my setup “3.5 GB” is overwritten with “511 MB”

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):
“system”: {
“datadirectory”: “/data/data-oc”,
“dbhost”: “localhost”,
“dbname”: “nextcloud”,
“dbtableprefix”: “oc_”,
“dbtype”: “mysql”,
“default_language”: “de”,
“forcessl”: true,
“installed”: true,
“installedat”: “1337003776.401”,
“instanceid”: “508063daf00ef”,
“lastupdatedat”: “1337004166.2597”,
“logdateformat”: “Y-m-d H:i:s”,
“loglevel”: 4,
“logtimezone”: “Europe/Berlin”,
“skeletondirectory”: “”,
“lost_password_link”: “disabled”,
“maintenance”: false,
“filelocking.enabled”: true,
“memcache.locking”: “\OC\Memcache\Redis”,
“memcache.local”: “\OC\Memcache\Redis”,
“redis”: {
“host”: “localhost”,
“port”: 6379,
“timeout”: 0
“overwrite.cli.url”: “https://www.rehavista.net/nextcloud”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“share_folder”: “/Shared”,
“theme”: “”,
“trusted_domains”: [
“updatechecker”: true,
“version”: “”,
“appstore.experimental.enabled”: true,
“trashbin_retention_obligation”: “14,21”,
“versions_retention_obligation”: “21,28”,
“activity_expire_days”: 84,
“mail_from_address”: “nextcloud”,
“mail_smtpmode”: “smtp”,
“mail_domain”: “rehavista.net”,
“mail_smtphost”: “”,
“mail_smtpport”: “25”,
“updater.release.channel”: “stable”
“apps”: {
// ---- lengthy apps listing removed ----

Already posted here: