After restarting nextcloud logging taking time

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): replace me
Operating system and version (eg, Ubuntu 20.04): replace me
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me

The issue you are facing:

{“reqId”:“ypgVelLgQBGfEGc2Vo18”,“level”:3,“time”:“2023-09-12T03:31:02+00:00”,“remoteAddr”:“192.168.43.111”,“user”:“–”,“app”:“no app in context”,“method”:“GET”,“url”:“/login?redirect_url=/apps/files/?dir%3D/%26fileid%3D496”,“message”:{“Exception”:“Symfony\Component\Routing\Exception\RouteNotFoundException”,“Message”:“Unable to generate a URL for the named route "theming.Theming.getJavascript" as such route does not exist.”,“Code”:0,“Trace”:[{“file”:“/var/www/html/lib/private/Route/Router.php”,“line”:338,“function”:“generate”,“class”:“Symfony\Component\Routing\Generator\UrlGenerator”,“type”:“->”,“args”:[“theming.Theming.getJavascript”,{“v”:“0”},1]},{“file”:“/var/www/html/lib/private/Route/CachingRouter.php”,“line”:60,“function”:“generate”,“class”:“OC\Route\Router”,“type”:“->”,“args”:[“theming.Theming.getJavascript”,{“v”:“0”},false]},{“file”:“/var/www/html/lib/private/URLGenerator.php”,“line”:83,“function”:“generate”,“class”:“OC\Route\CachingRouter”,“type”:“->”,“args”:[“theming.Theming.getJavascript”,{“v”:“0”}]},{“file”:“/var/www/html/apps/theming/appinfo/app.php”,“line”:52,“function”:“linkToRoute”,“class”:“OC\URLGenerator”,“type”:“->”,“args”:[“theming.Theming.getJavascript”,{“v”:“0”}]},{“file”:“/var/www/html/lib/private/legacy/OC_App.php”,“line”:266,“args”:[“/var/www/html/apps/theming/appinfo/app.php”],“function”:“require_once”},{“file”:“/var/www/html/lib/private/legacy/OC_App.php”,“line”:155,“function”:“requireAppFile”,“class”:“OC_App”,“type”:“::”,“args”:[{“class”:“OCA\Theming\AppInfo\Application”}]},{“file”:“/var/www/html/lib/private/legacy/OC_Template.php”,“line”:287,“function”:“loadApp”,“class”:“OC_App”,“type”:“::”,“args”:[“theming”]},{“file”:“/var/www/html/index.php”,“line”:45,“function”:“printErrorPage”,“class”:“OC_Template”,“type”:“::”,“args”:[“Can’t write into config directory!”,“This can usually be fixed by giving the webserver write access to the config directory.”,503]}],“File”:“/var/www/html/3rdparty/symfony/routing/Generator/UrlGenerator.php”,“Line”:143,“CustomMessage”:“–”},“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36”,“version”:“”}
^C
root@3f1b3a447ceb:/var/www/htm

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

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

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

PASTE HERE

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

PASTE HERE

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE

Are you using Docker? If so, I’ll take a wild guess you’re using bind mounts rather than volume mounts. Check the file permissions of your various Nextcloud mounts used with the container.