- @cghague
My WebUI is was returning:
"{"code":null,"message":"The database file is not compatible with the current version of the app."}"
I did a re-install with:
curl -L https://tinypilotkvm.com/[redacted]/install.sh | sh && sudo reboot
``
Now the when trying to access https://tinypilot.local, all I get is:
502 Bad Gateway
nginx/1.18.0
- CIn reply to80x24⬆:Charles Hague @cghague2023-09-01 12:03:42.771Z
Hi @80x24, thanks for reaching out. I'm sorry to hear you're having problems accessing your TinyPilot device.
It sounds like an update may have failed and left your system in an inconsistent state. Can you please try a full reinstallation by running the following snippet over SSH?
if [[ -f /opt/tinypilot-updater/install ]]; then (sudo apt remove -y tinypilot || true) && \ cd /opt/tinypilot-updater && \ sudo ./install else /opt/tinypilot/quick-install fi
If that doesn't work, could you please share your logs with me by running the following command and then confirming that you'd like to upload the resulting log file when prompted?
sudo /opt/tinypilot-privileged/scripts/collect-debug-logs
The problem right now is that /opt/tinypilot and /opt/tinypilot-updater is empty:
pilot@tinypilot:~ $ ls /opt/tiny* /opt/tinypilot: /opt/tinypilot-privileged: collect-debug-logs init-usb-gadget lib remove-usb-gadget scripts
- CCharles Hague @cghague2023-09-01 16:36:11.753Z
Thanks for getting back to me. The errors in the logs and the extra information you provided suggest that the filesystem may be corrupted, which, unfortunately, means you may need to re-image the microSD card. I appreciate it's a hassle, but if the filesystem is corrupted, this is usually the best way forward.
I've noticed that you were attempting to install TinyPilot Pro in your earlier message, but the logs indicate you may be running the community version of TinyPilot. Could you please let me know which one is correct so I can advise on the best way to re-install?
I have Pro. The installation was originally pro, so I tried reinstalling both pro and community edition (through the curl statements) but it still came back broken.
- CCharles Hague @cghague2023-09-01 20:37:32.955Z
Thank you for confirming; that would indeed explain the inconsistency!
As you have TinyPilot Pro, I'd recommend following our factory reset instructions. The instructions will guide you through re-imaging your microSD card, and the process will ensure you have a fresh, up-to-date installation of both TinyPilot Pro and the underlying operating system.