I am unable to access my nextcloud dashboard since past two days , on visiting the web page it asks me to login but after i put in the login details and the TOTP i am getting internal error.
The Basics
Nextcloud 31.0.5.1 (Nextcloud AIO)
-
Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 24.04.2 LTS
-
Web server and version (e.g, Apache 2.4.25):
Apache 2.4.25
-
Is this the first time you’ve seen this error? (Yes / No):
continuous since 2 days
-
When did this problem seem to first start?
2 days
-
Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
AIO
-
Are you using CloudfIare, mod_security, or similar? (Yes / No)
Yes i am using cloudfare tunnel
Summary of the issue you are facing:
I have ny nexctloud server running for over a month now and all of a sudden i have noticed that none of my uploads were working and the daily backup has also failed for the past two days. When i tried to access the web dashboard i am getting internal error right after login page and i cant even acess the admin page as the login is blocked since Nextcloud is running.
Steps to replicate it (hint: details matter!):
- visit my dashboard and login.
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log
located in your data directory). Feel free to use a pastebin/gist service if necessary.
{"reqId":"Q5UEyqLau0VJukNmvYm3","level":3,"time":"2025-06-13T04:53:01+00:00","remoteAddr":"192.168.10.49","user":"admin","app":"index","method":"GET","url":"/apps/dashboard/","message":"syntax error, unexpected token \"?\" in file '/var/www/html/custom_apps/spreed/lib/Dashboard/TalkWidget.php' line 3","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:138.0) Gecko/20100101 Firefox/138.0","version":"31.0.5.1","exception":{"Exception":"Exception","Message":"syntax error, unexpected token \"?\" in file '/var/www/html/custom_apps/spreed/lib/Dashboard/TalkWidget.php' line 3","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Dashboard\\Controller\\DashboardController"},"index"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":307,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Dashboard\\Controller\\DashboardController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"dashboard.dashboard.index"}]},{"file":"/var/www/html/lib/base.php","line":1040,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/dashboard/"]},{"file":"/var/www/html/index.php","line":24,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","Line":146,"Previous":{"Exception":"ParseError","Message":"syntax error, unexpected token \"?\"","Code":0,"Trace":[{"file":"/var/www/html/lib/composer/composer/ClassLoader.php","line":427,"function":"Composer\\Autoload\\{closure}","args":["*** sensitive parameters replaced ***"]},{"function":"loadClass","class":"Composer\\Autoload\\ClassLoader","type":"->","args":["OCA\\Talk\\Dashboard\\TalkWidget"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":104,"function":"__construct","class":"ReflectionClass","type":"->","args":["OCA\\Talk\\Dashboard\\TalkWidget"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Talk\\Dashboard\\TalkWidget"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":440,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Talk\\Dashboard\\TalkWidget"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":137,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Talk\\Dashboard\\TalkWidget"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":42,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Talk\\Dashboard\\TalkWidget"]},{"file":"/var/www/html/lib/private/Dashboard/Manager.php","line":65,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Talk\\Dashboard\\TalkWidget"]},{"file":"/var/www/html/lib/private/Dashboard/Manager.php","line":128,"function":"loadLazyPanels","class":"OC\\Dashboard\\Manager","type":"->","args":[]},{"file":"/var/www/html/apps/dashboard/lib/Controller/DashboardController.php","line":64,"function":"getWidgets","class":"OC\\Dashboard\\Manager","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":200,"function":"index","class":"OCA\\Dashboard\\Controller\\DashboardController","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Dashboard\\Controller\\DashboardController"},"index"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Dashboard\\Controller\\DashboardController"},"index"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":307,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Dashboard\\Controller\\DashboardController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"dashboard.dashboard.index"}]},{"file":"/var/www/html/lib/base.php","line":1040,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/dashboard/"]},{"file":"/var/www/html/index.php","line":24,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/spreed/lib/Dashboard/TalkWidget.php","Line":3},"message":"syntax error, unexpected token \"?\" in file '/var/www/html/custom_apps/spreed/lib/Dashboard/TalkWidget.php' line 3","exception":{},"CustomMessage":"syntax error, unexpected token \"?\" in file '/var/www/html/custom_apps/spreed/lib/Dashboard/TalkWidget.php' line 3"}}
Please guide me if more information is needed and thanks in advance for all the support.