{"action":"created","issue":{"url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/913","repository_url":"https://api.github.com/repos/Chocobozzz/PeerTube","labels_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/913/labels{/name}","comments_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/913/comments","events_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/913/events","html_url":"https://github.com/Chocobozzz/PeerTube/issues/913","id":348791910,"node_id":"MDU6SXNzdWUzNDg3OTE5MTA=","number":913,"title":"update from beta9 to beta10: peertube don't start, exit status 255","user":{"login":"lfuentes-lbn","id":35954569,"node_id":"MDQ6VXNlcjM1OTU0NTY5","avatar_url":"https://avatars2.githubusercontent.com/u/35954569?v=4","gravatar_id":"","url":"https://api.github.com/users/lfuentes-lbn","html_url":"https://github.com/lfuentes-lbn","followers_url":"https://api.github.com/users/lfuentes-lbn/followers","following_url":"https://api.github.com/users/lfuentes-lbn/following{/other_user}","gists_url":"https://api.github.com/users/lfuentes-lbn/gists{/gist_id}","starred_url":"https://api.github.com/users/lfuentes-lbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfuentes-lbn/subscriptions","organizations_url":"https://api.github.com/users/lfuentes-lbn/orgs","repos_url":"https://api.github.com/users/lfuentes-lbn/repos","events_url":"https://api.github.com/users/lfuentes-lbn/events{/privacy}","received_events_url":"https://api.github.com/users/lfuentes-lbn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-08T16:04:46Z","updated_at":"2018-08-08T16:06:21Z","closed_at":null,"author_association":"NONE","body":"<!-- If you have a question, please read the FAQ.md first -->\r\n\r\n<!-- If you report a bug, please fill the form -->\r\n\r\n* **PeerTube version or URL:** trying update from beta9 to beta10\r\n* **NodeJS version:** v10.8.0\r\n\r\nRunning under archlinux with npm v6.3.0 and yarn v1.9.4.\r\n\r\nAfter upgrading to beta10 (database extensions are installed), I cannot start peertube anymore.\r\n\r\nThere is the daemon log:\r\n```\r\naoût 08 17:53:56 peshkim2 systemd[1]: Started PeerTube daemon.\r\naoût 08 17:53:56 peshkim2 peertube[28568]: > peertube@1.0.0-beta.10 start /usr/share/webapps/peertube\r\naoût 08 17:53:56 peshkim2 peertube[28568]: > node dist/server\r\naoût 08 17:53:58 peshkim2 peertube[28568]: [peertube.peshane.net:443] 2018-08-08 17:53:58.584 info: Database peertube_prod is ready.\r\naoût 08 17:53:58 peshkim2 peertube[28568]: [peertube.peshane.net:443] 2018-08-08 17:53:58.823 info: Using localhost:25 as SMTP server.\r\naoût 08 17:53:58 peshkim2 peertube[28568]: [peertube.peshane.net:443] 2018-08-08 17:53:58.826 info: Testing SMTP server...\r\naoût 08 17:53:58 peshkim2 peertube[28568]: [peertube.peshane.net:443] 2018-08-08 17:53:58.836 info: Connection established to 127.0.0.1:25 {\r\naoût 08 17:53:58 peshkim2 peertube[28568]:   \"component\": \"smtp-connection\",\r\naoût 08 17:53:58 peshkim2 peertube[28568]:   \"sid\": \"cEUz11yQcE\",\r\naoût 08 17:53:58 peshkim2 peertube[28568]:   \"tnx\": \"network\",\r\naoût 08 17:53:58 peshkim2 peertube[28568]:   \"localAddress\": \"127.0.0.1\",\r\naoût 08 17:53:58 peshkim2 peertube[28568]:   \"localPort\": 44656,\r\naoût 08 17:53:58 peshkim2 peertube[28568]:   \"remoteAddress\": \"127.0.0.1\",\r\naoût 08 17:53:58 peshkim2 peertube[28568]:   \"remotePort\": 25\r\naoût 08 17:53:58 peshkim2 peertube[28568]: }\r\naoût 08 17:53:58 peshkim2 peertube[28568]: [peertube.peshane.net:443] 2018-08-08 17:53:58.861 info: Successfully connected to SMTP server.\r\naoût 08 17:53:58 peshkim2 peertube[28568]: [peertube.peshane.net:443] 2018-08-08 17:53:58.877 error: Cannot start application.\r\naoût 08 17:53:58 peshkim2 peertube[28568]: npm ERR! code ELIFECYCLE\r\naoût 08 17:53:58 peshkim2 peertube[28568]: npm ERR! errno 255\r\naoût 08 17:53:58 peshkim2 peertube[28568]: npm ERR! peertube@1.0.0-beta.10 start: `node dist/server`\r\naoût 08 17:53:58 peshkim2 peertube[28568]: npm ERR! Exit status 255\r\naoût 08 17:53:58 peshkim2 peertube[28568]: npm ERR!\r\naoût 08 17:53:58 peshkim2 peertube[28568]: npm ERR! Failed at the peertube@1.0.0-beta.10 start script.\r\naoût 08 17:53:58 peshkim2 peertube[28568]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\naoût 08 17:53:58 peshkim2 peertube[28568]: npm ERR! A complete log of this run can be found in:\r\naoût 08 17:53:58 peshkim2 peertube[28568]: npm ERR!     /var/lib/peertube/.npm/_logs/2018-08-08T15_53_58_898Z-debug.log\r\naoût 08 17:53:58 peshkim2 systemd[1]: peertube.service: Main process exited, code=exited, status=255/n/a\r\naoût 08 17:53:58 peshkim2 systemd[1]: peertube.service: Failed with result 'exit-code'.\r\naoût 08 17:53:59 peshkim2 systemd[1]: peertube.service: Service RestartSec=100ms expired, scheduling restart.\r\naoût 08 17:53:59 peshkim2 systemd[1]: peertube.service: Scheduled restart job, restart counter is at 1.\r\naoût 08 17:53:59 peshkim2 systemd[1]: Stopped PeerTube daemon.\r\n```\r\n\r\nand the npm debug log:\r\n```\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@6.3.0\r\n3 info using node@v10.8.0\r\n4 verbose run-script [ 'prestart', 'start', 'poststart' ]\r\n5 info lifecycle peertube@1.0.0-beta.10~prestart: peertube@1.0.0-beta.10\r\n6 info lifecycle peertube@1.0.0-beta.10~start: peertube@1.0.0-beta.10\r\n7 verbose lifecycle peertube@1.0.0-beta.10~start: unsafe-perm in lifecycle true\r\n8 verbose lifecycle peertube@1.0.0-beta.10~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/share/webapps/peertube/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/bin\r\n9 verbose lifecycle peertube@1.0.0-beta.10~start: CWD: /usr/share/webapps/peertube\r\n10 silly lifecycle peertube@1.0.0-beta.10~start: Args: [ '-c', 'node dist/server' ]\r\n11 silly lifecycle peertube@1.0.0-beta.10~start: Returned: code: 255  signal: null\r\n12 info lifecycle peertube@1.0.0-beta.10~start: Failed to exec start script\r\n13 verbose stack Error: peertube@1.0.0-beta.10 start: `node dist/server`\r\n13 verbose stack Exit status 255\r\n13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:304:16)\r\n13 verbose stack     at EventEmitter.emit (events.js:182:13)\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 ChildProcess.emit (events.js:182:13)\r\n13 verbose stack     at maybeClose (internal/child_process.js:962:16)\r\n13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:249:5)\r\n14 verbose pkgid peertube@1.0.0-beta.10\r\n15 verbose cwd /usr/share/webapps/peertube\r\n16 verbose Linux 4.17.12-arch1-1-ARCH\r\n17 verbose argv \"/usr/bin/node\" \"/usr/bin/npm\" \"start\"\r\n18 verbose node v10.8.0\r\n19 verbose npm  v6.3.0\r\n20 error code ELIFECYCLE\r\n21 error errno 255\r\n22 error peertube@1.0.0-beta.10 start: `node dist/server`\r\n22 error Exit status 255\r\n23 error Failed at the peertube@1.0.0-beta.10 start script.\r\n23 error This is probably not a problem with npm. There is likely additional logging output above.\r\n24 verbose exit [ 255, true ]\r\n```\r\n\r\n\r\nI try to remove the `node_modules` dir and `yarn instann --production --pure-lockfile` but that do not change anything.\r\n\r\nDoes anyone can help me on this ? :sweat_smile: \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/comments/411460966","html_url":"https://github.com/Chocobozzz/PeerTube/issues/913#issuecomment-411460966","issue_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/913","id":411460966,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTQ2MDk2Ng==","user":{"login":"Chocobozzz","id":5180488,"node_id":"MDQ6VXNlcjUxODA0ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/5180488?v=4","gravatar_id":"","url":"https://api.github.com/users/Chocobozzz","html_url":"https://github.com/Chocobozzz","followers_url":"https://api.github.com/users/Chocobozzz/followers","following_url":"https://api.github.com/users/Chocobozzz/following{/other_user}","gists_url":"https://api.github.com/users/Chocobozzz/gists{/gist_id}","starred_url":"https://api.github.com/users/Chocobozzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chocobozzz/subscriptions","organizations_url":"https://api.github.com/users/Chocobozzz/orgs","repos_url":"https://api.github.com/users/Chocobozzz/repos","events_url":"https://api.github.com/users/Chocobozzz/events{/privacy}","received_events_url":"https://api.github.com/users/Chocobozzz/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T16:06:21Z","updated_at":"2018-08-08T16:06:21Z","author_association":"OWNER","body":"Please copy/paste the file log (`storage/logs`)"}}
{"actor":{"display_login":"Chocobozzz"}}