Exi
Exi
DDokploy
Created by Exi on 8/9/2024 in #old-help
Auto deploy from github not working after domain update
To Reproduce 1. Install Dokploy 2. Set domain to example.com 3. Create and install github application 5. Change Dokploy domain to sub.example.com 6. Now auto deploy after push not working I think the problem is that the GitHub app needs to be reinstalled after changing the domain, but there is no notification about this or automatic reset of the app. At the same time, all repositories (include private) are also available in the Github provider without reinstall
6 replies
DDokploy
Created by Exi on 8/6/2024 in #old-help
can't mount the file
I used example from https://discord.com/channels/1234073262418563112/1253358117513855049/1253383890064773191 but get error while deploy:
Initializing deployment
Creating File 'docker-compose.yml' to /etc/dokploy/compose/test-nginx-79c2af/code: ✅

File 'docker-compose.yml' created: ✅

╔══════════════════════════════════════════════════════════════════════════════╗

App Name: test-nginx-79c2af ║
Build Compose 🐳 ║
Detected: 2 mounts 📂 ║
Command: docker compose -p test-nginx-79c2af -f docker-compose.yml up -d
--build --remove-orphans
Source Type: docker raw ✅ ║
Compose Type: docker-compose ✅ ║

╚══════════════════════════════════════════════════════════════════════════════╝
Container test-nginx-79c2af-whoami-1 Running
Container test-nginx-79c2af-nginx-1 Starting
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/etc/dokploy/compose/test-nginx-79c2af/code/nginx.conf" to rootfs at "/etc/nginx/nginx.conf": mount /etc/dokploy/compose/test-nginx-79c2af/code/nginx.conf:/etc/nginx/nginx.conf (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
Error
Initializing deployment
Creating File 'docker-compose.yml' to /etc/dokploy/compose/test-nginx-79c2af/code: ✅

File 'docker-compose.yml' created: ✅

╔══════════════════════════════════════════════════════════════════════════════╗

App Name: test-nginx-79c2af ║
Build Compose 🐳 ║
Detected: 2 mounts 📂 ║
Command: docker compose -p test-nginx-79c2af -f docker-compose.yml up -d
--build --remove-orphans
Source Type: docker raw ✅ ║
Compose Type: docker-compose ✅ ║

╚══════════════════════════════════════════════════════════════════════════════╝
Container test-nginx-79c2af-whoami-1 Running
Container test-nginx-79c2af-nginx-1 Starting
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/etc/dokploy/compose/test-nginx-79c2af/code/nginx.conf" to rootfs at "/etc/nginx/nginx.conf": mount /etc/dokploy/compose/test-nginx-79c2af/code/nginx.conf:/etc/nginx/nginx.conf (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
Error
How i can mount file from "File mount"?
3 replies