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

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

    Support
    network
    3
    5
    255
    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 girish

      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 Reply Quote 2
      • Topic has been marked as a question  nebulon nebulon 
      • nebulon
        nebulon Staff last edited by

        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.

        d19dotca 1 Reply Last reply Reply Quote 3
        • Topic has been marked as solved  nebulon nebulon 
        • d19dotca
          d19dotca @nebulon last edited by

          @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 Reply Quote 0
          • Referenced by  d19dotca d19dotca 
          • S
            skeats last edited by

            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?

            nebulon 1 Reply Last reply Reply Quote 0
            • nebulon
              nebulon Staff @skeats last edited by

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

              1 Reply Last reply Reply Quote 1
              • Referenced by  P prusaman 
              • First post
                Last post
              Powered by NodeBB