每次我尝试通过 PuTTY 连接到我的 DigitalOcean Ubuntu 16.04 x64 实例以访问终端时,它都会以无法跳过的方式提示我重新安装 Discourse。由于所有组件都已安装,因此实际上什么也没发生,我的设置和用户数据也都完好无损,但这非常令人烦恼,并且会占用大量处理资源。
这个提示与在 DigitalOcean 上首次启动预配置的 Discourse 实例时看到的完全一样:它会要求输入要使用的电子邮件地址、用户名、密码、邮件服务器 API 密钥等。我该如何禁用它?
每次我尝试通过 PuTTY 连接到我的 DigitalOcean Ubuntu 16.04 x64 实例以访问终端时,它都会以无法跳过的方式提示我重新安装 Discourse。由于所有组件都已安装,因此实际上什么也没发生,我的设置和用户数据也都完好无损,但这非常令人烦恼,并且会占用大量处理资源。
这个提示与在 DigitalOcean 上首次启动预配置的 Discourse 实例时看到的完全一样:它会要求输入要使用的电子邮件地址、用户名、密码、邮件服务器 API 密钥等。我该如何禁用它?
This is using the DigitalOcean “one click” installer, right, not the official installation instructions? If so, there have been previous discussions about this here, but ultimately you probably want to contact DigitalOcean support, as they were the ones who setup their install in this weird way, and it’d be helpful to them if they knew how much confusion their design was creating.
Yup, this is what I see every time. Just spamming enter and letting it go through yields no data loss or hiccup in performance from the end user’s side, but takes about 30 seconds for my particular droplet speed before I can actually do anything from the terminal.
I’ll contact DigitalOcean support and see what they have to say. Thank you!
A faster method than spamming enter would be to type Ctrl + c to exit the script.
That helps a lot, now I just need to find a way to disable/delete this script. Thanks!
i would advice creating a user and logging with SSH Key, its good way to avoid that (Also safer) 
did anybody find a way to remove the script?
Check ~/.bashrc and comment out /var/lib/digitalocean/discourse.sh to #/var/lib/digitalocean/discourse.sh. You can probably do this with nano or FTP editing.
If not immediate, a reload should stop that line from being loaded and the script should stop.