404 error in the browser log #556 🚑
This commit is contained in:
@@ -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
12
docs/WEB_UI_PORT_DEBUG.md
Executable 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`
|
||||
|
||||
|
||||

|
||||
BIN
docs/img/WEB_UI_PORT_DEBUG/container_port.png
Executable file
BIN
docs/img/WEB_UI_PORT_DEBUG/container_port.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 104 KiB |
@@ -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 "---------------------------------------------------------"
|
||||
|
||||
Reference in New Issue
Block a user