-
-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fixed in 24.2.17] tab devices is empty #568
Comments
The presence tab is correctly filled in, I can see all my devices clearly. |
Can confirm have the same issue, was working fine a few days ago. Will try to post logs when I can. |
I just did a fresh install and was wondering if I did anything wrong.
|
I installed pi-alert today for the first time using the docker image and I'm having the same issue. Looking at the console on my web browser, the only error I see is:
Reading the code function getNumberOfChildren(mac, devices)
{
childrenCount = 0;
$.each(devices, function(index, dev) {
if(dev.dev_Network_Node_MAC_ADDR.trim() == mac.trim()) <- RIGHT HERE
{
childrenCount++;
}
});
return childrenCount;
} Also, on the console on my browser, it's printed three times an array of all the devices, the first device being: {
"rowid": 1,
"dev_MAC": "Internet",
"dev_Name": "Internet",
"dev_Owner": "House",
"dev_DeviceType": "Router",
"dev_Vendor": "<REMOVED>",
"dev_Favorite": 0,
"dev_Group": "Always on",
"dev_Comments": null,
"dev_FirstConnection": "2021-01-01 00:00:00",
"dev_LastConnection": "2021-01-01 00:00:00",
"dev_LastIP": "<REMOVED>",
"dev_StaticIP": 0,
"dev_ScanCycle": 1,
"dev_LogEvents": 1,
"dev_AlertEvents": 1,
"dev_AlertDeviceDown": 1,
"dev_SkipRepeated": 0,
"dev_LastNotification": "2024-02-16 12:40:19-03:00",
"dev_PresentLastScan": 1,
"dev_NewDevice": 0,
"dev_Location": null,
"dev_Archived": 0,
"dev_Network_Node_MAC_ADDR": null,
"dev_Network_Node_port": null,
"dev_Icon": null
} The property Update: renaming this device changed the dev_Network_Node_MAC_ADDR to "undefined" instead of null and solved my issue, now everything is fine. |
Same here after pull new docker image. Device list is empty. |
Same here for me... |
Thank you everyone for the report! I'm building an updated image which should finish in about 15 minutes that I hope fixes this: https://github.com/jokob-sk/Pi.Alert/actions/runs/7935983248 ( |
Update: The new image is deployed: https://hub.docker.com/r/jokobsk/pi.alert |
Working now. |
Thanks for the confirmation @pax0707 ! |
Not working for me, still no devices in device list, no access to any settings (all the sections are empty). Everything shows up in device presence and network tab though. |
It's works for me, thx |
God i am so embarrassed. I though I had already done that. Everything back to normal. Thanks alot! |
@Unr3aL - I'm embarrassed by the bug - so it's two of us lol 😅 |
released in 24.2.17 |
Is there an existing issue for this?
Current Behavior
I have upgrade with the last version, yesterday. Tab devices is empty, I have check and setup "my devices" option with the new version
Expected Behavior
to see all devices on "my devices"
Steps To Reproduce
No response
pialert.conf
docker-compose.yml
What branch are you running?
Production
pialert.log
15:10:31 [Process Scan] Processing scan results
15:10:31 [Process Scan] Print Stats
15:10:31 [Scan Stats] Devices Detected.......: 28
15:10:31 [Scan Stats] New Devices............: 0
15:10:31 [Scan Stats] Down Alerts............: 0
15:10:31 [Scan Stats] New Down Alerts........: 0
15:10:31 [Scan Stats] New Connections........: 10
15:10:31 [Scan Stats] Disconnections.........: 0
15:10:31 [Scan Stats] IP Changes.............: 0
15:10:31 [Scan Stats] Scan Method Statistics:
15:10:31 INTRNT: 1
15:10:31 arp-scan: 26
15:10:31 local_MAC: 1
15:10:31 [Process Scan] Stats end
15:10:31 [Process Scan] Sessions Events (connect / discconnect)
15:10:31 [Process Scan] Creating new devices
15:10:31 [Process Scan] Updating Devices Info
15:10:31 [Process Scan] Voiding false (ghost) disconnections
15:10:31 [Process Scan] Pairing session events (connection / disconnection)
15:10:31 [Process Scan] Creating sessions snapshot
15:10:31 [Process Scan] Inserting scan results into Online_History
15:10:31 [Process Scan] Skipping repeated notifications
15:10:31 [Skip Repeated Notifications] Skip Repeated
15:10:31 [Update Device Name] Trying to resolve devices without name. Unknown devices count: 5
15:10:31 [Update Device Name] Pholus entries from prev scans: 241
15:10:31 [Update Device Name] Names Found (DiG/NSLOOKUP/Pholus): 0 (0/0/0)
15:10:31 [Update Device Name] Names Not Found : 5
15:10:31 [Notification] Check if something to report
15:10:31 [Notification] Included sections: ['new_devices', 'down_devices', 'events']
15:10:31 [Notification] No changes to report
15:10:31 [MAIN] Process: Wait
15:10:36 [API] Updating table_appevents.json file in /front/api
15:11:12 [Update Device Name] Trying to resolve devices without name. Unknown devices count: 5
15:11:12 [Update Device Name] Pholus entries from prev scans: 241
15:11:12 [Update Device Name] Names Found (DiG/NSLOOKUP/Pholus): 0 (0/0/0)
15:11:12 [Update Device Name] Names Not Found : 5
15:11:12 [Notification] Check if something to report
15:11:12 [Notification] Included sections: ['new_devices', 'down_devices', 'events']
15:11:12 [Notification] No changes to report
15:11:12 [MAIN] Process: Wait
15:12:13 [Update Device Name] Trying to resolve devices without name. Unknown devices count: 5
15:12:13 [Update Device Name] Pholus entries from prev scans: 241
15:12:13 [Update Device Name] Names Found (DiG/NSLOOKUP/Pholus): 0 (0/0/0)
15:12:13 [Update Device Name] Names Not Found : 5
15:12:13 [Notification] Check if something to report
15:12:13 [Notification] Included sections: ['new_devices', 'down_devices', 'events']
15:12:13 [Notification] No changes to report
15:12:13 [MAIN] Process: Wait
15:13:14 [Update Device Name] Trying to resolve devices without name. Unknown devices count: 5
15:13:14 [Update Device Name] Pholus entries from prev scans: 241
15:13:14 [Update Device Name] Names Found (DiG/NSLOOKUP/Pholus): 0 (0/0/0)
15:13:14 [Update Device Name] Names Not Found : 5
15:13:14 [Notification] Check if something to report
15:13:14 [Notification] Included sections: ['new_devices', 'down_devices', 'events']
15:13:14 [Notification] No changes to report
15:13:14 [MAIN] Process: Wait
15:14:15 [Update Device Name] Trying to resolve devices without name. Unknown devices count: 5
15:14:15 [Update Device Name] Pholus entries from prev scans: 241
15:14:16 [Update Device Name] Names Found (DiG/NSLOOKUP/Pholus): 0 (0/0/0)
15:14:16 [Update Device Name] Names Not Found : 5
15:14:16 [Notification] Check if something to report
15:14:16 [Notification] Included sections: ['new_devices', 'down_devices', 'events']
15:14:16 [Notification] No changes to report
15:14:16 [MAIN] Process: Wait
Debug enabled
The text was updated successfully, but these errors were encountered: