Error Upgrading to 11.0.2

I have what I think is a fairly simple configuration error preventing me from upgrading from 11.0.0 to 11.0.2, but I’m stuck.

I can click on “Open Updater” and I get to the first updater page.
When I click on “Start Update” or “Retry Update” the console log in the browser shows that it requested the file:
https://www.mydomain.tld/updater/index.php
but…
the file is located at
https://www.mydomain.tld/nextcloud/updater/index.php

I have my config.php file set with attributes such as:

 array (
0 => 'aa',
1 => 'www.mydomain.tld',

),
‘datadirectory’ => ‘/var/www/nextcloud/data’,
‘overwrite.cli.url’ => ‘https://www.mydomain.tld/nextcloud’,
‘overwritewebroot’ => ‘/nextcloud’,
‘htaccess.RewriteBase’ => ‘/nextcloud’,


Nextcloud version (eg, 11.0.0):
Operating system and version (eg, Ubuntu 16.10):
nginx version _1.10:
PHP version 7):
Is this the first time you’ve seen this error?:
Nope :slight_smile:
Can you reliably replicate it? (If so, please outline steps):
Yes

The issue you are facing:

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

403 error - expected

Looks like a bug… @LukasReschke @nickvergessen

I looked through source on github, but I honestly have no idea what I’m looking at. It appears that the file is located here:
updatenotification/js/admin.js

and OC.webroot is the ‘right’ variable.

I also get a 403 error immediately before the error describe above:

Failed to load resource: the server responded with a status of 403 ()
https://www.mydomain.tld/nextcloud/data/.ocdata?t=1490448434056 403 ()