Internal Server error via browser but app still works fine

Nextcloud version: the last one that was before version 19
Operating system: Unraid 6.8.3 on a docker
Nginx version: I dont know, dont know how to check
PHP version: I dont know, dont know how to check

My problem is when I try to access my server via browser I get an Internal Sever Error.
Desktop sync app and Android app seem to still work just fine.

I dont know if anything I did caused it as it did not happen right after I did anything.
I dont know if an docker image auto update or anything happened or anything. Can updating docker image without updating via nextcloud own updater have caused this?
I did update my desktop sync app but that shouldnt affect it most likely.

It says check server log file, that means /Ncloud/nextcloud.log right? (Ncloud is where my Nextcloud data is stored)
This is the only thing I found when I searched for the request ID of one of the tries:

{"reqId":"DUjCYQvZMkiUBvHyhVo2","level":0,"time":"2020-09-05T19:23:23+00:00","remoteAddr":"172.18.0.3","user":"Mihle","app":"no app in context","method":"GET","url":"/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36","version":"18.0.8.2"}
{"reqId":"DUjCYQvZMkiUBvHyhVo2","level":3,"time":"2020-09-05T19:23:23+00:00","remoteAddr":"172.18.0.3","user":"Mihle","app":"index","method":"GET","url":"/apps/files/","message":{"Exception":"Exception","Message":"Argument 1 passed to \"Symfony\\Component\\EventDispatcher\\EventDispatcherInterface::dispatch()\" must be an object, string given.","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\ViewController"},"index"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files\\Controller\\ViewController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"files.view.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"files.view.index"}]},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"files.view.index"}]},{"file":"/config/www/nextcloud/lib/base.php","line":1013,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files/"]},{"file":"/config/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":109,"Previous":{"Exception":"TypeError","Message":"Argument 1 passed to \"Symfony\\Component\\EventDispatcher\\EventDispatcherInterface::dispatch()\" must be an object, string given.","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php","line":70,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":["OCA\\Files::loadAdditionalScripts",{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"}]},{"file":"/config/www/nextcloud/apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php","line":51,"function":"dispatch","class":"OC\\EventDispatcher\\SymfonyAdapter","type":"->","args":["OCA\\Files::loadAdditionalScripts",{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"}]},{"file":"/config/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":76,"function":"handle","class":"OCA\\Files\\Listener\\LegacyLoadAdditionalScriptsAdapter","type":"->","args":[{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"}]},{"file":"/config/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":247,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"},"OCA\\Files\\Event\\LoadAdditionalScriptsEvent",{"__class__":"Symfony\\Component\\EventDispatcher\\EventDispatcher"}]},{"file":"/config/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"}],"OCA\\Files\\Event\\LoadAdditionalScriptsEvent",{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"}]},{"file":"/config/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":80,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"},"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"]},{"file":"/config/www/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php","line":63,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCA\\Files\\Event\\LoadAdditionalScriptsEvent",{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"}]},{"file":"/config/www/nextcloud/apps/files_sharing/list.php","line":45,"function":"dispatch","class":"OC\\EventDispatcher\\SymfonyAdapter","type":"->","args":["OCA\\Files\\Event\\LoadAdditionalScriptsEvent",{"__class__":"OCA\\Files\\Event\\LoadAdditionalScriptsEvent"}]},{"file":"/config/www/nextcloud/apps/files/lib/Controller/ViewController.php","line":122,"args":["/config/www/nextcloud/apps/files_sharing/list.php"],"function":"include"},{"file":"/config/www/nextcloud/apps/files/lib/Controller/ViewController.php","line":260,"function":"renderScript","class":"OCA\\Files\\Controller\\ViewController","type":"->","args":["files_sharing","list.php"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"index","class":"OCA\\Files\\Controller\\ViewController","type":"->","args":["","",null,false]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\ViewController"},"index"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\ViewController"},"index"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files\\Controller\\ViewController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"files.view.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"files.view.index"}]},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"files.view.index"}]},{"file":"/config/www/nextcloud/lib/base.php","line":1013,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files/"]},{"file":"/config/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/config/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","Line":63},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36","version":"18.0.8.2"}

Because no help I gambled and updated Nextcloud via terminal.
It seem to have fixed it.
I am not sure, but I think its best to update Nextcloud via its own updater and then update the docker, and not the other way around?
At least I think the issue was caused by the docker having gotten updated but not updated via Nextcloud built in updater.