how to update code-server on code-server dropplet?

Posted April 28, 2020 3.8k views
VS Code

Current code-server OneClick dropplet has code-server v3.0.2
Code-server v3.1.1 is available
What would be the procedure to update?
I assume there is more to do than just copying the updated source to /usr/local/lib/code-server.


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.

Submit an Answer
3 answers
Show answer This answer has been marked as resolved by j0nnnnn0.


I have the same issue to update from 3.1.1 to 3.2.0.

I keep getting the push notification, when I click it says it has updated to 3.2.0 but then after a few seconds I get the same notification again.
After checking in the terminal, I’m still on 3.1.1

I installed code server manually by dropping the files in /usr/local/lib and making a symbolic link in /usr/local/bin, and registered it as a service.

I tried to change permissions for /usr/local/lib/code-server, it still doesn’t work…

Thank for your help.

Did you also touch /tmp? Do you have any logs? (ie see anything interesting in systemctl status code-server when trying to updagrade)
For inspiration, check the issue and the comments . That’s what directed me to updating auths.