You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recording of data will stop happening after a while, probably around a week or so running continuously. When it does happen, restarting the program fixes the issue.
According to the logs, it's probably due to the refreshing of the API tokens.
Temporary Fix
Create a cron job to restart it every two days through PM2.
sudo crontab -e
Add something like this below. You could also replace "all" with the id of the PM2 instance running vintage-influxdb.
0 0 */2 * * /usr/bin/node /usr/bin/pm2 restart all
Edit: It may even be better to restart daily actually:
0 0 */1 * * /usr/bin/node /usr/bin/pm2 restart all
Recording of data will stop happening after a while, probably around a week or so running continuously. When it does happen, restarting the program fixes the issue.
According to the logs, it's probably due to the refreshing of the API tokens.
Temporary Fix
Create a cron job to restart it every two days through PM2.
sudo crontab -e
id
of the PM2 instance runningvintage-influxdb
.Edit: It may even be better to restart daily actually:
You could also use PM2's built in
--cron-restart
flag:The text was updated successfully, but these errors were encountered: