Git Product home page Git Product logo

Comments (5)

javierm avatar javierm commented on August 29, 2024

Hi, @4-3is4-me 😄.

Try changing the deploy_to line in the deploy-secrets.yml file, so its value is "/home/ubuntu/consul".

Hope that works!

from installer.

4-3is4-me avatar 4-3is4-me commented on August 29, 2024

Yes, it worked I hadn't noticed that, thank you. Not sure if it's related, but now I am getting the 404 page. The change I made was to enable multitenancy
https://docs.consuldemocracy.org/tech_docs/features/multitenancy#common-step-for-all-consul-democracy-installations
application_custom.rb looks like this

module Consul
  class Application < Rails::Application
    config.multitenancy = true
  end
end

Removing the config.multitenancy = true I get the home page.
Any guidance you can offer is gratefully received. 😊

from installer.

4-3is4-me avatar 4-3is4-me commented on August 29, 2024

Apologies, I also cannot get multitenancy to be enabled using the other option in
https://docs.consuldemocracy.org/tech_docs/features/multitenancy#common-step-for-all-consul-democracy-installations
so I will open another issue in the consul repo if I cannot get it to work.
As my original query is resolved I will mark as closed.
Thanks again 😊

from installer.

javierm avatar javierm commented on August 29, 2024

Hi again, @4-3is4-me 😄.

Make sure the server_name is correctly configured in the secrets.yml file (its value should be the domain of your application; for example, in our demo server, we have server_name: "demo.consuldemocracy.org"). This is supposed to be configured before running the installer, but unfortunately the documentation isn't clear about that because we also support deploying to IP addresses with no domain 😌. Sorry for that! 🙏

If that doesn't solve the issue, could you check the logs and paste the output when you get the 404 error? Also, what's the URL you're accessing?

from installer.

4-3is4-me avatar 4-3is4-me commented on August 29, 2024

@javierm thanks again, that did the trick! I think it's my error as it was configured as the local IP. I am using two ubuntu EC2s in AWS, one as a 'local' machine to configure the other as a server. We are a volunteer group and I want to make it as easy as possible for others to access the 'local' machine to push updates. We aren't using Consul in production at the moment, but we may be offering it as a service to local community councils if it's suitable. 😊

from installer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.