Internal Server Error after update to 15.0.11

Hi,

I’m using nextcloud with a Synology Diskstation. I wanted to make a manual update from 14.0.3. to 15.0.11. I processed to update discribed in the help pages, but after step 13 I get an error:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

The server log is giant big with 2MB after the first request.

Then I made a new nextcloud installation, with a new database and everthing works fine.
After using the old config.php, the error appears again.

The server log starts with:
{“reqId”:“WUYDfZClqDmxAw2b3u4p”,“level”:3,“time”:“2019-09-14T08:18:21+00:00”,“remoteAddr”:“178.3.x.x”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/index.php/login",“message”:“Undefined index: name at /volume1/web/nextcloud/core/templates/update.admin.php#24”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36”,“version”:“15.0.11.1”}
{“reqId”:“WUYDfZClqDmxAw2b3u4p”,“level”:3,“time”:“2019-09-14T08:18:21+00:00”,“remoteAddr”:“178.3.x.x”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/index.php/login",“message”:“Undefined index: name at /volume1/web/nextcloud/core/templates/update.admin.php#24”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36”,“version”:“15.0.11.1”}
{“reqId”:“WUYDfZClqDmxAw2b3u4p”,“level”:3,“time”:“2019-09-14T08:18:21+00:00”,“remoteAddr”:“178.3.x.x”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/index.php/login",“message”:“file_get_contents(/volume1/web/nextcloud/data/appdata_ocxxxxxxxxxxx/js/core/merged-template-prepend.js.deps): failed to open stream: No such file or directory at /volume1/web/nextcloud/lib/private/Files/Storage/Local.php#217”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36”,“version”:“15.0.11.1”}
{“reqId”:“WUYDfZClqDmxAw2b3u4p”,“level”:3,“time”:“2019-09-14T08:18:21+00:00”,“remoteAddr”:“178.3.x.x”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/index.php/login",“message”:“stat(): stat failed for /volume1/web/nextcloud/data/appdata_ocxxxxxxxxxxx/js/core/merged-template-prepend.js.deps at /volume1/web/nextcloud/lib/private/Files/Storage/Local.php#143”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36”,“version”:“15.0.11.1”}
{“reqId”:“WUYDfZClqDmxAw2b3u4p”,“level”:3,“time”:“2019-09-14T08:18:21+00:00”,“remoteAddr”:“178.3.x.x”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/index.php/login",“message”:“filesize(): stat failed for /volume1/web/nextcloud/data/appdata_ocxxxxxxxxxxx/js/core/merged-template-prepend.js.deps at /volume1/web/nextcloud/lib/private/LargeFileHelper.php#171”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36”,“version”:“15.0.11.1”}
{“reqId”:“WUYDfZClqDmxAw2b3u4p”,“level”:3,“time”:“2019-09-14T08:18:21+00:00”,“remoteAddr”:“178.3.x.x”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/index.php/login",“message”:“file_put_contents(/volume1/web/nextcloud/data/appdata_ocxxxxxxxxxxx/js/core/merged-template-prepend.js): failed to open stream: No such file or directory at /volume1/web/nextcloud/lib/private/Files/Storage/Local.php#221”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36”,“version”:“15.0.11.1”}
{“reqId”:“WUYDfZClqDmxAw2b3u4p”,“level”:3,“time”:“2019-09-14T08:18:21+00:00”,“remoteAddr”:“178.3.x.x”,“user”:"–",“app”:“index”,“method”:“GET”,“url”:"/index.php/login",“message”:{“Exception”:“OCP\Files\GenericFileException”,“Message”:“file_put_contents failed”,“Code”:0,“Trace”:[{“file”:"/volume1/web/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php",“line”:106,“function”:“putContent”,“class”:“OC\Files\Node\File”,“type”:"->",

Thanks
Freddy

Do you have a webserver error log, I don’t know where to find that in synology.

Can you still use the occ-command or does this through an error as well?

Thanks for your response:

the apache web server log does not show any reliable errors for me:
2019-09-14T15:47:25+02:00 DiskStation [Sat Sep 14 15:47:25.522109 2019] [mpm_worker:notice] [pid 26213:tid 1995907840] AH00297: SIGUSR1 received. Doing graceful restart
2019-09-14T15:47:25+02:00 DiskStation AH00558: httpd24: Could not reliably determine the server’s fully qualified domain name, using 0.0.0.0. Set the ‘ServerName’ directive globally to suppress this message
2019-09-14T15:47:25+02:00 DiskStation [Sat Sep 14 15:47:25.642564 2019] [mpm_worker:notice] [pid 26213:tid 1995907840] AH00292: Apache/2.4.39 (Unix) configured – resuming normal operations
2019-09-14T15:47:25+02:00 DiskStation [Sat Sep 14 15:47:25.642947 2019] [core:notice] [pid 26213:tid 1995907840] AH00094: Command line: ‘/var/packages/Apache2.4/target/usr/local/bin/httpd24’

occ commands are working:
sudo -u http php72 occ status
The current PHP memory limit is below the recommended value of 512MB.

  • installed: true
  • version: 15.0.11.1
  • versionstring: 15.0.11
  • edition:

You have less than the 512 MB RAM for php on command line? During running the upgrade, I’d try to increase this value. I’m not sure about the errors during the upgrade. Could be some app?

I ended up installation a new nextcloud. I only use calender and contacts, so I imported them and I have a clean version.

I don’t think that the RAM would be a problem, previous value was 128M and no files are used.

Thanks for your help!