{"action":"opened","issue":{"url":"https://api.github.com/repos/thelounge/lounge/issues/1586","repository_url":"https://api.github.com/repos/thelounge/lounge","labels_url":"https://api.github.com/repos/thelounge/lounge/issues/1586/labels{/name}","comments_url":"https://api.github.com/repos/thelounge/lounge/issues/1586/comments","events_url":"https://api.github.com/repos/thelounge/lounge/issues/1586/events","html_url":"https://github.com/thelounge/lounge/issues/1586","id":261694564,"number":1586,"title":"Thelounge crashes","user":{"login":"Thumpxr","id":3073030,"avatar_url":"https://avatars2.githubusercontent.com/u/3073030?v=4","gravatar_id":"","url":"https://api.github.com/users/Thumpxr","html_url":"https://github.com/Thumpxr","followers_url":"https://api.github.com/users/Thumpxr/followers","following_url":"https://api.github.com/users/Thumpxr/following{/other_user}","gists_url":"https://api.github.com/users/Thumpxr/gists{/gist_id}","starred_url":"https://api.github.com/users/Thumpxr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thumpxr/subscriptions","organizations_url":"https://api.github.com/users/Thumpxr/orgs","repos_url":"https://api.github.com/users/Thumpxr/repos","events_url":"https://api.github.com/users/Thumpxr/events{/privacy}","received_events_url":"https://api.github.com/users/Thumpxr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-29T16:21:30Z","updated_at":"2017-09-29T16:21:30Z","closed_at":null,"author_association":"NONE","body":"Hey,\r\n\r\nrunning latest Lounge version. I cant reproduce the crash, it just happens.\r\n\r\nsystemd service running lounge\r\n\r\n\r\n\r\nError in jounalctl -u thelounge\r\n\r\n```\r\nSep 29 12:54:33 server lounge[966]: Error: ENOENT: no such file or directory, scandir 'client/themes/'\r\nSep 29 12:54:33 server lounge[966]:     at Object.fs.readdirSync (fs.js:911:18)\r\nSep 29 12:54:33 server lounge[966]:     at index (/usr/lib/node_modules/thelounge/src/server.js:150:19)\r\nSep 29 12:54:33 server lounge[966]:     at Layer.handle [as handle_request] (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/layer.js:95:5)\r\nSep 29 12:54:33 server lounge[966]:     at trim_prefix (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:317:13)\r\nSep 29 12:54:33 server lounge[966]:     at /usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:284:7\r\nSep 29 12:54:33 server lounge[966]:     at Function.process_params (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:335:12)\r\nSep 29 12:54:33 server lounge[966]:     at next (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:275:10)\r\nSep 29 12:54:33 server lounge[966]:     at allRequests (/usr/lib/node_modules/thelounge/src/server.js:137:9)\r\nSep 29 12:54:33 server lounge[966]:     at Layer.handle [as handle_request] (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/layer.js:95:5)\r\nSep 29 12:54:33 server lounge[966]:     at trim_prefix (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:317:13)\r\nSep 29 18:12:47 server lounge[966]: Error: ENOENT: no such file or directory, scandir 'client/themes/'\r\nSep 29 18:12:47 server lounge[966]:     at Object.fs.readdirSync (fs.js:911:18)\r\nSep 29 18:12:47 server lounge[966]:     at index (/usr/lib/node_modules/thelounge/src/server.js:150:19)\r\nSep 29 18:12:47 server lounge[966]:     at Layer.handle [as handle_request] (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/layer.js:95:5)\r\nSep 29 18:12:47 server lounge[966]:     at trim_prefix (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:317:13)\r\nSep 29 18:12:47 server lounge[966]:     at /usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:284:7\r\nSep 29 18:12:47 server lounge[966]:     at Function.process_params (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:335:12)\r\nSep 29 18:12:47 server lounge[966]:     at next (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:275:10)\r\nSep 29 18:12:47 server lounge[966]:     at allRequests (/usr/lib/node_modules/thelounge/src/server.js:137:9)\r\nSep 29 18:12:47 server lounge[966]:     at Layer.handle [as handle_request] (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/layer.js:95:5)\r\nSep 29 18:12:47 server lounge[966]:     at trim_prefix (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:317:13)\r\nSep 29 18:13:45 server lounge[966]: Error: ENOENT: no such file or directory, scandir 'client/themes/'\r\nSep 29 18:13:45 server lounge[966]:     at Object.fs.readdirSync (fs.js:911:18)\r\nSep 29 18:13:45 server lounge[966]:     at index (/usr/lib/node_modules/thelounge/src/server.js:150:19)\r\nSep 29 18:13:45 server lounge[966]:     at Layer.handle [as handle_request] (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/layer.js:95:5)\r\nSep 29 18:13:45 server lounge[966]:     at trim_prefix (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:317:13)\r\nSep 29 18:13:45 server lounge[966]:     at /usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:284:7\r\nSep 29 18:13:45 server lounge[966]:     at Function.process_params (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:335:12)\r\nSep 29 18:13:45 server lounge[966]:     at next (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:275:10)\r\nSep 29 18:13:45 server lounge[966]:     at allRequests (/usr/lib/node_modules/thelounge/src/server.js:137:9)\r\nSep 29 18:13:45 server lounge[966]:     at Layer.handle [as handle_request] (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/layer.js:95:5)\r\nSep 29 18:13:45 server lounge[966]:     at trim_prefix (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:317:13)\r\nSep 29 18:13:46 server lounge[966]: Error: ENOENT: no such file or directory, scandir 'client/themes/'\r\nSep 29 18:13:46 server lounge[966]:     at Object.fs.readdirSync (fs.js:911:18)\r\nSep 29 18:13:46 server lounge[966]:     at index (/usr/lib/node_modules/thelounge/src/server.js:150:19)\r\nSep 29 18:13:46 server lounge[966]:     at Layer.handle [as handle_request] (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/layer.js:95:5)\r\nSep 29 18:13:46 server lounge[966]:     at trim_prefix (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:317:13)\r\nSep 29 18:13:46 server lounge[966]:     at /usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:284:7\r\nSep 29 18:13:46 server lounge[966]:     at Function.process_params (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:335:12)\r\nSep 29 18:13:46 server lounge[966]:     at next (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:275:10)\r\nSep 29 18:13:46 server lounge[966]:     at allRequests (/usr/lib/node_modules/thelounge/src/server.js:137:9)\r\nSep 29 18:13:46 server lounge[966]:     at Layer.handle [as handle_request] (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/layer.js:95:5)\r\nSep 29 18:13:46 server lounge[966]:     at trim_prefix (/usr/lib/node_modules/thelounge/node_modules/express/lib/router/index.js:317:13)\r\n\r\n```\r\n\r\nSaid thelounge.service file of systemd:\r\n\r\n```\r\n[Unit]\r\nDescription=The Lounge IRC client\r\nAfter=thelounge.service\r\n\r\n[Service]\r\nType=simple\r\nExecStart=/usr/bin/lounge start\r\nUser=thelounge\r\nGroup=thelounge\r\nRestart=on-failure\r\nRestartSec=5\r\nStartLimitInterval=60s\r\nStartLimitBurst=3\r\n\r\n[Install]\r\nWantedBy=default.target\r\n```"}}
{"actor":{"display_login":"Thumpxr"}}