I just blogged about our 2nd beta which is now available! We’re still squashing bugs but it is time to really give this release a work-out so we’re asking everyone to pitch in and test an upgrade. Most of us have upgraded our private instance (I just did, no problems here) and it is becoming harder to find bugs so - please, help out!
If you find a update/upgrade bug and report it and it’s unique, there is a t-shirt in it for you
i ran the update from 11.0.3 to 12.b1 to 12b2 successfully in the cli.
I went back to the browser and had to perform an update (as shown above) in my web-gui.
Why do i have to use the browser as well?
Is this by design?
I had that opcache recommendation like you can see it in the OP. I changed all the php.ini files I could possibly find, it still says it is not properly configured. Ideas?
Sadly this way is more time consuming because you will be asked for the unhashed updater-secret.
If you don’t have this value e.g. it was created automaticly then you have to go to the CLI.
Therefore the easiest way to update from b1 to b2 seems to be using the CLI with:
sudo -u www-data php /var/www/nextcloud/updater/updater.phar
as @travisph posted.
This sadly returns the output as follows:
Nextcloud Updater - version: v11.0.3-19-g3e2d9de
Current version is 12.0 beta 1.
No update available.
Nothing to do.
Actually it is “…nextcloud/updateR…” : sudo -u www-data php /var/www/nextcloud/updater/updater.phar
Got the same issue, worked well with command! Would love to have a t-shirt, but I guess it’s not possible to get one for everybody reporting this same issue here .
This bug was basically caused by a security hardening that we recently introduced: https://statuscode.ch/2017/03/CSP-unsafe-eval-and-jquery/. Basically, when you click the “Open updater” button we instructed jQuery to load the HTML from /updater/index.php and inject that into the current view. With the security hardening applied the JavaScript wasn’t executed but the HTML was loaded.
Thus this also works by opening /updater/index.php manually because there we don’t use jQuery for injecting the JavaScript.