Skip to content

404 Not Found error after new update #1565

@Spidy67

Description

@Spidy67

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

Clicking the NetAlertX icon in the sidebar gives 404 Not Found error.

Expected Behavior

NetAlertX launches

Steps To Reproduce

Press NetAletX icon in sidebar

Relevant app.conf settings

docker-compose.yml

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

 
Search logs
NetAlertX

[20:32:35] NOTICE: This script is used to run custom commands at start of the addon. Instructions here : https://github.com/alexbelgium/hassio-addons/wiki/Running-custom-scripts-in-Addons
Execute /addon_configs/db21ed7f_netalertx/netalertx.sh if existing
/etc/cont-init.d/32-ingress.sh: executing
Adapting for ingress
/etc/cont-init.d/91-configure.sh: executing
[20:32:35] INFO: Initiating scan of Home Assistant network configuration...
... Detected local IP: 10.1.1.247
... Scanning network for changes
Scanning interface: enp1s0
... enp1s0 is already configured in app.conf
Scanning interface: wlp2s0
... wlp2s0 is already configured in app.conf
[20:32:35] INFO: Network scan completed.
/etc/cont-init.d/99-run.sh: executing
[20:32:35] INFO: Starting upstream app
 _   _      _    ___  _           _  __   __
| \ | |    | |  / _ \| |         | | \ \ / /
|  \| | ___| |_/ /_\ \ | ___ _ __| |_ \ V /
| .   |/ _ \ __|  _  | |/ _ \  __| __|/   \
| |\  |  __/ |_| | | | |  __/ |  | |_/ /^\ \
\_| \_/\___|\__\_| |_/_|\___|_|   \__\/   \/
   Network intruder and presence detector.
   https://netalertx.com
Startup pre-checks
--> data migration.sh 
--> capabilities audit.sh 
══════════════════════════════════════════════════════════════════════════════
🚨 ALERT: Python execution capabilities (NET_RAW/NET_ADMIN) are missing.
    The Python binary in this image has file capabilities (+eip) that
    require these bits in the container's bounding set. Without them,
    the binary will fail to execute (Operation not permitted).
    Restart with: --cap-add=NET_RAW --cap-add=NET_ADMIN
══════════════════════════════════════════════════════════════════════════════
══════════════════════════════════════════════════════════════════════════════
⚠️  WARNING: Reduced functionality (NET_BIND_SERVICE missing).
    Tools like nbtscan cannot bind to privileged ports (UDP 137).
    This will reduce discovery accuracy for legacy devices.
    Consider adding: --cap-add=NET_BIND_SERVICE
══════════════════════════════════════════════════════════════════════════════
Security context: Operational capabilities (CHOWN SETGID SETUID) not granted.
See https://docs.netalertx.com/docker-troubleshooting/missing-capabilities
--> mounts.py 
 Path                     | R | W | Mount | RAMDisk | Performance | DataLoss 
--------------------------+---+---+-------+---------+-------------+----------
 /data                    | ✅| ✅|   ✅  |    ➖   |      ➖     |    ✅     
 /config/db               | ✅| ✅|   ✅  |    ➖   |      ➖     |    ✅     
 /config/config           | ✅| ✅|   ✅  |    ➖   |      ➖     |    ✅     
 /tmp/run/tmp             | ✅| ✅|   ✅  |    ✅   |      ✅     |    ✅     
 /tmp/api                 | ✅| ✅|   ✅  |    ✅   |      ✅     |    ✅     
 /tmp/log                 | ✅| ✅|   ✅  |    ✅   |      ✅     |    ✅     
 /tmp/run                 | ✅| ✅|   ✅  |    ✅   |      ✅     |    ✅     
 /tmp/nginx/active-config | ✅| ✅|   ✅  |    ✅   |      ✅     |    ✅     
--> first run config.sh 
--> first run db.sh 
--> mandatory folders.sh 
    * Creating DB locked log.
    * Creating Execution queue log.
--> apply conf override.sh 
--> override individual settings.sh 
--> host optimization.sh 
══════════════════════════════════════════════════════════════════════════════
⚠️  WARNING: ARP flux sysctls are not set.
    Expected values:
      net.ipv4.conf.all.arp_ignore=1
      net.ipv4.conf.all.arp_announce=2
    Note: If using 'network_mode: host', setting these via docker-compose sysctls
    requires the NET_ADMIN capability. When granted, these sysctls will
    modify the host namespace. Otherwise, you must configure them directly
    on your host operating system instead.
    Detection accuracy may be reduced until configured.
    See: https://docs.netalertx.com/docker-troubleshooting/arp-flux-sysctls/
══════════════════════════════════════════════════════════════════════════════
--> writable config.sh 
--> nginx config.sh 
--> expected user id match.sh 
--> host mode network.sh 
--> excessive capabilities.sh 
\033[90mskip\033[0m
--> appliance integrity.sh 
\033[90mskip\033[0m
--> ports available.sh 
Starting /usr/sbin/php-fpm83 -y "/services/config/php/php-fpm.conf" -F (tee stderr to app.php_errors.log)
Starting supercronic --quiet "/services/config/cron/crontab" >>"/tmp/log/cron.log" 2>&1 &
Starting python3  -m server > /tmp/log/stdout.log 2> >(tee /tmp/log/stderr.log >&2)
Starting /usr/sbin/nginx -p "/tmp/run/" -c "/tmp/nginx/active-config/nginx.conf" -g "error_log stderr; error_log /tmp/log/nginx-error.log; daemon off;" &
/opt/venv/lib/python3.12/site-packages/requests/__init__.py:113: RequestsDependencyWarning: urllib3 (2.6.3) or chardet (7.1.0)/charset_normalizer (3.4.5) doesn't match a supported version!
  warnings.warn(
Successfully updated IEEE OUI database (113369 entries)

Live

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 working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions