kasmtech / workspaces-issues

20 stars 5 forks source link

[Bug] - Multi-Server with S3 mount for profile loss of data #613

Closed jm1021 closed 2 months ago

jm1021 commented 3 months ago

Existing Resources

Describe the bug As users in our community we go through a process of installing User based tools, git repos, configure a venv, and develop on GitHub pages. It appear that I need to restart on each session.

To Reproduce


# tool from previous session disappears
default:~$ bundle -v
bash: bundle: command not found

# persistent directory exists
default:~$ ls
Desktop    Downloads  Music  PDF       Public     Uploads
Documents  gems       nighthawk  Pictures  Templates  Videos

# the .git directory has become corrupted
default:~$ cd nighthawk/
default:~/nighthawk$ cd portfolio_2025/
default:~/nighthawk/portfolio_2025$ git status
fatal: not a git repository (or any of the parent directories): .git
default:~/nighthawk/portfolio_2025$

Expected behavior Persistent files should be the same as when you closed session.

Screenshots AWS Kasm profile directories are being generated. image

Workspaces Version e.g Version 1.15

Workspaces Installation Method Multi-Server

Client Browser (please complete the following information): chrome, safari

Workspace Server Information (please provide the output of the following commands): (venv) default:~/nighthawk_john/portfolio_2025$ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.4 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.4 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy

Additional context I see an upcoming patch that talks about S3 persistence losing files. Is this related?

jm1021 commented 2 months ago

No reply required