Skip to content

[fixed in 24.2.17] tab devices is emptyΒ #568

@iklo92

Description

@iklo92

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

#-----------------AUTOGENERATED FILE-----------------#
#                                                    #
#         Generated:  2024-02-16_15-05-19            #
#                                                    #
#   Config file for the LAN intruder detection app:  #
#      https://github.com/jokob-sk/Pi.Alert          #
#                                                    #
#-----------------AUTOGENERATED FILE-----------------#


# General
#---------------------------
LOG_LEVEL='verbose'
LOG_LEVEL__metadata="{}"
TIMEZONE='Europe/Paris'
TIMEZONE__metadata="{}"
PLUGINS_KEEP_HIST=250
PLUGINS_KEEP_HIST__metadata="{}"
PIALERT_WEB_PROTECTION=False
PIALERT_WEB_PROTECTION__metadata="{}"
PIALERT_WEB_PASSWORD='8d969eef6ecad3c29a3a629280e686xxxxxxxxxxxxxxxxxx'
PIALERT_WEB_PASSWORD__metadata="{}"
REPORT_DASHBOARD_URL='http://pi.alert'
REPORT_DASHBOARD_URL__metadata="{}"
UI_LANG='English'
UI_LANG__metadata="{}"
UI_PRESENCE=['online','offline','archived']
UI_PRESENCE__metadata="{}"
UI_MY_DEVICES=['online','offline','new','down']
UI_MY_DEVICES__metadata="{}"
UI_NOT_RANDOM_MAC=[]
UI_NOT_RANDOM_MAC__metadata="{}"
DAYS_TO_KEEP_EVENTS=90
DAYS_TO_KEEP_EVENTS__metadata="{}"
HRS_TO_KEEP_NEWDEV=0
HRS_TO_KEEP_NEWDEV__metadata="{}"
API_CUSTOM_SQL='SELECT * FROM Devices WHERE dev_PresentLastScan = 0'
API_CUSTOM_SQL__metadata="{}"
NETWORK_DEVICE_TYPES=['AP','Gateway','Firewall','Hypervisor','Powerline','Switch','WLAN','PLC','Router','USB LAN Adapter','USB WIFI Adapter','Internet']
NETWORK_DEVICE_TYPES__metadata="{}"

docker-compose.yml

version: "3"
services:
  pialert:
    container_name: pialert
    image: "jokobsk/pi.alert:latest"      
    network_mode: "host"
    restart: unless-stopped
    volumes:
      - ./pialert/config:/home/pi/pialert/config
      - ./pialert/db:/home/pi/pialert/db      
      - ./pialert/log:/home/pi/pialert/front/log
    environment:
      - TZ=Europe/Paris     
      - HOST_USER_ID=1000
      - HOST_USER_GID=1000
      - USER_HOME=xxxx
      - PORT=20211

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

  • I have read and followed the steps in the wiki link above and provided the required debug logs and the log section covers the time when the issue occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug πŸ›Something isn't workingnext release/in dev image πŸš€This is coming in the next release or was already released if the issue is Closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions