Question

How do reset password during no left space

my server no space availabe right now and im forgot the password, then i try reset my password, and i got the password via email.

the problem is : when i try to login, i must change the password, when i try writing new password i got trouble because no left space available, im running supervisorctl where download blockchain data . so how i can set new password? how to solve it ?

detail like this I encountered an issue with my server due to insufficient space, so I decided to resize it to 50GB. However, upon attempting to log into my droplet, I discovered that my password was not working. To resolve this, I initiated a password reset and received a new password via email. Using this new password, I was able to successfully log into my server. However, the server prompted me to change the password again. I attempted to set a new password, but unfortunately, the connection to the server was lost. Upon retrying to log in with the new password, I was unsuccessful. Surprisingly, when I used the password sent via email, I was able to log in successfully, but the server once again forced me to change the password.


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.

KFSys
Site Moderator
Site Moderator badge
May 27, 2023

Hey @iklanhits,

You can try using the Recovery Console. The Recovery Console provides out-of-band access and is available regardless of your network settings. It emulates the access you would have if you were sitting down with a keyboard and monitor attached to the actual server. You can use this feature to log in and revert bad settings to regain normal access.

You can follow this documentation on how to enter your into your Droplet:

https://docs.digitalocean.com/products/droplets/resources/recovery-console/

Basically, you’ll reset your root password and use it via the root user on the Recovery console to connect to it. You shouldn’t be asked to reset your password then but just log in and free some space.

alexdo
Site Moderator
Site Moderator badge
May 27, 2023

Hello @iklanhits

Can you confirm that when you ssh to your droplet and you’re prompted to change the password and then enter the new password the error is that there is no space left on device and not error regarding the password itself?

You can follow our article here on how to reset your root password

https://docs.digitalocean.com/support/how-do-i-reset-my-droplets-root-password/

Hope that this helps!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel