[what happened] OD Calibration not being applied
https://forum.pioreactor.com/t/optical-density-calibrations-troubleshooting/137
Still unsure what's causing this.
- Permissions issue?
Pretty sure this is a permissions issue. The user was using sudo infront of a lot of their commands, and I expect they ran:
sudo pio run od_calibration
This would create a ~/.pioreactor/storage/od_calibrations/ folder owned by root, and a storage db cache.db owned by root with permissions -rw-r--r-- 1
When the user tried to start from the UI, the user pioreactor would run pio run od_reading and try to read a file owned by root and it would fail. However, on the command line, the user would use sudo pio run od_reading and everything would work.
I'm an idiot: -rw-r--r-- means others can read, too.
I'm not an idiot. The WAL file needs to be created, and pioreactor can't create/write/whatever.