Skip to content

flamingo on the Digital Ocean Droplet (hosting)

Tommy Vo Tran edited this page Feb 1, 2022 · 1 revision

Frequent Problems and Solutions

  • All commands specified should be run on the Digital Ocean flamingo droplet.

1. Droplet disk space is full

  • 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
    1. Github Actions Runner is offline on Github dashboard even though the droplet is definitely running.
    2. 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.

2. 502 Gateway Error

  • 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