https://rancher.com/ logo
Title
r

rough-restaurant-20393

04/13/2023, 5:36 PM
Anyone see this error in their background.log upon starting Rancher Desktop 1.6 on Windows 11 Enterprise 64 bit? 2023-04-13T15:09:16.418Z: Error starting up: Error: Platform "win32" is not supported by RcFilePathManager at new b (C:\Users\KH027556\AppData\Local\Programs\Rancher Desktop\resources\app.asar\dist\app\background.js1️⃣19466) at k (C:\Users\KH027556\AppData\Local\Programs\Rancher Desktop\resources\app.asar\dist\app\background.js1️⃣20819) at C:\Users\KH027556\AppData\Local\Programs\Rancher Desktop\resources\app.asar\dist\app\background.js:29:96630
Rancher Desktop does not open
w

wide-mechanic-33041

04/13/2023, 5:42 PM
so might say use the current releases, but no issues on my w11 assuming Control Flow Guard is enabled so that Virtualization Platform functions
r

rough-restaurant-20393

04/13/2023, 5:47 PM
Organization limits us to 1.6 as the latest approved release. Control Flow was enabled. Disabling and restarting to see if that changes the outcome.
👍 1
No help, same error.
It's like it thinks it is on a 32 bit os
w

wide-mechanic-33041

04/13/2023, 5:59 PM
r

rough-restaurant-20393

04/13/2023, 6:02 PM
So is this saying this is a known reported issue?
w

wide-mechanic-33041

04/13/2023, 6:03 PM
more others have had it, but no root cause like you saw with the Slack message
r

rough-restaurant-20393

04/13/2023, 6:03 PM
Looks like they want the background.log stack dump, I will attach it
Attached logs, here is hoping, have an active sprint with Rancher work due
did you change any of the settings around file mapping like enabling 9p or soemthing?
r

rough-restaurant-20393

04/13/2023, 6:10 PM
nothing, default install
w

wide-mechanic-33041

04/13/2023, 6:10 PM
and 1.6 works for others in your org?
r

rough-restaurant-20393

04/13/2023, 6:13 PM
one other person, who said they had issues getting it to work but was months ago
if (platform !== 'linux' && platform !== 'darwin') { throw new Error(
Platform "${ platform }" is not supported by RcFilePathManager
); } Is Darwin Windows?
w

wide-mechanic-33041

04/13/2023, 6:15 PM
no mac
r

rough-restaurant-20393

04/13/2023, 6:15 PM
OSX and Linux? Why is it not testing for Windows?
w

wide-mechanic-33041

04/13/2023, 6:15 PM
basically win32 is windows so that codepath is intended for unix like OSs
question is why your install is going down that path
r

rough-restaurant-20393

04/13/2023, 6:16 PM
image.png
I think getting the setting from C:\Program Files\Rancher Desktop\settings.json "pathManagementStrategy": "rcfiles",
`export function getPathManagerFor(strategy: PathManagementStrategy): PathManager { switch (strategy) { case PathManagementStrategy.Manual: return new ManualPathManager(); case PathManagementStrategy.RcFiles: return new RcFilePathManager(); case PathManagementStrategy.NotSet: return new NotSetPathManager(); default: throw new Error(
Invalid strategy "${ strategy }"
); }}`
Makes me want to try "pathManagementStrategy": "Manual"
w

wide-mechanic-33041

04/13/2023, 6:45 PM
hey it can only get better. 😉
r

rough-restaurant-20393

04/13/2023, 6:48 PM
no change
w

wide-mechanic-33041

04/13/2023, 6:49 PM
try “notset”
thats what is on my machine
though mine is in the User install location as well vs Program Files
r

rough-restaurant-20393

04/13/2023, 6:50 PM
same thing, yeah it's like it is finding it somewhere else, let me look
w

wide-mechanic-33041

04/13/2023, 6:51 PM
%APPDATA%\rancher-desktop is my settings.json
r

rough-restaurant-20393

04/13/2023, 6:53 PM
Houston we have lift off!!!
👍 1
You rock
I should have looked for another copy since the error was not changing
w

wide-mechanic-33041

04/13/2023, 6:54 PM
so still a mystery on why it was set to rcfiles which should only be used on unix like machines
r

rough-restaurant-20393

04/13/2023, 6:54 PM
true
but that is not part of my sprint work lol
😉 1
s

salmon-zebra-10173

04/14/2023, 10:46 AM
I'm wondering if the issue is related to your installation. On https://rancher-users.slack.com/archives/C0200L1N1MM/p1681409812779229?thread_ts=1681407400.244819&cid=C0200L1N1MM I saw you used an *.msi file, but the Rancher Desktop MSI installer has been added with version 1.7.0.