If your kasm-workspaces resets after upgrade in Truenas Scale...
It can be annoying when Kasm resets every time after Truenas Scale kasm-workspaces app upgrade. In my case every upgrade deleted my Ubuntu instance in the workspace, along with the configuration changes I made. And it just happened to me today.
This may be to do with how the app defaults to using "ixVolume (Data created automatically by the system)" for storage and profile.
I am guessing that assigning a host path would make the data persist... I'll find out at the next upgrade.
Try the following steps to create persistent dataset and use them for kasm-workspaces app installation to avoid automatic reset.
1. Go to Datasets
2. Select '<DataPoolOfYourChoice>' then click [Add Dataset] to create a new dataset called 'kasm' of type 'Generic' Dataset Preset.
3. Select 'kasm' and repeat the same to create 'data' and 'profiles' under it.
[DataPoolOfYourChoice] -+- [kasm] -+- [data]
+- [profiles]
4. Go to 'kasm' dataset permissions, change owner and group to 'apps', then tick 'Apply permissions recursively' and click [Save].
5. Go to 'Apps' and install kasm-workspaces, making sure to select the dataset created for
- Kasm Workspaces Opt Storage (map to the kasm/data dataset)
- Kasm Workspaces Profiles Storage (map to the kasm/profiles dataset)
Comments
Post a Comment