Fresh install, no joy: Nginx error 502
Log file here:
https://logs.tinypilotkvm.com/kR7G9w8i
Error 502 on new install
tinypilot [error] 394#394: *1 connect() failed (111: Connection refused) while connecting to upstream
...
File "/opt/tinypilot/venv/lib/python3.9/site-packages/dns/rdtypes/IN/WKS.py", line 25, in _proto_tcp = socket.getprotobyname('tcp')
OSError: protocol not found
- RPi 4B 2GB
- PoE 2.4A, stable
- DietPi (Raspbian minimal), Linux KVMpi 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64
- script from this URL: https://github.com/tiny-pilot/tinypilot#simple-installation
No idea where to start.
- KIn reply tokuerious⬆:@kuerious
EDIT:
Attempted reinstall...PLAY RECAP ********************************************************************* localhost : ok=71 changed=9 unreachable=0 failed=0 skipped=33 rescued=0 ignored=0 + chmod +r /var/tmp/tmp.q7KPzONshF.yml + sudo cp /var/tmp/tmp.q7KPzONshF.yml /home/tinypilot/settings.yml + sudo chown tinypilot:tinypilot /home/tinypilot/settings.yml
Still error 502.
Help!?
- Diego @diego
Hello @kuerious - I'm sorry you are having this issue.
Unfortunately, DietPi is not supported. We only offer technical support for TinyPilot on the Raspberry Pi 4B and Raspberry Pi OS 32-bit. However, please check the following thread about alternate hardware and OSes.
Actually, after looking through several other threads and the threads you linked to me to, I think it's because I went with the aarch 64-bit of dietpi. It's Debian at its root, just customized to be a minimal install. I'll let you know if I have any success, so that you can add it to the list.