-
Notifications
You must be signed in to change notification settings - Fork 4
flamingo on the Digital Ocean Droplet (hosting)
Tommy Vo Tran edited this page Feb 1, 2022
·
1 revision
- All commands specified should be run on the Digital Ocean flamingo droplet.
- This should not occur so often anymore because I've limited the size of journald and limited pm2's log size using
pm2 install pm2-logrotate
. - Symptoms
- Github Actions Runner is offline on Github dashboard even though the droplet is definitely running.
- Push to master doesn't get deployed to production.
- If this does occur again, do
journalctl --vacuum-time=10d
to clear all logs except the most recent 10 days.
- pm2 should not go down, but if it does, rerun the flamingo instance on port 1919 by running
cd /home/dailybruin/actions-runner/_work/flamingo/flamingo
pm2 delete all
pm2 start "yarn deploy" --name flamingo