Impossible to upgrade to 9.0.4

Hello,
Il try to upgrade 9.0.1 to 9.0.4 but it doen't work.

I copy log section :

Error PHP Undefined index: REQUEST_URI at /home/antipodebq/www/owncloud/lib/base.php#179

Zend OPcache API is restricted by "restrict_api" configuration directive
at /home/antipodebq/www/owncloud/lib/private/util.php#1365

Thanks for your help.

Please provide more information:

  • How did you update?
  • Where did you get this "undefined index"
  • Have you used your favorite search engine to search for the Zend OPcache API is restricted by "restrict_api" configuration directive error?

I tried to update with the "updater" tool in the administration section of my owncloud : "A new version is available: ownCloud 9.0.4"
The two error are listed in the "log" section.

When I clicked on the buton nothing happened...
Only 2 new lines in the log and a "'updater.secret' =>...." line in config.php.

Owncloud is installed on an OVH shared server.

Thanks.

Hi,

as an alternative just to the manual update like described here:

https://doc.owncloud.org/server/9.0/admin_manual/maintenance/manual_upgrade.html

This is recommended anyway as the updater app has shown tons of issues in the past and is just broken in my PoV.

1 Like

Hi,

How can I launch the upgrade from the command line using occ on shared hosting server ?

You don't need to run the upgrade via command line. Just delete all files and folders except /data/ and /config/ and extract the 9.0.4 archive to the install dir.

Yes. Thanks...
It is important to remember to change access rights to files without which as " forbiden access " page appears.
So I updated to the 9.1... No problem.

I will use this method...