By xaykogeki
Hi All,
I’ve been following this instruction from Digital Ocean how to set up a code-server in a droplet.
Everytime I start the service, it would be failing to start.
The version I downloaded is 3.1.0 from the latest build of code-server.
Any advice is appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @xaykogeki,
This is because you use a 3.x.x version of Code-Server
Take a look at the release note of the 3.0 version here : https://github.com/cdr/code-server/releases/tag/3.0.0 « Code-server files are no longer packed into a single binary » (binary you try to copy from the code-server DL folder to /usr/local/bin when you follow the tutorial)
You have to move the whole folder or use a 2.x.x. version of Code-Server (2.1698 is the last one which is working with the tutorial)
I reported it so the tutorial could be updated
✌️ Nemrix
Hi @xaykogeki,
Unfortunately, there could be a variety of errors which we won’t be able to forsee. Having said that, can you confirm the errors that get logged on your droplet?
There are a few ways you can do that. The first and easiest would be to check the journalctl. When you try and start/restart your code-server and it fails, the error will be immediately logged in the journalctl. You can see it by doing
journalctl -xe
Once you have the error, provide it here so that we can have some idea where to start troubleshooting.
Regards, KDSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.