Console Frozen in Digital Ocean web UI trying to update Discourse

You are referring to the web UI for the console through Digital Ocean.

Don’t use that. Use a real native SSH tool on your computer instead, or a terminal window on your laptop, desktop, or tablet OS.