Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 19 02:56
    dependabot[bot] synchronize #4657
  • Sep 19 02:56

    dependabot[bot] on bundler

    Bump airbrake from 7.4.0 to 11.… (compare)

  • Sep 19 02:56
    dependabot[bot] edited #4657
  • Sep 19 02:55
    dependabot[bot] edited #4657
  • Sep 19 02:55
    javierm commented #4657
  • Sep 18 20:25
    javierm synchronize #4600
  • Sep 18 20:25

    javierm on active_storage

    Use Active Storage to handle ca… Use Active Storage to render cu… Use Active Storage to validate … and 7 more (compare)

  • Sep 18 17:06
    javierm synchronize #4600
  • Sep 18 17:06

    javierm on active_storage

    Use the file_fixture helper in … Remove hack to allow IO files i… (compare)

  • Sep 18 16:59
    javierm synchronize #4600
  • Sep 18 16:59

    javierm on active_storage

    Use the file_fixture helper in … Remove hack to allow IO files i… (compare)

  • Sep 17 23:05
    javierm edited #4645
  • Sep 17 23:04
    javierm edited #4645
  • Sep 17 23:02
    javierm synchronize #4645
  • Sep 17 23:02

    javierm on remove_newrelic

    Remove newrelic gem dependency … (compare)

  • Sep 17 20:57
    javierm ready_for_review #4692
  • Sep 17 20:56
    javierm synchronize #4692
  • Sep 17 20:56

    javierm on globalize_length

    Simplify displaying debate leng… (compare)

  • Sep 17 20:53
    javierm synchronize #4692
  • Sep 17 20:53

    javierm on globalize_length

    Simplify displaying debate leng… (compare)

rashmiagar
@rashmiagar
And thanks so much for reply! :)
Actually we have to install 60 copies for the belgium municipalities so a multitenant app would have been much useful.
Senén Rodero
@Senen

Thank you so much for sharing how you fixed it! :)

Wow, 60 municipalities congrats! Probably multitenant would be a good fit for this case.

rashmiagar
@rashmiagar
I am getting two more errors on heroku
alt
alt
Hope someone can help :(
Senén Rodero
@Senen

Regarding the first screenshot about Timeout error:
Did this happened right after doing a deployment? Heroku restarts automatically all workers (web, background) after each deployment so its normal Timeout errors to happen during the restarting process, but should not happen once application is fully restarted.

Regarding the last screenshot about Dalli client error:
The web application is trying to connect to a server where to store cache data but found nothing, that server should be a MemCached compatible server. Probably you will need to install a MemCached addon from Heroku marketplace so consul application can connect. I think Memcachier addon should work here, but not tested. If this is only for testing purposes and you do not need to use cache you can disable cache for production, stating or preproduction modifying the respective configuration file you are using.

FYI, this is the gem used [1] to connect with Memcached service, there is many mentions to Heroku there, also here [2] is a Heroku article explaining how to configure a Rails app it if this is not automatically managed by heroku.

[1] https://github.com/petergoldstein/dalli
[2] https://devcenter.heroku.com/articles/building-a-rails-3-application-with-memcache

rashmiagar
@rashmiagar
@Senen No it wasn’t after a deploy. Reference to this, I am going to install Rollbar. Maybe because of the static assets from public/system/ I am loading its taking too long and request is timing out.
Using the installer for digital ocean deployment won’t have these issues right?
rashmiagar
@rashmiagar
Thanks for your reply!
Senén Rodero
@Senen
Yes, @rashmiagar, if you decide to use the consul-installer it will provision your server with everything you need. I’d suggest you to follow consul-installer README.md instructions step by step. I think it would best solution if you are not familiar with running Rails application on Heroku. Yo can use any provider that gives you a machine with root access with Ubuntu 16.04 o 18.04 installed, so DigitalOcean will be a good choice.
rashmiagar
@rashmiagar
On the Consul documents for heroku it mentions to run the test db seed. Its not a good idea, because the files in public/system is created based on secret_access_token and the id of the resource. This id can be different in cloud server. Esp for heroku it creates lot of problems because the assets are not precompiled. I think the document should be updated.
Just my thoughts :)
I wasted 2 weeks on this.
Andrés Pereira de Lucena
@andreslucena

Hello everybody. Hope you're all well on these strange times.
We wanted to invite you to the next Decidim Fest and also to present any talks that you consider would be interesting. If this is considered as spam please let me know ;)


Decidim Fest announces 2020 dates and opens its Call! 💥
The second edition of Decidim Fest is taking place next fall 100% online from 18 to 20 of November 💫
‼️ We are living times of uncertainty. The global pandemic has put the world in check while opening up a unique opportunity to change course and face climate emergency, social inequality, the violation of human rights and the rise of fascism, among others.
❓ What role does technology play in all of this?
❓ Which are the implications for the future of democracy?
Under the claim Democracy and Technology in times of Emergency, this year's conference tackles the urgent challenges in the network society.
Check this year's main topics and join our Open Call
👉 https://meta.decidim.org/conferences/decidimfest2020

Senén Rodero
@Senen
Thanks for your feedback @rashmiagar, i tested the Heroku guide too and i have to agree with you, after applying the steps from Heroku guide i had to do some addiontal steps and changes to make it work. We will try to update the Heroku guide asap. Thanks again 🤗
DF8OE
@df8oe
Hi to all, yesterday I successfully have installed Consul on my Linux Arch server. Directly - without the use of docker and/or consul/installer. I am happy that I have solved all problems (most due to much more recent software at Arch than at Debian, e.g. ruby 2.7.1 is standard at Arch). I can access Consul via http - the next step should be to add ssl support. I already have got lets encrypt certificate and now I am looking for a tutorial to add it to Consul...
1 reply
corsch
@corsch
Hi to all, did anyone successfully installed consul on Ubuntu 20.04 with the installer?
1 reply
rashmiagar
@rashmiagar
Hi all, I managed to deploy consul to AWS ec2 t2.micro. But I am having one issue; the delayed job (for sending email) is freezing the web interface and ssh into the instance. How do I fix this?
Senén Rodero
@Senen

Hi @rashmiagar,

The only way i found to deploy successfully on a t2.micro EC2 instance without stucking was to do the assets precompilation on my local machine, add those precompiled assets to the git repository control and do the capistrano deployment without the precompilation phase as was already done at local machine. But i clearly prefer that the server does the precompilation os assets and keep the size of repository source code smaller … To have all the precompiled assets under git control will vastly increase the size of the project source code. If you used another technique to avoid server stucking during deployment i would like to know it if possible. :)

Another important thing is to provide enough HDD space for running Consul, i remember once i deployed an application on default HDD t2.micro size (8GB i think) and happened exactly the same … the machine got completely stucked.

IMO a t2.micro instance is a very small machine that probably is freezing because its small amount of memory, vCPUs … Can yo try the same on a “bigger” machine, right now i have a t2.small with 25GB HDD for a personal production server only for testing purposes and everything works nice (including delayed jobs).

Rogier Wensink
@Wensink

Hello. We are using consul for years now and to full satisfaction. But lately we are encountering an issue which we cannot get solved.
When changes are done to the master cluster and consul is restarted on all masters at the same time, the slaves (and other nodes too) lose the connection. In code we you a join and a rejoin (although the rejoin is completely ignored once the connection is established).

consul:1.6.2 -join ${CONSUL_JOIN} -retry-join ${CONSUL_JOIN} -node ${LOCAL_IPV4} -advertise ${LOCAL_IPV4} -client 0.0.0.0 -data-dir /data -encrypt ${CONSUL_KEY} -log-level err

What is the best way to get all nodes connected to the master cluster again, if these are restarted all at once?

Senén Rodero
@Senen
Hi @Wensink ,i think you are searching for this Gitter room: https://gitter.im/hashicorp-consul/Lobby
Rogier Wensink
@Wensink
Thanks. Didn't know this was a different channel
Pascal Guckenbiehl
@guckenbi

Hi everyone,

we are currently configuring CONSUL, primarily via the admin panel within the tool itself. However we encountered some things that do not seem to be changeable here. In particular I'm talking about the labels which (hopefully) can be seen in the picture below. While the header name for collaborative legislation (1) can be changed under "site content -> custom information texts -> basic customization -> legislation.processes.index.section_footer.title" the associated page label (2) cannot. Same goes for the help panel (3) which can't be changed while the actual text it refers to (4) is editable under "site content -> custom information texts -> layout -> layout.header.collaborative_legislation". As you can see, this leads to some inconsistency of the naming. Is there any option we are missing or can these variables only be changed in the config files?

Thanks in advance for your help!

image.png
Senén Rodero
@Senen

Hi @guckenbi, yes there are a lot of legislation translation keys that are not being shown at admin panel so probably the easier solution is to add a new “Collaborative legislation” tab into admin panel so you can translate all application keys starting with “legislation.*”. To add the tab you only have to add the key :legislation to the method information_texts_tabs at app/helpers/site_customization_helper.rb file.

Maybe if you like and have time you might create a PR with this change to the Consul repository so other Consul users can enjoy it. Hope this works for you. 🙏🏼🤗

3 replies
Pascal Guckenbiehl
@guckenbi
Hi @Senen , thanks a lot. I'll have a try as soon as possible.
João Pimentel Ferreira
@jfoclpf
can someone provide me a manual installation for production? I already made a request on docs
consul/docs#98
Senén Rodero
@Senen
Sorry João, but we do not have a guide for doing all this job by hand. If I would have to do it, probably I will start by running the installer on a virtual machine or any cloud provider instance of your preference to get the installer log. Furthermore, you could run it on verbose mode, so the log includes more detailed information on each step. Also, to do a test of the Capistrano deployment tool would be interesting in the same way, the log, you will see which commands and steps we recommend for deployment. Also, to be able to access to a fully working production environment will be the perfect template for configuration files, OS package versions … Good luck :muscle:
Senén Rodero
@Senen
And thanks for your contributions! :clap:
kartoffelsalat
@silberzwiebel
Hi there, I'm working on installing CONSUL for my city department, being at step 0: filling out bureaucracitic forms to be allowed to actually deploy CONSUL. I'm having some questions regarding CONSUL, starting with the following, likely to become more over the next days ...
  • What is the encyption (method and key length) with which the user (account) data are a) stored and b) transmitted?
  • Can you enforce certain password rules (length, special characters, etc)?
2 replies
Christoph Müller
@cmllr
Good morning, I've updated my test instance (running in development environment) to commit36037bb, ran the database migrations. Now, the application fails with an ActionController::InvalidAuthenticityToken when I try to log in. Does anyone have an idea? Thanks :)
2 replies
Inno
@Irving09
Hello, im new to consul-template. how to terminate the consul-template process gracefully?
Senén Rodero
@Senen
Hi @Irving09 ,i think you are searching for this Gitter room: https://gitter.im/hashicorp-consul/Lobby
myberg
@myberg
Hi every one. Is there a German introduction and installation guide (for a small municipality)? Thanks.
Senén Rodero
@Senen

Hi @myberg , as far I know, we have English and Spanish documentation. If you were to find it, please send us a link to share with the community.

You can find CONSUL documentation though the following links:

Additionally, we have two Slack channels, one for general questions and other for technical ones, it has members from a lot of countries, maybe you can find help there. If you are interested in joining CONSUL Slack channels, we will need an email to send you an invitation.

Andrew Chambers
@votedave
Hi room. I've managed to fork Consul and install on an Ubuntu server locally, there were some install issues, notably with rake version mismatch - installer required 13.0.1 default loaded 13.0.3 and would not proceed, also issues with db user and pwd config - have forked installation documentation, edited suggestions and lodged Pull Request. Would also like to open discussions with dev team regarding feature dev we're looking at to help us create and financially support our community engagement. Ours is NOT supported by local authority as Australia is a generally regressive political system headed away from participation unless pushed, we're pushing from ground up. Thanks to all for what looks to be mightily impressive. regards Andrew
2 replies
Sidy LOM
@slom_gitlab

Hello all. I have an issue with Consul 1.9.3 and Micronaut 2.3.2.
I have this error at the application startup
io.micronaut.http.client.exceptions.HttpClientResponseException: Request decode failed: json: cannot unmarshal object into Go struct field .Address of type string
In application.yml I have this

consul:
  client:
    registration:
      enabled: true
    defaultZone: "${CONSUL_HOST:localhost}:${CONSUL_PORT:8500}"

Can someone help?

Senén Rodero
@Senen
Hi @slom_gitlab , you are probably searching for this Gitter room: https://gitter.im/hashicorp-consul/Lobby.
1 reply
Pascal Guckenbiehl
@guckenbi

Hey, i have another question regarding the administration/moderation of CONSUL:

Is there currently any way of ...

  • hiding/deleting votings once users have already participated?
  • hiding/deleting proposals (within collaborative legislation processes)?

Thanks for your help.

Senén Rodero
@Senen

Hi Guckenbi,

AFAIK votes cannot be hidden or deleted through the UI, although anyone with access to the rails console or the database can delete/create votes manually.

Administrators or moderators can hide (but not delete) any legislative proposal through the "Hide" feature from the proposal page. Then, it will be no longer available through public or administration pages. To recover it, you must access the console to remove the hidden_at date of the legislation proposal record.

5 replies
Christoph Müller
@cmllr
Greetings everyone, does anyone has expieriences running CONSUL on AWS? I set up a instance, but it's really slow. It's using a pgsql instance (db.t3.micro), which seems to have no load at all. The rails runs inside a container and stays below a load of 0.5 during a request. Any ideas?
13 replies
Andres Suarez
@glicerico
Hi all, I just managed to use the installer to set up the production server for Consul, but I see the main consul repo deployed. Where should I configure the installer to use my consul fork with my personalization? Thanks!
4 replies
Pascal Guckenbiehl
@guckenbi
Hey, I'm currently setting up a data privacy statement and therefore looking for some gdpr relevant information regarding consul:
  • what happens to personal data when an user account is deleted (#deletion concept)?
    • what happens to the users contributions, e.g. comments or proposals?
  • what kind of cookies are used and for how long are they stored?
Andriyun
@andriyun

Hi there
I just update Consul installation to 1.3.0. Update went well no errors.
After update I'm getting 500 error on admin page /admin/budgets
In the log file I see following error:

ActionView::Template::Error (undefined method `drafting' for #<Budget::Phase::ActiveRecord_Associations_CollectionProxy:0x00007f5170789e70>):1: <%= render Admin::Budgets::IndexComponent.new(@budgets) %>
app/models/budget.rb:67:in `current_phase'
app/components/admin/budgets/index_component.html.erb:28:in `block in call'
app/components/admin/budgets/index_component.html.erb:21:in `call'

I'm just wondering is this a known bug or it's related to my installation?

3 replies
Evan Cholerton
@EvanCholerton
@Senen Hi! I'm a student from the United States and I am quite interested in consul and its applications, especially at the university level. I'd love to learn more! I see that you have a slack channel for discussing consul, would you be able to send an invite? Thank you in advance!
1 reply
Roos
@roosemberth:orbstheorem.ch
[m]
Hello, I would like to use traefik with consul to dynamically add and remove backends for my application. I understand the consul traefik provider will create traefik configurations for every instance of each service in the consul catalog.
1 reply
What I do not understand yet is how do I create a service in the catalog, and how do I get my application server registered as an instance of such service.
Everything is running in docker, locally over a bridged network as a proof of concept for the moment. If possible, I would like to avoid modifying my dockerfiles, but I think I will have to do so in order to send the node registration to consul.