Hi Guys
I am a noob. I finished making custom changes to the Jitsi file I installed. Now the console doesn’t seem to respond to inputs I enter. I want to know how to save the changes I’ve made (the changes don’t appear on the live site yet) and also more basically how to get the input to respond. If I type something currently it does not display. Am I supposed to save and exit now somehow?
I am attaching the image of my console screen:(https://ibb.co/fXwSBgY)
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hello, all
The web console is intended to access your droplet in a case of emergency in order to sort out the issue. I will highly recommend to use a ssh-client in order to access and manage your droplet.
You can also check our docs on How to Connect to Droplets with SSH:
https://www.digitalocean.com/docs/droplets/how-to/connect-with-ssh/
There are two options at the bottom of the doc: Connect with OpenSSH and Connect with PuTTY
Hope that this helps! Regards, Alex
Hi, Run the second instance of a console. Maybe it will get your session responsive there. If not, you can try to recover changes from a swap file. It seems you were using VIM/VI editor for editing your Jitsi file. VIM stores the changes in swap file just for recovery purposes (and for concurrent editing). VIM creates a swap file by default, unless this feature is intentionally disabled. So, it is very likely that all or most your changes are in that file. By default, the swap file is located in the same directory as edited file. Note please, that swap file is hidden (its name starts with dot symbol). So, if you can ssh your droplet, you can copy both your edited (main) file and swap file into another directory, just in case, to make a backup. And then, you can open the mainfile in VIM editor to recover the changes. For instance: you were editing a file /etc/conf/mainfile.txt and console hang. VIM should create a swap file /etc/conf/.mainfile.txt.swp. List the directory content to ensure yourself that swap file was created:
Copy main and swap files to another directory, e.g. /var/tmp/
Open main file from original location
You will get a warning like
Enter R for Recover. Check if changes applied, and save file.
If you are not able to ssh your droplet, then you can close the frozen console and recover changes after starting it again. You can follow all the steps mentioned before.
Bumping this