jpillora / overseer

Monitorable, gracefully restarting, self-upgrading binaries in Go (golang)
MIT License
2.29k stars 208 forks source link

Failed to retreive fd for: :5001 (file tcp [::]:5001: not supported by windows) #77

Open SteveCruise opened 2 years ago

SteveCruise commented 2 years ago

Not support windows?

jpillora commented 2 years ago

I had a PR to add windows support, but I’ve never tested it personally

On Fri, 24 Jun 2022 at 6:18 pm SteveCruise @.***> wrote:

Not support windows?

— Reply to this email directly, view it on GitHub https://github.com/jpillora/overseer/issues/77, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X42ZT7HFABLIL2EME23VQVVNHANCNFSM5ZW63TUQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

SteveCruise commented 2 years ago

windows cause error, please help me

2022/06/24 07:11:28 [overseer master] run
2022/06/24 07:11:28 [overseer master] checking for updates...
2022/06/24 07:11:28 [overseer master] no updates
2022/06/24 07:11:28 [overseer master] starting C:\Users\Administrator\Desktop\xxx.exe
2022/06/24 07:11:28 [overseer slave#1] run
2022/06/24 07:11:28 [overseer slave#1] start program
2022/06/24 07:11:41 [overseer master] streaming update...
2022/06/24 07:11:41 [overseer master] upgraded binary (7220ca4571a1934275d9fe01 -> 870bff2019bce2ecc25fe4e6)
2022/06/24 07:11:41 [overseer master] graceful restart triggered
2022/06/24 07:11:41 [overseer master] signal failed (not supported by windows), assuming slave process died unexpectedly
SteveCruise commented 2 years ago

I'm using v1.1.6

oliverpool commented 2 years ago

I had this issue as well, hence I developed a package for zero-downtime server upgrade, which also works on windows: https://code.pfad.fr/risefront

Code currently hosted on codeberg: https://codeberg.org/pfad.fr/risefront

@jpillora sorry for the shameless plug (actually I would be very honored if you could take a look)

buzzlightyear2k commented 6 months ago

I had a PR to add windows support, but I’ve never tested it personally On Fri, 24 Jun 2022 at 6:18 pm SteveCruise @.> wrote: Not support windows? — Reply to this email directly, view it on GitHub <#77>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X42ZT7HFABLIL2EME23VQVVNHANCNFSM5ZW63TUQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

Can i see your PR, im having the similar issue

buzzlightyear2k commented 4 months ago

I had a PR to add windows support, but I’ve never tested it personally On Fri, 24 Jun 2022 at 6:18 pm SteveCruise @.> wrote: Not support windows? — Reply to this email directly, view it on GitHub <#77>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X42ZT7HFABLIL2EME23VQVVNHANCNFSM5ZW63TUQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

Please help meeeee !