dataset/seed/peertube/DEBUG.md
2022-07-01 22:10:33 +02:00

10 lines
311 B
Markdown

# Mettre un mot de passe à l'utilisateur root
cd /usr/share/peertube/
export NODE_CONFIG_DIR=/etc/peertube/
export NODE_ENV=production
node ./dist/scripts/reset-password.js -u root
# Debug
sed -i "s/level: 'info' # 'debug'/level: 'debug' # 'debug'/g" /etc/peertube/production.yaml
systemctl restart peertube