Bonjour,
(je précise : mes compétences en administration système sont très faibles, merci de votre indulgence ^^)
Hier soir j’ai lancé une campagne de comm’ autour de notre instance Peertube, il est probable qu’on ait eu un peu de montée en charge, et on venait d’uploader de grosses vidéos (3h x 3). Je précise au cas où ça pourrait avoir son importance.
Bref, ce matin, le serveur est en erreur 502. J’ai redémarré le VPS, ce qui n’a pas résolu le problème, j’ai lancé une commande pour redémarrer Peertube et cela me renvoie les logs ci-dessous. J’y note notamment : « [peertube.designersethiques.org:443] 2020-10-09 12:46:34.253 error: Error in Redis client. » mais je ne sais pas si c’est lié à ça.
Oct 09 12:46:27 vps-db195c2f systemd[1]: peertube.service: Failed with result 'exit-code'.
Oct 09 12:46:28 vps-db195c2f systemd[1]: peertube.service: Service hold-off time over, scheduling restart.
Oct 09 12:46:28 vps-db195c2f systemd[1]: peertube.service: Scheduled restart job, restart counter is at 45.
Oct 09 12:46:28 vps-db195c2f systemd[1]: Stopped PeerTube daemon.
Oct 09 12:46:28 vps-db195c2f systemd[1]: Started PeerTube daemon.
Oct 09 12:46:28 vps-db195c2f peertube[3299]: > peertube@2.2.0 start /var/www/peertube/versions/peertube-v2.2.0
Oct 09 12:46:28 vps-db195c2f peertube[3299]: > node dist/server
Oct 09 12:46:29 vps-db195c2f systemd[1]: Stopping PeerTube daemon...
Oct 09 12:46:29 vps-db195c2f systemd[1]: Stopped PeerTube daemon.
Oct 09 12:46:29 vps-db195c2f systemd[1]: Started PeerTube daemon.
Oct 09 12:46:30 vps-db195c2f peertube[3341]: > peertube@2.2.0 start /var/www/peertube/versions/peertube-v2.2.0
Oct 09 12:46:30 vps-db195c2f peertube[3341]: > node dist/server
Oct 09 12:46:33 vps-db195c2f peertube[3341]: [peertube.designersethiques.org:443] 2020-10-09 12:46:33.757 warn: Emailer is disabled so the contact form will not work.
Oct 09 12:46:34 vps-db195c2f peertube[3341]: [peertube.designersethiques.org:443] 2020-10-09 12:46:34.253 error: Error in Redis client. {
Oct 09 12:46:34 vps-db195c2f peertube[3341]: "err": {
Oct 09 12:46:34 vps-db195c2f peertube[3341]: "stack": "Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)",
Oct 09 12:46:34 vps-db195c2f peertube[3341]: "message": "Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379",
Oct 09 12:46:34 vps-db195c2f peertube[3341]: "errno": "ECONNREFUSED",
Oct 09 12:46:34 vps-db195c2f peertube[3341]: "code": "ECONNREFUSED",
Oct 09 12:46:34 vps-db195c2f peertube[3341]: "syscall": "connect",
Oct 09 12:46:34 vps-db195c2f peertube[3341]: "address": "127.0.0.1",
Oct 09 12:46:34 vps-db195c2f peertube[3341]: "port": 6379
Oct 09 12:46:34 vps-db195c2f peertube[3341]: }
Oct 09 12:46:34 vps-db195c2f peertube[3341]: }
Oct 09 12:46:34 vps-db195c2f peertube[3341]: npm ERR! code ELIFECYCLE
Oct 09 12:46:34 vps-db195c2f peertube[3341]: npm ERR! errno 255
Oct 09 12:46:34 vps-db195c2f peertube[3341]: npm ERR! peertube@2.2.0 start: `node dist/server`
Oct 09 12:46:34 vps-db195c2f peertube[3341]: npm ERR! Exit status 255
Oct 09 12:46:34 vps-db195c2f peertube[3341]: npm ERR!
Oct 09 12:46:34 vps-db195c2f peertube[3341]: npm ERR! Failed at the peertube@2.2.0 start script.
Oct 09 12:46:34 vps-db195c2f peertube[3341]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Oct 09 12:46:34 vps-db195c2f systemd[1]: peertube.service: Main process exited, code=exited, status=255/n/a
Bref, sauriez-vous m’aider à relancer l’instance ?
Merci pour votre aide !
Karl