Nextcloud suddenly stopped working

Hello!

I’m writing to you asking for help because I don’t know what’s going on anymore? Yesterday nextcloud worked correctly but this morning it doesn’t. When I wanted to log in, I got this message:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

I checked the logs (I’m sending them below)


{"reqId":"pFW9y52GDNGHJPZlYtY8","level":3,"time":"2024-09-11T11:18:44+00:00","remoteAddr":"10.10.0.251","user":"--","app":"index","method":"GET","url":"/","message":"No route to host","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/113.0.0.0","version":"29.0.5.1","exception":{"Exception":"RedisException","Message":"No route to host","Code":0,"Trace":[{"file":"/var/www/html/lib/private/RedisFactory.php","line":123,"function":"pconnect","class":"Redis","type":"->","args":["redis",6379,0,null,0,0]},{"file":"/var/www/html/lib/private/RedisFactory.php","line":167,"function":"create","class":"OC\\RedisFactory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":73,"function":"getInstance","class":"OC\\RedisFactory","type":"->","args":[]},{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":79,"function":"getCache","class":"OC\\Memcache\\Redis","type":"->","args":[]},{"file":"/var/www/html/lib/private/URLGenerator.php","line":203,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["core-favicon.ico"]},{"file":"/var/www/html/lib/private/legacy/template/functions.php","line":249,"function":"imagePath","class":"OC\\URLGenerator","type":"->","args":["core","favicon.ico"]},{"file":"/var/www/html/core/templates/layout.guest.php","line":20,"function":"image_path","args":["core","favicon.ico"]},{"file":"/var/www/html/lib/private/Template/Base.php","line":180,"args":["/var/www/html/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/html/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->","args":["/var/www/html/core/templates/layout.guest.php",null]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":142,"function":"fetchPage","class":"OC\\Template\\Base","type":"->","args":[null]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":173,"function":"fetchPage","class":"OC_Template","type":"->","args":[null]},{"file":"/var/www/html/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/var/www/html/lib/base.php","line":305,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/var/www/html/lib/base.php","line":1016,"function":"checkMaintenanceMode","class":"OC","type":"::","args":[["OC\\SystemConfig"]]},{"file":"/var/www/html/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/RedisFactory.php","Line":123,"message":"No route to host","exception":{},"CustomMessage":"No route to host"}}
{"reqId":"pFW9y52GDNGHJPZlYtY8","level":3,"time":"2024-09-11T11:18:44+00:00","remoteAddr":"10.10.0.251","user":"--","app":"core","method":"GET","url":"/","message":"Exception thrown: RedisException","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/113.0.0.0","version":"29.0.5.1","exception":{"Exception":"RedisException","Message":"No route to host","Code":0,"Trace":[{"file":"/var/www/html/lib/private/RedisFactory.php","line":123,"function":"pconnect","class":"Redis","type":"->","args":["redis",6379,0,null,0,0]},{"file":"/var/www/html/lib/private/RedisFactory.php","line":167,"function":"create","class":"OC\\RedisFactory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":73,"function":"getInstance","class":"OC\\RedisFactory","type":"->","args":[]},{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":79,"function":"getCache","class":"OC\\Memcache\\Redis","type":"->","args":[]},{"file":"/var/www/html/lib/private/URLGenerator.php","line":203,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["core-favicon.ico"]},{"file":"/var/www/html/lib/private/legacy/template/functions.php","line":249,"function":"imagePath","class":"OC\\URLGenerator","type":"->","args":["core","favicon.ico"]},{"file":"/var/www/html/core/templates/layout.guest.php","line":20,"function":"image_path","args":["core","favicon.ico"]},{"file":"/var/www/html/lib/private/Template/Base.php","line":180,"args":["/var/www/html/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/html/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->","args":["/var/www/html/core/templates/layout.guest.php",null]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":142,"function":"fetchPage","class":"OC\\Template\\Base","type":"->","args":[null]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":173,"function":"fetchPage","class":"OC_Template","type":"->","args":[null]},{"file":"/var/www/html/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/var/www/html/lib/base.php","line":305,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/var/www/html/lib/base.php","line":1016,"function":"checkMaintenanceMode","class":"OC","type":"::","args":[["OC\\SystemConfig"]]},{"file":"/var/www/html/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/RedisFactory.php","Line":123,"CustomMessage":"Exception thrown: RedisException"}}
{"reqId":"pFW9y52GDNGHJPZlYtY8","level":3,"time":"2024-09-11T11:18:44+00:00","remoteAddr":"10.10.0.251","user":"--","app":"core","method":"GET","url":"/","message":"Exception thrown: RedisException","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/113.0.0.0","version":"29.0.5.1","exception":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":79,"function":"get","class":"Redis","type":"->","args":["917f61c9d649a80263424e97110046c7/imagePath-dc34a51ae6a7b7aeb17f688a742eba53-core-favicon.ico"]},{"file":"/var/www/html/lib/private/URLGenerator.php","line":203,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["core-favicon.ico"]},{"file":"/var/www/html/lib/private/legacy/template/functions.php","line":249,"function":"imagePath","class":"OC\\URLGenerator","type":"->","args":["core","favicon.ico"]},{"file":"/var/www/html/core/templates/layout.guest.php","line":20,"function":"image_path","args":["core","favicon.ico"]},{"file":"/var/www/html/lib/private/Template/Base.php","line":180,"args":["/var/www/html/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/html/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->","args":["/var/www/html/core/templates/layout.guest.php",null]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":142,"function":"fetchPage","class":"OC\\Template\\Base","type":"->","args":[null]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":173,"function":"fetchPage","class":"OC_Template","type":"->","args":[null]},{"file":"/var/www/html/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":320,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/var/www/html/index.php","line":114,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[["RedisException"],500]}],"File":"/var/www/html/lib/private/Memcache/Redis.php","Line":79,"CustomMessage":"Exception thrown: RedisException"}}

Later using duplicati. I restored the nextcloud backup and database with the original permissions as they were. But that didn’t bring any results.

Now I don’t know what nextcloud is about, because yesterday it worked fine and suddenly it stopped working? There were also no updates performed over the course of 3 days.

Thank you very much in advance for your help.

The posted logs suggest your Redis server/service is offline or having problems.

1 Like