`[peertube@peertube peertube]$ export NODE_CONFIG_DIR=/etc/peertube/
[peertube@peertube peertube]$ npm start
peertube@1.3.1 start /usr/share/webapps/peertube node dist/server
WARNING: No configurations found in configuration directory:/etc/peertube/ WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment. /usr/share/webapps/peertube/dist/server/initializers/config.js:211 throw new Error('Invalid config source.'); ^
Error: Invalid config source.
at getLocalConfigFilePath (/usr/share/webapps/peertube/dist/server/initializers/config.js:211:15)
at Object.<anonymous> (/usr/share/webapps/peertube/dist/server/initializers/config.js:9:18)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/share/webapps/peertube/dist/server/helpers/logger.js:6:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! peertube@1.3.1 start: node dist/server
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the peertube@1.3.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`
Pinned Comments
daftaupe commented on 2024-04-29 14:00 (UTC)
As usual please read the release notes for 6.1.0. Most notable thing is you must add a
location ~ ^/api/v1/users/[^/]+/imports/import-resumable$ {
block in the nginx config.daftaupe commented on 2023-12-17 09:27 (UTC) (edited on 2023-12-17 09:32 (UTC) by daftaupe)
Please read and follow the release notes from 6.0.0 to 6.0.2.
A lot of changes in configuration files are required, too many to list here. Also please note that
/var/lib/peertube/storage/videos
is now/var/lib/peertube/storage/web-videos
to match the move fromstorage.videos
tostorage.web-videos
.Please test and let me know.
rigelk commented on 2020-06-18 13:32 (UTC)
Please note that the package now verifies the release signature against the lead developer's key, which you can find here: https://keybase.io/chocobozzz