404 error in the browser log #556 🚑

This commit is contained in:
Jokob-sk
2024-02-08 19:31:18 +11:00
parent 508a2d67b9
commit 13351a5db6
4 changed files with 19 additions and 1 deletions

View File

@@ -92,6 +92,9 @@ else
fi
fi
# Create an empty execution_queue.log file
echo '' > $INSTALL_DIR/pialert/front/log/execution_queue.log
# Fixing file permissions
echo "[INSTALL] Fixing file permissions"
@@ -140,7 +143,7 @@ fi
# Activate the virtual python environment
source myenv/bin/activate
echo "[INSTALL] 🟢 Starting app - navigate to your <server IP>:20211 (or custom port)"
echo "[INSTALL] 🚀 Starting app - navigate to your <server IP>:$LISTEN_ADDR "
# Start the PiAlert python script
python $INSTALL_DIR/pialert/pialert/

12
docs/WEB_UI_PORT_DEBUG.md Executable file
View File

@@ -0,0 +1,12 @@
# Debugging inaccessible UI
When opening an issue please :
1. Include a screenshot of what you see when accessing `HTTP://<your rpi IP>/20211` (or your custom port)
1. [Follow steps 1, 2, 3, 4 on this page](https://github.com/jokob-sk/Pi.Alert/blob/main/docs/DEBUG_TIPS.md)
1. Execute the following in the container to see the processes and their ports and submit a screenshot of the result:
1. `sudo apt-get install lsof`
1. `sudo lsof -i`
![lsof ports](/docs/img/WEB_UI_PORT_DEBUG/container_port.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@@ -1,5 +1,8 @@
#!/usr/bin/env bash
# 🛑 Important: This is only used for the bare-metal install 🛑
# Update /dockerfiles/start.sh in most cases is preferred
echo "---------------------------------------------------------"
echo "[INSTALL] Run install.sh"
echo "---------------------------------------------------------"