Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 11 21:03
    javierm synchronize #4878
  • Aug 11 21:03

    javierm on verification_info

    Extract component to render ver… Don't ask verified users to ver… Show verification info only if … and 3 more (compare)

  • Aug 11 21:01
    javierm synchronize #4902
  • Aug 11 21:01

    javierm on permission_list_accessibility

    Extract component to render acc… Extract method to define permis… Render icons using CSS in user … and 1 more (compare)

  • Aug 11 20:36
    javierm synchronize #4878
  • Aug 11 20:36

    javierm on verification_info

    Extract component to render ver… Don't ask verified users to ver… Show verification info only if … and 3 more (compare)

  • Aug 11 20:34
    javierm synchronize #4902
  • Aug 11 20:34

    javierm on permission_list_accessibility

    Extract component to render acc… Extract method to define permis… Render icons using CSS in user … and 1 more (compare)

  • Aug 11 20:25
    javierm synchronize #4878
  • Aug 11 20:25

    javierm on verification_info

    Don't use line-height to set ve… (compare)

  • Aug 11 20:14
    javierm labeled #4878
  • Aug 11 20:04
    javierm edited #4878
  • Aug 11 20:04
    javierm edited #4878
  • Aug 11 20:03
    javierm labeled #4902
  • Aug 11 20:03
    javierm assigned #4902
  • Aug 11 20:03
    javierm opened #4902
  • Aug 11 20:02

    javierm on permission_list_accessibility

    (compare)

  • Aug 11 20:01
    javierm synchronize #4878
  • Aug 11 20:01

    javierm on verification_info

    Extract component to render acc… Extract method to define permis… Render icons using CSS in user … and 6 more (compare)

  • Aug 11 13:19
    javierm synchronize #4878
jeffreycarey-aon
@jeffreycarey-aon
Hi Consul Stewards! I am spinning up a copy of consul using the production install. The install works to the point of Get distribution codename after Node. I am showing TASK [system : Add Node repository] **
fatal: [45.79.104.201]: FAILED! => changed=false
msg: 'Failed to update apt cache: unknown reason' Any Ideas?
1 reply
jeffreycarey-aon
@jeffreycarey-aon
PLAY RECAP *
45.79.104.201 : ok=12 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Jorge Barata
@jorgebg

Hello,

I’m trying to upload offline votes during the “Reviewing voting” phase of a participatory budgeting.
According to the Consul Administration Guide
(page 40), I was expecting to have an interface with an input for each option. But what I am getting is a very basic form with a "CSV data field", for which I’ve been unable to find any documentation about.
Here comes my first question: Is there any documentation I can check for this part? Is this CSV data upload the expected interface?

Just in case the CSV upload is the only way of uploading the offline votes, I’ve been checking the code trying to understand how the CSV data field works. If I understood properly, each line would be a vote, and it would consist of a comma-separated list of project code numbers. Is this correct?

I tried to upload the votes in this format, but the total count votes of the projects didn’t change. What am I missing?

Thanks in advance for the help!

Borja LoFe
@borjalofe
hi,
is there any way to deploy consul without sudo privileges?
thnx in advance!
2 replies
Fabián Torres
@torresfabian:matrix.org
[m]
Hola, tengo una consulta, tengo realizada una instalación de consul mediante (CONSUL installer for production environments) que genera por defecto el administrador admin@consul.dev. mi problema es que no puedo cambiar dicho administrador porque eso requiere que funcione el correo para el link de verificación que confirme los cambios. Cuando configuro una cuenta de correo smtp No funciona porque no coincide con el correo del administrador. en fin quedo atrapado en esta situacional y no se como resolverlo. apreciaría cualquier ayuda para lograr cambiar el usuario administrador.
Fabián Torres
@torresfabian:matrix.org
[m]
el error que puedo ver en el log es "Sender address rejected: not owned by user "
Fabián Torres
@torresfabian:matrix.org
[m]
Hi, I have a query, I have installed consul using (CONSUL installer for production environments) which generates by default the administrator admin@consul.dev. My problem is that I cannot change said administrator because that requires the email to work for the verification link that confirms the changes. When I set up an smtp mail account it doesn't work because it doesn't match the administrator's mail. I'm stuck in this situation and I don't know how to solve it. I'd appreciate any help getting me to change the admin user.
7 replies
the error I can see in the log is "Sender address rejected: not owned by user
Fabián Torres
@torresfabian:matrix.org
[m]
hello, I apologize if I don't express myself well, I'm using an online translator
yes, /home/deploy/consul/current/
Fabián Torres
@torresfabian:matrix.org
[m]
si, es correcto, use el instalador
https://github.com/consul/installer
yes, that's right, use the installer
https://github.com/consul/installer
Senén Rodero
@Senen
ok, ¿are you logged in the server as the deploy user to run the command?
Fabián Torres
@torresfabian:matrix.org
[m]
yes
Senén Rodero
@Senen
¿What version of Consul are you using?
You can check it by visiting /consul.json URL of your website.
Fabián Torres
@torresfabian:matrix.org
[m]
{"release":"1.4.1","features":{"featured_proposals":null,"facebook_login":"t","google_login":"t","twitter_login":"t","wordpress_login":null,"public_stats":"t","signature_sheets":"t","user.recommendations":"t","user.recommendations_on_debates":"t","user.recommendations_on_proposals":"t","user.skip_verification":"true","community":"t","map":null,"allow_attached_documents":"t","allow_images":"t","help_page":"t","remote_translations":null,"translation_interface":null,"remote_census":null,"valuation_comment_notification":"t","graphql_api":"t","sdg":"t","machine_learning":null,"remove_investments_supports":null,"dashboard.notification_emails":null}}
I already realized, I did not use the deploy user. Thank you for your careful and correct indication.
Senén Rodero
@Senen
What OS are you using? Debian or Ubuntu?
Fabián Torres
@torresfabian:matrix.org
[m]
I had no idea there was a deploy user, I was using my own users
ubuntu 18.04
Senén Rodero
@Senen
The command needs to be run by the “deploy” user which is created during the installation.
Fabián Torres
@torresfabian:matrix.org
[m]
I was able to get it to work with su - deploy
Senén Rodero
@Senen
you can login as deploy user with sudo -i -u deploy alternatively.
Fabián Torres
@torresfabian:matrix.org
[m]
ok I already understood it and I was able to solve it, thank you very much for your guidance and patience
Senén Rodero
@Senen
You should be able to SSH the server as the deploy user from the machine you runned the installer. You should be able to connect from that machine with: ssh deploy@serveraddress
Glad to help you Fabián! :relaxed:
Fabián Torres
@torresfabian:matrix.org
[m]
👍️👌
Nicolasrs23
@Nicolasrs23
Hi everyone,
I am working with consul v1.12.0 and kubernetes. install some deploys configure service mesh, so far so good.
The problem is when I want to communicate with an RDS (external service) TCP health checks don't work; I tried two types of approaches with no results:
  • Registering it together with the node, the service and checks via catalog. (output: timeout)
  • Registering a proxy and linking it with the service (output: connection refused)
    Intentions all allow and security groups ok !! here is the repo https://github.com/Nicolasrs23/Consul_proyect.git.
3 replies
HamitKamberi
@HamitKamberi
Hi everyone I am trying to install CONSUL from this link (https://github.com/consul/consul) and I have troubles when I try to create data bases with this command (bin/rake db:create) and I have this error message (rake aborted! ArgumentError: wrong number of arguments (given 2, expected 1)). Can somebody help me with this.
All the bests !
7 replies
HamitKamberi
@HamitKamberi
Screenshot from 2022-07-28 13-58-19.png

Screenshot from 2022-07-28 13-58-19.png

I changed my version to 2.7.6 now I have these problems? Could you help me fix this ?
All the best

69 replies
HamitKamberi
@HamitKamberi
Screenshot from 2022-07-29 15-35-41.png
Screenshot from 2022-07-29 15-35-41.png
while i write the rvm list command here it is the output.
Is it right ?
HamitKamberi
@HamitKamberi

Screenshot from 2022-07-29 15-48-23.png

I am follwing these steps here.
Once these ---> https://docs.consulproject.org/docs/english-documentation/introduction/local_installation/ubuntu
Than these --->https://docs.consulproject.org/docs/english-documentation/introduction/local_installation

This is the error that I have now ... while i write te bundle command and gives me this error ? Is there something wrong ?

1 reply
felipe
@johnfelipe
Hi there
Pls help me with that
HamitKamberi
@HamitKamberi
Screenshot from 2022-08-01 17-07-16.png
5 replies

Screenshot from 2022-08-01 17-07-16.png

rvm get stable --auto-dotfiles when I write this command the results ...

felipe
@johnfelipe
hi dear
me again
i cant progress with docker installation
i command all steps in not root user called "felipe"
and still show me same error
Senén Rodero
@Senen
Hi @HamitKamberi , I finally managed to install a CONSUL development environment in Ubuntu 22.04. Here are the commands I needed to run to have it working properly. I hope this helps.
# Install development dependendencies
sudo apt update
sudo apt install git # It's included by default in Jammy
sudo apt install libssl-dev autoconf bison build-essential libyaml-dev libreadline-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev cmake

# Installing and configuring PostgreSQL
sudo apt install postgresql libpq-dev
sudo systemctl status postgresql.service
sudo -u postgres createuser consul --createdb --superuser --pwprompt
sudo vi /etc/profile.d/lang.sh
# /etc/profile.d/lang.sh: Add the following to the new file
export LANGUAGE="en_US.UTF-8"
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"

sudo vi /etc/postgresql/14/main/pg_hba.conf
# Database administrative login by Unix domain socket
local   all             postgres                                trust

sudo su - postgres
psql

update pg_database set datistemplate=false where datname='template1';
drop database Template1;
create database template1 with owner=postgres encoding='UTF-8'
lc_collate='en_US.utf8' lc_ctype='en_US.utf8' template template0;
update pg_database set datistemplate=true where datname='template1';

\q
exit # exit the postgres user
sudo systemctl restart postgresql.service

# Install some dependencies
sudo apt install imagemagick chromium-chromedriver nodejs
sudo ln -s /usr/lib/chromium-browser/chromedriver /usr/local/bin/

# Clone CONSUL repository
git clone https://github.com/consul/consul.git
cd consul/

# Installing RVM
sudo apt-add-repository -y ppa:rael-gc/rvm
sudo apt-get update
sudo apt-get install rvm
sudo usermod -a -G rvm $USER

# Destroy and start a new terminal session so RVM is properly loaded
cd consul/

# Install openssl 1-.0.1 https://github.com/rvm/rvm/issues/5209#issuecomment-1186893261
rvm pkg install openssl
# Installing the Ruby CONSUL version with RVM
rvm install ruby-2.7.6 --with-openssl-dir=/usr/share/rvm/usr

# Install application dependencies
bundle
# If you have troubles with Rails assets certificates edit the Gemfile and replace https://rails-assets.org with http://insecure.rails-assets-org and try to bundle again

# Copy mandatory configuration files with defaul values
cp config/database.yml.example config/database.yml
cp config/secrets.yml.example config/secrets.yml

# Edit the config/database.yml file and set the default group as follows (Note removal of host, otherwise you will have a Segmentation fault bug)
default: &default
  adapter: postgresql
  encoding: unicode
  pool: 5
  username: postgres
  password:

# Build test and development databases
bin/rake db:create
bin/rake db:setup
bin/rake db:dev_seed
bin/rake db:test:prepare
bin/rails s
3 replies
felipe
@johnfelipe
put this commands in readme.md in documentation
Senén Rodero
@Senen
Hi @johnfelipe, those commands are still a draft. We will add them to the documentation when we add support for Ubuntu 22.04.
felipe
@johnfelipe
for better deployment docker is good or need to put all that commands in shell script?