I am now able to start the Cloud9 IDE in a web browser, which then attempts to install something. During that process, I get the following error
Already using interpreter /usr/bin/python2.7
New python executable in /home/debian/.c9/python/bin/python2.7
Also creating executable in /home/debian/.c9/python/bin/python
Installing setuptools, pip...done.
environment: line 70: /home/debian/.c9/node/bin/npm: No such file or directory
environment: line 71: /home/debian/.c9/node/bin/npm: No such file or directory
Failed Bash. Exit code 127
One or more errors occured. Please try to resolve them and restart Cloud9 or contact support@c9.io.
Again, something with the user which does not exists anymore… Anyone got an idea hwo to solve this?
The user and group debian did not exist anymore because I deleted them. I then changed those two entries to the new user name. Now there was still the issue that running these scripts required admin rights. I solved that issue by simply commenting out User and Group. Is there a specific reason that those were assigned to debian and not updated when re-installing Cloud9 from my new user? Also, are there any other service files I now need to update this? Maybe I should not have deleted the debian user after all…
Some more testing I did: I restored the user debian and reinstalled the c9-core-installer package. However, I now still have the issue that the cloud9.service is not started because executing the cloud9-symlink shell script still requires admin rights with the default cloud9.service file.
Ah, so you’re in the process of switching the default cloud IDE? I’ve managed ot make it work now by commenting out Group and User again. It seems like a nice tool once it works, unfortunate that it is not maintained anymore.
If I use VSCode, can I still access via Browser similar to before (and if yes, I guess beaglebone.local:3000 does the job?) or does it work differently? I also saw Eclipse theia which looks interesting, but I’m not an expert with Cloud IDEs anyway…
Hmm I installed it but there are still some issue. I get these warnings/errors:
[2021-05-03T15:48:24.727Z] error vscode Handshake timed out {"token":"efb3ba51-13be-4325-b01c-168dfe66799a"}
Error: invalid distance too far back
at Zlib.zlibOnError [as onerror] (zlib.js:182:17) {
errno: -3,
code: 'Z_DATA_ERROR'
}
[2021-05-03T15:48:25.424Z] warn vscode invalid distance too far back
[2021-05-03T15:48:31.906Z] error vscode Handshake timed out {"token":"7beeba3a-60dc-46d7-8044-fd4744484d20"}
[2021-05-03T15:48:35.409Z] error vscode Handshake timed out {"token":"ed5a734a-9d77-4181-9ccd-ed1fc7bf999d"}
Update, just pushed bb-code-server (3.10.0.20210510.0-0rcnee0~buster+20210511) out today, the Z_DATA_ERROR doesn’t seem to be happening… So it looks to be fixed…
voodoo@x1-am57xx-beagle-x15-2gb:~$ /opt/bb-code-server/start.sh
[2021-05-11T19:10:19.561Z] info code-server 3.10.0 a5e8337c866dd72a91a2203abeb5772eca503a52
[2021-05-11T19:10:19.566Z] info Using user-data-dir ~/.local/share/code-server
[2021-05-11T19:10:19.600Z] info Using config file /var/lib/bb-code-server/config/config.yaml
[2021-05-11T19:10:19.601Z] info HTTP server listening on http://0.0.0.0:3000
[2021-05-11T19:10:19.602Z] info - Authentication is disabled
[2021-05-11T19:10:19.603Z] info - Not serving HTTPS
I’m using VSCode on my Windows box and Remote_SSHing to a BBB. It works pretty well until the connection is lost, which is often. Would it save you some time if this were the default?