Troubleshooting
Gather information to troubleshoot
The following commands help tracking down issues and gather information:
# logfiles from service (last 200 lines)
journalctl --user --unit=photobooth-app -n 200 --no-pager
# logfiles created by photobooth every day
ls ~/photobooth-data/log/
cat ~/photobooth-data/log/photobooth_2023xxxx.log
# check CmaFree especially for Arducams if low:
cat /proc/meminfo
Manually start the app
If service crashed 💀, stop the service and maybe even kill the python process:
# stop the photobooth service (if installed)
systemctl --user stop photobooth-app
# check whether there is a process still running but not responsive:
ps ax | grep python3
# kill it
sudo pkill -9 python3
Manually start the photobooth-app and watch the terminal
Info
The app uses current directory as data directory! Ensure to cd
to the correct directory before starting.
photobooth
#or
python -m photobooth
Watch the terminal for errors and try to debug. If you fail, start a discussion.