"Internal Server Error" after Update NC14 to NC 15

Nextcloud version (eg, 12.0.2): 15.0.0.10
Operating system and version (eg, Ubuntu 17.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1): 7.0

The issue you are facing:
After updating with the web based updater, everything seems to be normal. I could browse my files and all was ok. After logging out, I can’t access my nextcloud anymore. It always says “Internal Server Error”.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Updated from 14 to 15 with webbased updater
  2. All seems ok
  3. Log out – > Internal Server Error

The output of your Nextcloud log in Admin > Logging:

{"reqId":"XBvCdCjtO2f-1KkNhgffHAAAAAc","level":3,"time":"2018-12-20T16:25:24+00:00","remoteAddr":"93.217.252.114","user":"--","app":"index","method":"GET","url":"\/index.php\/login","message":{"Exception":"RuntimeException","Message":"File entry could not be inserted but could also not be selected with getId() in order to perform an update. Please try again.","Code":0,"Trace":[{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Cache.php","line":232,"function":"insert","class":"OC\\Files\\Cache\\Cache","type":"->","args":["appdata_ocadd7405d0b\/theming",{"mimetype":"httpd\/unix-directory","mtime":1538507594,"size":-1,"etag":"5c1bc274c53b3","storage_mtime":1538507594,"permissions":31,"parent":0,"checksum":"","path":"appdata_ocadd7405d0b\/theming","name":"theming"}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":292,"function":"put","class":"OC\\Files\\Cache\\Cache","type":"->","args":["appdata_ocadd7405d0b\/theming",{"mimetype":"httpd\/unix-directory","mtime":1538507594,"size":-1,"etag":"5c1bc274c53b3","storage_mtime":1538507594,"permissions":31,"parent":0,"checksum":""}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":221,"function":"addToCache","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["appdata_ocadd7405d0b\/theming",{"mimetype":"httpd\/unix-directory","mtime":1538507594,"size":-1,"etag":"5c1bc274c53b3","storage_mtime":1538507594,"permissions":31,"parent":0,"checksum":""},-1]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":336,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["appdata_ocadd7405d0b\/theming",3,0,false,true]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/View.php","line":1324,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["appdata_ocadd7405d0b\/theming",false]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/View.php","line":1368,"function":"getCacheEntry","class":"OC\\Files\\View","type":"->","args":[{"cache":{"__class__":"OC\\Files\\Cache\\Cache"},"scanner":{"__class__":"OC\\Files\\Cache\\Scanner"},"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"},"appdata_ocadd7405d0b\/theming","\/appdata_ocadd7405d0b\/theming"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Node\/Root.php","line":198,"function":"getFileInfo","class":"OC\\Files\\View","type":"->","args":["\/appdata_ocadd7405d0b\/theming"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Node\/Folder.php","line":133,"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["\/appdata_ocadd7405d0b\/theming"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/AppData\/AppData.php","line":91,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->","args":["theming"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/AppData\/AppData.php","line":107,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/apps\/theming\/lib\/ImageManager.php","line":106,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["images"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/apps\/theming\/lib\/ThemingDefaults.php","line":317,"function":"getImage","class":"OCA\\Theming\\ImageManager","type":"->","args":["favicon"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/URLGenerator.php","line":187,"function":"replaceImagePath","class":"OCA\\Theming\\ThemingDefaults","type":"->","args":["core","favicon-touch.png"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/core\/Controller\/LoginController.php","line":205,"function":"imagePath","class":"OC\\URLGenerator","type":"->","args":["core","favicon-touch.png"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"showLoginForm","class":"OC\\Core\\Controller\\LoginController","type":"->","args":[null,null]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\LoginController"},"showLoginForm"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\LoginController"},"showLoginForm"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\LoginController","showLoginForm",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"core.login.showLoginForm"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"core.login.showLoginForm"}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"core.login.showLoginForm"}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/login"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Cache.php","Line":297,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/71.0.3578.98 Safari\/537.36","version":"15.0.0.10"}
{"reqId":"XBvCdCjtO2f-1KkNhgffHAAAAAc","level":3,"time":"2018-12-20T16:25:24+00:00","remoteAddr":"93.217.252.114","user":"--","app":"core","method":"GET","url":"\/index.php\/login","message":{"Exception":"RuntimeException","Message":"File entry could not be inserted but could also not be selected with getId() in order to perform an update. Please try again.","Code":0,"Trace":[{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Cache.php","line":232,"function":"insert","class":"OC\\Files\\Cache\\Cache","type":"->","args":["appdata_ocadd7405d0b\/theming",{"mimetype":"httpd\/unix-directory","mtime":1538507594,"size":-1,"etag":"5c1bc274c53b3","storage_mtime":1538507594,"permissions":31,"parent":0,"checksum":"","path":"appdata_ocadd7405d0b\/theming","name":"theming"}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":292,"function":"put","class":"OC\\Files\\Cache\\Cache","type":"->","args":["appdata_ocadd7405d0b\/theming",{"mimetype":"httpd\/unix-directory","mtime":1538507594,"size":-1,"etag":"5c1bc274c53b3","storage_mtime":1538507594,"permissions":31,"parent":0,"checksum":""}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":221,"function":"addToCache","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["appdata_ocadd7405d0b\/theming",{"mimetype":"httpd\/unix-directory","mtime":1538507594,"size":-1,"etag":"5c1bc274c53b3","storage_mtime":1538507594,"permissions":31,"parent":0,"checksum":""},-1]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":336,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["appdata_ocadd7405d0b\/theming",3,0,false,true]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/View.php","line":1324,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["appdata_ocadd7405d0b\/theming",false]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/View.php","line":1368,"function":"getCacheEntry","class":"OC\\Files\\View","type":"->","args":[{"cache":{"__class__":"OC\\Files\\Cache\\Cache"},"scanner":{"__class__":"OC\\Files\\Cache\\Scanner"},"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"},"appdata_ocadd7405d0b\/theming","\/appdata_ocadd7405d0b\/theming"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Node\/Root.php","line":198,"function":"getFileInfo","class":"OC\\Files\\View","type":"->","args":["\/appdata_ocadd7405d0b\/theming"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Node\/Folder.php","line":133,"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["\/appdata_ocadd7405d0b\/theming"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/AppData\/AppData.php","line":91,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->","args":["theming"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/AppData\/AppData.php","line":107,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/apps\/theming\/lib\/ImageManager.php","line":106,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["images"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/apps\/theming\/lib\/ThemingDefaults.php","line":317,"function":"getImage","class":"OCA\\Theming\\ImageManager","type":"->","args":["favicon"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/URLGenerator.php","line":187,"function":"replaceImagePath","class":"OCA\\Theming\\ThemingDefaults","type":"->","args":["core","favicon-touch.png"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/core\/Controller\/LoginController.php","line":205,"function":"imagePath","class":"OC\\URLGenerator","type":"->","args":["core","favicon-touch.png"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"showLoginForm","class":"OC\\Core\\Controller\\LoginController","type":"->","args":[null,null]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\LoginController"},"showLoginForm"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\LoginController"},"showLoginForm"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\LoginController","showLoginForm",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"core.login.showLoginForm"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"core.login.showLoginForm"}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"core.login.showLoginForm"}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/login"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Cache.php","Line":297,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/71.0.3578.98 Safari\/537.36","version":"15.0.0.10"}
{"reqId":"XBvCdCjtO2f-1KkNhgffHAAAAAc","level":3,"time":"2018-12-20T16:25:24+00:00","remoteAddr":"93.217.252.114","user":"--","app":"core","method":"GET","url":"\/index.php\/login","message":{"Exception":"RuntimeException","Message":"File entry could not be inserted but could also not be selected with getId() in order to perform an update. Please try again.","Code":0,"Trace":[{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Cache.php","line":232,"function":"insert","class":"OC\\Files\\Cache\\Cache","type":"->","args":["appdata_ocadd7405d0b\/js",{"mimetype":"httpd\/unix-directory","mtime":1495637493,"size":-1,"etag":"5c1bc274c9a75","storage_mtime":1495637493,"permissions":31,"parent":0,"checksum":"","path":"appdata_ocadd7405d0b\/js","name":"js"}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":292,"function":"put","class":"OC\\Files\\Cache\\Cache","type":"->","args":["appdata_ocadd7405d0b\/js",{"mimetype":"httpd\/unix-directory","mtime":1495637493,"size":-1,"etag":"5c1bc274c9a75","storage_mtime":1495637493,"permissions":31,"parent":0,"checksum":""}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":221,"function":"addToCache","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["appdata_ocadd7405d0b\/js",{"mimetype":"httpd\/unix-directory","mtime":1495637493,"size":-1,"etag":"5c1bc274c9a75","storage_mtime":1495637493,"permissions":31,"parent":0,"checksum":""},-1]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":336,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["appdata_ocadd7405d0b\/js",3,0,false,true]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/View.php","line":1324,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["appdata_ocadd7405d0b\/js",false]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/View.php","line":1368,"function":"getCacheEntry","class":"OC\\Files\\View","type":"->","args":[{"cache":{"__class__":"OC\\Files\\Cache\\Cache"},"scanner":{"__class__":"OC\\Files\\Cache\\Scanner"},"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"},"appdata_ocadd7405d0b\/js","\/appdata_ocadd7405d0b\/js"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Node\/Root.php","line":198,"function":"getFileInfo","class":"OC\\Files\\View","type":"->","args":["\/appdata_ocadd7405d0b\/js"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Node\/Folder.php","line":133,"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["\/appdata_ocadd7405d0b\/js"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/AppData\/AppData.php","line":91,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->","args":["js"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/AppData\/AppData.php","line":107,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Template\/JSCombiner.php","line":94,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["core"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Template\/JSResourceLocator.php","line":114,"function":"process","class":"OC\\Template\\JSCombiner","type":"->","args":["\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud","core\/js\/merged-template-prepend.json","core"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Template\/JSResourceLocator.php","line":70,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->","args":["\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud","core\/js\/merged-template-prepend.json"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Template\/ResourceLocator.php","line":78,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->","args":["js\/merged-template-prepend"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/TemplateLayout.php","line":315,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["vendor\/core","js\/merged-template-prepend","search\/js\/search","core\/l10n\/de_DE","core\/js\/merged-share-backend","firstrunwizard\/l10n\/de_DE","firstrunwizard\/js\/jquery.colorbox","firstrunwizard\/js\/firstrunwizard","files_pdfviewer\/l10n\/en","files_pdfviewer\/js\/previewplugin","files_videoplayer\/l10n\/en","files_videoplayer\/js\/viewer","gallery\/l10n\/de_DE","search\/l10n\/de_DE","search\/js\/searchprovider","js\/jquery-ui-fixes","js\/files\/fileinfo","js\/files\/client","js\/contactsmenu","js\/contactsmenu_templates"]]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/TemplateLayout.php","line":154,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::","args":[["vendor\/core","js\/merged-template-prepend","search\/js\/search","core\/l10n\/de_DE","core\/js\/merged-share-backend","firstrunwizard\/l10n\/de_DE","firstrunwizard\/js\/jquery.colorbox","firstrunwizard\/js\/firstrunwizard","files_pdfviewer\/l10n\/en","files_pdfviewer\/js\/previewplugin","files_videoplayer\/l10n\/en","files_videoplayer\/js\/viewer","gallery\/l10n\/de_DE","search\/l10n\/de_DE","search\/js\/searchprovider","js\/jquery-ui-fixes","js\/files\/fileinfo","js\/files\/client","js\/contactsmenu","js\/contactsmenu_templates"]]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/legacy\/template.php","line":211,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["error",""]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Template\/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/legacy\/template.php","line":360,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/index.php","line":69,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[{"__class__":"RuntimeException"},500]}],"File":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Cache.php","Line":297,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/71.0.3578.98 Safari\/537.36","version":"15.0.0.10"}

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

<?php
$CONFIG = array (
'instanceid' => 'xxx',
'passwordsalt' => 'xxx',
'trusted_domains' =>
array (
0 => 'cloud.xxx',
1 => 'xxx',
),
'datadirectory' => '/www/htdocs/w0069a6f/maincloud/data_xxx',
'dbtype' => 'mysql',
'version' => '15.0.0.10',
'dbname' => 'xxx',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'xxx',
'dbpassword' => 'xxx',
'installed' => true,
'overwrite.cli.url' => 'https://cloud.xxx',
'mail_smtpmode' => 'smtp',
'theme' => '',
'maintenance' => false,
'secret' => 'xxx',
'loglevel' => 2,
'trashbin_retention_obligation' => '30, 180',
'tempdirectory' => '/www/htdocs/w0069a6f/tmp/',
'appstore.experimental.enabled' => true,
'updater.release.channel' => 'stable',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpsecure' => 'ssl',
'mail_from_address' => 'mail',
'mail_domain' => 'xxx',
'mail_smtpport' => '465',
'mail_smtphost' => 'xxx',
'mail_smtpauth' => 1,
'mail_smtpname' => 'xxx',
'mail_smtppassword' => 'xxx',
'updater.secret' => 'xxx',
);

The output of your Apache/nginx/system log in /var/log/____:

93.217.252.114 - - [20/Dec/2018:17:25:24 +0100] "GET /index.php/ HTTP/2.0" 302 - "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
93.217.252.114 - - [20/Dec/2018:17:25:24 +0100] "GET /index.php/login HTTP/2.0" 500 289 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
93.217.252.114 - - [20/Dec/2018:17:25:24 +0100] "GET /favicon.ico HTTP/2.0" 302 - "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
93.217.252.114 - - [20/Dec/2018:17:25:24 +0100] "GET /index.php/login HTTP/2.0" 500 289 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"

Also my nextcloud.log is now “spamed” with the following lines:

{"reqId":"XByXeAs4Wmj5VLoLI-HKGAAAAAI","level":3,"time":"2018-12-21T07:34:17+00:00","remoteAddr":"46.82.51.143","user":"admin","app":"no app in context","method":"GET","url":"\/ocs\/v2.php\/cloud\/activity?page=0&pagesize=100&format=json","message":{"Exception":"RuntimeException","Message":"File entry could not be inserted but could also not be selected with getId() in order to perform an update. Please try again.","Code":0,"Trace":[{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Cache.php","line":232,"function":"insert","class":"OC\\Files\\Cache\\Cache","type":"->","args":["appdata_ocadd7405d0b\/theming",{"mimetype":"httpd\/unix-directory","mtime":1538507594,"size":-1,"etag":"5c1c97792e550","storage_mtime":1538507594,"permissions":31,"parent":0,"checksum":"","path":"appdata_ocadd7405d0b\/theming","name":"theming"}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":292,"function":"put","class":"OC\\Files\\Cache\\Cache","type":"->","args":["appdata_ocadd7405d0b\/theming",{"mimetype":"httpd\/unix-directory","mtime":1538507594,"size":-1,"etag":"5c1c97792e550","storage_mtime":1538507594,"permissions":31,"parent":0,"checksum":""}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":221,"function":"addToCache","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["appdata_ocadd7405d0b\/theming",{"mimetype":"httpd\/unix-directory","mtime":1538507594,"size":-1,"etag":"5c1c97792e550","storage_mtime":1538507594,"permissions":31,"parent":0,"checksum":""},-1]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":336,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["appdata_ocadd7405d0b\/theming",3,0,false,true]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/View.php","line":1324,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["appdata_ocadd7405d0b\/theming",false]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/View.php","line":1368,"function":"getCacheEntry","class":"OC\\Files\\View","type":"->","args":[{"cache":{"__class__":"OC\\Files\\Cache\\Cache"},"scanner":{"__class__":"OC\\Files\\Cache\\Scanner"},"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"},"appdata_ocadd7405d0b\/theming","\/appdata_ocadd7405d0b\/theming"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Node\/Root.php","line":198,"function":"getFileInfo","class":"OC\\Files\\View","type":"->","args":["\/appdata_ocadd7405d0b\/theming"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Node\/Folder.php","line":133,"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["\/appdata_ocadd7405d0b\/theming"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/AppData\/AppData.php","line":91,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->","args":["theming"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/AppData\/AppData.php","line":107,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/apps\/theming\/lib\/ImageManager.php","line":106,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["images"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/apps\/theming\/lib\/ThemingDefaults.php","line":317,"function":"getImage","class":"OCA\\Theming\\ImageManager","type":"->","args":["favicon"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/URLGenerator.php","line":187,"function":"replaceImagePath","class":"OCA\\Theming\\ThemingDefaults","type":"->","args":["core","actions\/share.svg"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/apps\/sharebymail\/lib\/Activity.php","line":213,"function":"imagePath","class":"OC\\URLGenerator","type":"->","args":["core","actions\/share.svg"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/apps\/sharebymail\/lib\/Activity.php","line":104,"function":"parseLongVersion","class":"OCA\\ShareByMail\\Activity","type":"->","args":[{"__class__":"OC\\Activity\\Event"}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/apps\/activity\/lib\/GroupHelper.php","line":108,"function":"parse","class":"OCA\\ShareByMail\\Activity","type":"->","args":["de",{"__class__":"OC\\Activity\\Event"}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/apps\/activity\/lib\/Data.php","line":258,"function":"addActivity","class":"OCA\\Activity\\GroupHelper","type":"->","args":[{"activity_id":"8810","timestamp":"1544213830","priority":"30","type":"shared","user":"admin","affecteduser":"admin","app":"sharebymail","subject":"shared_with_email_self","subjectparams":"[\"\\\/photos\\\/IMG_20181207_160754.jpg\",\"anita@alscher.eu\"]","message":"","messageparams":"[]","file":"\/photos\/IMG_20181207_160754.jpg","link":"","object_type":"files","object_id":"13243"}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/apps\/activity\/lib\/Controller\/APIv1.php","line":90,"function":"get","class":"OCA\\Activity\\Data","type":"->","args":[{"__class__":"OCA\\Activity\\GroupHelper"},{"__class__":"OCA\\Activity\\UserSettings"},"admin",0,30,"desc","all"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"get","class":"OCA\\Activity\\Controller\\APIv1","type":"->","args":[0,30]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Activity\\Controller\\APIv1"},"get"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Activity\\Controller\\APIv1"},"get"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["APIv1Controller","get",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"ocs.activity.APIv1.get"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"ocs.activity.APIv1.get"}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"ocs.activity.APIv1.get"}]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/ocs\/v1.php","line":82,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/ocsapp\/cloud\/activity"]},{"file":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/ocs\/v2.php","line":24,"args":["\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/ocs\/v1.php"],"function":"require_once"}],"File":"\/www\/htdocs\/w0069a6f\/maincloud\/nextcloud\/lib\/private\/Files\/Cache\/Cache.php","Line":297,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.0v2.5.0 (build 20181112) (Nextcloud)","version":"15.0.0.10"}

It growed about 250 MB in 12 hours…