Using a code-server 1 click app

Hi, I was trying to follow along on the tutorial for implementing code-server from the marketplace here:

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. :(

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @gabbyvilloria,

I just created a code-server from the marketplace. I can confirm the file


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
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
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