[NextCloud] Internal Server Error after upgrade (from FreeNAS to TrueNAS core && from NC 19.0.3 to 20.0.1)

Joined
Oct 30, 2020
Messages
1
Help needed,

After upgrading from FreeNAS to TrueNAS, the iocage wasn't auto starting an i was noticed to updating the plugin

i did this by console
"iocage upgrade <jailname>"

the jail is booting, but the nextcloud instance is not reachable i get the blue page
"Internal Server Error [...]"

when i check status.php it says:
{"installed":true,"maintenance":false,"needsDbUpgrade":true,"version":"20.0.1.1","versionstring":"20.0.1","edition":"","productname":"######","extendedSupport":false}


for testing purposes i installed a second jail an compared the status of the "fresh"nextcloud jail which says:
{"installed":true,"maintenance":false,"needsDbUpgrade":false,"version":"20.0.1.1","versionstring":"20.0.1","edition":"","productname":"Nextcloud","extendedSupport":false}

so it seems that i need a to perform a DbUpgrade but i neither know how nor what to do.
any clues / solutions?

cheers
 

ddaenen1

Patron
Joined
Nov 25, 2019
Messages
318
So, did you change the "devfs_ruleset" flag in the jail settings to 4 before doing anything else, right?
 

learnux

Cadet
Joined
Nov 27, 2020
Messages
1
Hi!
I'm having the same problem and I'm consulting the nextcloud log.
tail /var/log/nextcloud/nextcloud.log
{"reqId":"0M302wcBrY28FCeqoT4D","level":0,"time":"2020-11-27T13:37:05+00:00","remoteAddr":"192.168.182.254","user":"--","app":"files_sharing","method":"OPTIONS","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.2.2"}
{"reqId":"ggHuQWc2SgrwMJJtjdQp","level":0,"time":"2020-11-27T13:37:06+00:00","remoteAddr":"192.168.182.254","user":"--","app":"encryption","method":"OPTIONS","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.2.2"}
{"reqId":"ggHuQWc2SgrwMJJtjdQp","level":0,"time":"2020-11-27T13:37:06+00:00","remoteAddr":"192.168.182.254","user":"--","app":"files_external","method":"OPTIONS","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.2.2"}
{"reqId":"ggHuQWc2SgrwMJJtjdQp","level":0,"time":"2020-11-27T13:37:06+00:00","remoteAddr":"192.168.182.254","user":"--","app":"files_sharing","method":"OPTIONS","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.2.2"}
{"reqId":"Lm5SzGdD3Wkhg0vi5JgN","level":0,"time":"2020-11-27T13:37:07+00:00","remoteAddr":"192.168.182.254","user":"--","app":"encryption","method":"OPTIONS","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.2.2"}
{"reqId":"Lm5SzGdD3Wkhg0vi5JgN","level":0,"time":"2020-11-27T13:37:07+00:00","remoteAddr":"192.168.182.254","user":"--","app":"files_external","method":"OPTIONS","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.2.2"}
{"reqId":"Lm5SzGdD3Wkhg0vi5JgN","level":0,"time":"2020-11-27T13:37:07+00:00","remoteAddr":"192.168.182.254","user":"--","app":"files_sharing","method":"OPTIONS","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.2.2"}
{"reqId":"ckkbacX2mUFybtcIgsBJ","level":0,"time":"2020-11-27T13:37:09+00:00","remoteAddr":"192.168.182.254","user":"--","app":"encryption","method":"OPTIONS","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.2.2"}
{"reqId":"ckkbacX2mUFybtcIgsBJ","level":0,"time":"2020-11-27T13:37:09+00:00","remoteAddr":"192.168.182.254","user":"--","app":"files_external","method":"OPTIONS","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.2.2"}
{"reqId":"ckkbacX2mUFybtcIgsBJ","level":0,"time":"2020-11-27T13:37:09+00:00","remoteAddr":"192.168.182.254","user":"--","app":"files_sharing","method":"OPTIONS","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.2.2"}
How to use \\OCP\\AppFramework\\Bootstrap\\IBootstrap?
 

Grulf

Cadet
Joined
Dec 10, 2020
Messages
8
Hello, the same thing happened to me today. After Nextcloud update, I get the message "Internal Server Error
The server encountered an internal error and was unable to complete your request.
Is there already a solution to the problem
 
Top