Closed pr4x77 closed 2 months ago
Are you persisting ~/.local/share/code-server
? Settings like the theme should be stored in there, so if you are not persisting that and Docker restarts, everything will be wiped.
I persist "/home/coder/.config", "/home/coder/.local/" and "/home/coder/project".
The path and settings metioned above are in "/home/coder/.local".
Is /home/coder/.local/share/code-server/User/settings.json
reset?
@pr4x77 Please be aware, that some settings are stored in browser storage. 👉 If you delete the browser's cache, those settings are lost.
(Use a browser window in private mode to see what settings are affected)
I rebuild the container with same settings. Since then my problems are gone. I hope that fixed it even though I dont know what caused the container to misbehave like that.
@benz0li and @code-asher ty for your suggestions and help :)
Is there an existing issue for this?
OS/Web Information
code-server --version
: v4.22.0Steps to Reproduce
Didnt found a way to reproduce. Feels like its time or session based.
Expected
Keep Settings
Actual
Loses all settings like theme, default formatter, layout, git ...
Logs
No response
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
I did not test native VS Code
Does this bug reproduce in GitHub Codespaces?
I did not test GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
No response