Skip to content

Homepage widget issue #1569

@dtech77pl

Description

@dtech77pl

What installation are you running?

Production (netalertx) 📦

Is there an existing issue for this?

The issue occurs in the following browsers. Select at least 2.

  • Firefox
  • Chrome
  • Edge
  • Safari (unsupported) - PRs welcome
  • N/A - This is an issue with the backend

Current Behavior

I'm not sure this is the right place to raise this issue, but I will proceed.

I'm using the homepage with the Netalertix widget, but it doesn't seem to be showing the correct information.
My NetAlertX is showing this summary:

Image

But on the homepage, I have 33 devices listed as new, and all my devices are connected.

Image

I have cleared the cache for both applications, even on the nearly reinstalled machine, and it's always the same.
This is how the homepage widget is set up:

#- Servers:
- NetAlertX Warsaw:
icon: https://avatars.githubusercontent.com/u/96159884?v=4
href: http://192.168.77.10:20211
statusStyle: "dot"
ping: http://192.168.77.10
description: NetAlertX
widget:
type: netalertx
url: http://192.168.77.10:20212
hideErrors: true
version: 2
key: properkey :)# optional, only if password is enabled

Is there anything that can be done from the Netalertix software, or should this be raised as an issue with the homepage?

I don't recall when this started. I'm still using the developer version, but the stable one is the same.

Expected Behavior

The homepage is not showing proper information.

Steps To Reproduce

use hopepage/

Relevant app.conf settings

#-----------------AUTOGENERATED FILE-----------------#
#                                                    #
#         Generated:  2026-03-16_09-53-41                 #
#                                                    #
#   Config file for the LAN intruder detection app:  #
#      https://github.com/netalertx/NetAlertX        #
#                                                    #
#-----------------AUTOGENERATED FILE-----------------#


# General

docker-compose.yml

version: "3"
services:
  netalertx_fresh:
    container_name: netalertx_waw_dev
    image: "ghcr.io/netalertx/netalertx-dev"
    hostname: WAW-Dev
#    privileged: true
#     use the below line if you want to test the latest dev image
#     image: "jokobsk/netalertx-dev:latest" 
#    image: "ghcr.io/netalertx/netalertx-dev:26.2.6"
    network_mode: "host"
    # It is most secure to start with user 20211, but then we lose provisioning capabilities.
    # user: "${NETALERTX_UID:-20211}:${NETALERTX_GID:-20211}"
    cap_drop:                                       # Drop all capabilities for enhanced security
      - ALL
    cap_add:                                        # Add only the necessary capabilities
      - NET_ADMIN                                   # Required for scanning with arp-scan, nmap, nbtscan, traceroute, and zero-conf
      - NET_RAW                                     # Required for raw socket operations with arp-scan, nmap, nbtscan, traceroute and zero-conf
      - NET_BIND_SERVICE                            # Required to bind to privileged ports with nbtscan
      - CHOWN                                       # Required for root-entrypoint to chown /data + /tmp before dropping privileges
      - SETUID                                      # Required for root-entrypoint to switch to non-root user
      - SETGID                                      # Required for root-entrypoint to switch to non-root group  
    restart: unless-stopped
    volumes:
      - /volume1/docker/netalertx-dev/data:/data

#      - /volume1/docker/netalertx/config:/data/config
#      - /volume1/docker/netalertx/db:/data/db
#      - /volume1/docker/netalertx/logs:/data/log     
#      - /volume1/docker/netalertx/data:/data  # 🆕 This folder contains your /db and /config directories and the parent changed from /app to /data
#      - /volume1/docker/netalertx/config:/data/config
#      - /volume1/docker/netalertx/db:/data/db 
      # Ensuring the timezone is the same as on the server - make sure also the TIMEZONE setting is configured
      - /etc/localtime:/etc/localtime:ro    # 🆕 New line
    environment:
      - PORT=20211
    # 🆕 New "tmpfs" section START 🔽
    tmpfs:
      # All writable runtime state resides under /tmp; comment out to persist logs between restarts
      - "/tmp:uid=20211,gid=20211,mode=1700,rw,noexec,nosuid,nodev,async,noatime,nodiratime"
    # 🆕 New "tmpfs" section END

Debug or Trace 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.

Relevant app.log section

  PASTE LOG HERE. Using the triple backticks preserves format.

Docker Logs

  PASTE DOCKER LOG HERE. Using the triple backticks preserves format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Waiting for reply⏳Waiting for the original poster to respond, or discussion in progress.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