Closed benjamin-dk closed 7 years ago
This error happened again today - same pattern:
2016-03-16T20:01:12.818Z - ^[[32minfo^[[39m: Admin user disconnected. 64ab7dec-62da-4787-a0ab-72e256ed608b
2016-03-16T20:01:12.830Z - ^[[32minfo^[[39m: Logout: User chat start: 24302460
2016-03-16T20:01:12.830Z - ^[[32minfo^[[39m: Logout: User chat end: 24302641
2016-03-16T20:01:12.831Z - ^[[31mwarning^[[39m: Last admin user disconnected - shutting down room. Counselor id: 64ab7dec-62da-4787-a0ab-72e256ed608b
/home/chat/opeka/nodejs/lib/opeka.js:1017
checkPause = (activeRoomId === room.id);
^
TypeError: Cannot read property 'id' of undefined
at Server.self.removeUserFromRoom (/home/chat/opeka/nodejs/lib/opeka.js:1017:42)
at /home/chat/opeka/nodejs/lib/opeka.js:963:14
at Array.forEach (native)
at /home/chat/opeka/nodejs/lib/opeka.js:947:37
at process._tickCallback (node.js:415:13)
error: Forever detected script exited with code: 8
Seems we have another bug relating to removeUserFromRoom: