christian_01 reported that the Digital Ocean web console freezes when trying to update their Discourse site via SSH commands, as prompted by the admin panel. hawm questioned whether it was SSH freezing and suggested rebooting. codinghorror clarified that the DO web console is unreliable and advised using native SSH tools instead. christian_01 explained they’re non-technical and relied on the web console. codinghorror recommended contacting pfaffman, who set up the site — though christian_01 confirmed they didn’t work with him. pfaffman noted that DO’s console is useful for non-technical users, especially when SSH keys aren’t configured, but acknowledged password login might be disabled if keys were used. codinghorror reiterated that the console shouldn’t be relied on if it’s failing. christian_01 confirmed being a Mac user unfamiliar with SSH. codinghorror suggested using the root username/password from DO or asking a tech-savvy friend. christian_01 asked how to use the credentials. Eventually, christian_01 resolved the issue by using the ‘Power Cycle’ button in DO’s control panel. pfaffman celebrated the fix and speculated the droplet ran out of RAM, recommending enabling swap or upgrading RAM.
Apologies, I am not a developer. Normally I just follow the instructions given by Discourse to enter in the console, but the console now doesn’t let me.
I suggest working through this with @pfaffman as you paid him to set up the site, perhaps he can recommend tools for you as well and write a self-service walkthrough.
Well, when you create a droplet with an SSH key, by default password logins are disabled. I offer to install an ssh key and provide instructions for enabling password logins (and do that if asked). I can’t find instructions for creating an SSH key for PuTTy that typical install customers can follow, though I have talked a few Mac users through sending me a key. This happens at most a couple times a year (1 in 50 installs?).
So, to type 3 lines into a shell three times a year, the Digital Ocean console really isn’t a bad tool for the typical install customer. They don’t have to install putty, or remember what it was that they installed the last time they did this strange thing. Even if they have a Mac, most people find the terminal a strange thing indeed.
Yeah, I’m a ‘typical’ user on a Mac and I have no idea about SSH keys etc… I used to just hit the 1-click update option, but it’s not working at the moment as I need to add those lines of code into the console but I can’t. Frustrating.
That’s not the default on Digital Ocean though, so unless you created this droplet, that wouldn’t necessarily be the case.
You should be able to use the root username and password provided by Digital Ocean when you set up the droplet @christian_01. Or you could ask a geeky / technical friend to help you if you’re really stuck.
Hooray! I don’t know when I would have thought of that! My current best guess is that you ran out of ram. Make sure that you’ve got swap enabled and perhaps considering increasing your RAM.