Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to update app from squirrel nuts server #98

Open
nxtlvlgg opened this issue Aug 14, 2016 · 1 comment
Open

Unable to update app from squirrel nuts server #98

nxtlvlgg opened this issue Aug 14, 2016 · 1 comment

Comments

@nxtlvlgg
Copy link

nxtlvlgg commented Aug 14, 2016

So I have setup a squirrel nuts server for my electron app and everything is up and running, but when it checked the feed url for an update, it doesn't find an update.

The update-available event never fires. Only ever gives update-not-available.

The feed url is set to:
https://nuts.mywebsite.com/update/platform/version

I have two releases in my github repo, and the first one is installed.

I should note that I have setup the github webhook, so this shouldn't be a caching issue. I have confirmed that the releases files are all available to download via the url manually.

I checked the SquirrelSetup.log file and it seems to be hitting the URL, just not getting the update.

2016-08-13 23:36:04> CheckForUpdateImpl: Downloading RELEASES file from https://nuts.mywebsite.com/update/win32/0.0.1-alpha
2016-08-13 23:36:04> FileDownloader: Downloading url: https://nuts.mywebsite.com/update/win32/0.0.1-alpha/RELEASES?id=MyApp&localVersion=0.0.1-alpha&arch=amd64

I'm assuming I am missing some step, either in my build, release, or whatever.

Any help is greatly appreciated!

@codephobia
Copy link

Feel free to close this issue as a duplicate.

So it turns out that this was just a simple issue with the SemVer having a "-alpha" on the end. Once removing that and retesting, it works just fine.

Related to issue #54 which looks like it has been patched in a pull request #52, but not merged yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants