mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-06-03 05:41:55 -04:00
Unable to start, error: port "" is not a valid integer
#80
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xaionaro on GitHub (Dec 13, 2020).
In
strace -f ./updaterI do not see any attempts to read any json file.@qdm12 commented on GitHub (Dec 13, 2020):
Are you trying to run the binary out of the container? If so you need to set a few environment variables, you can have a look at the Dockerfile
ENVinstructions.Should fix that one. If it complains more, you can adjust environment variables. I'll work on instructions to make it runnable out of a container today so let's leave the issue opened.
@xaionaro commented on GitHub (Dec 13, 2020):
Yes.
It helped. Thank you.
IMHO, the main problem here is unclear error reporting. It makes sense to mention
LISTENING_PORTin the error message.@qdm12 commented on GitHub (Dec 13, 2020):
Yep actually that's because of a dependency (qdm12/golibs) I got lazy at upgrading, will do it today 😅 Thanks for the feedback!
@qdm12 commented on GitHub (Dec 13, 2020):
Alright I'm upgraded the dependencies, so now error messages should be clearer. I'll skip adding documentation to run it as a binary for now as you need the ui files as well for now, and this was designed especially to run as a container. Thanks!