{"action":"created","issue":{"url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/935","repository_url":"https://api.github.com/repos/Chocobozzz/PeerTube","labels_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/935/labels{/name}","comments_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/935/comments","events_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/935/events","html_url":"https://github.com/Chocobozzz/PeerTube/issues/935","id":352421378,"node_id":"MDU6SXNzdWUzNTI0MjEzNzg=","number":935,"title":"Peertube beta 11 not starting","user":{"login":"Jorropo","id":24391983,"node_id":"MDQ6VXNlcjI0MzkxOTgz","avatar_url":"https://avatars1.githubusercontent.com/u/24391983?v=4","gravatar_id":"","url":"https://api.github.com/users/Jorropo","html_url":"https://github.com/Jorropo","followers_url":"https://api.github.com/users/Jorropo/followers","following_url":"https://api.github.com/users/Jorropo/following{/other_user}","gists_url":"https://api.github.com/users/Jorropo/gists{/gist_id}","starred_url":"https://api.github.com/users/Jorropo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jorropo/subscriptions","organizations_url":"https://api.github.com/users/Jorropo/orgs","repos_url":"https://api.github.com/users/Jorropo/repos","events_url":"https://api.github.com/users/Jorropo/events{/privacy}","received_events_url":"https://api.github.com/users/Jorropo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-21T07:43:04Z","updated_at":"2018-08-21T07:51:48Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"* **PeerTube version or URL:**\r\nv1 beta 11, [peertube.jorropo.ovh](https://peertube.jorropo.ovh/)\r\n* **NodeJS version:**\r\nv8.11.4\r\n\r\n* **What is the expected behaviour?**\r\nThe peertube instances normaly start and work\r\n* **What do you see instead?**\r\nCrash at start\r\n\r\n* **Server log if useful (Gist/Pastebin...):**\r\n```sh\r\nroot@vps568921:/var/www/peertube# journalctl -fu peertube\r\nAug 21 09:50:16 vps568921 systemd[1]: Started PeerTube daemon.\r\nAug 21 09:50:17 vps568921 peertube[6272]: > peertube@1.0.0-beta.11 start /var/www/peertube/versions/peertube-v1.0.0-beta.11\r\nAug 21 09:50:17 vps568921 peertube[6272]: > node dist/server\r\nAug 21 09:50:17 vps568921 peertube[6272]: /var/www/peertube/versions/peertube-v1.0.0-beta.11/node_modules/config/lib/config.js:203\r\nAug 21 09:50:17 vps568921 peertube[6272]:     throw new Error('Configuration property \"' + property + '\" is not defined');\r\nAug 21 09:50:17 vps568921 peertube[6272]:     ^\r\nAug 21 09:50:17 vps568921 peertube[6272]: Error: Configuration property \"database.pool.max\" is not defined\r\nAug 21 09:50:17 vps568921 peertube[6272]:     at Config.get (/var/www/peertube/versions/peertube-v1.0.0-beta.11/node_modules/config/lib/config.js:203:11)\r\nAug 21 09:50:17 vps568921 peertube[6272]:     at Object.<anonymous> (/var/www/peertube/versions/peertube-v1.0.0-beta.11/dist/server/initializers/constants.js:136:25)\r\nAug 21 09:50:17 vps568921 peertube[6272]:     at Module._compile (module.js:652:30)\r\nAug 21 09:50:17 vps568921 peertube[6272]:     at Object.Module._extensions..js (module.js:663:10)\r\nAug 21 09:50:17 vps568921 peertube[6272]:     at Module.load (module.js:565:32)\r\nAug 21 09:50:17 vps568921 peertube[6272]:     at tryModuleLoad (module.js:505:12)\r\nAug 21 09:50:17 vps568921 peertube[6272]:     at Function.Module._load (module.js:497:3)\r\nAug 21 09:50:17 vps568921 peertube[6272]:     at Module.require (module.js:596:17)\r\nAug 21 09:50:17 vps568921 peertube[6272]:     at require (internal/module.js:11:18)\r\nAug 21 09:50:17 vps568921 peertube[6272]:     at Object.<anonymous> (/var/www/peertube/versions/peertube-v1.0.0-beta.11/dist/server/initializers/index.js:7:10)\r\nAug 21 09:50:17 vps568921 peertube[6272]: npm ERR! code ELIFECYCLE\r\nAug 21 09:50:17 vps568921 peertube[6272]: npm ERR! errno 1\r\nAug 21 09:50:17 vps568921 peertube[6272]: npm ERR! peertube@1.0.0-beta.11 start: `node dist/server`\r\nAug 21 09:50:17 vps568921 peertube[6272]: npm ERR! Exit status 1\r\nAug 21 09:50:17 vps568921 peertube[6272]: npm ERR!\r\nAug 21 09:50:17 vps568921 peertube[6272]: npm ERR! Failed at the peertube@1.0.0-beta.11 start script.\r\nAug 21 09:50:17 vps568921 peertube[6272]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\nAug 21 09:50:17 vps568921 peertube[6272]: npm ERR! A complete log of this run can be found in:\r\nAug 21 09:50:17 vps568921 peertube[6272]: npm ERR!     /var/www/peertube/.npm/_logs/2018-08-21T07_50_17_580Z-debug.log\r\nroot@vps568921:/var/www/peertube# cat /var/www/peertube/.npm/_logs/2018-08-21T07_40_27_563Z-debug.log\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]\r\n2 info using npm@5.6.0\r\n3 info using node@v8.11.4\r\n4 verbose run-script [ 'prestart', 'start', 'poststart' ]\r\n5 info lifecycle peertube@1.0.0-beta.11~prestart: peertube@1.0.0-beta.11\r\n6 info lifecycle peertube@1.0.0-beta.11~start: peertube@1.0.0-beta.11\r\n7 verbose lifecycle peertube@1.0.0-beta.11~start: unsafe-perm in lifecycle true\r\n8 verbose lifecycle peertube@1.0.0-beta.11~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/var/www/peertube/versions/peertube-v1.0.0-beta.11/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\r\n9 verbose lifecycle peertube@1.0.0-beta.11~start: CWD: /var/www/peertube/versions/peertube-v1.0.0-beta.11\r\n10 silly lifecycle peertube@1.0.0-beta.11~start: Args: [ '-c', 'node dist/server' ]\r\n11 silly lifecycle peertube@1.0.0-beta.11~start: Returned: code: 1  signal: null\r\n12 info lifecycle peertube@1.0.0-beta.11~start: Failed to exec start script\r\n13 verbose stack Error: peertube@1.0.0-beta.11 start: `node dist/server`\r\n13 verbose stack Exit status 1\r\n13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)\r\n13 verbose stack     at emitTwo (events.js:126:13)\r\n13 verbose stack     at EventEmitter.emit (events.js:214:7)\r\n13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)\r\n13 verbose stack     at emitTwo (events.js:126:13)\r\n13 verbose stack     at ChildProcess.emit (events.js:214:7)\r\n13 verbose stack     at maybeClose (internal/child_process.js:925:16)\r\n13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)\r\n14 verbose pkgid peertube@1.0.0-beta.11\r\n15 verbose cwd /var/www/peertube/versions/peertube-v1.0.0-beta.11\r\n16 verbose Linux 4.9.0-8-amd64\r\n17 verbose argv \"/usr/bin/node\" \"/usr/bin/npm\" \"start\"\r\n18 verbose node v8.11.4\r\n19 verbose npm  v5.6.0\r\n20 error code ELIFECYCLE\r\n21 error errno 1\r\n22 error peertube@1.0.0-beta.11 start: `node dist/server`\r\n22 error Exit status 1\r\n23 error Failed at the peertube@1.0.0-beta.11 start script.\r\n23 error This is probably not a problem with npm. There is likely additional logging output above.\r\n24 verbose exit [ 1, true ]\r\n```\r\nAll logs in storage/logs came from beta.10"},"comment":{"url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/comments/414583703","html_url":"https://github.com/Chocobozzz/PeerTube/issues/935#issuecomment-414583703","issue_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/935","id":414583703,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDU4MzcwMw==","user":{"login":"Jorropo","id":24391983,"node_id":"MDQ6VXNlcjI0MzkxOTgz","avatar_url":"https://avatars1.githubusercontent.com/u/24391983?v=4","gravatar_id":"","url":"https://api.github.com/users/Jorropo","html_url":"https://github.com/Jorropo","followers_url":"https://api.github.com/users/Jorropo/followers","following_url":"https://api.github.com/users/Jorropo/following{/other_user}","gists_url":"https://api.github.com/users/Jorropo/gists{/gist_id}","starred_url":"https://api.github.com/users/Jorropo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jorropo/subscriptions","organizations_url":"https://api.github.com/users/Jorropo/orgs","repos_url":"https://api.github.com/users/Jorropo/repos","events_url":"https://api.github.com/users/Jorropo/events{/privacy}","received_events_url":"https://api.github.com/users/Jorropo/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T07:51:48Z","updated_at":"2018-08-21T07:51:48Z","author_association":"CONTRIBUTOR","body":"Updated : \r\nI find better log"}}
{"actor":{"display_login":"Jorropo"}}