Skip to content

all devices are offline after first scan and NBTSCAN + AVAHISCAN stuck if enabled #1473

@tradexsrl

Description

@tradexsrl

What installation are you running?

Production (netalertx) 📦

Did I research?

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

appconf.txt

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:ro

app.log

app.zip

stdout.zip

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

    Setup 📥These are probably setup or user environment related issues.Waiting for reply⏳Waiting for the original poster to respond, or discussion in progress.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions