Digital Ocean のワンクリックインストールが接続するたびに再インストールを試みる

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) :wink:

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.