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