bb-code-server crashing on boot

Hello,

I’m running into some intermittent problems with bb-code-server and VSCode, could someone help me out?

Essentially, my network is up and working (I can ssh in) but my VSCode won’t launch sometimes. My journalctl output (below) points to a settings cp command as the culprit, but I have used beaglebones extensively without this issue in the past. When I run the same command manually, it works without issue. I am working from the EMMC and I have over 500M of storage left. I’m not really sure what the issue can be otherwise…

I am running off of the 2023 beaglebone Debian distribution.

$: journalctl -u bb-code-server.service

Jun 18 14:56:06 BeagleBone systemd[1]: Starting BeagleBoard.org Code Server…
Jun 18 14:56:08 BeagleBone cp[796]: ‘/opt/bb-code-server/settings.json’ → ‘/home/debian/.local/share/code-server/User/settings.json’
Jun 18 14:56:08 BeagleBone systemd[1]: Started BeagleBoard.org Code Server.
– Boot 6105d2cf90cf4944b5a4d1e70d5ed521 –
Jun 18 14:56:25 BeagleBone cp[1157]: ‘/opt/bb-code-server/settings.json’ → ‘/home/debian/.local/share/code-server/User/settings.json’
– Boot 8105ea1bdca6468b83c062dffd46d0b5 –
Jun 18 14:56:39 BeagleBone code-server[798]: [2023-06-18T14:56:38.938Z] error timed out
Jun 18 14:56:39 BeagleBone systemd[1]: bb-code-server.service: Main process exited, code=exited, status=1/FAILURE
Jun 18 14:56:39 BeagleBone systemd[1]: bb-code-server.service: Failed with result ‘exit-code’.
Jun 18 14:56:39 BeagleBone systemd[1]: bb-code-server.service: Consumed 13.455s CPU time.

Thanks all!

Serious work is done using jetbrains, either pycharm or clion. You can do it both ways, on the light weight boards I just do a simple remote and compile and run on the target or use venv on target. With the heavy weight class board I will install their client on the target. Its not a well documented setup and you will have to purchase the commercial license to run it remotely. Way better than using MS tools.