Profiles/settings gone cross browser/device

Hello Friends, I’ve been running with code-sever for the last few weeks, which has been great for the most part. I do have one issue though, when opening code server from a different browser or a different browser on a different device all of the settings and installed extensions in profiles are gone. And when I restart code server service the first device/browser also becomes messed up in that sense. So I’m not doing anything special, simply install code server, setup profiles, install extensions. And when I try to work from multiple devices/browsers it misses the settings. When I restart the service the first device is also missing the settings. Thanks in advance. Michael
8 Replies
Codercord
Codercord6d ago
<#1330465276201930834>
Category
Help needed
Product
code-server
Platform
Linux
Logs
Please post any relevant logs/error messages.
michael
michaelOP5d ago
Feels like I’m missing something trivial. Any will be appreciated. Hello?
Phorcys
Phorcys5d ago
hey, so if you set up your settings and then restart the service they'll just get wiped?
michael
michaelOP4d ago
Hi @Phorcys If I just restart there is no issue. Issues start only when I try to use from multiple devices
Phorcys
Phorcys4d ago
could you send the logs for code-server?
michael
michaelOP4d ago
Possibly, yes. Need to check if they are still there after i fixed it last time. Worst case I can try to reproduce when I get a bit of free time and then will send you the logs. That said, I deduce from your answer that there is nothing special that I should do in order to work from multiple devices/browsers? Also I suspect it has something to do with me creating profiles. One of the other issues that I’ve observed is a project often openning in the default profile and then I need to switch manually, but maybe there is no relation to the current issue with the settings
Phorcys
Phorcys22h ago
it should happen automatically yes hey, I've just tried and I am unable to reproduce your issue, switching browsers works fine for me could you answer the following questions so we can figure out the issue? - how did you install code-server? - which code-server version are you running? code-server -v - does ~/.local/share/code-server/User/settings.json exist?
michael
michaelOP18h ago
Hi @Phorcys ! Thanks for following up. 1. curl -fsSL https://code-server.dev/install.sh | sh -s -- (this is a debian 12 machine) 2. 4.96.2 08cbdfbdf11925e8a14ee03de97b942bba7e8a94 with Code 1.96.2 3. Yes. Here is the user settings: { "workbench.colorTheme": "Monokai", "redhat.telemetry.enabled": false, "java.configuration.runtimes": [ ], "editor.fontSize": 14, "terminal.integrated.fontSize": 14, "workbench.colorCustomizations": { "editor.background": "#070707" }, "git.autofetch": true, "remote.autoForwardPortsSource": "hybrid", "git.confirmSync": false, "editor.minimap.enabled": false, "java.settings.url": "/home/codeserver/dev/java.settings" } I haven't had the chance to try and reproduce the issue yet. Regarding the logs I'm not sure because there are plenty of folders in the logs directory and I'm not sure which information they contain. If you could maybe narrow the request to specific logs or specific keywords in the logs.. One thing that I could maybe add is that I've used this installation also from Safari on iOS (phone). Maybe this is a bit uncommon and could somehow caused the issue.

Did you find this page helpful?