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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Cloudron v8.0.6 Stuck on Platform Status Starting services, this can take a while

Cloudron v8.0.6 Stuck on Platform Status Starting services, this can take a while

Scheduled Pinned Locked Moved Solved Support
dockerupdate
5 Posts 2 Posters 1.1k Views 2 Watching
  • 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.
  • hareenH Offline
    hareenH Offline
    hareen
    wrote on last edited by joseph
    #1

    My Cloudron instance updated last night to 8.0.6 and it's been stuck on 'starting services'. I have tried rebooting and also restarting box service as mentioned on another post with no luck. The following is the output of the box log:

    docker: 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 "/home/yellowtent/platformdata/mysql" to rootfs at "/var/lib/mysql": mount /home/yellowtent/platformdata/mysql:/var/lib/mysql (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.
    
        at /home/yellowtent/box/src/shell.js:73:23
        at ChildProcess.exithandler (node:child_process:430:5)
        at ChildProcess.emit (node:events:518:28)
        at maybeClose (node:internal/child_process:1105:16)
        at ChildProcess._handle.onexit (node:internal/child_process:305:5)
    2024-09-24T21:52:34.615Z box:shell getSwaps execArgs: swapon ["--noheadings","--raw","--bytes","--show=type,size,used,name"]
    HttpError: Unknown error: 400 <html>
    <head><title>400 Bad Request</title></head>
    <body>
    <center><h1>400 Bad Request</h1></center>
    <hr><center>nginx</center>
    </body>
    </html>
    
        at getSystemGraphs (/home/yellowtent/box/src/routes/system.js:126:28)
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
      status: 500,
      internalError: BoxError: Unknown error: 400 <html>
      <head><title>400 Bad Request</title></head>
      <body>
      <center><h1>400 Bad Request</h1></center>
      <hr><center>nginx</center>
      </body>
      </html>
      
          at Object.getSystem (/home/yellowtent/box/src/graphs.js:106:46)
          at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        reason: 'External Error',
        details: {}
      },
      details: {}
    }
    
    1 Reply Last reply
    1
    • J joseph marked this topic as a question on
    • J Online
      J Online
      joseph
      Staff
      wrote on last edited by
      #2

      @hareen looks like an error from docker. Do you have enough disk space? You can run df -h on the server to check.

      1 Reply Last reply
      0
      • hareenH Offline
        hareenH Offline
        hareen
        wrote on last edited by
        #3

        Hi Joseph, I had 9GB of space on the server when this happened. I run it on linode so I restored a snapshot from 2 days ago, upgrade the VPS which now has 35GB spare space and 2GB spare ram and then upgraded the server. After 2 retries the upgrade still fails which is quiet disappointing.

        [no timestamp]  cmd: 'docker run --restart=always -d --name=mysql --hostname mysql --net cloudron --net-alias mysql --log-driver syslog --log-opt syslog-address=unix:///home/yellowtent/platformdata/logs/syslog.sock --log-opt syslog-format=rfc5424 --log-opt tag=mysql --ip 172.18.30.1 -e CLOUDRON_MYSQL_TOKEN=3c0e900572f8e6a0bf8ab8cac5c745343970e5bb28148ea6e12a17ac1838b5fdb5cd182b8f8bf07bcd30fa27ac4bc5f309d9b5feaa103ccaf21ff6bc210c58401c585a92749fe2a3f6e88a9e5f86fe749a79bc1f6a87d3b8437cc3fa9dd2520c73bc0ab28cae8f83e5ef09308eb38f84084fd672e421185a0df73293ae328597 -e CLOUDRON_MYSQL_ROOT_HOST=172.18.0.1 -e CLOUDRON_MYSQL_ROOT_PASSWORD=49b4e809bd7b9acaf8698e3afd7def7c919388c26d121ea3d17adf968bfb46d2a4d0d88ecd15ea360defc16addf9d0048910b10e7eeeb9336dc5436fc876cc7c463d1aa37b5a534746325092572b7650a53680f3dd8b8eeae5a440391b5ec0c07414c85720a0977d82b1f364f12f43fc490a2b9383420ac7a6680ffa510951b7 -v /home/yellowtent/platformdata/mysql:/var/lib/mysql --label isCloudronManaged=true --cap-add SYS_NICE --read-only -v /tmp -v /run registry.docker.com/cloudron/mysql:3.4.3@sha256:8934c5ddcd69f24740d9a38f0de2937e47240238f3b8f5c482862eeccc5a21d2 '
        [no timestamp]  }
        Sep 26 10:29:48 box:platform startInfra: Failed to start services. retry=false (attempt 0): startMysql errored with code 125 message Command failed: docker run --restart=always -d --name=mysql --hostname mysql --net cloudron --net-alias mysql --log-driver syslog --log-opt syslog-address=unix:///home/yellowtent/platformdata/logs/syslog.sock --log-opt syslog-format=rfc5424 --log-opt tag=mysql --ip 172.18.30.1 -e CLOUDRON_MYSQL_TOKEN=3c0e900572f8e6a0bf8ab8cac5c745343970e5bb28148ea6e12a17ac1838b5fdb5cd182b8f8bf07bcd30fa27ac4bc5f309d9b5feaa103ccaf21ff6bc210c58401c585a92749fe2a3f6e88a9e5f86fe749a79bc1f6a87d3b8437cc3fa9dd2520c73bc0ab28cae8f83e5ef09308eb38f84084fd672e421185a0df73293ae328597 -e CLOUDRON_MYSQL_ROOT_HOST=172.18.0.1 -e CLOUDRON_MYSQL_ROOT_PASSWORD=49b4e809bd7b9acaf8698e3afd7def7c919388c26d121ea3d17adf968bfb46d2a4d0d88ecd15ea360defc16addf9d0048910b10e7eeeb9336dc5436fc876cc7c463d1aa37b5a534746325092572b7650a53680f3dd8b8eeae5a440391b5ec0c07414c85720a0977d82b1f364f12f43fc490a2b9383420ac7a6680ffa510951b7 -v /home/yellowtent/platformdata/mysql:/var/lib/mysql --label isCloudronManaged=true --cap-add SYS_NICE --read-only -v /tmp -v /run registry.docker.com/cloudron/mysql:3.4.3@sha256:8934c5ddcd69f24740d9a38f0de2937e47240238f3b8f5c482862eeccc5a21d2
        [no timestamp]  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 "/home/yellowtent/platformdata/mysql" to rootfs at "/var/lib/mysql": mount /home/yellowtent/platformdata/mysql:/var/lib/mysql (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.
        [no timestamp] 
        Sep 26 10:29:48 box:platform BoxError: startMysql errored with code 125 message Command failed: docker run --restart=always -d --name=mysql --hostname mysql --net cloudron --net-alias mysql --log-driver syslog --log-opt syslog-address=unix:///home/yellowtent/platformdata/logs/syslog.sock --log-opt syslog-format=rfc5424 --log-opt tag=mysql --ip 172.18.30.1 -e CLOUDRON_MYSQL_TOKEN=3c0e900572f8e6a0bf8ab8cac5c745343970e5bb28148ea6e12a17ac1838b5fdb5cd182b8f8bf07bcd30fa27ac4bc5f309d9b5feaa103ccaf21ff6bc210c58401c585a92749fe2a3f6e88a9e5f86fe749a79bc1f6a87d3b8437cc3fa9dd2520c73bc0ab28cae8f83e5ef09308eb38f84084fd672e421185a0df73293ae328597 -e CLOUDRON_MYSQL_ROOT_HOST=172.18.0.1 -e CLOUDRON_MYSQL_ROOT_PASSWORD=49b4e809bd7b9acaf8698e3afd7def7c919388c26d121ea3d17adf968bfb46d2a4d0d88ecd15ea360defc16addf9d0048910b10e7eeeb9336dc5436fc876cc7c463d1aa37b5a534746325092572b7650a53680f3dd8b8eeae5a440391b5ec0c07414c85720a0977d82b1f364f12f43fc490a2b9383420ac7a6680ffa510951b7 -v /home/yellowtent/platformdata/mysql:/var/lib/mysql --label isCloudronManaged=true --cap-add SYS_NICE --read-only -v /tmp -v /run registry.docker.com/cloudron/mysql:3.4.3@sha256:8934c5ddcd69f24740d9a38f0de2937e47240238f3b8f5c482862eeccc5a21d2
        [no timestamp]  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 "/home/yellowtent/platformdata/mysql" to rootfs at "/var/lib/mysql": mount /home/yellowtent/platformdata/mysql:/var/lib/mysql (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.
        [no timestamp] 
        [no timestamp]  at /home/yellowtent/box/src/shell.js:73:23
        [no timestamp]  at ChildProcess.exithandler (node:child_process:430:5)
        [no timestamp]  at ChildProcess.emit (node:events:518:28)
        [no timestamp]  at maybeClose (node:internal/child_process:1105:16)
        [no timestamp]  at ChildProcess._handle.onexit (node:internal/child_process:305:5)
        Sep 26 10:31:26 box:shell getSwaps execArgs: swapon ["--noheadings","--raw","--bytes","--show=type,size,used,name"]
        [no timestamp]  Unknown error: 400 <html>
        Dec 31 23:43:52 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at getSystemGraphs (/home/yellowtent/box/src/routes/system.js:126:28)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  status: 500,
        [no timestamp]  internalError: BoxError: Unknown error: 400 <html>
        [no timestamp]  <head><title>400 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  <center><h1>400 Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at Object.getSystem (/home/yellowtent/box/src/graphs.js:106:46)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  reason: 'External Error',
        [no timestamp]  details: {}
        [no timestamp]  },
        [no timestamp]  details: {}
        [no timestamp]  }
        Sep 26 10:32:10 box:shell getSwaps execArgs: swapon ["--noheadings","--raw","--bytes","--show=type,size,used,name"]
        [no timestamp]  Unknown error: 400 <html>
        Dec 31 23:43:52 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at getSystemGraphs (/home/yellowtent/box/src/routes/system.js:126:28)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  status: 500,
        [no timestamp]  internalError: BoxError: Unknown error: 400 <html>
        [no timestamp]  <head><title>400 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  <center><h1>400 Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at Object.getSystem (/home/yellowtent/box/src/graphs.js:106:46)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  reason: 'External Error',
        [no timestamp]  details: {}
        [no timestamp]  },
        [no timestamp]  details: {}
        [no timestamp]  }
        Sep 26 10:34:34 box:locker Lock unreleased infra_start
        Sep 26 10:35:09 box:shell getSwaps execArgs: swapon ["--noheadings","--raw","--bytes","--show=type,size,used,name"]
        [no timestamp]  Unknown error: 400 <html>
        Dec 31 23:43:52 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at getSystemGraphs (/home/yellowtent/box/src/routes/system.js:126:28)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  status: 500,
        [no timestamp]  internalError: BoxError: Unknown error: 400 <html>
        [no timestamp]  <head><title>400 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  <center><h1>400 Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at Object.getSystem (/home/yellowtent/box/src/graphs.js:106:46)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  reason: 'External Error',
        [no timestamp]  details: {}
        [no timestamp]  },
        [no timestamp]  details: {}
        [no timestamp]  }
        Sep 26 10:39:34 box:locker Lock unreleased infra_start
        Sep 26 10:41:26 box:shell getSwaps execArgs: swapon ["--noheadings","--raw","--bytes","--show=type,size,used,name"]
        [no timestamp]  Unknown error: 400 <html>
        Dec 31 23:43:52 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at getSystemGraphs (/home/yellowtent/box/src/routes/system.js:126:28)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  status: 500,
        [no timestamp]  internalError: BoxError: Unknown error: 400 <html>
        [no timestamp]  <head><title>400 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  <center><h1>400 Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at Object.getSystem (/home/yellowtent/box/src/graphs.js:106:46)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  reason: 'External Error',
        [no timestamp]  details: {}
        [no timestamp]  },
        [no timestamp]  details: {}
        [no timestamp]  }
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  status: 500,
        [no timestamp]  internalError: BoxError: Unknown error: 400 <html>
        [no timestamp]  <head><title>400 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  <center><h1>400 Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at Object.getSystem (/home/yellowtent/box/src/graphs.js:106:46)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  reason: 'External Error',
        [no timestamp]  details: {}
        [no timestamp]  },
        [no timestamp]  details: {}
        [no timestamp]  }
        Sep 26 10:32:10 box:shell getSwaps execArgs: swapon ["--noheadings","--raw","--bytes","--show=type,size,used,name"]
        [no timestamp]  Unknown error: 400 <html>
        Dec 31 23:43:52 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at getSystemGraphs (/home/yellowtent/box/src/routes/system.js:126:28)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  status: 500,
        [no timestamp]  internalError: BoxError: Unknown error: 400 <html>
        [no timestamp]  <head><title>400 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  <center><h1>400 Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at Object.getSystem (/home/yellowtent/box/src/graphs.js:106:46)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  reason: 'External Error',
        [no timestamp]  details: {}
        [no timestamp]  },
        [no timestamp]  details: {}
        [no timestamp]  }
        Sep 26 10:34:34 box:locker Lock unreleased infra_start
        Sep 26 10:35:09 box:shell getSwaps execArgs: swapon ["--noheadings","--raw","--bytes","--show=type,size,used,name"]
        [no timestamp]  Unknown error: 400 <html>
        Dec 31 23:43:52 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at getSystemGraphs (/home/yellowtent/box/src/routes/system.js:126:28)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  status: 500,
        [no timestamp]  internalError: BoxError: Unknown error: 400 <html>
        [no timestamp]  <head><title>400 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  <center><h1>400 Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at Object.getSystem (/home/yellowtent/box/src/graphs.js:106:46)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  reason: 'External Error',
        [no timestamp]  details: {}
        [no timestamp]  },
        [no timestamp]  details: {}
        [no timestamp]  }
        Sep 26 10:39:34 box:locker Lock unreleased infra_start
        Sep 26 10:41:26 box:shell getSwaps execArgs: swapon ["--noheadings","--raw","--bytes","--show=type,size,used,name"]
        [no timestamp]  Unknown error: 400 <html>
        Dec 31 23:43:52 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at getSystemGraphs (/home/yellowtent/box/src/routes/system.js:126:28)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  status: 500,
        [no timestamp]  internalError: BoxError: Unknown error: 400 <html>
        [no timestamp]  <head><title>400 Bad Request</title></head>
        [no timestamp]  <body>
        [no timestamp]  <center><h1>400 Bad Request</h1></center>
        [no timestamp]  <hr><center>nginx</center>
        [no timestamp]  </body>
        [no timestamp]  </html>
        [no timestamp] 
        [no timestamp]  at Object.getSystem (/home/yellowtent/box/src/graphs.js:106:46)
        [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        [no timestamp]  reason: 'External Error',
        [no timestamp]  details: {}
        [no timestamp]  },
        [no timestamp]  details: {}
        [no timestamp]  }
        
        
        
        1 Reply Last reply
        0
        • J Online
          J Online
          joseph
          Staff
          wrote on last edited by
          #4

          @hareen it looks like docker is corrupt . This happens (rarely) and looks like you unlucky here. Can you try cloudron-support --recreate-containers ? If that doesn't help, you can also try cloudron-support --recreate-docker.

          You can also reach out at support@cloudron.io and we can take a look.

          1 Reply Last reply
          1
          • hareenH Offline
            hareenH Offline
            hareen
            wrote on last edited by
            #5

            @joseph , Running 'cloudron-support --recreate-containers' fixed the issue. Thank you.

            1 Reply Last reply
            2
            • J joseph has marked this topic as solved on

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search