SHARE
TWEET

discourse-docker_bootstrap-failure_cant-cd-to-plugins

paste66 Jan 12th, 2017 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ./launcher bootstrap app
  2. vm.swappiness = 10
  3. pattern: vm.swappiness = 10
  4. cd /pups && git pull && /pups/bin/pups --stdin
  5. Already up-to-date.
  6. I, [2017-01-12T11:02:34.400121 #13]  INFO -- : Loading --stdin
  7. I, [2017-01-12T11:02:34.406403 #13]  INFO -- : > mkdir -p /shared/postgres_run
  8. I, [2017-01-12T11:02:34.409088 #13]  INFO -- :
  9. I, [2017-01-12T11:02:34.409329 #13]  INFO -- : > chown postgres:postgres /shared/postgres_run
  10. I, [2017-01-12T11:02:34.411678 #13]  INFO -- :
  11. I, [2017-01-12T11:02:34.411908 #13]  INFO -- : > chmod 775 /shared/postgres_run
  12. I, [2017-01-12T11:02:34.414289 #13]  INFO -- :
  13. I, [2017-01-12T11:02:34.414550 #13]  INFO -- : > rm -fr /var/run/postgresql
  14. I, [2017-01-12T11:02:34.417053 #13]  INFO -- :
  15. I, [2017-01-12T11:02:34.417275 #13]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
  16. I, [2017-01-12T11:02:34.418961 #13]  INFO -- :
  17. I, [2017-01-12T11:02:34.419233 #13]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
  18. 2017/01/12 11:02:34 socat[21] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
  19. I, [2017-01-12T11:02:34.427250 #13]  INFO -- :
  20. I, [2017-01-12T11:02:34.427620 #13]  INFO -- : > rm -fr /shared/postgres_run/.s*
  21. I, [2017-01-12T11:02:34.431168 #13]  INFO -- :
  22. I, [2017-01-12T11:02:34.431580 #13]  INFO -- : > rm -fr /shared/postgres_run/*.pid
  23. I, [2017-01-12T11:02:34.435260 #13]  INFO -- :
  24. I, [2017-01-12T11:02:34.435684 #13]  INFO -- : > mkdir -p /shared/postgres_run/9.5-main.pg_stat_tmp
  25. I, [2017-01-12T11:02:34.438317 #13]  INFO -- :
  26. I, [2017-01-12T11:02:34.438870 #13]  INFO -- : > chown postgres:postgres /shared/postgres_run/9.5-main.pg_stat_tmp
  27. I, [2017-01-12T11:02:34.441673 #13]  INFO -- :
  28. I, [2017-01-12T11:02:34.447517 #13]  INFO -- : File > /etc/service/postgres/run  chmod: +x
  29. I, [2017-01-12T11:02:34.452365 #13]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x
  30. I, [2017-01-12T11:02:34.455444 #13]  INFO -- : File > /root/upgrade_postgres  chmod: +x
  31. I, [2017-01-12T11:02:34.455758 #13]  INFO -- : > chown -R root /var/lib/postgresql/9.5/main
  32. I, [2017-01-12T11:02:34.801307 #13]  INFO -- :
  33. I, [2017-01-12T11:02:34.801624 #13]  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
  34. I, [2017-01-12T11:02:34.804374 #13]  INFO -- :
  35. I, [2017-01-12T11:02:34.804487 #13]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
  36. I, [2017-01-12T11:02:34.822738 #13]  INFO -- :
  37. I, [2017-01-12T11:02:34.823058 #13]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
  38. I, [2017-01-12T11:02:34.825437 #13]  INFO -- :
  39. I, [2017-01-12T11:02:34.825762 #13]  INFO -- : > /root/upgrade_postgres
  40. I, [2017-01-12T11:02:34.830515 #13]  INFO -- :
  41. I, [2017-01-12T11:02:34.830681 #13]  INFO -- : > rm /root/upgrade_postgres
  42. I, [2017-01-12T11:02:34.832426 #13]  INFO -- :
  43. I, [2017-01-12T11:02:34.833241 #13]  INFO -- : Replacing data_directory = '/var/lib/postgresql/9.5/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/9.5/main/postgresql.conf
  44. I, [2017-01-12T11:02:34.833776 #13]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/9.5/main/postgresql.conf
  45. I, [2017-01-12T11:02:34.834299 #13]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/9.5/main/postgresql.conf
  46. I, [2017-01-12T11:02:34.834809 #13]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/9.5/main/postgresql.conf
  47. I, [2017-01-12T11:02:34.835362 #13]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/9.5/main/postgresql.conf
  48. I, [2017-01-12T11:02:34.835920 #13]  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
  49. I, [2017-01-12T11:02:34.836429 #13]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
  50. I, [2017-01-12T11:02:34.840123 #13]  INFO -- :
  51. I, [2017-01-12T11:02:34.840469 #13]  INFO -- : Replacing (?-mix:#?max_wal_senders *=.*) with max_wal_senders = $db_max_wal_senders in /etc/postgresql/9.5/main/postgresql.conf
  52. I, [2017-01-12T11:02:34.840834 #13]  INFO -- : Replacing (?-mix:#?wal_level *=.*) with wal_level = $db_wal_level in /etc/postgresql/9.5/main/postgresql.conf
  53. I, [2017-01-12T11:02:34.841350 #13]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/9.5/main/postgresql.conf
  54. I, [2017-01-12T11:02:34.841867 #13]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/9.5/main/postgresql.conf
  55. I, [2017-01-12T11:02:34.842354 #13]  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
  56. I, [2017-01-12T11:02:34.843227 #13]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/9.5/main/pg_hba.conf
  57. I, [2017-01-12T11:02:34.843582 #13]  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
  58. I, [2017-01-12T11:02:34.843984 #13]  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
  59. I, [2017-01-12T11:02:34.845540 #13]  INFO -- : > sleep 5
  60. 2017-01-12 11:02:34 UTC [45-1] LOG:  database system was shut down at 2017-01-12 09:17:45 UTC
  61. 2017-01-12 11:02:34 UTC [45-2] LOG:  MultiXact member wraparound protections are now enabled
  62. 2017-01-12 11:02:34 UTC [49-1] LOG:  autovacuum launcher started
  63. 2017-01-12 11:02:34 UTC [42-1] LOG:  database system is ready to accept connections
  64. I, [2017-01-12T11:02:39.847691 #13]  INFO -- :
  65. I, [2017-01-12T11:02:39.848103 #13]  INFO -- : > su postgres -c 'createdb discourse' || true
  66. 2017-01-12 11:02:39 UTC [54-1] postgres@postgres ERROR:  database "discourse" already exists
  67. 2017-01-12 11:02:39 UTC [54-2] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
  68. createdb: database creation failed: ERROR:  database "discourse" already exists
  69. I, [2017-01-12T11:02:39.953985 #13]  INFO -- :
  70. I, [2017-01-12T11:02:39.954415 #13]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
  71. 2017-01-12 11:02:40 UTC [65-1] postgres@discourse ERROR:  role "discourse" already exists
  72. 2017-01-12 11:02:40 UTC [65-2] postgres@discourse STATEMENT:  create user discourse;
  73. ERROR:  role "discourse" already exists
  74. I, [2017-01-12T11:02:40.051859 #13]  INFO -- :
  75. I, [2017-01-12T11:02:40.052109 #13]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
  76. I, [2017-01-12T11:02:40.127730 #13]  INFO -- : GRANT
  77.  
  78. I, [2017-01-12T11:02:40.127907 #13]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
  79. I, [2017-01-12T11:02:40.192178 #13]  INFO -- : ALTER SCHEMA
  80.  
  81. I, [2017-01-12T11:02:40.192364 #13]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
  82. NOTICE:  extension "hstore" already exists, skipping
  83. I, [2017-01-12T11:02:40.277420 #13]  INFO -- : CREATE EXTENSION
  84.  
  85. I, [2017-01-12T11:02:40.277610 #13]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
  86. NOTICE:  extension "pg_trgm" already exists, skipping
  87. I, [2017-01-12T11:02:40.340045 #13]  INFO -- : CREATE EXTENSION
  88.  
  89. I, [2017-01-12T11:02:40.340285 #13]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
  90. NOTICE:  extension "hstore" already exists, skipping
  91. I, [2017-01-12T11:02:40.400381 #13]  INFO -- : CREATE EXTENSION
  92.  
  93. I, [2017-01-12T11:02:40.400648 #13]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
  94. NOTICE:  extension "pg_trgm" already exists, skipping
  95. I, [2017-01-12T11:02:40.457388 #13]  INFO -- : CREATE EXTENSION
  96.  
  97. I, [2017-01-12T11:02:40.457778 #13]  INFO -- : > sudo -u postgres psql discourse
  98. I, [2017-01-12T11:02:40.459817 #13]  INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');
  99.  
  100. I, [2017-01-12T11:02:40.544576 #13]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x
  101. I, [2017-01-12T11:02:40.546953 #13]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:
  102. I, [2017-01-12T11:02:40.547171 #13]  INFO -- : > echo postgres installed!
  103. I, [2017-01-12T11:02:40.548852 #13]  INFO -- : postgres installed!
  104.  
  105. I, [2017-01-12T11:02:40.552303 #13]  INFO -- : File > /etc/service/redis/run  chmod: +x
  106. I, [2017-01-12T11:02:40.555973 #13]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x
  107. I, [2017-01-12T11:02:40.556609 #13]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
  108. I, [2017-01-12T11:02:40.557159 #13]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
  109. I, [2017-01-12T11:02:40.557626 #13]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
  110. I, [2017-01-12T11:02:40.560125 #13]  INFO -- :
  111. I, [2017-01-12T11:02:40.560493 #13]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
  112. I, [2017-01-12T11:02:40.560955 #13]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
  113. I, [2017-01-12T11:02:40.561460 #13]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
  114. I, [2017-01-12T11:02:40.561947 #13]  INFO -- : > echo redis installed
  115. I, [2017-01-12T11:02:40.563521 #13]  INFO -- : redis installed
  116.  
  117. I, [2017-01-12T11:02:40.563730 #13]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
  118. I, [2017-01-12T11:02:40.568975 #13]  INFO -- : logfile ""
  119.  
  120. I, [2017-01-12T11:02:40.569127 #13]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
  121. I, [2017-01-12T11:02:40.570452 #13]  INFO -- : > sleep 10
  122.                 _._                                                  
  123.            _.-``__ ''-._                                            
  124.       _.-``    `.  `_.  ''-._           Redis 3.0.6 (00000000/0) 64 bit
  125.   .-`` .-```.  ```\/    _.,_ ''-._                                  
  126.  (    '      ,       .-`  | `,    )     Running in standalone mode
  127. |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
  128. |    `-._   `._    /     _.-'    |     PID: 155
  129.   `-._    `-._  `-./  _.-'    _.-'                                  
  130.  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
  131. |    `-._`-._        _.-'_.-'    |           http://redis.io        
  132.  `-._    `-._`-.__.-'_.-'    _.-'                                  
  133.  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
  134. |    `-._`-._        _.-'_.-'    |                                  
  135.  `-._    `-._`-.__.-'_.-'    _.-'                                  
  136.       `-._    `-.__.-'    _.-'                                      
  137.           `-._        _.-'                                          
  138.              `-.__.-'                                              
  139.  
  140. 155:M 12 Jan 11:02:40.577 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
  141. 155:M 12 Jan 11:02:40.577 # Server started, Redis version 3.0.6
  142. 155:M 12 Jan 11:02:40.578 # 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.
  143. 155:M 12 Jan 11:02:40.578 # 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.
  144. 155:M 12 Jan 11:02:40.579 * DB loaded from disk: 0.001 seconds
  145. 155:M 12 Jan 11:02:40.579 * The server is now ready to accept connections on port 6379
  146. I, [2017-01-12T11:02:50.572987 #13]  INFO -- :
  147. I, [2017-01-12T11:02:50.574165 #13]  INFO -- : Replacing <policymap> with <policymap>
  148.   <policy domain="coder" rights="none" pattern="EPHEMERAL" />
  149.   <policy domain="coder" rights="none" pattern="URL" />
  150.   <policy domain="coder" rights="none" pattern="HTTPS" />
  151.   <policy domain="coder" rights="none" pattern="MVG" />
  152.   <policy domain="coder" rights="none" pattern="MSL" />
  153.   <policy domain="coder" rights="none" pattern="TEXT" />
  154.   <policy domain="coder" rights="none" pattern="SHOW" />
  155.   <policy domain="coder" rights="none" pattern="WIN" />
  156.   <policy domain="coder" rights="none" pattern="PLT" />
  157.  in /usr/local/etc/ImageMagick-6/policy.xml
  158. I, [2017-01-12T11:02:50.574981 #13]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
  159. I, [2017-01-12T11:02:50.628058 #13]  INFO -- :
  160. I, [2017-01-12T11:02:50.628490 #13]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
  161. I, [2017-01-12T11:02:50.678957 #13]  INFO -- :
  162. I, [2017-01-12T11:02:50.679407 #13]  INFO -- : > chown -R discourse /home/discourse
  163. I, [2017-01-12T11:02:50.682603 #13]  INFO -- :
  164. I, [2017-01-12T11:02:50.683147 #13]  INFO -- : > rm -f /etc/cron.d/anacron
  165. I, [2017-01-12T11:02:50.684677 #13]  INFO -- :
  166. I, [2017-01-12T11:02:50.687253 #13]  INFO -- : File > /etc/cron.d/anacron  chmod:
  167. I, [2017-01-12T11:02:50.690949 #13]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x
  168. I, [2017-01-12T11:02:50.694805 #13]  INFO -- : File > /etc/runit/1.d/00-fix-log-permissions  chmod: +x
  169. I, [2017-01-12T11:02:50.698754 #13]  INFO -- : File > /etc/runit/1.d/enable-brotli  chmod: +x
  170. I, [2017-01-12T11:02:50.703058 #13]  INFO -- : File > /etc/service/unicorn/run  chmod: +x
  171. I, [2017-01-12T11:02:50.707152 #13]  INFO -- : File > /etc/service/nginx/run  chmod: +x
  172. I, [2017-01-12T11:02:50.711405 #13]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x
  173. I, [2017-01-12T11:02:50.715652 #13]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x
  174. I, [2017-01-12T11:02:50.715778 #13]  INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
  175. I, [2017-01-12T11:02:50.716139 #13]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
  176. I, [2017-01-12T11:02:50.718757 #13]  INFO -- : > cd /var/www/discourse && git reset --hard
  177. 183:M 12 Jan 11:02:50.723 # Creating Server TCP listening socket *:6379: bind: Address already in use
  178. I, [2017-01-12T11:02:51.834829 #13]  INFO -- : HEAD is now at 6734743 Remove unread counts from last section of summary email, and rename it "New for you"
  179.  
  180. I, [2017-01-12T11:02:51.835291 #13]  INFO -- : > cd /var/www/discourse && git clean -f
  181. I, [2017-01-12T11:02:51.958360 #13]  INFO -- :
  182. I, [2017-01-12T11:02:51.958700 #13]  INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
  183. I, [2017-01-12T11:02:51.964749 #13]  INFO -- :
  184. I, [2017-01-12T11:02:51.964989 #13]  INFO -- : > cd /var/www/discourse && git pull
  185. From https://github.com/discourse/discourse
  186.    6734743..1570c4e  master     -> origin/master
  187.    969276b..ee17eb9  beta       -> origin/beta
  188.    b0fe5d3..d20cbfb  stable     -> origin/stable
  189.    a82182e..1570c4e  tests-passed -> origin/tests-passed
  190.  * [new tag]         v1.7.0     -> v1.7.0
  191.  * [new tag]         v1.7.0.beta11 -> v1.7.0.beta11
  192.  * [new tag]         v1.8.0.beta1 -> v1.8.0.beta1
  193. I, [2017-01-12T11:02:55.834068 #13]  INFO -- : Updating 6734743..1570c4e
  194. Fast-forward
  195.  .mention-bot                                       |    6 +-
  196.  .travis.yml                                        |    1 +
  197.  Gemfile                                            |   17 +-
  198.  Gemfile.lock                                       |    8 +-
  199.  README.md                                          |   10 +-
  200.  .../admin/controllers/admin-plugins.js.es6         |   19 +-
  201.  .../admin/controllers/admin-user-index.js.es6      |    2 +-
  202.  .../admin/controllers/admin-web-hooks-show.js.es6  |    6 +
  203.  app/assets/javascripts/admin/models/report.js.es6  |    3 +-
  204.  .../javascripts/admin/models/web-hook.js.es6       |   12 +-
  205.  .../templates/components/admin-report-counts.hbs   |   21 +-
  206.  .../components/admin-report-trust-level-counts.hbs |   10 +-
  207.  .../admin/templates/components/permalink-form.hbs  |    2 +-
  208.  .../javascripts/admin/templates/dashboard.hbs      |   14 +-
  209.  app/assets/javascripts/admin/templates/emojis.hbs  |    2 +-
  210.  .../javascripts/admin/templates/groups-type.hbs    |    2 +-
  211.  .../javascripts/admin/templates/user-index.hbs     |   18 +-
  212.  .../admin/templates/users-list-show.hbs            |    4 +-
  213.  .../javascripts/admin/templates/web-hooks-show.hbs |    2 +-
  214.  .../discourse-common/helpers/i18n.js.es6           |    1 +
  215.  .../discourse/components/avatar-uploader.js.es6    |    4 +
  216.  .../discourse/components/csv-uploader.js.es6       |    4 +
  217.  .../discourse/components/d-editor.js.es6           |   25 +-
  218.  .../discourse/components/emoji-uploader.js.es6     |    4 +
  219.  .../components/group-membership-button.js.es6      |   31 +-
  220.  .../discourse/components/image-uploader.js.es6     |    4 +
  221.  .../discourse/components/quote-button.js.es6       |   29 +-
  222.  .../components/topic-footer-mobile-dropdown.js.es6 |    5 +-
  223.  .../discourse/controllers/group-index.js.es6       |   13 +-
  224.  .../javascripts/discourse/controllers/group.js.es6 |   12 +-
  225.  .../discourse/controllers/preferences/email.js.es6 |   20 +-
  226.  .../javascripts/discourse/controllers/topic.js.es6 |   41 +-
  227.  .../javascripts/discourse/controllers/user.js.es6  |    2 +-
  228.  .../discourse/helpers/application.js.es6           |    4 +-
  229.  .../discourse/helpers/max-usernames.js.es6         |   10 -
  230.  .../discourse/helpers/raw-plugin-outlet.js.es6     |    4 +-
  231.  .../discourse/lib/plugin-connectors.js.es6         |   19 +-
  232.  .../javascripts/discourse/lib/quote-state.js.es6   |   15 +
  233.  .../javascripts/discourse/lib/safari-hacks.js.es6  |   31 +-
  234.  app/assets/javascripts/discourse/lib/text.js.es6   |    4 +-
  235.  .../javascripts/discourse/lib/utilities.js.es6     |  136 +-
  236.  .../javascripts/discourse/mixins/upload.js.es6     |    7 +-
  237.  .../javascripts/discourse/models/group.js.es6      |    7 +-
  238.  .../discourse/routes/forgot-password.js.es6        |    4 +-
  239.  .../javascripts/discourse/routes/topic.js.es6      |    2 +-
  240.  .../components/group-membership-button.hbs         |    4 +-
  241.  .../templates/components/topic-footer-buttons.hbs  |    8 +-
  242.  .../templates/components/user-card-contents.hbs    |    4 +-
  243.  .../discourse/templates/group-index.hbs            |    9 +-
  244.  .../javascripts/discourse/templates/groups.hbs     |    3 +-
  245.  .../templates/mobile/list/topic-list-item.raw.hbs  |    4 +-
  246.  .../discourse/templates/mobile/modal/login.hbs     |  105 +-
  247.  .../discourse/templates/modal/forgot-password.hbs  |   14 +-
  248.  .../discourse/templates/preferences-email.hbs      |    3 +-
  249.  .../javascripts/discourse/templates/topic.hbs      |    4 +-
  250.  .../templates/user-selector-autocomplete.raw.hbs   |    6 +-
  251.  .../javascripts/discourse/templates/user.hbs       |    2 +-
  252.  .../discourse/templates/user/summary.hbs           |    2 +-
  253.  .../discourse/widgets/hamburger-menu.js.es6        |    2 +-
  254.  .../javascripts/discourse/widgets/topic-map.js.es6 |    9 +-
  255.  .../discourse/widgets/topic-timeline.js.es6        |    2 +-
  256.  app/assets/javascripts/locales/uk.js.erb           |    2 +-
  257.  app/assets/javascripts/pretty-text/emoji.js.es6    |    2 +-
  258.  .../engines/discourse-markdown/quote.js.es6        |   20 +-
  259.  app/assets/stylesheets/common/base/combobox.scss   |    2 +
  260.  app/assets/stylesheets/common/base/compose.scss    |   15 +-
  261.  app/assets/stylesheets/common/base/groups.scss     |    9 +-
  262.  app/assets/stylesheets/common/base/modal.scss      |    4 +
  263.  app/assets/stylesheets/common/base/onebox.scss     |    6 +-
  264.  app/assets/stylesheets/common/base/tagging.scss    |   17 +
  265.  app/assets/stylesheets/common/base/topic-post.scss |    1 +
  266.  app/assets/stylesheets/common/base/topic.scss      |    5 +
  267.  app/assets/stylesheets/common/foundation/base.scss |    1 +
  268.  app/assets/stylesheets/common/topic-timeline.scss  |    1 +
  269.  app/assets/stylesheets/desktop/modal.scss          |    1 -
  270.  app/assets/stylesheets/desktop/topic-post.scss     |   15 -
  271.  app/assets/stylesheets/desktop/topic.scss          |    1 -
  272.  app/assets/stylesheets/mobile/topic.scss           |    5 +-
  273.  app/controllers/admin/backups_controller.rb        |   11 +-
  274.  .../admin/email_templates_controller.rb            |    7 +-
  275.  app/controllers/admin/users_controller.rb          |    7 +-
  276.  app/controllers/groups_controller.rb               |   10 +
  277.  app/controllers/invites_controller.rb              |    4 +-
  278.  app/controllers/metadata_controller.rb             |   18 +-
  279.  app/controllers/post_actions_controller.rb         |    2 +
  280.  app/controllers/tags_controller.rb                 |    3 +-
  281.  app/controllers/users_controller.rb                |    4 +-
  282.  app/jobs/regular/user_email.rb                     |    2 +-
  283.  app/mailers/user_notifications.rb                  |  106 +-
  284.  app/models/badge.rb                                |    7 +
  285.  app/models/email_change_request.rb                 |    6 +
  286.  app/models/emoji.rb                                |    3 +-
  287.  app/models/global_setting.rb                       |   16 +-
  288.  app/models/group.rb                                |    5 +
  289.  app/models/optimized_image.rb                      |    2 +-
  290.  app/models/topic.rb                                |    1 +
  291.  app/models/upload.rb                               |   15 +-
  292.  app/models/user.rb                                 |   24 +-
  293.  app/models/user_history.rb                         |   12 +-
  294.  app/models/user_search.rb                          |    2 +
  295.  app/models/username_validator.rb                   |    2 +
  296.  app/serializers/admin_email_template_serializer.rb |    6 +-
  297.  app/services/badge_granter.rb                      |    4 +-
  298.  app/services/group_action_logger.rb                |   30 +-
  299.  app/services/staff_action_logger.rb                |   27 +-
  300.  app/services/user_blocker.rb                       |    7 +-
  301.  app/services/user_destroyer.rb                     |    8 +-
  302.  app/views/layouts/application.html.erb             |    4 +
  303.  app/views/user_notifications/digest.html.erb       |   18 +-
  304.  app/views/user_notifications/mailing_list.html.erb |   11 +-
  305.  config/application.rb                              |    9 +
  306.  config/locales/client.ar.yml                       |   64 +-
  307.  config/locales/client.bs_BA.yml                    |    1 -
  308.  config/locales/client.cs.yml                       |    2 -
  309.  config/locales/client.da.yml                       |    2 -
  310.  config/locales/client.de.yml                       |   59 +-
  311.  config/locales/client.en.yml                       |   20 +-
  312.  config/locales/client.es.yml                       |   11 +-
  313.  config/locales/client.et.yml                       |   66 +-
  314.  config/locales/client.fa_IR.yml                    |    1 -
  315.  config/locales/client.fi.yml                       |   12 +-
  316.  config/locales/client.fr.yml                       |   13 +-
  317.  config/locales/client.gl.yml                       |    1 -
  318.  config/locales/client.he.yml                       |    7 +-
  319.  config/locales/client.it.yml                       |  191 +-
  320.  config/locales/client.ja.yml                       |   30 +-
  321.  config/locales/client.ko.yml                       |    1 -
  322.  config/locales/client.nb_NO.yml                    | 1014 ++++++++--
  323.  config/locales/client.nl.yml                       |    2 -
  324.  config/locales/client.pl_PL.yml                    |   39 +-
  325.  config/locales/client.pt.yml                       |   28 +-
  326.  config/locales/client.pt_BR.yml                    |    2 -
  327.  config/locales/client.ro.yml                       |    2 -
  328.  config/locales/client.ru.yml                       |  167 +-
  329.  config/locales/client.sk.yml                       |    2 -
  330.  config/locales/client.sq.yml                       |    4 +-
  331.  config/locales/client.sv.yml                       |    2 -
  332.  config/locales/client.te.yml                       |    1 -
  333.  config/locales/client.tr_TR.yml                    |   11 +-
  334.  config/locales/client.uk.yml                       |    2 -
  335.  config/locales/client.vi.yml                       |    1 -
  336.  config/locales/client.zh_CN.yml                    |   41 +-
  337.  config/locales/client.zh_TW.yml                    |  865 ++++++++-
  338.  config/locales/plurals.rb                          |    3 +-
  339.  config/locales/server.da.yml                       |    1 -
  340.  config/locales/server.de.yml                       |  247 +--
  341.  config/locales/server.en.yml                       |  109 +-
  342.  config/locales/server.es.yml                       |   47 +-
  343.  config/locales/server.et.yml                       |  253 +++
  344.  config/locales/server.fa_IR.yml                    |   38 +-
  345.  config/locales/server.fi.yml                       |   52 +
  346.  config/locales/server.fr.yml                       |   43 +-
  347.  config/locales/server.he.yml                       |   25 +-
  348.  config/locales/server.it.yml                       |   69 +-
  349.  config/locales/server.ja.yml                       |    7 +
  350.  config/locales/server.nb_NO.yml                    |  256 ++-
  351.  config/locales/server.nl.yml                       |   14 +
  352.  config/locales/server.pt.yml                       |    1 -
  353.  config/locales/server.ro.yml                       |    1 -
  354.  config/locales/server.ru.yml                       |   10 +
  355.  config/locales/server.tr_TR.yml                    |    1 -
  356.  config/locales/server.vi.yml                       |    2 +-
  357.  config/locales/server.zh_CN.yml                    |   27 +-
  358.  config/locales/server.zh_TW.yml                    | 2013 +++++++++++++++++++-
  359.  config/routes.rb                                   |    4 +-
  360.  config/site_settings.yml                           |   12 +-
  361.  db/fixtures/001_categories.rb                      |    4 +-
  362.  docs/INSTALL-cloud.md                              |    8 +-
  363.  docs/INSTALL.md                                    |   10 +-
  364.  docs/SECURITY.md                                   |    2 +-
  365.  .../postgresql_fallback_adapter.rb                 |    4 +-
  366.  lib/custom_setting_providers.rb                    |    7 +
  367.  lib/discourse.rb                                   |   65 +-
  368.  lib/discourse_hub.rb                               |    2 +-
  369.  lib/email/receiver.rb                              |   33 +-
  370.  lib/email/styles.rb                                |   19 +-
  371.  lib/email_updater.rb                               |    6 +-
  372.  lib/guardian.rb                                    |    6 +-
  373.  lib/homepage_constraint.rb                         |    2 +
  374.  lib/javascripts/locale/uk.js                       |    3 +-
  375.  lib/oneboxer.rb                                    |    8 +-
  376.  lib/plugin/instance.rb                             |   22 +-
  377.  lib/plugin_gem.rb                                  |   27 +
  378.  lib/post_creator.rb                                |   11 +
  379.  lib/post_destroyer.rb                              |    2 +-
  380.  lib/pretty_text/helpers.rb                         |    2 +-
  381.  lib/validators/censored_words_validator.rb         |   15 +
  382.  lib/validators/email_validator.rb                  |    2 +-
  383.  lib/version.rb                                     |    4 +-
  384.  .../assets/javascripts/initializers/lazyYT.js.es6  |   16 +-
  385.  plugins/poll/config/locales/client.nb_NO.yml       |   40 +-
  386.  plugins/poll/config/locales/client.uk.yml          |   13 +
  387.  plugins/poll/config/locales/client.zh_TW.yml       |   58 +-
  388.  plugins/poll/config/locales/server.de.yml          |    2 +-
  389.  plugins/poll/config/locales/server.nb_NO.yml       |   40 +-
  390.  plugins/poll/config/locales/server.zh_TW.yml       |   35 +-
  391.  public/403.nb_NO.html                              |    4 +-
  392.  public/422.nb_NO.html                              |    2 +-
  393.  public/500.nb_NO.html                              |    4 +-
  394.  public/503.nb_NO.html                              |    2 +-
  395.  script/import_scripts/bbpress.rb                   |   20 +-
  396.  script/import_scripts/drupal-6.rb                  |  210 ++
  397.  script/import_scripts/vbulletin.rb                 |   20 +-
  398.  .../postgresql_fallback_adapter_spec.rb            |    9 +-
  399.  spec/components/discourse_spec.rb                  |    6 +-
  400.  spec/components/email/receiver_spec.rb             |   51 +-
  401.  spec/components/email/styles_spec.rb               |    6 +
  402.  spec/components/guardian_spec.rb                   |   32 +-
  403.  spec/components/post_creator_spec.rb               |   35 +
  404.  spec/components/pretty_text_spec.rb                |   13 +-
  405.  spec/components/validators/email_validator_spec.rb |   12 +
  406.  spec/controllers/admin/backups_controller_spec.rb  |   16 +-
  407.  spec/controllers/post_actions_controller_spec.rb   |    5 +
  408.  .../fabricators/email_change_request_fabricator.rb |    6 +
  409.  spec/fixtures/emails/forwarded_email_2.eml         |    2 +-
  410.  spec/fixtures/emails/forwarded_email_3.eml         |   18 +
  411.  spec/fixtures/images/huge.jpg                      |  Bin 0 -> 557056 bytes
  412.  spec/integration/groups_spec.rb                    |   20 +
  413.  spec/jobs/user_email_spec.rb                       |   20 +-
  414.  spec/models/email_change_request_spec.rb           |   14 +
  415.  spec/models/topic_spec.rb                          |   46 +-
  416.  spec/models/upload_spec.rb                         |   11 +-
  417.  spec/models/user_spec.rb                           |   36 +-
  418.  spec/services/staff_action_logger_spec.rb          |   58 +
  419.  spec/services/user_activator_spec.rb               |    9 -
  420.  spec/services/user_blocker_spec.rb                 |   14 +
  421.  spec/services/user_destroyer_spec.rb               |    4 +-
  422.  test/javascripts/acceptance/group-edit-test.js.es6 |    4 +-
  423.  test/javascripts/acceptance/groups-test.js.es6     |   33 +-
  424.  .../javascripts/acceptance/preferences-test.js.es6 |    8 +-
  425.  .../acceptance/raw-plugin-outlet-test.js.es6       |   23 +
  426.  test/javascripts/components/d-editor-test.js.es6   |   95 +-
  427.  .../components/group-membership-button-test.js.es6 |   28 +-
  428.  test/javascripts/fixtures/group-fixtures.js.es6    |    1 +
  429.  test/javascripts/fixtures/groups-fixtures.js.es6   |    2 +-
  430.  235 files changed, 7429 insertions(+), 1115 deletions(-)
  431.  delete mode 100644 app/assets/javascripts/discourse/helpers/max-usernames.js.es6
  432.  create mode 100644 app/assets/javascripts/discourse/lib/quote-state.js.es6
  433.  create mode 100644 lib/custom_setting_providers.rb
  434.  create mode 100644 lib/plugin_gem.rb
  435.  create mode 100644 lib/validators/censored_words_validator.rb
  436.  create mode 100644 script/import_scripts/drupal-6.rb
  437.  create mode 100644 spec/fabricators/email_change_request_fabricator.rb
  438.  create mode 100644 spec/fixtures/emails/forwarded_email_3.eml
  439.  create mode 100644 spec/fixtures/images/huge.jpg
  440.  create mode 100644 spec/models/email_change_request_spec.rb
  441.  create mode 100644 test/javascripts/acceptance/raw-plugin-outlet-test.js.es6
  442.  
  443. I, [2017-01-12T11:02:55.834382 #13]  INFO -- : > cd /var/www/discourse && git fetch origin tests-passed
  444. From https://github.com/discourse/discourse
  445.  * branch            tests-passed -> FETCH_HEAD
  446. I, [2017-01-12T11:02:56.716618 #13]  INFO -- :
  447. I, [2017-01-12T11:02:56.716810 #13]  INFO -- : > cd /var/www/discourse && git checkout tests-passed
  448. Switched to a new branch 'tests-passed'
  449. I, [2017-01-12T11:02:56.922210 #13]  INFO -- : Branch tests-passed set up to track remote branch tests-passed from origin.
  450.  
  451. I, [2017-01-12T11:02:56.922371 #13]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
  452. I, [2017-01-12T11:02:56.925590 #13]  INFO -- :
  453. I, [2017-01-12T11:02:56.925680 #13]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
  454. I, [2017-01-12T11:02:56.927980 #13]  INFO -- :
  455. I, [2017-01-12T11:02:56.928075 #13]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
  456. I, [2017-01-12T11:02:56.930938 #13]  INFO -- :
  457. I, [2017-01-12T11:02:56.931035 #13]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
  458. I, [2017-01-12T11:02:56.933274 #13]  INFO -- :
  459. I, [2017-01-12T11:02:56.933364 #13]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr}.log"
  460. I, [2017-01-12T11:02:56.937289 #13]  INFO -- :
  461. I, [2017-01-12T11:02:56.937388 #13]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr}.log /var/www/discourse/log"
  462. I, [2017-01-12T11:02:56.941046 #13]  INFO -- :
  463. I, [2017-01-12T11:02:56.941131 #13]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
  464. I, [2017-01-12T11:02:56.945113 #13]  INFO -- :
  465. I, [2017-01-12T11:02:56.945319 #13]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
  466. I, [2017-01-12T11:02:56.948951 #13]  INFO -- :
  467. I, [2017-01-12T11:02:56.949158 #13]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups
  468. I, [2017-01-12T11:02:56.952710 #13]  INFO -- :
  469. I, [2017-01-12T11:02:56.953222 #13]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
  470. I, [2017-01-12T11:02:56.953555 #13]  INFO -- : > cd /plugins && mkdir -p /plugins
  471. sh: 1: cd: can't cd to /plugins
  472. I, [2017-01-12T11:02:56.955164 #13]  INFO -- :
  473. I, [2017-01-12T11:02:56.955461 #13]  INFO -- : Terminating async processes
  474. I, [2017-01-12T11:02:56.955507 #13]  INFO -- : Sending INT to 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 pid: 42
  475. I, [2017-01-12T11:02:56.955576 #13]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 155
  476. 2017-01-12 11:02:56 UTC [42-2] LOG:  received fast shutdown request
  477. 2017-01-12 11:02:56 UTC [42-3] LOG:  aborting any active transactions
  478. 2017-01-12 11:02:56 UTC [49-2] LOG:  autovacuum launcher shutting down
  479. 155:signal-handler (1484218976) Received SIGTERM scheduling shutdown...
  480. 2017-01-12 11:02:56 UTC [46-1] LOG:  shutting down
  481. 2017-01-12 11:02:56 UTC [46-2] LOG:  database system is shut down
  482. 155:M 12 Jan 11:02:57.017 # User requested shutdown...
  483. 155:M 12 Jan 11:02:57.017 * Saving the final RDB snapshot before exiting.
  484. 155:M 12 Jan 11:02:57.022 * DB saved on disk
  485. 155:M 12 Jan 11:02:57.022 # Redis is now ready to exit, bye bye...
  486.  
  487.  
  488. FAILED
  489. --------------------
  490. Pups::ExecError: cd /plugins && mkdir -p /plugins failed with return #<Process::Status: pid 256 exit 2>
  491. Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
  492. exec failed with the params {"cd"=>"/plugins", "cmd"=>["mkdir -p /plugins", "git clone https://github.com/discourse/docker_manager.git"]}
  493. 72bd39c491e27a1e2695a52e7b75740ec9edd1c0268ffb0b8199799118fc7242
  494. ** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
  495.  
  496.  
  497. Disconnecting from root@163.44.118.101... done.
RAW Paste Data
Top