Proxmox install script fails when it attempts to create /app/api directory as Git has already created it as a symlink to /tmp/api
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- bash, git
- Domain
- devops
Research direction
Start with install/proxmox/proxmox-install-netalertx.sh and trace the step that creates /app/api, accounting for Git having created it as a symlink to /tmp/api. Reproduce in a Debian Proxmox LXC container using the command in the issue; done means the installation completes without the /app/api mkdir error.
Written by the indexing model from the issue text.
Description
What installation are you running?
Production (netalertx) 📦
Is there an existing issue for this?
- I have searched the existing open and closed issues and I checked the docs https://docs.netalertx.com/
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
- Create Debian LXC container (I used https://community-scripts.org/scripts/debian)
- 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 - 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
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 456
- Avg merge
- 16h 25m
- Merged PRs (30d)
- 30
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from netalertx/NetAlertX
-
Docker 🐋
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug 🐛 next release/in dev image 🚀 Waiting for reply⏳
Difficulty 3/5 Half a day Newbie friendliness 57/100
netalertx/NetAlertX#1852 · 1 comment ·
Maintainers usually reply within 1 day
-
bug 🐛 next release/in dev image 🚀 Waiting for reply⏳
Difficulty 4/5 3-5 days Newbie friendliness 48/100
netalertx/NetAlertX#1831 · 2 comments ·
Maintainers usually reply within 1 day
-
Feature request ➕ please feedback 💬
Difficulty 5/5 Over a week Newbie friendliness 45/100
netalertx/NetAlertX#1827 · 1 comment ·
Maintainers usually reply within 1 day
-
Feature request ➕ please feedback 💬
Difficulty 4/5 3-5 days Newbie friendliness 48/100
netalertx/NetAlertX#1824 · 2 comments ·
Maintainers usually reply within 1 day
All issues in netalertx/NetAlertX
Similar issues
-
Project submission:Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
slavakurilyak/awesome-ai-agents#845 ·
Maintainers usually reply within 1 day
-
tests: pin that the atomic writers in utils/paths.py stage the temporary file in the target's directoryPossibly taken A pull request linked to this issue is open or already merged. Opendifficulty:2 enhancement good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 92/100
MakazhanAlpamys/Soup#2178 ·
Maintainers usually reply within 1 day
-
[BUG] dcg.waggr permutation p-values are folded twice, so near-zero scores get the smallest p-valuesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
scverse/rapids-singlecell#854 ·
Maintainers usually reply within 1 day
-
Slang input: int8_t4_packed and uint8_t4_packed are copied into CrossGLPossibly taken @ninglinLiu claimed this today. Openarea:frontend backend:slang bug direction:input
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
random_elements(unique=True) on an OrderedDict: ZeroDivisionError once only zero weights remain, AssertionError with use_weighting=FalsePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 13 days