{"action":"created","issue":{"url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/606","repository_url":"https://api.github.com/repos/Chocobozzz/PeerTube","labels_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/606/labels{/name}","comments_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/606/comments","events_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/606/events","html_url":"https://github.com/Chocobozzz/PeerTube/issues/606","id":327715643,"number":606,"title":"peertube crash when update video","user":{"login":"peshane","id":17007514,"avatar_url":"https://avatars3.githubusercontent.com/u/17007514?v=4","gravatar_id":"","url":"https://api.github.com/users/peshane","html_url":"https://github.com/peshane","followers_url":"https://api.github.com/users/peshane/followers","following_url":"https://api.github.com/users/peshane/following{/other_user}","gists_url":"https://api.github.com/users/peshane/gists{/gist_id}","starred_url":"https://api.github.com/users/peshane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peshane/subscriptions","organizations_url":"https://api.github.com/users/peshane/orgs","repos_url":"https://api.github.com/users/peshane/repos","events_url":"https://api.github.com/users/peshane/events{/privacy}","received_events_url":"https://api.github.com/users/peshane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-30T12:48:59Z","updated_at":"2018-05-30T13:08:58Z","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:**: beta7\r\n* **Browser name/version:**: firefox60\r\n* **NodeJS version:** 8.11.2\r\n\r\n\r\n* **What is the expected behaviour?**: updated video and peertube don't crash\r\n* **What do you see instead?**: \r\nupdated video and peertube crash\r\nwhen the daemon try to restart, crash, apparently, when trying to start a job\r\n\r\n\r\n* **Browser console log if useful (Gist/Pastebin...):** not related\r\n* **Server log if useful (Gist/Pastebin...):**:\r\n```\r\nmai 30 14:12:43 peshkim2 peertube[17482]: peertube: symbol lookup error: /usr/share/webapps/peertube/node_modules/rdf-canonize/build/Release/urdna2015.node: undefined symbol: EVP_MD_CTX_create\r\nmai 30 14:12:43 peshkim2 peertube[17482]: npm ERR! file sh\r\nmai 30 14:12:43 peshkim2 peertube[17482]: npm ERR! code ELIFECYCLE\r\nmai 30 14:12:43 peshkim2 peertube[17482]: npm ERR! errno ENOENT\r\nmai 30 14:12:43 peshkim2 peertube[17482]: npm ERR! syscall spawn\r\nmai 30 14:12:43 peshkim2 peertube[17482]: npm ERR! peertube@1.0.0-beta.7 start: `node dist/server`\r\nmai 30 14:12:43 peshkim2 peertube[17482]: npm ERR! spawn ENOENT\r\nmai 30 14:12:43 peshkim2 peertube[17482]: npm ERR!\r\nmai 30 14:12:43 peshkim2 peertube[17482]: npm ERR! Failed at the peertube@1.0.0-beta.7 start script.\r\nmai 30 14:12:43 peshkim2 peertube[17482]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\nmai 30 14:12:43 peshkim2 peertube[17482]: npm ERR! A complete log of this run can be found in:\r\nmai 30 14:12:43 peshkim2 peertube[17482]: npm ERR!     /var/lib/peertube/.npm/_logs/2018-05-30T12_12_43_628Z-debug.log\r\nmai 30 14:12:43 peshkim2 systemd[1]: peertube.service: Main process exited, code=exited, status=1/FAILURE\r\nmai 30 14:12:43 peshkim2 systemd[1]: peertube.service: Failed with result 'exit-code'.\r\n```\r\nand the complete log file:\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.0.1\r\n3 info using node@v8.11.2\r\n4 verbose run-script [ 'prestart', 'start', 'poststart' ]\r\n5 info lifecycle peertube@1.0.0-beta.7~prestart: peertube@1.0.0-beta.7\r\n6 info lifecycle peertube@1.0.0-beta.7~start: peertube@1.0.0-beta.7\r\n7 verbose lifecycle peertube@1.0.0-beta.7~start: unsafe-perm in lifecycle true\r\n8 verbose lifecycle peertube@1.0.0-beta.7~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.7~start: CWD: /usr/share/webapps/peertube\r\n10 silly lifecycle peertube@1.0.0-beta.7~start: Args: [ '-c', 'node dist/server' ]\r\n11 info lifecycle peertube@1.0.0-beta.7~start: Failed to exec start script\r\n12 verbose stack Error: peertube@1.0.0-beta.7 start: `node dist/server`\r\n12 verbose stack spawn ENOENT\r\n12 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)\r\n12 verbose stack     at emitTwo (events.js:126:13)\r\n12 verbose stack     at ChildProcess.emit (events.js:214:7)\r\n12 verbose stack     at maybeClose (internal/child_process.js:925:16)\r\n12 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)\r\n13 verbose pkgid peertube@1.0.0-beta.7\r\n14 verbose cwd /usr/share/webapps/peertube\r\n15 verbose Linux 4.16.10-1-ARCH\r\n16 verbose argv \"/usr/bin/node\" \"/usr/bin/npm\" \"start\"\r\n17 verbose node v8.11.2\r\n18 verbose npm  v6.0.1\r\n19 error file sh\r\n20 error code ELIFECYCLE\r\n21 error errno ENOENT\r\n22 error syscall spawn\r\n23 error peertube@1.0.0-beta.7 start: `node dist/server`\r\n23 error spawn ENOENT\r\n24 error Failed at the peertube@1.0.0-beta.7 start script.\r\n24 error This is probably not a problem with npm. There is likely additional logging output above.\r\n```\r\n\r\n\r\n**workaround I found**: *flushdb* the redis database for peertube can be up again"},"comment":{"url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/comments/393155011","html_url":"https://github.com/Chocobozzz/PeerTube/issues/606#issuecomment-393155011","issue_url":"https://api.github.com/repos/Chocobozzz/PeerTube/issues/606","id":393155011,"user":{"login":"Chocobozzz","id":5180488,"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-05-30T13:08:57Z","updated_at":"2018-05-30T13:08:57Z","author_association":"OWNER","body":"Try to install `nodejs` instead of `nodejs-carbon-lts`, remove `node_modules` directory, `yarn install --pure-lockfile` and retry to update your video."}}
{"actor":{"display_login":"Chocobozzz"}}