-
-
Notifications
You must be signed in to change notification settings - Fork 367
Description
What installation are you running?
Production (netalertx) 📦
Did I research?
- I have searched the docs https://docs.netalertx.com/
- I have searched the existing open and closed issues
- I confirm my SCAN_SUBNETS is configured and tested as per https://docs.netalertx.com/SUBNETS
The issue occurs in the following browsers. Select at least 2.
- Firefox
- Chrome
- Other (unsupported) - PRs welcome
- N/A - This is an issue with the backend
What I want to do
Hi , i'm using for a while netalertx v26.1.17 with docker-compose on a rocky linux 9.5 with selinux disabled "paired" with a remote node . at the beginning device in this node appear correctly online and offline , now all devices are offline , instead the device pulled from the node are correctly online and this is not possible because are for example production servers and client that are running
i tried to do some maintenance using the maintenance section and the tool section , then after the first scan device reappear online but then again after a while again all offline. i stop the stack in portainer , delete all file from db directory and start again the stack , again the same issue and i notice the NBTSCAN + AVAHISCAN stuck. so i decide to disable these plugin by first disabling the schedule and then delete them from the loaded plugins. in this way scanning is not stuck but again all devices are offline
please see docker-compose , app.conf , logs attached for app and from stdout when trace is enabled
the persmission on db and config subdir are 20211:20211 0775
Relevant settings you changed
docker-compose.yml
services:
netalertx:
image: jokobsk/netalertx:latest
container_name: netalertx
network_mode: "host"
restart: always
environment:
- TZ=Europe/Rome
- PUID=20211
- PGID=20211
- PORT=20211
- LISTEN_ADDR=0.0.0.0
- GRAPHQL_PORT=20212
cap_drop:
- ALL
cap_add:
- NET_ADMIN
- NET_RAW
- NET_BIND_SERVICE
- CHOWN
- SETUID
- SETGID
read_only: true
tmpfs:
- "/tmp:uid=20211,gid=20211,mode=1700,rw,noexec,nosuid,nodev,async,noatime,nodiratime"
volumes:
- /docker/netalertx/data:/data
- /etc/localtime:/etc/localtime:roapp.log
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.