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. Restore Cloudron - "ipv4 must be a string" when using Static IP config

Restore Cloudron - "ipv4 must be a string" when using Static IP config

Scheduled Pinned Locked Moved Solved Support
network
5 Posts 3 Posters 977 Views 3 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.
    • d19dotcaD Offline
      d19dotcaD Offline
      d19dotca
      wrote on last edited by girish
      #1

      It seems there's a bug in 7.1.4, as best I could tell anyways. I tried recently to do a restore of a Cloudron instance, and it gave me an error of ipv4 must be a string when I tried to restore using the Static IP option. If I used Public IP, it worked perfectly fine. It was a valid IPv4 address too. Not sure why that failed with that error. Recording here to see if others can reproduce it and confirm this is a bug.

      --
      Dustin Dauncey
      www.d19.ca

      1 Reply Last reply
      2
      • nebulonN nebulon marked this topic as a question on
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        Thanks for the report and I have fixed it now for the next patch release.

        This was overlooked when ipv6 was added. The API previously used ip while the field is now called ipv4.

        d19dotcaD 1 Reply Last reply
        3
        • nebulonN nebulon has marked this topic as solved on
        • nebulonN nebulon

          Thanks for the report and I have fixed it now for the next patch release.

          This was overlooked when ipv6 was added. The API previously used ip while the field is now called ipv4.

          d19dotcaD Offline
          d19dotcaD Offline
          d19dotca
          wrote on last edited by
          #3

          @nebulon Thank you for fixing that so quickly! 🙂

          I feel compelled to ask... is there an automated test you can add (if not done already) that could help prevent those kinds of issues in the future? I assumed Restores were somewhat easy to test given the limited options in the process, so was just a little surprised to see this bug there. But I also totally understand not everything can be caught, but hopefully these add to the list of items to test going forward in some sort of automated fashion.

          --
          Dustin Dauncey
          www.d19.ca

          1 Reply Last reply
          0
          • d19dotcaD d19dotca referenced this topic on
          • S Offline
            S Offline
            skeats
            wrote on last edited by
            #4

            This issue has come up with Cloudron 7.2.5. I have to store my Cloudron instance and I am getting the same error when I put in my static IP. ipv4 must be a string. Can this please be fixed?

            nebulonN 1 Reply Last reply
            0
            • S skeats

              This issue has come up with Cloudron 7.2.5. I have to store my Cloudron instance and I am getting the same error when I put in my static IP. ipv4 must be a string. Can this please be fixed?

              nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #5

              @skeats this is fixed already but pending a Cloudron release. We got a bit behind schedule this time.

              1 Reply Last reply
              1
              • P prusaman referenced this topic 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