Restore Cloudron - "ipv4 must be a string" when using Static IP config
-
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 stringwhen 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. -
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
-
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
ipwhile the field is now calledipv4.@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.
-
D d19dotca referenced this topic on
-
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?
-
P prusaman referenced this topic 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