How to debug TerrariumPI
- Stop the TerrariumPI service:
sudo service terrariumpi stop
. - Enter the TerrariumPI folder:
cd /home/pi/TerrariumPI/
- Enable Python3 virtual environment:
source venv/bin/activate
- Manual start TerrariumPI:
python terrariumPI.py
This should start the TerrariumPI in console mode. So all errors should now be visible to the console.
When the log line TerrariumPI 4.X.Y is up and running at address: http://0.0.0.0:8090 in XX.XX seconds
appears, TerrariumPI is fully started and you can enter the web gui as normal.
When you are done debugging, you can press Ctrl+C
once to stop TerrariumPI.
This post is licensed under CC BY 4.0 by the author.