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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Uninstall app (Komga) unsuccessful due to IPv6 error

Uninstall app (Komga) unsuccessful due to IPv6 error

Scheduled Pinned Locked Moved Solved Support
networkingipv6
5 Posts 2 Posters 429 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.
  • perelinP Offline
    perelinP Offline
    perelin
    wrote on last edited by joseph
    #1

    Servus,

    when trying to uninstall an app (in this case Komga) I get the following error in the console:

    External Error: Unable to detect IPv6. API server (ipv6.api.cloudron.io) unreachable
    

    Cloudron is running on a Hetzner VM with default settings. Any idea how to approach this?

    Here are the latest logs from the box:

    Mar 21 06:19:35 box:taskworker Starting task 110. Logs are at /home/yellowtent/platformdata/logs/2c7ed3c1-2ea3-4994-9fe9-2b833ea0765c/apptask.log
    Mar 21 06:19:35 box:taskworker Running task of type app
    Mar 21 06:19:35 box:apptask run: startTask installationState: pending_uninstall runState: running
    Mar 21 06:19:35 box:tasks update 110: {"percent":20,"message":"Deleting container"}
    Mar 21 06:19:35 box:shell reverseproxy /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx
    Mar 21 06:19:35 box:shell 2025/03/21 05:19:35 [notice] 1008907#1008907: signal process started
    Mar 21 06:19:35 box:apptask deleteContainer: deleting app containers (app, scheduler)
    Mar 21 06:19:35 box:shell apptask /usr/bin/sudo -S /home/yellowtent/box/src/scripts/configurelogrotate.sh remove 2c7ed3c1-2ea3-4994-9fe9-2b833ea0765c
    Mar 21 06:19:35 box:tasks update 110: {"percent":30,"message":"Teardown addons"}
    Mar 21 06:19:35 box:services teardownAddons: Tearing down ["localstorage","oidc"]
    Mar 21 06:19:35 box:services teardownAddons: Tearing down addon localstorage with options {"sqlite":{"paths":["/app/data/komga/database.sqlite","/app/data/komga/tasks.sqlite"]},"ftp":{"uid":1000,"uname":"cloudron"}}
    Mar 21 06:19:35 box:services teardownLocalStorage
    Mar 21 06:19:35 box:shell services /usr/bin/sudo -S /home/yellowtent/box/src/scripts/clearvolume.sh rmdir /home/yellowtent/appsdata/2c7ed3c1-2ea3-4994-9fe9-2b833ea0765c/data
    Mar 21 06:19:35 box:shell : No such file or directory
    Mar 21 06:19:35 box:shell rmdir: failed to remove '/home/yellowtent/appsdata/2c7ed3c1-2ea3-4994-9fe9-2b833ea0765c/data'
    Mar 21 06:19:35 box:services Tearing down OpenID connect
    Mar 21 06:19:35 box:services teardownAddons: Tearing down addon oidc with options {"loginRedirectUri":"/login/oauth2/code/cloudron"}
    Mar 21 06:19:35 box:tasks update 110: {"percent":40,"message":"Cleanup file manager"}
    Mar 21 06:19:35 box:tasks update 110: {"percent":50,"message":"Deleting app data directory"}
    Mar 21 06:19:35 box:tasks update 110: {"percent":60,"message":"Deleting image"}
    Mar 21 06:19:35 box:docker deleteImage: removing cloudron/org.komga.cloudronapp:202503120856450000
    Mar 21 06:19:35 box:tasks update 110: {"percent":70,"message":"Unregistering domains"}
    Mar 21 06:19:35 box:network/generic getIPv4: querying ipv4.api.cloudron.io to get server IPv4
    Mar 21 06:19:35 box:network/generic getIPv6: querying ipv6.api.cloudron.io to get server IPv6
    Mar 21 06:21:06 box:network/generic getIPv6: Error getting IP. Error: Timeout of 30000ms exceeded at RequestBase._timeoutError (/home/yellowtent/box/node_modules/superagent/lib/request-base.js:712:17) at Timeout.<anonymous> (/home/yellowtent/box/node_modules/superagent/lib/request-base.js:727:12) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7) { timeout: 30000, code: 'ECONNABORTED', errno: 'ETIME', response: undefined, retries: 2 }
    Mar 21 06:21:06 box:apptask run: app error for state pending_uninstall: BoxError: Unable to detect IPv6. API server (ipv6.api.cloudron.io) unreachable at Object.getIPv6 (/home/yellowtent/box/src/network/generic.js:74:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Object.getIPv6 (/home/yellowtent/box/src/network.js:162:20) at async Object.unregisterLocations (/home/yellowtent/box/src/dns.js:312:18) at async uninstall (/home/yellowtent/box/src/apptask.js:777:5) { reason: 'External Error', details: {} }
    Mar 21 06:21:06 box:tasks setCompleted - 110: {"result":null,"error":{"stack":"BoxError: Unable to detect IPv6. API server (ipv6.api.cloudron.io) unreachable\n at Object.getIPv6 (/home/yellowtent/box/src/network/generic.js:74:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Object.getIPv6 (/home/yellowtent/box/src/network.js:162:20)\n at async Object.unregisterLocations (/home/yellowtent/box/src/dns.js:312:18)\n at async uninstall (/home/yellowtent/box/src/apptask.js:777:5)","name":"BoxError","reason":"External Error","details":{},"message":"Unable to detect IPv6. API server (ipv6.api.cloudron.io) unreachable"}}
    Mar 21 06:21:06 box:taskworker Task took 90.895 seconds
    Mar 21 06:21:06 box:tasks update 110: {"percent":100,"result":null,"error":{"stack":"BoxError: Unable to detect IPv6. API server (ipv6.api.cloudron.io) unreachable\n at Object.getIPv6 (/home/yellowtent/box/src/network/generic.js:74:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Object.getIPv6 (/home/yellowtent/box/src/network.js:162:20)\n at async Object.unregisterLocations (/home/yellowtent/box/src/dns.js:312:18)\n at async uninstall (/home/yellowtent/box/src/apptask.js:777:5)","name":"BoxError","reason":"External Error","details":{},"message":"Unable to detect IPv6. API server (ipv6.api.cloudron.io) unreachable"}}
    Mar 21 06:21:06 BoxError: Unable to detect IPv6. API server (ipv6.api.cloudron.io) unreachable
    Mar 21 06:21:06 BoxError: Unable to detect IPv6. API server (ipv6.api.cloudron.io) unreachable
    Mar 21 06:21:06 BoxError: Unable to detect IPv6. API server (ipv6.api.cloudron.io) unreachable
    
    1 Reply Last reply
    1
    • perelinP Offline
      perelinP Offline
      perelin
      wrote on last edited by
      #2

      I see it might have something to do with Cloudron unable to detect the public IP of the Hetzner server.

      image.png

      1 Reply Last reply
      1
      • perelinP Offline
        perelinP Offline
        perelin
        wrote on last edited by
        #3

        In the Hetzner console it looks like IPv6 public is configured.

        image.png

        1 Reply Last reply
        1
        • J Offline
          J Offline
          joseph
          Staff
          wrote on last edited by
          #4

          @perelin for a start, you can disable IPv6 on Cloudron side (Network -> IPv6 -> Disable) . This will let you uninstall Komga.

          Next, the IPv6 is enabled on Hetzner but the VM is probably not configured correctly to use the IPv6. You can run this on the server:

          curl -6 https://ipv6.api.cloudron.io/api/v1/helper/public_ip
          

          If the above does not work (i.e it doesn't print the IPv6), then it's a VM configuration issue. Maybe hetzner has articles on how to configure IPv6 on the server.

          1 Reply Last reply
          1
          • J joseph marked this topic as a question on
          • perelinP Offline
            perelinP Offline
            perelin
            wrote on last edited by
            #5

            Thanks, Looks like IPv6 is not on by default on Hetzner.

            1 Reply Last reply
            0
            • J joseph has marked this topic as solved on
            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