Reset Configuration - aaronwmorris/indi-allsky GitHub Wiki

Overview

Use these instructions if you want to revert all configurations to the defaults.

  1. Stop indi-allsky

    systemctl --user stop indi-allsky
    systemctl --user stop gunicorn-indi-allsky
    
  2. Activate the virtualenv

    source virtualenv/indi-allsky/bin/activate
    
  3. Backup current config

    ./config.py dump > indi_allsky_config_$(date +%Y%m%d_%H%M%S).json
    
  4. Flush all configs

    ./config.py flush
    
  5. Bootstrap a fresh config

    ./config.py bootstrap
    
  6. Restart the gunicorn service

    systemctl --user restart gunicorn-indi-allsky