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

Update check not working on Windows #305

Closed
sukidesuka opened this issue Dec 2, 2022 · 4 comments
Closed

Update check not working on Windows #305

sukidesuka opened this issue Dec 2, 2022 · 4 comments

Comments

@sukidesuka
Copy link

I added these package
image

and try checking the update with the "windows_64" platform, it's not working. The response code is 204 No Content
image

info: Applying disable cache policy
--
Fri, Dec 2 2022 6:59:51 pm | debug: Update Search Query { platform: [ 'windows_64' ],
Fri, Dec 2 2022 6:59:51 pm | version: '2.0.2',
Fri, Dec 2 2022 6:59:51 pm | channel: 'stable',
Fri, Dec 2 2022 6:59:51 pm | flavor: 'ep-vpn' }
Fri, Dec 2 2022 6:59:51 pm | debug: Applicable Channels [ 'stable' ]
Fri, Dec 2 2022 6:59:51 pm | debug: Time Filter { '>': 2022-11-28T06:09:25.000Z }
Fri, Dec 2 2022 6:59:51 pm | debug: Newer Versions [ { assets:
Fri, Dec 2 2022 6:59:51 pm | [ { id: '2.0.3_ep-vpn_windows_64_exe',
Fri, Dec 2 2022 6:59:51 pm | name: 'ep-vpn-2.0.3 Setup.exe',
Fri, Dec 2 2022 6:59:51 pm | platform: 'windows_64',
Fri, Dec 2 2022 6:59:51 pm | filetype: '.exe',
Fri, Dec 2 2022 6:59:51 pm | hash:
Fri, Dec 2 2022 6:59:51 pm | 'Z3cm4ja1wYAQrq1ef+i+mUTAbOKhYaE8N1w7rRKPZ8mBLJTm6UaCtJGTr+AwcytjMgxBq6KftuefPWlCK6lcHg==',
Fri, Dec 2 2022 6:59:51 pm | size: 155791360,
Fri, Dec 2 2022 6:59:51 pm | download_count: 0,
Fri, Dec 2 2022 6:59:51 pm | fd:
Fri, Dec 2 2022 6:59:51 pm | '/usr/src/electron-release-server/releases/fd36d4d2-4dfd-4b1b-9cf9-79cddd77499a.exe',
Fri, Dec 2 2022 6:59:51 pm | createdAt: '2022-11-30T07:36:47.000Z',
Fri, Dec 2 2022 6:59:51 pm | updatedAt: '2022-11-30T07:36:47.000Z',
Fri, Dec 2 2022 6:59:51 pm | version: '2.0.3_ep-vpn' },
Fri, Dec 2 2022 6:59:51 pm | { id: '2.0.3_ep-vpn_windows_64_nupkg',
Fri, Dec 2 2022 6:59:51 pm | name: 'ep-vpn-2.0.3-full.nupkg',
Fri, Dec 2 2022 6:59:51 pm | platform: 'windows_64',
Fri, Dec 2 2022 6:59:51 pm | filetype: '.nupkg',
Fri, Dec 2 2022 6:59:51 pm | hash: 'a686718e69270a9b33b18725b6afe434ea6890c4',
Fri, Dec 2 2022 6:59:51 pm | size: 157656655,
Fri, Dec 2 2022 6:59:51 pm | download_count: 1,
Fri, Dec 2 2022 6:59:51 pm | fd:
Fri, Dec 2 2022 6:59:51 pm | '/usr/src/electron-release-server/releases/bf991ed0-7997-4077-957c-3f03e52be078.nupkg',
Fri, Dec 2 2022 6:59:51 pm | createdAt: '2022-11-30T07:36:56.000Z',
Fri, Dec 2 2022 6:59:51 pm | updatedAt: '2022-11-30T07:36:56.000Z',
Fri, Dec 2 2022 6:59:51 pm | version: '2.0.3_ep-vpn' } ],
Fri, Dec 2 2022 6:59:51 pm | channel: 'stable',
Fri, Dec 2 2022 6:59:51 pm | flavor: 'ep-vpn',
Fri, Dec 2 2022 6:59:51 pm | id: '2.0.3_ep-vpn',
Fri, Dec 2 2022 6:59:51 pm | name: '2.0.3',
Fri, Dec 2 2022 6:59:51 pm | availability: '2022-11-30T07:33:58.000Z',
Fri, Dec 2 2022 6:59:51 pm | notes:
Fri, Dec 2 2022 6:59:51 pm | 'Prevent running the second instance on Windows\nFix tailscale not automatically install on Linux sometimes\nFix auto-update not working on Windows and Mac sometimes\nFix reinstall failure on Windows sometimes\nSupport shows a warning when used on the Shenzhen office\nSupport check update on Linux\nSupport uninstall service on Windows and Mac',
Fri, Dec 2 2022 6:59:51 pm | createdAt: '2022-11-30T07:33:58.000Z',
Fri, Dec 2 2022 6:59:51 pm | updatedAt: '2022-11-30T07:33:58.000Z' } ]
Fri, Dec 2 2022 6:59:51 pm | debug: Version candidate undefined
Fri, Dec 2 2022 6:59:51 pm | debug: Current version 2.0.2
Fri, Dec 2 2022 6:59:51 pm | debug: Version candidate denied

But "osx_arm64" is normal
image

info: Applying disable cache policy
--
Fri, Dec 2 2022 7:03:17 pm | debug: Update Search Query { platform: [ 'osx_arm64' ],
Fri, Dec 2 2022 7:03:17 pm | version: '2.0.2',
Fri, Dec 2 2022 7:03:17 pm | channel: 'stable',
Fri, Dec 2 2022 7:03:17 pm | flavor: 'ep-vpn' }
Fri, Dec 2 2022 7:03:17 pm | debug: Applicable Channels [ 'stable' ]
Fri, Dec 2 2022 7:03:17 pm | debug: Time Filter { '>': 2022-11-28T06:09:25.000Z }
Fri, Dec 2 2022 7:03:17 pm | debug: Newer Versions [ { assets:
Fri, Dec 2 2022 7:03:17 pm | [ { id: '2.0.3_ep-vpn_osx_arm64_dmg',
Fri, Dec 2 2022 7:03:17 pm | name: 'ep-vpn-2.0.3-arm64.dmg',
Fri, Dec 2 2022 7:03:17 pm | platform: 'osx_arm64',
Fri, Dec 2 2022 7:03:17 pm | filetype: '.dmg',
Fri, Dec 2 2022 7:03:17 pm | hash: '',
Fri, Dec 2 2022 7:03:17 pm | size: 149459484,
Fri, Dec 2 2022 7:03:17 pm | download_count: 0,
Fri, Dec 2 2022 7:03:17 pm | fd:
Fri, Dec 2 2022 7:03:17 pm | '/usr/src/electron-release-server/releases/55807b8f-4459-4aa6-b50d-f57259f799b3.dmg',
Fri, Dec 2 2022 7:03:17 pm | createdAt: '2022-11-30T07:35:03.000Z',
Fri, Dec 2 2022 7:03:17 pm | updatedAt: '2022-11-30T07:35:03.000Z',
Fri, Dec 2 2022 7:03:17 pm | version: '2.0.3_ep-vpn' },
Fri, Dec 2 2022 7:03:17 pm | { id: '2.0.3_ep-vpn_osx_arm64_zip',
Fri, Dec 2 2022 7:03:17 pm | name: 'ep-vpn-darwin-arm64-2.0.3.zip',
Fri, Dec 2 2022 7:03:17 pm | platform: 'osx_arm64',
Fri, Dec 2 2022 7:03:17 pm | filetype: '.zip',
Fri, Dec 2 2022 7:03:17 pm | hash:
Fri, Dec 2 2022 7:03:17 pm | '4jcOSgZVqTNYMmyfZQDmTcmNDdhLF9CbtRzeL7PGY4WWSKzvpY85VwjDde6jcVwJUMLdHjvK+TPCEzEJyh3mZg==',
Fri, Dec 2 2022 7:03:17 pm | size: 152856870,
Fri, Dec 2 2022 7:03:17 pm | download_count: 1,
Fri, Dec 2 2022 7:03:17 pm | fd:
Fri, Dec 2 2022 7:03:17 pm | '/usr/src/electron-release-server/releases/5cd11d75-3e11-4384-9587-89e158a36458.zip',
Fri, Dec 2 2022 7:03:17 pm | createdAt: '2022-11-30T07:35:57.000Z',
Fri, Dec 2 2022 7:03:17 pm | updatedAt: '2022-11-30T07:35:57.000Z',
Fri, Dec 2 2022 7:03:17 pm | version: '2.0.3_ep-vpn' } ],
Fri, Dec 2 2022 7:03:17 pm | channel: 'stable',
Fri, Dec 2 2022 7:03:17 pm | flavor: 'ep-vpn',
Fri, Dec 2 2022 7:03:17 pm | id: '2.0.3_ep-vpn',
Fri, Dec 2 2022 7:03:17 pm | name: '2.0.3',
Fri, Dec 2 2022 7:03:17 pm | availability: '2022-11-30T07:33:58.000Z',
Fri, Dec 2 2022 7:03:17 pm | notes:
Fri, Dec 2 2022 7:03:17 pm | 'Prevent running the second instance on Windows\nFix tailscale not automatically install on Linux sometimes\nFix auto-update not working on Windows and Mac sometimes\nFix reinstall failure on Windows sometimes\nSupport shows a warning when used on the Shenzhen office\nSupport check update on Linux\nSupport uninstall service on Windows and Mac',
Fri, Dec 2 2022 7:03:17 pm | createdAt: '2022-11-30T07:33:58.000Z',
Fri, Dec 2 2022 7:03:17 pm | updatedAt: '2022-11-30T07:33:58.000Z' } ]
Fri, Dec 2 2022 7:03:17 pm | debug: Version candidate { assets:
Fri, Dec 2 2022 7:03:17 pm | [ { id: '2.0.3_ep-vpn_osx_arm64_zip',
Fri, Dec 2 2022 7:03:17 pm | name: 'ep-vpn-darwin-arm64-2.0.3.zip',
Fri, Dec 2 2022 7:03:17 pm | platform: 'osx_arm64',
Fri, Dec 2 2022 7:03:17 pm | filetype: '.zip',
Fri, Dec 2 2022 7:03:17 pm | hash:
Fri, Dec 2 2022 7:03:17 pm | '4jcOSgZVqTNYMmyfZQDmTcmNDdhLF9CbtRzeL7PGY4WWSKzvpY85VwjDde6jcVwJUMLdHjvK+TPCEzEJyh3mZg==',
Fri, Dec 2 2022 7:03:17 pm | size: 152856870,
Fri, Dec 2 2022 7:03:17 pm | download_count: 1,
Fri, Dec 2 2022 7:03:17 pm | fd:
Fri, Dec 2 2022 7:03:17 pm | '/usr/src/electron-release-server/releases/5cd11d75-3e11-4384-9587-89e158a36458.zip',
Fri, Dec 2 2022 7:03:17 pm | createdAt: '2022-11-30T07:35:57.000Z',
Fri, Dec 2 2022 7:03:17 pm | updatedAt: '2022-11-30T07:35:57.000Z',
Fri, Dec 2 2022 7:03:17 pm | version: '2.0.3_ep-vpn' } ],
Fri, Dec 2 2022 7:03:17 pm | channel: 'stable',
Fri, Dec 2 2022 7:03:17 pm | flavor: 'ep-vpn',
Fri, Dec 2 2022 7:03:17 pm | id: '2.0.3_ep-vpn',
Fri, Dec 2 2022 7:03:17 pm | name: '2.0.3',
Fri, Dec 2 2022 7:03:17 pm | availability: '2022-11-30T07:33:58.000Z',
Fri, Dec 2 2022 7:03:17 pm | notes:
Fri, Dec 2 2022 7:03:17 pm | 'Prevent running the second instance on Windows\nFix tailscale not automatically install on Linux sometimes\nFix auto-update not working on Windows and Mac sometimes\nFix reinstall failure on Windows sometimes\nSupport shows a warning when used on the Shenzhen office\nSupport check update on Linux\nSupport uninstall service on Windows and Mac',
Fri, Dec 2 2022 7:03:17 pm | createdAt: '2022-11-30T07:33:58.000Z',
Fri, Dec 2 2022 7:03:17 pm | updatedAt: '2022-11-30T07:33:58.000Z' }
Fri, Dec 2 2022 7:03:17 pm | debug: Current version 2.0.2
Fri, Dec 2 2022 7:03:17 pm | debug: Version candidate accepted
@ArekSredzki
Copy link
Owner

Hi, could you please test with the new version, v2.1.0?

@ArekSredzki
Copy link
Owner

@sukidesuka Were you able to get this resolved?

@ArekSredzki
Copy link
Owner

Please re-open it if the issue is unresolved

@colinrw
Copy link

colinrw commented Feb 10, 2023

@ArekSredzki i got my electron-release-server running, but im not having any success with the actual updating. i was wondering if you need a code signing certificate if you're working in development mode to test if it's working.

With my setup: i uploaded 2 version to the dashboard, V1 and V2 (with .dmg and .zip files), but when I upload V2, it does not do anything in the app. For the URL i use this:

  const server = 'localhost:1337'
  const platform = `${os.platform}_${os.arch()}`
  const url = `${server}/update/${platform}/${app.getVersion()}/stable`
  autoUpdater.setFeedURL(url)

which points to the download link if i put the entire URL in postman.
I do have the following as well:

app.on('ready', () => {
    autoUpdater.checkForUpdatesAndNotify()
  })

Is there anything im missing?
ps: im on macos, but thought i add my comment on a recently posted ticket.

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

3 participants