Plugins not installed


(lucky) #1

Hello!
My plugins are not installed, I do this:

1)    hooks:
      after_code:
        - exec:
            cd: $home/plugins
            cmd:
              - git clone https://github.com/discourse/docker_manager.git
              - git clone https://github.com/gdpelican/babble.git
              - git clone -b full-page-chat https://github.com/gdpelican/babble.git
              - git clone https://github.com/vinkas0/discourse-navigation.git
  1. ./launcher rebuild app
WARNING: Docker version 17.05.0-ce deprecated, recommend upgrade to 17.06.2 or newer.
Ensuring launcher is up to date
Извлечение из origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 10 app
app
cd /pups && git pull && /pups/bin/pups --stdin
Already up-to-date.
I, [2018-02-06T18:37:26.421376 #15]  INFO -- : Loading --stdin
I, [2018-02-06T18:37:26.425112 #15]  INFO -- : > mkdir -p /shared/postgres_run
I, [2018-02-06T18:37:26.426958 #15]  INFO -- : 
I, [2018-02-06T18:37:26.427111 #15]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2018-02-06T18:37:26.428745 #15]  INFO -- : 
I, [2018-02-06T18:37:26.428875 #15]  INFO -- : > chmod 775 /shared/postgres_run
I, [2018-02-06T18:37:26.430204 #15]  INFO -- : 
I, [2018-02-06T18:37:26.430327 #15]  INFO -- : > rm -fr /var/run/postgresql
I, [2018-02-06T18:37:26.431703 #15]  INFO -- : 
I, [2018-02-06T18:37:26.431839 #15]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2018-02-06T18:37:26.433542 #15]  INFO -- : 
I, [2018-02-06T18:37:26.433703 #15]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2018/02/06 18:37:26 socat[23] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2018-02-06T18:37:26.436499 #15]  INFO -- : 
I, [2018-02-06T18:37:26.436662 #15]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2018-02-06T18:37:26.438729 #15]  INFO -- : 
I, [2018-02-06T18:37:26.438894 #15]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2018-02-06T18:37:26.440815 #15]  INFO -- : 
I, [2018-02-06T18:37:26.440958 #15]  INFO -- : > mkdir -p /shared/postgres_run/9.5-main.pg_stat_tmp
I, [2018-02-06T18:37:26.442655 #15]  INFO -- : 
I, [2018-02-06T18:37:26.442816 #15]  INFO -- : > chown postgres:postgres /shared/postgres_run/9.5-main.pg_stat_tmp
I, [2018-02-06T18:37:26.444506 #15]  INFO -- : 
I, [2018-02-06T18:37:26.448095 #15]  INFO -- : File > /etc/service/postgres/run  chmod: +x
I, [2018-02-06T18:37:26.453171 #15]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x
I, [2018-02-06T18:37:26.457713 #15]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x
I, [2018-02-06T18:37:26.461973 #15]  INFO -- : File > /root/upgrade_postgres  chmod: +x
I, [2018-02-06T18:37:26.462293 #15]  INFO -- : > chown -R root /var/lib/postgresql/9.5/main
I, [2018-02-06T18:37:26.524040 #15]  INFO -- : 
I, [2018-02-06T18:37:26.524202 #15]  INFO -- : > [ ! -e /shared/postgres_data ] && install -d -m 0755 -o postgres -g postgres /shared/postgres_data && sudo -E -u postgres /usr/lib/postgresql/9.5/bin/initdb -D /shared/postgres_data || exit 0
I, [2018-02-06T18:37:26.525728 #15]  INFO -- : 
I, [2018-02-06T18:37:26.525800 #15]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2018-02-06T18:37:26.533708 #15]  INFO -- : 
I, [2018-02-06T18:37:26.533828 #15]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2018-02-06T18:37:26.536014 #15]  INFO -- : 
I, [2018-02-06T18:37:26.536257 #15]  INFO -- : > /root/upgrade_postgres
I, [2018-02-06T18:37:26.540787 #15]  INFO -- : 
I, [2018-02-06T18:37:26.540990 #15]  INFO -- : > rm /root/upgrade_postgres
I, [2018-02-06T18:37:26.543580 #15]  INFO -- : 
I, [2018-02-06T18:37:26.543840 #15]  INFO -- : Replacing data_directory = '/var/lib/postgresql/9.5/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/9.5/main/postgresql.conf
I, [2018-02-06T18:37:26.544368 #15]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/9.5/main/postgresql.conf
I, [2018-02-06T18:37:26.545050 #15]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/9.5/main/postgresql.conf
I, [2018-02-06T18:37:26.545870 #15]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/9.5/main/postgresql.conf
I, [2018-02-06T18:37:26.546551 #15]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/9.5/main/postgresql.conf
I, [2018-02-06T18:37:26.547269 #15]  INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/9.5/main/postgresql.conf
I, [2018-02-06T18:37:26.547970 #15]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2018-02-06T18:37:26.550387 #15]  INFO -- : 
I, [2018-02-06T18:37:26.550701 #15]  INFO -- : Replacing (?-mix:#?max_wal_senders *=.*) with max_wal_senders = $db_max_wal_senders in /etc/postgresql/9.5/main/postgresql.conf
I, [2018-02-06T18:37:26.551006 #15]  INFO -- : Replacing (?-mix:#?wal_level *=.*) with wal_level = $db_wal_level in /etc/postgresql/9.5/main/postgresql.conf
I, [2018-02-06T18:37:26.551913 #15]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/9.5/main/postgresql.conf
I, [2018-02-06T18:37:26.552600 #15]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/9.5/main/postgresql.conf
I, [2018-02-06T18:37:26.553415 #15]  INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/9.5/main/postgresql.conf
I, [2018-02-06T18:37:26.554401 #15]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/9.5/main/pg_hba.conf
I, [2018-02-06T18:37:26.554670 #15]  INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/9.5/main/pg_hba.conf
I, [2018-02-06T18:37:26.555343 #15]  INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.5/bin/postmaster -D /etc/postgresql/9.5/main
I, [2018-02-06T18:37:26.557143 #15]  INFO -- : > sleep 5
2018-02-06 18:37:26.643 UTC [49] LOG:  database system was shut down at 2018-02-06 18:37:16 UTC
2018-02-06 18:37:26.646 UTC [49] LOG:  MultiXact member wraparound protections are now enabled
2018-02-06 18:37:26.648 UTC [53] LOG:  autovacuum launcher started
2018-02-06 18:37:26.649 UTC [46] LOG:  database system is ready to accept connections
I, [2018-02-06T18:37:31.559547 #15]  INFO -- : 
I, [2018-02-06T18:37:31.559955 #15]  INFO -- : > su postgres -c 'createdb discourse' || true
2018-02-06 18:37:31.611 UTC [58] postgres@postgres ERROR:  database "discourse" already exists
2018-02-06 18:37:31.611 UTC [58] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: database creation failed: ERROR:  database "discourse" already exists
I, [2018-02-06T18:37:31.612823 #15]  INFO -- : 
I, [2018-02-06T18:37:31.612992 #15]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2018-02-06 18:37:31.670 UTC [69] postgres@discourse ERROR:  role "discourse" already exists
2018-02-06 18:37:31.670 UTC [69] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
I, [2018-02-06T18:37:31.672708 #15]  INFO -- : 
I, [2018-02-06T18:37:31.672948 #15]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2018-02-06T18:37:31.725707 #15]  INFO -- : GRANT

I, [2018-02-06T18:37:31.725871 #15]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2018-02-06T18:37:31.770160 #15]  INFO -- : ALTER SCHEMA

I, [2018-02-06T18:37:31.770323 #15]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2018-02-06T18:37:31.820746 #15]  INFO -- : CREATE EXTENSION

I, [2018-02-06T18:37:31.820936 #15]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2018-02-06T18:37:31.867133 #15]  INFO -- : CREATE EXTENSION

I, [2018-02-06T18:37:31.867386 #15]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2018-02-06T18:37:31.917236 #15]  INFO -- : CREATE EXTENSION

I, [2018-02-06T18:37:31.917401 #15]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2018-02-06T18:37:31.962051 #15]  INFO -- : CREATE EXTENSION

I, [2018-02-06T18:37:31.962280 #15]  INFO -- : > sudo -u postgres psql discourse
I, [2018-02-06T18:37:31.963631 #15]  INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');

I, [2018-02-06T18:37:32.013963 #15]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x
I, [2018-02-06T18:37:32.016589 #15]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod: 
I, [2018-02-06T18:37:32.016715 #15]  INFO -- : > echo postgres installed!
I, [2018-02-06T18:37:32.018569 #15]  INFO -- : postgres installed!

I, [2018-02-06T18:37:32.023534 #15]  INFO -- : File > /etc/service/redis/run  chmod: +x
I, [2018-02-06T18:37:32.027631 #15]  INFO -- : File > /etc/service/redis/log/run  chmod: +x
I, [2018-02-06T18:37:32.031395 #15]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x
I, [2018-02-06T18:37:32.031621 #15]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2018-02-06T18:37:32.032235 #15]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2018-02-06T18:37:32.033292 #15]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2018-02-06T18:37:32.035917 #15]  INFO -- : 
I, [2018-02-06T18:37:32.036195 #15]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2018-02-06T18:37:32.036502 #15]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2018-02-06T18:37:32.038821 #15]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2018-02-06T18:37:32.039916 #15]  INFO -- : > echo redis installed
I, [2018-02-06T18:37:32.041551 #15]  INFO -- : redis installed

I, [2018-02-06T18:37:32.041701 #15]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2018-02-06T18:37:32.044161 #15]  INFO -- : logfile ""

I, [2018-02-06T18:37:32.044318 #15]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2018-02-06T18:37:32.045745 #15]  INFO -- : > sleep 10
                _._                                                  
           _.-``__ ''-._                                             
      _.-``    `.  `_.  ''-._           Redis 3.0.6 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._                                   
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 161
  `-._    `-._  `-./  _.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |           http://redis.io        
  `-._    `-._`-.__.-'_.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |                                  
  `-._    `-._`-.__.-'_.-'    _.-'                                   
      `-._    `-.__.-'    _.-'                                       
          `-._        _.-'                                           
              `-.__.-'                                               

161:M 06 Feb 18:37:32.049 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
161:M 06 Feb 18:37:32.049 # Server started, Redis version 3.0.6
161:M 06 Feb 18:37:32.049 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
161:M 06 Feb 18:37:32.049 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
161:M 06 Feb 18:37:32.131 * DB loaded from disk: 0.082 seconds
161:M 06 Feb 18:37:32.131 * The server is now ready to accept connections on port 6379
I, [2018-02-06T18:37:42.048077 #15]  INFO -- : 
I, [2018-02-06T18:37:42.048768 #15]  INFO -- : Replacing <policymap> with <policymap>
  <policy domain="coder" rights="none" pattern="EPHEMERAL" />
  <policy domain="coder" rights="none" pattern="URL" />
  <policy domain="coder" rights="none" pattern="HTTPS" />
  <policy domain="coder" rights="none" pattern="MVG" />
  <policy domain="coder" rights="none" pattern="MSL" />
  <policy domain="coder" rights="none" pattern="TEXT" />
  <policy domain="coder" rights="none" pattern="SHOW" />
  <policy domain="coder" rights="none" pattern="WIN" />
  <policy domain="coder" rights="none" pattern="PLT" />
 in /usr/local/etc/ImageMagick-6/policy.xml
I, [2018-02-06T18:37:42.050413 #15]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
I, [2018-02-06T18:37:42.096371 #15]  INFO -- : 
I, [2018-02-06T18:37:42.096551 #15]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2018-02-06T18:37:42.134321 #15]  INFO -- : 
I, [2018-02-06T18:37:42.134482 #15]  INFO -- : > chown -R discourse /home/discourse
I, [2018-02-06T18:37:42.136662 #15]  INFO -- : 
I, [2018-02-06T18:37:42.136820 #15]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2018-02-06T18:37:42.138398 #15]  INFO -- : 
I, [2018-02-06T18:37:42.140270 #15]  INFO -- : File > /etc/cron.d/anacron  chmod: 
I, [2018-02-06T18:37:42.144255 #15]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x
I, [2018-02-06T18:37:42.147575 #15]  INFO -- : File > /etc/runit/1.d/enable-brotli  chmod: +x
I, [2018-02-06T18:37:42.151439 #15]  INFO -- : File > /etc/service/unicorn/run  chmod: +x
I, [2018-02-06T18:37:42.155155 #15]  INFO -- : File > /etc/service/nginx/run  chmod: +x
I, [2018-02-06T18:37:42.158576 #15]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x
I, [2018-02-06T18:37:42.162311 #15]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x
I, [2018-02-06T18:37:42.162454 #15]  INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2018-02-06T18:37:42.162726 #15]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2018-02-06T18:37:42.164704 #15]  INFO -- : > cd /var/www/discourse && git reset --hard
187:M 06 Feb 18:37:42.167 # Creating Server TCP listening socket *:6379: bind: Address already in use
I, [2018-02-06T18:37:44.208382 #15]  INFO -- : HEAD is now at 38269c4 FIX: return regular notification level for categories when not set by user

I, [2018-02-06T18:37:44.208507 #15]  INFO -- : > cd /var/www/discourse && git clean -f
I, [2018-02-06T18:37:44.286997 #15]  INFO -- : 
I, [2018-02-06T18:37:44.287094 #15]  INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
I, [2018-02-06T18:37:44.289739 #15]  INFO -- : 
I, [2018-02-06T18:37:44.289825 #15]  INFO -- : > cd /var/www/discourse && git pull

(Régis Hanol) #2

I don’t think installing the same plugin twice is a good idea.


(Vaping Community) #3

I can kind of see why they got confused after looking at babbles installation instructions, maybe an OR would be good somewhere in there?