Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.84k stars 1.97k forks source link

Unable to install 9.3.2 #7668

Open lmorganl opened 4 months ago

lmorganl commented 4 months ago

Expected Behavior

On windows install exe or automatic update works

Actual Behavior

install crash

Reproduction Steps

start install .exe on windows 23H2 SquirrelSetup.log

Is there an existing issue for this?

Additional Information

No response

Insomnia Version

9.3.2

What operating system are you using?

Windows

Operating System Version

Windows 11 23h2

Installation method

exe

Last Known Working Insomnia version

9.3.1

filfreire commented 4 months ago

Details:

Program: Install path C:\Users\mlegendre\AppData\Local\insomnia already exists, burning it to the ground
2024-07-04 20:36:00> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Impossible de trouver une partie du chemin d'accès 'C:\Users\mlegendre\AppData\Local\insomnia\packages\.betaId'.
   à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   à System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   à System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   à System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
   à System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
   à Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2024-07-04 20:36:00> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Impossible de trouver une partie du chemin d'accès 'C:\Users\mlegendre\AppData\Local\insomnia\packages\RELEASES'.
   à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   à Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
   à Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
lmorganl commented 3 months ago

update from 9.2.0 to 9.3.3 on error with auto-update and exe error.txt