Skip to content

Proxmox install script fails when it attempts to create /app/api directory as Git has already created it as a symlink to /tmp/api #1806

Description

@leeatkinson

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

When running:
wget https://raw.githubusercontent.com/netalertx/NetAlertX/refs/heads/main/install/proxmox/proxmox-install-netalertx.sh -O proxmox-install-netalertx.sh && chmod +x proxmox-install-netalertx.sh && ./proxmox-install-netalertx.sh

...in Proxmox Debian LXC container, the script will fail with:
mkdir: cannot create directory ‘/app/api’: File exists

This is because /app/api has already been created as a symlink to /tmp/api by Git.

Expected Behavior

Installation on Proxmox LXC container to suceed.

Steps To Reproduce

  1. Create Debian LXC container (I used https://community-scripts.org/scripts/debian)
  2. Run wget https://raw.githubusercontent.com/netalertx/NetAlertX/refs/heads/main/install/proxmox/proxmox-install-netalertx.sh -O proxmox-install-netalertx.sh && chmod +x proxmox-install-netalertx.sh && ./proxmox-install-netalertx.sh
  3. Monitor output

Relevant app.conf settings

N/A

docker-compose.yml

N/A

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

N/A

Docker Logs

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Contributors 🙏Open for contributors to step in & help as I don't have time & expertise for everything myself.bug 🐛Something isn't workinghelp wanted 🆘Extra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions