I update 3.2.1 to 3.3.0 error
-
When I update it, it gives me this error, please help
Aug 10 16:16:21 "column": 12, Aug 10 16:16:21 "file": "domain.js", Aug 10 16:16:21 "function": "IncomingMessage.EventEmitter.emit", Aug 10 16:16:21 "line": 467, Aug 10 16:16:21 "method": "emit", Aug 10 16:16:24 npm ERR! code ELIFECYCLE Aug 10 16:16:24 npm ERR! errno 1 Aug 10 16:16:24 npm ERR! peertube@3.3.0 start: `node dist/server` Aug 10 16:16:24 npm ERR! Exit status 1 Aug 10 16:16:24 npm ERR! Aug 10 16:16:24 npm ERR! Failed at the peertube@3.3.0 start script. Aug 10 16:16:24 npm ERR! This is probably not a problem with npm. There is likely additional logging output above. Aug 10 16:16:24 Aug 10 15:39:19 15:M 10 Aug 2021 08:39:19.764 # Server initialized Aug 10 15:39:19 15:M 10 Aug 2021 08:39:19.764 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. Aug 10 15:39:19 Redis service endpoint listening on https://:::3000 Aug 10 15:39:20 15:M 10 Aug 2021 08:39:20.481 * DB loaded from disk: 0.717 seconds Aug 10 15:39:20 15:M 10 Aug 2021 08:39:20.481 * Ready to accept connections Aug 10 15:39:21 2021-08-10 08:39:21,482 INFO success: redis entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Aug 10 15:39:21 2021-08-10 08:39:21,482 INFO success: redis-service entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Aug 10 15:41:22 [GET] /healthcheck -
When I update it, it gives me this error, please help
Aug 10 16:16:21 "column": 12, Aug 10 16:16:21 "file": "domain.js", Aug 10 16:16:21 "function": "IncomingMessage.EventEmitter.emit", Aug 10 16:16:21 "line": 467, Aug 10 16:16:21 "method": "emit", Aug 10 16:16:24 npm ERR! code ELIFECYCLE Aug 10 16:16:24 npm ERR! errno 1 Aug 10 16:16:24 npm ERR! peertube@3.3.0 start: `node dist/server` Aug 10 16:16:24 npm ERR! Exit status 1 Aug 10 16:16:24 npm ERR! Aug 10 16:16:24 npm ERR! Failed at the peertube@3.3.0 start script. Aug 10 16:16:24 npm ERR! This is probably not a problem with npm. There is likely additional logging output above. Aug 10 16:16:24 Aug 10 15:39:19 15:M 10 Aug 2021 08:39:19.764 # Server initialized Aug 10 15:39:19 15:M 10 Aug 2021 08:39:19.764 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. Aug 10 15:39:19 Redis service endpoint listening on https://:::3000 Aug 10 15:39:20 15:M 10 Aug 2021 08:39:20.481 * DB loaded from disk: 0.717 seconds Aug 10 15:39:20 15:M 10 Aug 2021 08:39:20.481 * Ready to accept connections Aug 10 15:39:21 2021-08-10 08:39:21,482 INFO success: redis entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Aug 10 15:39:21 2021-08-10 08:39:21,482 INFO success: redis-service entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Aug 10 15:41:22 [GET] /healthcheck -
@zohupvn I can't quite make out what the issue is. Do you have any logs about this error message?
my logs about this error message
it shows the start , not the run
@girish Aug 10 16:16:21 "column": 12,
Aug 10 16:16:21 "file": "domain.js",
Aug 10 16:16:21 "function": "IncomingMessage.EventEmitter.emit",
Aug 10 16:16:21 "line": 467,
Aug 10 16:16:21 "method": "emit",
Aug 10 16:16:24 npm ERR! code ELIFECYCLE
Aug 10 16:16:24 npm ERR! errno 1
Aug 10 16:16:24 npm ERR! peertube@3.3.0 start:node dist/server
Aug 10 16:16:24 npm ERR! Exit status 1
Aug 10 16:16:24 npm ERR!
Aug 10 16:16:24 npm ERR! Failed at the peertube@3.3.0 start script.
Aug 10 16:16:24 npm ERR! This is probably not a problem with npm. There is likely additional logging output above. -
my logs about this error message
it shows the start , not the run
@girish Aug 10 16:16:21 "column": 12,
Aug 10 16:16:21 "file": "domain.js",
Aug 10 16:16:21 "function": "IncomingMessage.EventEmitter.emit",
Aug 10 16:16:21 "line": 467,
Aug 10 16:16:21 "method": "emit",
Aug 10 16:16:24 npm ERR! code ELIFECYCLE
Aug 10 16:16:24 npm ERR! errno 1
Aug 10 16:16:24 npm ERR! peertube@3.3.0 start:node dist/server
Aug 10 16:16:24 npm ERR! Exit status 1
Aug 10 16:16:24 npm ERR!
Aug 10 16:16:24 npm ERR! Failed at the peertube@3.3.0 start script.
Aug 10 16:16:24 npm ERR! This is probably not a problem with npm. There is likely additional logging output above. -
@zohupvn do you have a bit more log lines there? It looks like the end of a crash stacktrace, which could be very useful to get down to the issue.
@nebulon Having the same here, I had to remove peertube-plugin-categories for the app to boot without issue.
log part about this :
Aug 18 09:17:27 [yourdomain.tld:443 peertube-plugin-categories] 2021-08-18 07:17:27.335 error: uncaughtException: Unexpected token < in JSON at position 0
Aug 18 09:17:27 SyntaxError: Unexpected token < in JSON at position 0
Aug 18 09:17:27 at JSON.parse (<anonymous>)
Aug 18 09:17:27 at IncomingMessage.<anonymous> (/app/data/storage/plugins/node_modules/peertube-plugin-categories/src/server/api.js:26:24)
Aug 18 09:17:27 at IncomingMessage.emit (events.js:327:22)
Aug 18 09:17:27 at IncomingMessage.EventEmitter.emit (domain.js:467:12)
Aug 18 09:17:27 at endReadableNT (internal/streams/readable.js:1327:12)
Aug 18 09:17:27 at processTicksAndRejections (internal/process/task_queues.js:80:21) {
Aug 18 09:17:27 "error": {
Aug 18 09:17:27 "stack": "SyntaxError: Unexpected token < in JSON at position 0\n at JSON.parse (<anonymous>)\n at IncomingMessage.<anonymous> (/app/data/storage/plugins/node_modules/peertube-plugin-categories/src/server/api.js:26:24)\n at IncomingMessage.emit (events.js:327:22)\n at IncomingMessage.EventEmitter.emit (domain.js:467:12)\n at endReadableNT (internal/streams/readable.js:1327:12)\n at processTicksAndRejections (internal/process/task_queues.js:80:21)",
Aug 18 09:17:27 "message": "Unexpected token < in JSON at position 0"I went to /app/data/storage/plugins/node_modules/ to remove it, the app boot log
Aug 18 09:17:49 [yourdomain.tld:443] 2021-08-18 07:17:49.879 info: Registering plugin or theme peertube-plugin-categories.
Aug 18 09:17:49 [yourdomain.tld:443] 2021-08-18 07:17:49.880 info: Unregister plugin peertube-plugin-categories.
Aug 18 09:17:49 [yourdomain.tld:443] 2021-08-18 07:17:49.880 error: Cannot register plugin categories, skipping. {
Aug 18 09:17:49 "err": {
Aug 18 09:17:49 "stack": "Error: ENOENT: no such file or directory, open '/app/data/storage/plugins/node_modules/peertube-plugin-categories/package.json'",
Aug 18 09:17:49 "message": "ENOENT: no such file or directory, open '/app/data/storage/plugins/node_modules/peertube-plugin-categories/package.json'",
Aug 18 09:17:49 "errno": -2,
Aug 18 09:17:49 "code": "ENOENT",
Aug 18 09:17:49 "syscall": "open",
Aug 18 09:17:49 "path": "/app/data/storage/plugins/node_modules/peertube-plugin-categories/package.json"
Aug 18 09:17:49 }But then boot just fine, I'm going to try to reinstall this plugin from the front-end and see how it goes !
edit : reinstall the plugin work just fine
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login