When should I place it? I execute sudo -u www-data php updater.phar
And this command gives this:
Nextcloud Updater - version: v12.0.0
Current version is 12.0.1.
Update to Nextcloud 12.0.1 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/prereleases/nextcloud-12.0.1.zip
Steps that will be executed:
[ ] Check for expected files
[ ] Check for write permissions
[ ] Enable maintenance mode
[ ] Create backup
[ ] Downloading
[ ] Verify integrity
[ ] Extracting
[ ] Replace entry points
[ ] Delete old files
[ ] Move new files in place
[ ] Done
Start update? [y/N]
I press Y and then it starts working
Then comes this:
[] Check for expected files
[] Check for write permissions
[] Enable maintenance mode
[] Create backup
[] Downloading
[] Verify integrity
[] Extracting
[] Replace entry points
[] Delete old files
[] Move new files in place
[] Done
Update of code successful.
Should the “occ upgrade” command be executed? [Y/n]
At this stage the folder workflowengine is back in the apps folder, probably it was extracted from the installation package just downloaded. In this stage I moved the folder from the apps folder and moved in the same folder from my own Nextcloud 12.0.1 installation via scp but got the same problem
Checked for update of app “workflowengine” in appstore
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘UPDATE oc_filecache
SET path
= ?, path_hash
= MD5(?), storage
= ? WHERE fileid
= ?’ with params ["/2002", “/2002”, “5”, “19796”]:
SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction
Update failed
Maintenance mode is kept active
Reset log level
Keep maintenance mode active? [y/N] N
Update: Tried to restore to yesterday night backups but can´t get it running. Followed this guide https://docs.nextcloud.com/server/11/admin_manual/maintenance/restore.html but got this errors in apache error.log. I can read that it is something with cache so I removed all lines in config.php for redis but still no luck, HTTP ERROR 500 now:sob:
[Mon Aug 07 21:51:16.382426 2017] [:error] [pid 1421] [client MYIPADDRESS:58244] PHP Warning: include(/var/www/vhosts/cloud.mydomain.com/lib/composer/composer/…/…/…/lib/private/Cache/CappedMemoryCache.php): failed to open stream: No such file or directory in /var/www/vhosts/cloud.mydomain.com/lib/composer/composer/ClassLoader.php on line 444
[Mon Aug 07 21:51:16.382566 2017] [:error] [pid 1421] [client MYIPADDRESS:58244] PHP Warning: include(): Failed opening ‘/var/www/vhosts/cloud.mydomain.com/lib/composer/composer/…/…/…/lib/private/Cache/CappedMemoryCache.php’ for inclusion (include_path=’.:/usr/share/php’) in /var/www/vhosts/cloud.mydomain.com/lib/composer/composer/ClassLoader.php on line 444
[Mon Aug 07 21:51:16.382791 2017] [:error] [pid 1421] [client MYIPADDRESS:58244] PHP Fatal error: Uncaught Error: Class ‘OC\Cache\CappedMemoryCache’ not found in /var/www/vhosts/cloud.mydomain.com/lib/private/AllConfig.php:72\nStack trace:\n#0 /var/www/vhosts/cloud.mydomain.com/lib/base.php(144): OC\AllConfig->__construct(Object(OC\SystemConfig))\n#1 /var/www/vhosts/cloud.mydomain.com/lib/base.php(607): OC::initPaths()\n#2 /var/www/vhosts/cloud.mydomain.com/lib/base.php(1092): OC::init()\n#3 /var/www/vhosts/cloud.mydomain.com/status.php(32): require_once(’/var/www/vhosts…’)\n#4 {main}\n thrown in /var/www/vhosts/cloud.mydomain.com/lib/private/AllConfig.php on line 72