Unable to setup Discourse CLI on AWS Bitnami hosted instance

Hi All,

I am trying to configure the AWS hosted Discourse CLI and the API is needed to be called at http://{ip}:3000

I have setup the “Inbound TCP” rule on AWS but it isn’t working. Is there anyone who can help with the issue?

Error Details:

11: from /opt/bitnami/ruby/bin/discourse:23:in `<main>'
        10: from /opt/bitnami/ruby/bin/discourse:23:in `load'
         9: from /opt/bitnami/ruby/lib/ruby/gems/2.5.0/gems/discourse_cli-0.5.0/bin/discourse:5:in `<top (required)>'
         8: from /opt/bitnami/ruby/lib/ruby/gems/2.5.0/gems/thor-1.0.1/lib/thor/base.rb:485:in `start'
         7: from /opt/bitnami/ruby/lib/ruby/gems/2.5.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
         6: from /opt/bitnami/ruby/lib/ruby/gems/2.5.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
         5: from /opt/bitnami/ruby/lib/ruby/gems/2.5.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
         4: from /opt/bitnami/ruby/lib/ruby/gems/2.5.0/gems/discourse_cli-0.5.0/lib/discourse_cli/cli.rb:9:in `categories'
         3: from /opt/bitnami/ruby/lib/ruby/gems/2.5.0/gems/discourse_cli-0.5.0/lib/discourse_cli/client.rb:8:in `client'
         2: from /opt/bitnami/ruby/lib/ruby/2.5.0/psych.rb:497:in `load_file'
         1: from /opt/bitnami/ruby/lib/ruby/2.5.0/psych.rb:497:in `open'
/opt/bitnami/ruby/lib/ruby/2.5.0/psych.rb:497:in `initialize': No such file or directory @ rb_sysopen - /home/bitnami/.discourse_cli (Errno::ENOENT)
1 Like

You either need to follow discourse/INSTALL-cloud.md at master · discourse/discourse · GitHub or use bitnami’s support.


Thanks for your reply, I was running the Bitnami’s instance but looks like now I will move it to fresh installation on Ubuntu.