Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 08:37
    taitus synchronize #4272
  • 08:37

    taitus on sdg_role

    Add sdg manager section to admi… Add sdg manager section to admi… Add sdg_manager to dev_seeds and 4 more (compare)

  • 08:09
    taitus synchronize #4272
  • 08:09

    taitus on sdg_role

    Create sdg manager Allow sdg_manager access to sdg… Add cancancan to SDG content O… and 7 more (compare)

  • 08:03
    taitus synchronize #4272
  • 08:03

    taitus on sdg_role

    Fixup fdeb50d Fixup f21a933 Including the searched term in … (compare)

  • Dec 02 19:22
    javierm edited #4269
  • Dec 02 19:17
    javierm edited #4269
  • Dec 02 19:17
    javierm ready_for_review #4269
  • Dec 02 19:17
    javierm synchronize #4269
  • Dec 02 19:17

    javierm on sdg_management

    Disable SDG sections when setti… (compare)

  • Dec 02 18:06
    Senen synchronize #4272
  • Dec 02 18:06

    Senen on sdg_role

    Create sdg manager Allow sdg_manager access to sdg… Add cancancan to SDG content O… and 6 more (compare)

  • Dec 02 18:01
    Senen synchronize #4269
  • Dec 02 18:01

    Senen on sdg_management

    Add SDG::Relation model Add relations between relatable… Allow SDGs to get all their rel… and 3 more (compare)

  • Dec 02 18:00
    Senen synchronize #4262
  • Dec 02 18:00

    Senen on sdg_tags

    Add SDG::Relation model Add relations between relatable… Allow SDGs to get all their rel… (compare)

  • Dec 02 17:41
    Senen synchronize #4271
  • Dec 02 17:41

    Senen on sdg_local_targets

    Add SDG LocalTarget model Add local_targets index to the … Update SDG header component * … and 5 more (compare)

  • Dec 02 16:40
    taitus synchronize #4272
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
guckenbi
@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
guckenbi
@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