Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    HTTP 400 code "invalid mount config for type "bind": bind source path does not exist" when installing AdGuard Home

    AdGuard Home
    4
    16
    680
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d19dotca
      d19dotca last edited by d19dotca

      I tried installing AdGuard Home app for the first time, and unfortunately it failed immediately with the following error:

      (HTTP code 400) unexpected - invalid mount config for type "bind": bind source path does not exist: /home/yellowtent/boxdata/certs/d19.ca.host.cert
      

      Any idea why this might happen? Am I supposed to be mounting a volume to it or something? My boxdata folder is symlinked to an external disk, is that possibly a cause of this issue? I also noticed a recent update to it 12 days ago with a release note that seems like it coud be possibly related... fix bug where tls cert and key path were not set in the config file(https://forum.cloudron.io/post/28389)

      --
      Dustin Dauncey
      www.d19.ca

      1 Reply Last reply Reply Quote 0
      • S
        sysadmin last edited by

        I was going to test on the demo to reproduce, but this app is disabled in the demo. Any updates on this?

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          Looks like I missed this post somehow. @sysadmin are you hitting the same issue?

          The app is disabled in the demo for security reasons.

          S 1 Reply Last reply Reply Quote 0
          • S
            sysadmin @girish last edited by

            @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

            1 Reply Last reply Reply Quote 1
            • d19dotca
              d19dotca last edited by

              Thanks for bumping this @sysadmin 🙂

              I haven't tried it since I posted it since it was a non-starter. I'll try it again soon and see if I still run into the same issue in case there was an updated version in the meantime.

              --
              Dustin Dauncey
              www.d19.ca

              1 Reply Last reply Reply Quote 0
              • E
                enesaydogan last edited by

                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
                
                girish 1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff @enesaydogan last edited by

                  @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?

                  d19dotca E 2 Replies Last reply Reply Quote 0
                  • d19dotca
                    d19dotca @girish last edited by

                    @girish Speaking for myself, I tried it on a subdomain (I think I tried dns.<domain>), and that's the error I encountered and then reported it here.

                    --
                    Dustin Dauncey
                    www.d19.ca

                    1 Reply Last reply Reply Quote 0
                    • E
                      enesaydogan @girish last edited by

                      @girish was trying to install on subdomain

                      exp: dns.domain.com
                      
                      girish 1 Reply Last reply Reply Quote 0
                      • girish
                        girish Staff @enesaydogan last edited by

                        @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?

                        E d19dotca 3 Replies Last reply Reply Quote 0
                        • E
                          enesaydogan @girish last edited by enesaydogan

                          @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
                          
                          1 Reply Last reply Reply Quote 0
                          • E
                            enesaydogan @girish last edited by

                            @girish weird thin is my old domain file exist. I was using this domain when i first installed cloudron.

                            /home/yellowtent/boxdata/certs/sinanergrup.com.host.cert
                            
                            
                            girish 1 Reply Last reply Reply Quote 0
                            • d19dotca
                              d19dotca @girish last edited by

                              @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?

                              --
                              Dustin Dauncey
                              www.d19.ca

                              E 1 Reply Last reply Reply Quote 0
                              • E
                                enesaydogan @d19dotca last edited by

                                @d19dotca No my vps dont have sperate disk. All instalation on single disk.

                                1 Reply Last reply Reply Quote 0
                                • girish
                                  girish Staff @enesaydogan last edited by

                                  @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.

                                  E 1 Reply Last reply Reply Quote 0
                                  • E
                                    enesaydogan @girish last edited by

                                    @girish Thanks. Sendding now.

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Powered by NodeBB