📚 UI not visible docs

This commit is contained in:
jokob-sk
2024-06-16 09:11:21 +10:00
parent 177a66ac60
commit 8c4bcbca41
3 changed files with 37 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
# Debugging inaccessible UI # Debugging inaccessible UI
## 1. Port conflicts
When opening an issue please: 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. Include a screenshot of what you see when accessing `HTTP://<your rpi IP>/20211` (or your custom port)
@@ -12,3 +14,33 @@ When opening an issue please:
![lsof ports](/docs/img/WEB_UI_PORT_DEBUG/container_port.png) ![lsof ports](/docs/img/WEB_UI_PORT_DEBUG/container_port.png)
## 2. JavaScript issues
Check for browser console (F12 browser dev console) errors + check different browsers.
## 3. Clear the app cache and cached JavaScript files
Refresh the browser cache (usually shoft + refresh), try a private window, or different browsers. Please also refresh the app cache by clicking the 🔃 (reload) button in the header of the application.
## 4. Disable proxy
If you have any reverse proxy or similar, try disabling it.
## 5. Post your docker start details
If you haven't, post your docker compose/run command.
## 6. Check for errors in your PHP/NGINX error logs
In the container execute:
`cat /var/log/nginx/error.log`
`cat /app/front/log/app.php_errors.log`
## 7. Make sure permissions are correct
Please read the [Permissions troubleshooting guide](/docs/FILE_PERMISSIONS.md) and provide a screesnhot of the permissions and ownership in the `/app/db` and `app/config` directories.

View File

@@ -667,7 +667,9 @@ function getDevicesList() {
handleNull($row['dev_Vendor']), handleNull($row['dev_Vendor']),
handleNull($row['dev_Network_Node_port']), handleNull($row['dev_Network_Node_port']),
handleNull($row['dev_GUID']), handleNull($row['dev_GUID']),
handleNull($row['dev_SyncHubNodeName']) handleNull($row['dev_SyncHubNodeName']),
handleNull($row['dev_NetworkSite']),
handleNull($row['dev_SSID'])
); );
$newOrder = array(); $newOrder = array();

View File

@@ -72,7 +72,7 @@ def get_device_data(some_setting):
device_data = [] device_data = []
# do some processing, call exteranl APIs, and return a device list # do some processing, call exteranl APIs, and return a device_data list
# ... # ...
# #