mjolnir icon indicating copy to clipboard operation
mjolnir copied to clipboard

Mjolnir fails to start

Open starcraft66 opened this issue 3 years ago • 1 comments

Describe the bug When I start mjolnir, it fails to start and crash loops

To Reproduce Not sure, it started happening randomly one day

Expected behavior The bot starts

Desktop (please complete the following information):

  • OS: Debian linux, Docker image

Additional context Log:

Sat, 27 Aug 2022 04:12:25 GMT [INFO] [index] Starting bot...                                                                         
Sat, 27 Aug 2022 04:12:25 GMT [INFO] [index] Resolving protected rooms...                                                            
Sat, 27 Aug 2022 04:12:25 GMT [INFO] [index] Resolving management room...                                                            
Creating Web APIs                                                                                                                    
Sat, 27 Aug 2022 04:12:25 GMT [INFO] [index] Mjolnir is starting up. Use !mjolnir to query status.                                   
Starting web server                                                                                                                  
Sat, 27 Aug 2022 04:12:27 GMT [ERROR] [MatrixHttpClient (REQ-22)] [Error: Error during MatrixClient request GET /_matrix/client/r0/di
rectory/room/%23handrub_m2322ty_blacklist%3Aglowers.club: 404 Not Found -- {"errcode":"M_NOT_FOUND","error":"Room alias #handrub_m232
2ty_blacklist:glowers.club not found"}]                                                                                              
Sat, 27 Aug 2022 04:12:27 GMT [ERROR] [Mjolnir] Error during startup:                                                                
Sat, 27 Aug 2022 04:12:27 GMT [ERROR] [Mjolnir] {                                                                                    
  errcode: 'M_NOT_FOUND',                                                                                                            
  error: 'Room alias #handrub_m2322ty_blacklist:glowers.club not found'                                                              
}                                                                                                                                    
Sat, 27 Aug 2022 04:12:27 GMT [INFO] [Mjolnir] Stopping Mjolnir...                                                                   
Sat, 27 Aug 2022 04:12:27 GMT [ERROR] [Mjolnir@startup] Startup failed due to error - see console                                    
Sat, 27 Aug 2022 04:12:27 GMT [ERROR] [Mjolnir] Failed to report startup error to the management room: Error: Error during MatrixClie
nt request GET /_matrix/client/r0/directory/room/%23handrub_m2322ty_blacklist%3Aglowers.club: 404 Not Found -- {"errcode":"M_NOT_FOUN
D","error":"Room alias #handrub_m2322ty_blacklist:glowers.club not found"}                                                           
Mjolnir failed to start: Error: Error during MatrixClient request GET /_matrix/client/r0/directory/room/%23handrub_m2322ty_blacklist%
3Aglowers.club: 404 Not Found -- {"errcode":"M_NOT_FOUND","error":"Room alias #handrub_m2322ty_blacklist:glowers.club not found"}    
node:internal/process/promises:279                                                                                                   
            triggerUncaughtException(err, true /* fromPromise */);                                                                   
            ^                                                                                                                        

starcraft66 avatar Aug 27 '22 04:08 starcraft66

Could this be related to https://github.com/matrix-org/mjolnir/issues/365 ?

Yoric avatar Sep 06 '22 06:09 Yoric