Gotify env variables problem. (Upgrade docker image) #13

Closed
opened 2025-11-20 04:18:43 -05:00 by saavagebueno · 6 comments
Owner

Originally created by @pablomenino on GitHub (Jan 6, 2020).

Hi, in the last version I have this error.

panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8e781b] goroutine 1 [running]: main.setupGotify(0xbc4060, 0xc00049ed20, 0x0, 0x1, 0x1, 0xb2d05e00) /tmp/gobuild/main.go:120 +0xeb main.main() /tmp/gobuild/main.go:53 +0x604

It seems an error whit Gotify, Adding env variables for gotify solve the issue.
I have a Gotify server so is no problem, but this may be a problem for other people.


Rollback to version Nov 28, 2019, everything is fine here.

Originally created by @pablomenino on GitHub (Jan 6, 2020). Hi, in the last version I have this error. ` panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8e781b] goroutine 1 [running]: main.setupGotify(0xbc4060, 0xc00049ed20, 0x0, 0x1, 0x1, 0xb2d05e00) /tmp/gobuild/main.go:120 +0xeb main.main() /tmp/gobuild/main.go:53 +0x604 ` It seems an error whit Gotify, Adding env variables for gotify solve the issue. I have a Gotify server so is no problem, but this may be a problem for other people. ---- Rollback to version Nov 28, 2019, everything is fine here.
Author
Owner

@jenga201 commented on GitHub (Jan 6, 2020):

I'm having this issue also.

What environment variables did you add?

This container isn't tagged, so it's only possible to pull the latest version.

@jenga201 commented on GitHub (Jan 6, 2020): I'm having this issue also. What environment variables did you add? This container isn't tagged, so it's only possible to pull the latest version.
Author
Owner

@qdm12 commented on GitHub (Jan 6, 2020):

Thanks for letting me know! Yes I have changed some things yesterday, I'll fix this now.

@qdm12 commented on GitHub (Jan 6, 2020): Thanks for letting me know! Yes I have changed some things yesterday, I'll fix this now.
Author
Owner

@qdm12 commented on GitHub (Jan 6, 2020):

It should be fixed with the latest commit. It might take 30-45 minutes to build the Docker image for Docker Hub (I don't have my Docker credentials on me).

Alternatively you can build the image with:

docker build -t qmcgaw/ddns-updater https://github.com/qdm12/ddns-updater.git

You can also revert back to another commit by following/adapting the instructions of this section, and build the Docker image locally. I'll add some long due Docker tagging tonight.

@qdm12 commented on GitHub (Jan 6, 2020): It should be fixed with the latest commit. It might take 30-45 minutes to build the Docker image for Docker Hub (I don't have my Docker credentials on me). Alternatively you can build the image with: ```sh docker build -t qmcgaw/ddns-updater https://github.com/qdm12/ddns-updater.git ``` You can also revert back to another commit by following/adapting the instructions of this [section](https://github.com/qdm12/private-internet-access-docker/blob/master/README.md#troubleshooting), and build the Docker image locally. I'll add some long due Docker tagging tonight.
Author
Owner

@qdm12 commented on GitHub (Jan 6, 2020):

I just pulled the image now and tested without Gotify and it works now. Sorry for the trouble!

@qdm12 commented on GitHub (Jan 6, 2020): I just pulled the image now and tested without Gotify and it works now. Sorry for the trouble!
Author
Owner

@jenga201 commented on GitHub (Jan 6, 2020):

Works for me, too. Thanks!

@jenga201 commented on GitHub (Jan 6, 2020): Works for me, too. Thanks!
Author
Owner

@qdm12 commented on GitHub (Jan 6, 2020):

There is a tag I just made, v1 so in case I break something you can fallback to it with

docker pull qmcgaw/ddns-updater:v1
@qdm12 commented on GitHub (Jan 6, 2020): There is a tag I just made, `v1` so in case I break something you can fallback to it with ```sh docker pull qmcgaw/ddns-updater:v1 ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#13