Hi, I was trying to follow along on the tutorial for implementing code-server from the marketplace here: https://marketplace.digitalocean.com/apps/code-server?ipAddress=188.166.250.224#getting-started
But when I entered the console and logged into root user, I couldn’t find any of the directories it was mentioning via ll. Namely: “/etc/code-server/pass”
Am I doing something wrong? Is the app broken?
Please help. :(
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 @gabbyvilloria,
I just created a code-server from the marketplace. I can confirm the file
/etc/code-server/pass
was there.
Additionally, when you entered via SSH were you shown the following message in your terminal :
********************************************************************************
Welcome to code-server.
code-server may be accessed at https://138.197.186.98.
The password for accessing code-server has been randomly generated
and placed in /etc/code-server/pass.
The /home/coder directory is mounted inside the code-server container
as /home/coder so your project directory on the droplet is at /home/coder/project.
Nothing else is mounted in.
The certificate code-server uses is self signed. It is normal
if your browser gives you a warning when try to access it for the first time.
You can use your own certificate easily by adjusting the arguments to code-server
in /usr/local/bin/code-server.
If you wish to change the password, just modify /etc/code-server/pass
and then restart the code-server systemd unit.
Docs for code-server are available at https://github.com/cdr/code-server.
This droplet also has nginx configured to redirect all HTTP requests to HTTPS.
********************************************************************************
I assume by accident you have created just a simple droplet rather than one from the marketplace with code-server inside.
I’ll urge you to try one more time to create the droplet.
Regards, KFSys
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.