HTTP 400 code "invalid mount config for type "bind": bind source path does not exist" when installing AdGuard Home
-
Looks like I missed this post somehow. @sysadmin are you hitting the same issue?
The app is disabled in the demo for security reasons.
-
@girish No, I just wanted to try and help or see if this was still happening on behalf of OP. Sorry I do not have an active pro subscription to test further. I am not sure if this issue is still occurring.
Given the abuse potential, I would call it wise to disable this one on the demo just wanted to check
-
same error while trying to install adguard.
(HTTP code 400) unexpected - invalid mount config for type "bind": bind source path does not exist: /home/yellowtent/boxdata/certs/sinanerholding.com.tr.host.cert
-
@enesaydogan that gives me a good hint. Are you trying to install this in the bare domain? Do you get the same error if you install it in a subdomain?
-
@enesaydogan ok, I just realized from the error message that it is looking for .host.cert file. This means that it is using the "fallback" certificate i.e it couldn't get a proper certificate for the app and had to resort to using the fallback certificate. Can you see the app installation logs to see why it failed to get the cert? Can you also check if the file in the error message exists on the server?
-
@girish this is the log from first install to error.
May 11 21:59:00 box:shell removeCollectdProfile (stdout): Removing collectd stats of 7ab25c70-b5ee-46ca-bb0d-caec99b084c0 May 11 21:59:00 box:shell removeLogrotateConfig spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/configurelogrotate.sh remove 7ab25c70-b5ee-46ca-bb0d-caec99b084c0 May 11 21:59:00 box:apptask dns.sinanerholding.com.tr updating app with values: {"containerId":null} May 11 21:59:00 box:services dns.sinanerholding.com.tr teardownAddons: Tearing down ["localstorage","tls"] May 11 21:59:00 box:services dns.sinanerholding.com.tr Tearing down addon localstorage with options {} May 11 21:59:00 box:services dns.sinanerholding.com.tr teardownLocalStorage May 11 21:59:00 box:services dns.sinanerholding.com.tr Tearing down addon tls with options {} May 11 21:59:00 box:apptask dns.sinanerholding.com.tr updating app with values: {"containerIp":"172.18.20.60"} May 11 21:59:00 box:tasks 6191: {"percent":20,"message":"Downloading icon"} May 11 21:59:00 box:apptask dns.sinanerholding.com.tr Downloading icon of com.adguard.home.cloudronapp@1.3.2 May 11 21:59:00 box:tasks 6191: {"percent":30,"message":"Registering subdomains"} May 11 21:59:00 box:domains registerLocations: Will register [{"subdomain":"dns","domain":"sinanerholding.com.tr"}] with options {"overwriteDns":true} May 11 21:59:01 box:tasks 6191: {"message":"Registering location: dns.sinanerholding.com.tr"} May 11 21:59:01 box:domains Unable to read fallback certificates of sinanerholding.com.tr from disk May 11 21:59:01 box:dns/digitalocean getInternal: getting dns records of sinanerholding.com.tr with dns and type A May 11 21:59:01 box:dns/digitalocean getInternal: null [{"id":149428444,"type":"A","name":"dns","data":"165.22.30.61","priority":null,"port":null,"ttl":30,"weight":null,"flags":null,"tag":null}] May 11 21:59:01 box:dns/digitalocean get: ["165.22.30.61"] May 11 21:59:01 box:domains upsertDNSRecord: dns on sinanerholding.com.tr type A values [ '138.68.70.212' ] May 11 21:59:01 box:domains Unable to read fallback certificates of sinanerholding.com.tr from disk May 11 21:59:01 box:dns/digitalocean upsert: dns for zone sinanerholding.com.tr of type A with values ["138.68.70.212"] May 11 21:59:01 box:dns/digitalocean getInternal: getting dns records of sinanerholding.com.tr with dns and type A May 11 21:59:02 box:dns/digitalocean getInternal: null [{"id":149428444,"type":"A","name":"dns","data":"165.22.30.61","priority":null,"port":null,"ttl":30,"weight":null,"flags":null,"tag":null}] May 11 21:59:07 box:dns/digitalocean upsert: completed with recordIds:[149428444] May 11 21:59:07 box:tasks 6191: {"percent":40,"message":"Downloading image"} May 11 21:59:07 box:docker downloadImage cloudron/com.adguard.home.cloudronapp:20210506-211453-697063d5e May 11 21:59:07 box:docker Downloading image cloudron/com.adguard.home.cloudronapp:20210506-211453-697063d5e. attempt: 1 May 11 21:59:07 box:docker pullImage: will pull cloudron/com.adguard.home.cloudronapp:20210506-211453-697063d5e. auth: no May 11 21:59:08 box:docker pullImage: {"status":"Pulling from cloudron/com.adguard.home.cloudronapp","id":"20210506-211453-697063d5e"} May 11 21:59:08 box:docker pullImage: {"status":"Already exists","progressDetail":{},"id":"83ee3a23efb7"} May 11 21:59:08 box:docker pullImage: {"status":"Already exists","progressDetail":{},"id":"db98fc6f11f0"} May 11 21:59:08 box:docker pullImage: {"status":"Already exists","progressDetail":{},"id":"f611acd52c6c"} May 11 21:59:08 box:docker pullImage: {"status":"Already exists","progressDetail":{},"id":"dcded93e417d"} May 11 21:59:08 box:docker pullImage: {"status":"Already exists","progressDetail":{},"id":"87b63eef5647"} May 11 21:59:08 box:docker pullImage: {"status":"Already exists","progressDetail":{},"id":"006937d76cc6"} May 11 21:59:08 box:docker pullImage: {"status":"Already exists","progressDetail":{},"id":"8dab9e9d2594"} May 11 21:59:08 box:docker pullImage: {"status":"Already exists","progressDetail":{},"id":"2d86b342da5c"} May 11 21:59:08 box:docker pullImage: {"status":"Already exists","progressDetail":{},"id":"3bced370dd4c"} May 11 21:59:08 box:docker pullImage: {"status":"Already exists","progressDetail":{},"id":"038d1280ed6d"} May 11 21:59:08 box:docker pullImage: {"status":"Already exists","progressDetail":{},"id":"71963bcc2a55"} May 11 21:59:08 box:docker pullImage: {"status":"Already exists","progressDetail":{},"id":"62a3a16fcb86"} May 11 21:59:08 box:docker pullImage: {"status":"Already exists","progressDetail":{},"id":"f6927aea9342"} May 11 21:59:08 box:docker pullImage: {"status":"Already exists","progressDetail":{},"id":"88a76cf7025c"} May 11 21:59:08 box:docker pullImage: {"status":"Pulling fs layer","progressDetail":{},"id":"65425573f897"} May 11 21:59:08 box:docker pullImage: {"status":"Pulling fs layer","progressDetail":{},"id":"8b5bc2316013"} May 11 21:59:08 box:docker pullImage: {"status":"Pulling fs layer","progressDetail":{},"id":"a1d57fe8291d"} May 11 21:59:09 box:docker pullImage: {"status":"Downloading","progressDetail":{"current":141,"total":141},"progress":"[==================================================>] 141B/141B","id":"65425573f897"} May 11 21:59:09 box:docker pullImage: {"status":"Verifying Checksum","progressDetail":{},"id":"65425573f897"} May 11 21:59:09 box:docker pullImage: {"status":"Download complete","progressDetail":{},"id":"65425573f897"} May 11 21:59:09 box:docker pullImage: {"status":"Extracting","progressDetail":{"current":141,"total":141},"progress":"[==================================================>] 141B/141B","id":"65425573f897"} May 11 21:59:09 box:docker pullImage: {"status":"Extracting","progressDetail":{"current":141,"total":141},"progress":"[==================================================>] 141B/141B","id":"65425573f897"} May 11 21:59:09 box:docker pullImage: {"status":"Downloading","progressDetail":{"current":110158,"total":10782644},"progress":"[> ] 110.2kB/10.78MB","id":"8b5bc2316013"} May 11 21:59:09 box:docker pullImage: {"status":"Downloading","progressDetail":{"current":609,"total":1714},"progress":"[=================> ] 609B/1.714kB","id":"a1d57fe8291d"} May 11 21:59:09 box:docker pullImage: {"status":"Downloading","progressDetail":{"current":1714,"total":1714},"progress":"[==================================================>] 1.714kB/1.714kB","id":"a1d57fe8291d"} May 11 21:59:09 box:docker pullImage: {"status":"Verifying Checksum","progressDetail":{},"id":"a1d57fe8291d"} May 11 21:59:09 box:docker pullImage: {"status":"Download complete","progressDetail":{},"id":"a1d57fe8291d"} May 11 21:59:09 box:docker pullImage: {"status":"Downloading","progressDetail":{"current":9370038,"total":10782644},"progress":"[===========================================> ] 9.37MB/10.78MB","id":"8b5bc2316013"} May 11 21:59:09 box:docker pullImage: {"status":"Verifying Checksum","progressDetail":{},"id":"8b5bc2316013"} May 11 21:59:09 box:docker pullImage: {"status":"Download complete","progressDetail":{},"id":"8b5bc2316013"} May 11 21:59:09 box:docker pullImage: {"status":"Pull complete","progressDetail":{},"id":"65425573f897"} May 11 21:59:09 box:docker pullImage: {"status":"Extracting","progressDetail":{"current":131072,"total":10782644},"progress":"[> ] 131.1kB/10.78MB","id":"8b5bc2316013"} May 11 21:59:09 box:docker pullImage: {"status":"Extracting","progressDetail":{"current":1179648,"total":10782644},"progress":"[=====> ] 1.18MB/10.78MB","id":"8b5bc2316013"} May 11 21:59:09 box:docker pullImage: {"status":"Extracting","progressDetail":{"current":4980736,"total":10782644},"progress":"[=======================> ] 4.981MB/10.78MB","id":"8b5bc2316013"} May 11 21:59:09 box:docker pullImage: {"status":"Extracting","progressDetail":{"current":9568256,"total":10782644},"progress":"[============================================> ] 9.568MB/10.78MB","id":"8b5bc2316013"} May 11 21:59:09 box:docker pullImage: {"status":"Extracting","progressDetail":{"current":10782644,"total":10782644},"progress":"[==================================================>] 10.78MB/10.78MB","id":"8b5bc2316013"} May 11 21:59:09 box:docker pullImage: {"status":"Pull complete","progressDetail":{},"id":"8b5bc2316013"} May 11 21:59:09 box:docker pullImage: {"status":"Extracting","progressDetail":{"current":1714,"total":1714},"progress":"[==================================================>] 1.714kB/1.714kB","id":"a1d57fe8291d"} May 11 21:59:09 box:docker pullImage: {"status":"Extracting","progressDetail":{"current":1714,"total":1714},"progress":"[==================================================>] 1.714kB/1.714kB","id":"a1d57fe8291d"} May 11 21:59:09 box:docker pullImage: {"status":"Pull complete","progressDetail":{},"id":"a1d57fe8291d"} May 11 21:59:09 box:docker pullImage: {"status":"Digest: sha256:e98ed7deb4da7a38e4f31345a3223185ea1ec8a6f66075fd407d822d2e6b24e5"} May 11 21:59:09 box:docker pullImage: {"status":"Status: Downloaded newer image for cloudron/com.adguard.home.cloudronapp:20210506-211453-697063d5e"} May 11 21:59:09 box:docker downloaded image cloudron/com.adguard.home.cloudronapp:20210506-211453-697063d5e May 11 21:59:09 box:tasks 6191: {"percent":50,"message":"Creating app data directory"} May 11 21:59:09 box:tasks 6191: {"percent":60,"message":"Setting up addons"} May 11 21:59:09 box:services dns.sinanerholding.com.tr setupAddons: Setting up ["localstorage","tls"] May 11 21:59:09 box:services dns.sinanerholding.com.tr Setting up addon localstorage with options {} May 11 21:59:09 box:services dns.sinanerholding.com.tr setupLocalStorage May 11 21:59:09 box:shell createVolume spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/mkdirvolume.sh /home/yellowtent/appsdata/7ab25c70-b5ee-46ca-bb0d-caec99b084c0/data May 11 21:59:09 box:services dns.sinanerholding.com.tr Setting up addon tls with options {} May 11 21:59:09 box:tasks 6191: {"percent":70,"message":"Creating container"} May 11 21:59:09 box:apptask dns.sinanerholding.com.tr creating container May 11 21:59:09 box:domains Unable to read fallback certificates of sinanerholding.com.tr from disk May 11 21:59:09 box:apptask dns.sinanerholding.com.tr error installing app: BoxError: (HTTP code 400) unexpected - invalid mount config for type "bind": bind source path does not exist: /home/yellowtent/boxdata/certs/sinanerholding.com.tr.host.cert at /home/yellowtent/box/src/docker.js:446:44 at /home/yellowtent/box/node_modules/dockerode/lib/docker.js:70:23 at /home/yellowtent/box/node_modules/docker-modem/lib/modem.js:309:7 at getCause (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:331:7) at Modem.buildPayload (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:300:5) at IncomingMessage.<anonymous> (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:275:14) at IncomingMessage.emit (events.js:327:22) at endReadableNT (internal/streams/readable.js:1327:12) at processTicksAndRejections (internal/process/task_queues.js:80:21) { reason: 'Docker Error', details: [Object], nestedError: [Error] May 11 21:59:09 box:apptask dns.sinanerholding.com.tr updating app with values: {"installationState":"error","error":{"message":"(HTTP code 400) unexpected - invalid mount config for type \"bind\": bind source path does not exist: /home/yellowtent/boxdata/certs/sinanerholding.com.tr.host.cert ","statusCode":400,"json":{"message":"invalid mount config for type \"bind\": bind source path does not exist: /home/yellowtent/boxdata/certs/sinanerholding.com.tr.host.cert"},"taskId":"6191","installationState":"pending_install"}} May 11 21:59:09 box:taskworker Task took 10.079 seconds May 11 21:59:09 box:tasks setCompleted - 6191: {"result":null,"error":{"stack":"BoxError: (HTTP code 400) unexpected - invalid mount config for type \"bind\": bind source path does not exist: /home/yellowtent/boxdata/certs/sinanerholding.com.tr.host.cert \n at /home/yellowtent/box/src/docker.js:446:44\n at /home/yellowtent/box/node_modules/dockerode/lib/docker.js:70:23\n at /home/yellowtent/box/node_modules/docker-modem/lib/modem.js:309:7\n at getCause (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:331:7)\n at Modem.buildPayload (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:300:5)\n at IncomingMessage.<anonymous> (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:275:14)\n at IncomingMessage.emit (events.js:327:22)\n at endReadableNT (internal/streams/readable.js:1327:12)\n at processTicksAndRejections (internal/process/task_queues.js:80:21)","name":"BoxError","reason":"Docker Error","details":{},"message":"(HTTP code 400) unexpected - invalid mount config for type \"bind\": bind source path does not exist: /home/yellowtent/boxdata/certs/sinanerholding.com.tr.host.cert ","nestedError":{"stack":"Error: (HTTP code 400) unexpected - invalid mount config for type \"bind\": bind source path does not exist: /home/yellowtent/boxdata/certs/sinanerholding.com.tr.host.cert \n at /home/yellowtent/box/node_modules/docker-modem/lib/modem.js:301:17\n at getCause (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:331:7)\n at Modem.buildPayload (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:300:5)\n at IncomingMessage.<anonymous> (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:275:14)\n at IncomingMessage.emit (events.js:327:22)\n at endReadableNT (internal/streams/readable.js:1327:12)\n at processTicksAndRejections (internal/process/task_queues.js:80:21)","name":"Error","message":"(HTTP code 400) unexpected - invalid mount config for type \"bind\": bind source path does not exist: /home/yellowtent/boxdata/certs/sinanerholding.com.tr.host.cert "}}} May 11 21:59:09 box:tasks 6191: {"percent":100,"result":null,"error":{"stack":"BoxError: (HTTP code 400) unexpected - invalid mount config for type \"bind\": bind source path does not exist: /home/yellowtent/boxdata/certs/sinanerholding.com.tr.host.cert \n at /home/yellowtent/box/src/docker.js:446:44\n at /home/yellowtent/box/node_modules/dockerode/lib/docker.js:70:23\n at /home/yellowtent/box/node_modules/docker-modem/lib/modem.js:309:7\n at getCause (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:331:7)\n at Modem.buildPayload (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:300:5)\n at IncomingMessage.<anonymous> (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:275:14)\n at IncomingMessage.emit (events.js:327:22)\n at endReadableNT (internal/streams/readable.js:1327:12)\n at processTicksAndRejections (internal/process/task_queues.js:80:21)","name":"BoxError","reason":"Docker Error","details":{},"message":"(HTTP code 400) unexpected - invalid mount config for type \"bind\": bind source path does not exist: /home/yellowtent/boxdata/certs/sinanerholding.com.tr.host.cert ","nestedError":{"stack":"Error: (HTTP code 400) unexpected - invalid mount config for type \"bind\": bind source path does not exist: /home/yellowtent/boxdata/certs/sinanerholding.com.tr.host.cert \n at /home/yellowtent/box/node_modules/docker-modem/lib/modem.js:301:17\n at getCause (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:331:7)\n at Modem.buildPayload (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:300:5)\n at IncomingMessage.<anonymous> (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:275:14)\n at IncomingMessage.emit (events.js:327:22)\n at endReadableNT (internal/streams/readable.js:1327:12)\n at processTicksAndRejections (internal/process/task_queues.js:80:21)","name":"Error","message":"(HTTP code 400) unexpected - invalid mount config for type \"bind\": bind source path does not exist: /home/yellowtent/boxdata/certs/sinanerholding.com.tr.host.cert "}}}
I checked server for the file. dont have this file on the server.
/home/yellowtent/boxdata/certs/sinanerholding.com.tr.host.cert
-
@girish I realized I have boxdata as a symblink to an external disk which caused issues in restoring Cloudron before until it was later fixed... is it possible that is an issue in this app package too? Boxdata is where the certs are stored, right? Wonder if that's related here then.
@enesaydogan - do you happen to have your boxdata on a seperate disk?
-
@enesaydogan you can delete that file, if you don't use that domain anymore.
I can't really make out what is wrong. If you can mail us at support@cloudron.io, I can take a look as to why it's failing.
-