-
-
Notifications
You must be signed in to change notification settings - Fork 409
DB unable to be initialized #1392
Copy link
Copy link
Closed
Labels
Docker 🐋Docker relatedDocker relatedSetup 📥These are probably setup or user environment related issues.These are probably setup or user environment related issues.Waiting for reply⏳Waiting for the original poster to respond, or discussion in progress.Waiting for the original poster to respond, or discussion in progress.next release/in dev image 🚀This is coming in the next release or was already released if the issue is Closed.This is coming in the next release or was already released if the issue is Closed.
Metadata
Metadata
Assignees
Labels
Docker 🐋Docker relatedDocker relatedSetup 📥These are probably setup or user environment related issues.These are probably setup or user environment related issues.Waiting for reply⏳Waiting for the original poster to respond, or discussion in progress.Waiting for the original poster to respond, or discussion in progress.next release/in dev image 🚀This is coming in the next release or was already released if the issue is Closed.This is coming in the next release or was already released if the issue is Closed.
Type
Fields
Give feedbackNo fields configured for issues without a type.
What installation are you running?
Production (netalertx) 📦
Did I research?
The issue occurs in the following browsers. Select at least 2.
What I want to do
Install/run the app.
Relevant settings you changed
run --network=host -v ./data:/data -v /etc/localtime:/etc/localtime --tmpfs /tmp:uid=${NETALERTX_UID:-20211},gid=${NETALERTX_GID:-20211},mode=1700 -e PORT=20211 -e APP_CONF_OVERRIDE={"GRAPHQL_PORT":"20214"} ghcr.io/jokob-sk/netalertx:latest
docker-compose.yml
app.log
Startup pre-checks
--> storage permission.sh
--> data migration.sh
--> mounts.py
env: can't execute 'python3': Operation not permitted
mounts.py: FAILED with 126
Failure detected in: /entrypoint.d/10-mounts.py
--> first run config.sh
--> first run db.sh
══════════════════════════════════════════════════════════════════════════════
🆕 First run detected. Building initial database schema in /data/db/app.db.
══════════════════════════════════════════════════════════════════════════════
Error: unable to open database "/data/db/app.db": unable to open database file
══════════════════════════════════════════════════════════════════════════════
❌ CRITICAL: Database schema creation failed for /data/db/app.db.
══════════════════════════════════════════════════════════════════════════════
Debug enabled