Advertisement
Guest User

Discourse Error

a guest
May 20th, 2021
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 68.33 KB | None | 0 0
  1. root@main:/var/discourse# ./launcher rebuild app
  2. Ensuring launcher is up to date
  3. Fordere an von origin
  4. Launcher is up-to-date
  5. Stopping old container
  6. + /usr/bin/docker stop -t 60 app
  7. app
  8. cd /pups && git pull && git checkout v1.0.3 && /pups/bin/pups --stdin
  9. From https://github.com/discourse/pups
  10.    b2e71c5..17f04ec  master       -> origin/master
  11.  * [new branch]      gen-env-args -> origin/gen-env-args
  12. Updating b2e71c5..17f04ec
  13. Fast-forward
  14.  README.md           | 22 ++++++++++--
  15.  lib/pups/cli.rb     | 33 +++++++++++++-----
  16.  lib/pups/config.rb  | 25 ++++++++++++++
  17.  test/cli_test.rb    | 39 +++++++++++++++++++++
  18.  test/config_test.rb | 99 +++++++++++++++++++++++++++++++++++++++++------------
  19.  test/test_helper.rb |  1 +
  20.  6 files changed, 186 insertions(+), 33 deletions(-)
  21.  create mode 100644 test/cli_test.rb
  22. Note: checking out 'v1.0.3'.
  23.  
  24. You are in 'detached HEAD' state. You can look around, make experimental
  25. changes and commit them, and you can discard any commits you make in this
  26. state without impacting any branches by performing another checkout.
  27.  
  28. If you want to create a new branch to retain commits you create, you may
  29. do so (now or later) by using -b with the checkout command again. Example:
  30.  
  31.   git checkout -b <new-branch-name>
  32.  
  33. HEAD is now at d1db030 cut a new version
  34. I, [2021-05-21T01:16:48.066174 #1]  INFO -- : Loading --stdin
  35. I, [2021-05-21T01:16:48.072168 #1]  INFO -- : > locale-gen $LANG && update-locale
  36. I, [2021-05-21T01:16:48.096605 #1]  INFO -- : Generating locales (this might take a while)...
  37. Generation complete.
  38.  
  39. I, [2021-05-21T01:16:48.096811 #1]  INFO -- : > mkdir -p /shared/postgres_run
  40. I, [2021-05-21T01:16:48.099582 #1]  INFO -- :
  41. I, [2021-05-21T01:16:48.099730 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
  42. I, [2021-05-21T01:16:48.101596 #1]  INFO -- :
  43. I, [2021-05-21T01:16:48.101773 #1]  INFO -- : > chmod 775 /shared/postgres_run
  44. I, [2021-05-21T01:16:48.103520 #1]  INFO -- :
  45. I, [2021-05-21T01:16:48.103633 #1]  INFO -- : > rm -fr /var/run/postgresql
  46. I, [2021-05-21T01:16:48.105221 #1]  INFO -- :
  47. I, [2021-05-21T01:16:48.105336 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
  48. I, [2021-05-21T01:16:48.106951 #1]  INFO -- :
  49. I, [2021-05-21T01:16:48.107068 #1]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
  50. 2021/05/21 01:16:48 socat[31] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
  51. I, [2021-05-21T01:16:48.112866 #1]  INFO -- :
  52. I, [2021-05-21T01:16:48.113063 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
  53. I, [2021-05-21T01:16:48.115230 #1]  INFO -- :
  54. I, [2021-05-21T01:16:48.115396 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
  55. I, [2021-05-21T01:16:48.117711 #1]  INFO -- :
  56. I, [2021-05-21T01:16:48.117803 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
  57. I, [2021-05-21T01:16:48.119448 #1]  INFO -- :
  58. I, [2021-05-21T01:16:48.119652 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
  59. I, [2021-05-21T01:16:48.121283 #1]  INFO -- :
  60. I, [2021-05-21T01:16:48.133223 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown:
  61. I, [2021-05-21T01:16:48.136419 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown:
  62. I, [2021-05-21T01:16:48.140271 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown:
  63. I, [2021-05-21T01:16:48.143749 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown:
  64. I, [2021-05-21T01:16:48.144245 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
  65. I, [2021-05-21T01:16:48.723375 #1]  INFO -- :
  66. I, [2021-05-21T01:16:48.723556 #1]  INFO -- : > [ ! -e /shared/postgres_data ] && install -d -m 0755 -o postgres -g postgres /shared/postgres_data && sudo -E -u postgres /usr/lib/postgresql/13/bin/initdb -D /shared/postgres_data || exit 0
  67. I, [2021-05-21T01:16:48.725255 #1]  INFO -- :
  68. I, [2021-05-21T01:16:48.725298 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
  69. I, [2021-05-21T01:16:48.749565 #1]  INFO -- :
  70. I, [2021-05-21T01:16:48.749733 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
  71. I, [2021-05-21T01:16:48.752006 #1]  INFO -- :
  72. I, [2021-05-21T01:16:48.752152 #1]  INFO -- : > /root/upgrade_postgres
  73. I, [2021-05-21T01:16:48.756341 #1]  INFO -- :
  74. I, [2021-05-21T01:16:48.756432 #1]  INFO -- : > rm /root/upgrade_postgres
  75. I, [2021-05-21T01:16:48.758182 #1]  INFO -- :
  76. I, [2021-05-21T01:16:48.758389 #1]  INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
  77. I, [2021-05-21T01:16:48.758934 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
  78. I, [2021-05-21T01:16:48.759156 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
  79. I, [2021-05-21T01:16:48.759443 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
  80. I, [2021-05-21T01:16:48.759740 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
  81. I, [2021-05-21T01:16:48.759986 #1]  INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/13/main/postgresql.conf
  82. I, [2021-05-21T01:16:48.760188 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
  83. I, [2021-05-21T01:16:48.762511 #1]  INFO -- :
  84. I, [2021-05-21T01:16:48.762727 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
  85. I, [2021-05-21T01:16:48.762979 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
  86. I, [2021-05-21T01:16:48.763263 #1]  INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/13/main/postgresql.conf
  87. I, [2021-05-21T01:16:48.763491 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/13/main/pg_hba.conf
  88. I, [2021-05-21T01:16:48.763690 #1]  INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/13/main/pg_hba.conf
  89. I, [2021-05-21T01:16:48.763859 #1]  INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main
  90. I, [2021-05-21T01:16:48.765074 #1]  INFO -- : > sleep 5
  91. 2021-05-21 01:16:48.818 UTC [54] LOG:  starting PostgreSQL 13.2 (Debian 13.2-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
  92. 2021-05-21 01:16:48.818 UTC [54] LOG:  listening on IPv4 address "0.0.0.0", port 5432
  93. 2021-05-21 01:16:48.818 UTC [54] LOG:  listening on IPv6 address "::", port 5432
  94. 2021-05-21 01:16:48.819 UTC [54] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
  95. 2021-05-21 01:16:48.823 UTC [57] LOG:  database system was shut down at 2021-05-21 01:05:59 UTC
  96. 2021-05-21 01:16:48.827 UTC [54] LOG:  database system is ready to accept connections
  97. I, [2021-05-21T01:16:53.766937 #1]  INFO -- :
  98. I, [2021-05-21T01:16:53.767207 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
  99. 2021-05-21 01:16:53.818 UTC [67] postgres@postgres ERROR:  database "discourse" already exists
  100. 2021-05-21 01:16:53.818 UTC [67] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
  101. createdb: error: database creation failed: ERROR:  database "discourse" already exists
  102. I, [2021-05-21T01:16:53.820005 #1]  INFO -- :
  103. I, [2021-05-21T01:16:53.820267 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
  104. 2021-05-21 01:16:53.873 UTC [78] postgres@discourse ERROR:  role "discourse" already exists
  105. 2021-05-21 01:16:53.873 UTC [78] postgres@discourse STATEMENT:  create user discourse;
  106. ERROR:  role "discourse" already exists
  107. I, [2021-05-21T01:16:53.875029 #1]  INFO -- :
  108. I, [2021-05-21T01:16:53.875255 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
  109. I, [2021-05-21T01:16:53.922417 #1]  INFO -- : GRANT
  110.  
  111. I, [2021-05-21T01:16:53.922649 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
  112. I, [2021-05-21T01:16:53.968348 #1]  INFO -- : ALTER SCHEMA
  113.  
  114. I, [2021-05-21T01:16:53.968550 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
  115. NOTICE:  extension "hstore" already exists, skipping
  116. I, [2021-05-21T01:16:54.016484 #1]  INFO -- : CREATE EXTENSION
  117.  
  118. I, [2021-05-21T01:16:54.016669 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
  119. NOTICE:  extension "pg_trgm" already exists, skipping
  120. I, [2021-05-21T01:16:54.063714 #1]  INFO -- : CREATE EXTENSION
  121.  
  122. I, [2021-05-21T01:16:54.063942 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
  123. NOTICE:  extension "hstore" already exists, skipping
  124. I, [2021-05-21T01:16:54.118073 #1]  INFO -- : CREATE EXTENSION
  125.  
  126. I, [2021-05-21T01:16:54.118260 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
  127. NOTICE:  extension "pg_trgm" already exists, skipping
  128. I, [2021-05-21T01:16:54.164931 #1]  INFO -- : CREATE EXTENSION
  129.  
  130. I, [2021-05-21T01:16:54.165227 #1]  INFO -- : > sudo -u postgres psql discourse
  131. I, [2021-05-21T01:16:54.166804 #1]  INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');
  132.  
  133. I, [2021-05-21T01:16:54.219975 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
  134. I, [2021-05-21T01:16:54.222903 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown:
  135. I, [2021-05-21T01:16:54.223014 #1]  INFO -- : > echo postgres installed!
  136. I, [2021-05-21T01:16:54.225131 #1]  INFO -- : postgres installed!
  137.  
  138. I, [2021-05-21T01:16:54.228933 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown:
  139. I, [2021-05-21T01:16:54.232229 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown:
  140. I, [2021-05-21T01:16:54.235361 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown:
  141. I, [2021-05-21T01:16:54.235592 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
  142. I, [2021-05-21T01:16:54.236174 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
  143. I, [2021-05-21T01:16:54.236647 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
  144. I, [2021-05-21T01:16:54.239529 #1]  INFO -- :
  145. I, [2021-05-21T01:16:54.239958 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
  146. I, [2021-05-21T01:16:54.240426 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
  147. I, [2021-05-21T01:16:54.240861 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
  148. I, [2021-05-21T01:16:54.241316 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
  149. I, [2021-05-21T01:16:54.241704 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
  150. I, [2021-05-21T01:16:54.242109 #1]  INFO -- : > echo redis installed
  151. I, [2021-05-21T01:16:54.243771 #1]  INFO -- : redis installed
  152.  
  153. I, [2021-05-21T01:16:54.243919 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
  154. I, [2021-05-21T01:16:54.246643 #1]  INFO -- : logfile ""
  155.  
  156. I, [2021-05-21T01:16:54.246833 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
  157. I, [2021-05-21T01:16:54.247949 #1]  INFO -- : > sleep 10
  158. 171:C 21 May 2021 01:16:54.252 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
  159. 171:C 21 May 2021 01:16:54.252 # Redis version=6.2.1, bits=64, commit=00000000, modified=0, pid=171, just started
  160. 171:C 21 May 2021 01:16:54.252 # Configuration loaded
  161. 171:M 21 May 2021 01:16:54.252 * monotonic clock: POSIX clock_gettime
  162. 171:M 21 May 2021 01:16:54.252 * Running mode=standalone, port=6379.
  163. 171:M 21 May 2021 01:16:54.253 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
  164. 171:M 21 May 2021 01:16:54.253 # Server initialized
  165. 171:M 21 May 2021 01:16:54.253 # 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.
  166. 171:M 21 May 2021 01:16:54.253 * Loading RDB produced by version 6.2.1
  167. 171:M 21 May 2021 01:16:54.253 * RDB age 655 seconds
  168. 171:M 21 May 2021 01:16:54.253 * RDB memory usage when created 3.53 Mb
  169. 171:M 21 May 2021 01:16:54.260 * DB loaded from disk: 0.008 seconds
  170. 171:M 21 May 2021 01:16:54.260 * Ready to accept connections
  171. I, [2021-05-21T01:17:04.249704 #1]  INFO -- :
  172. I, [2021-05-21T01:17:04.249949 #1]  INFO -- : > thpoff echo "thpoff is installed!"
  173. I, [2021-05-21T01:17:04.253530 #1]  INFO -- : thpoff is installed!
  174.  
  175. I, [2021-05-21T01:17:04.253713 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
  176. I, [2021-05-21T01:17:04.314328 #1]  INFO -- :
  177. I, [2021-05-21T01:17:04.314576 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
  178. I, [2021-05-21T01:17:04.371731 #1]  INFO -- :
  179. I, [2021-05-21T01:17:04.371963 #1]  INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Aborting! CDN must have a protocol specified. Once fixed you should rebake your posts now to correct all posts."; exit 1; end'
  180. I, [2021-05-21T01:17:04.442719 #1]  INFO -- :
  181. I, [2021-05-21T01:17:04.442947 #1]  INFO -- : > chown -R discourse /home/discourse
  182. I, [2021-05-21T01:17:04.732341 #1]  INFO -- :
  183. I, [2021-05-21T01:17:04.732728 #1]  INFO -- : > rm -f /etc/cron.d/anacron
  184. I, [2021-05-21T01:17:04.735066 #1]  INFO -- :
  185. I, [2021-05-21T01:17:04.737507 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown:
  186. I, [2021-05-21T01:17:04.742061 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown:
  187. I, [2021-05-21T01:17:04.746419 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown:
  188. I, [2021-05-21T01:17:04.750963 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown:
  189. I, [2021-05-21T01:17:04.755278 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown:
  190. I, [2021-05-21T01:17:04.759400 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
  191. I, [2021-05-21T01:17:04.759507 #1]  INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
  192. I, [2021-05-21T01:17:04.759767 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
  193. I, [2021-05-21T01:17:04.761458 #1]  INFO -- : > cd /var/www/discourse && git reset --hard
  194. 199:C 21 May 2021 01:17:04.764 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
  195. 199:C 21 May 2021 01:17:04.764 # Redis version=6.2.1, bits=64, commit=00000000, modified=0, pid=199, just started
  196. 199:C 21 May 2021 01:17:04.764 # Configuration loaded
  197. 199:M 21 May 2021 01:17:04.764 * monotonic clock: POSIX clock_gettime
  198. 199:M 21 May 2021 01:17:04.765 # Could not create server TCP listening socket *:6379: bind: Address already in use
  199. Checking out files: 100% (28599/28599), done.
  200. I, [2021-05-21T01:17:07.058983 #1]  INFO -- : HEAD is now at c54609bf UX: Full height composer on mobile Android (#12709)
  201.  
  202. I, [2021-05-21T01:17:07.059129 #1]  INFO -- : > cd /var/www/discourse && git clean -f
  203. I, [2021-05-21T01:17:07.164168 #1]  INFO -- :
  204. I, [2021-05-21T01:17:07.164354 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
  205. I, [2021-05-21T01:17:07.167760 #1]  INFO -- :
  206. I, [2021-05-21T01:17:07.167841 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
  207. I, [2021-05-21T01:17:07.171149 #1]  INFO -- :
  208. I, [2021-05-21T01:17:07.171256 #1]  INFO -- : > cd /var/www/discourse && git fetch --depth 1 origin tests-passed
  209. From https://github.com/discourse/discourse
  210.  * branch              tests-passed -> FETCH_HEAD
  211.  * [new branch]        tests-passed -> origin/tests-passed
  212. I, [2021-05-21T01:17:09.394343 #1]  INFO -- :
  213. I, [2021-05-21T01:17:09.394485 #1]  INFO -- : > cd /var/www/discourse && git checkout tests-passed
  214. Switched to a new branch 'tests-passed'
  215. I, [2021-05-21T01:17:09.725697 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.
  216.  
  217. I, [2021-05-21T01:17:09.725871 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
  218. I, [2021-05-21T01:17:09.730393 #1]  INFO -- :
  219. I, [2021-05-21T01:17:09.730532 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
  220. I, [2021-05-21T01:17:09.733899 #1]  INFO -- :
  221. I, [2021-05-21T01:17:09.733976 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
  222. I, [2021-05-21T01:17:09.736578 #1]  INFO -- :
  223. I, [2021-05-21T01:17:09.736724 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
  224. I, [2021-05-21T01:17:09.739064 #1]  INFO -- :
  225. I, [2021-05-21T01:17:09.739153 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
  226. I, [2021-05-21T01:17:09.742107 #1]  INFO -- :
  227. I, [2021-05-21T01:17:09.742184 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
  228. I, [2021-05-21T01:17:09.744509 #1]  INFO -- :
  229. I, [2021-05-21T01:17:09.744585 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
  230. I, [2021-05-21T01:17:09.747748 #1]  INFO -- :
  231. I, [2021-05-21T01:17:09.747837 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log /var/www/discourse/log"
  232. I, [2021-05-21T01:17:09.751316 #1]  INFO -- :
  233. I, [2021-05-21T01:17:09.751401 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
  234. I, [2021-05-21T01:17:09.754503 #1]  INFO -- :
  235. I, [2021-05-21T01:17:09.754581 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
  236. I, [2021-05-21T01:17:09.757452 #1]  INFO -- :
  237. I, [2021-05-21T01:17:09.757536 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
  238. I, [2021-05-21T01:17:09.760880 #1]  INFO -- :
  239. I, [2021-05-21T01:17:09.760962 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
  240. I, [2021-05-21T01:17:09.764473 #1]  INFO -- :
  241. I, [2021-05-21T01:17:09.764549 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
  242. I, [2021-05-21T01:17:09.964874 #1]  INFO -- :
  243. I, [2021-05-21T01:17:09.965024 #1]  INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
  244. I, [2021-05-21T01:17:09.968808 #1]  INFO -- :
  245. I, [2021-05-21T01:17:09.968978 #1]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
  246. I, [2021-05-21T01:17:09.969540 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
  247. Cloning into 'docker_manager'...
  248. I, [2021-05-21T01:17:10.990318 #1]  INFO -- :
  249. I, [2021-05-21T01:17:10.990491 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
  250. Cloning into 'discourse-solved'...
  251. I, [2021-05-21T01:17:11.461002 #1]  INFO -- :
  252. I, [2021-05-21T01:17:11.461182 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-tagging.git
  253. Cloning into 'discourse-tagging'...
  254. I, [2021-05-21T01:17:11.859400 #1]  INFO -- :
  255. I, [2021-05-21T01:17:11.859548 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-voting.git
  256. Cloning into 'discourse-voting'...
  257. I, [2021-05-21T01:17:12.487207 #1]  INFO -- :
  258. I, [2021-05-21T01:17:12.487378 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-checklist.git
  259. Cloning into 'discourse-checklist'...
  260. I, [2021-05-21T01:17:13.224429 #1]  INFO -- :
  261. I, [2021-05-21T01:17:13.224598 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-canned-replies.git
  262. Cloning into 'discourse-canned-replies'...
  263. I, [2021-05-21T01:17:13.852220 #1]  INFO -- :
  264. I, [2021-05-21T01:17:13.852365 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/gdpelican/retort.git
  265. Cloning into 'retort'...
  266. I, [2021-05-21T01:17:14.241467 #1]  INFO -- :
  267. I, [2021-05-21T01:17:14.241842 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-staff-notes.git
  268. Cloning into 'discourse-staff-notes'...
  269. I, [2021-05-21T01:17:14.691344 #1]  INFO -- :
  270. I, [2021-05-21T01:17:14.691691 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
  271. I, [2021-05-21T01:17:14.695332 #1]  INFO -- :
  272. I, [2021-05-21T01:17:14.695505 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
  273. I, [2021-05-21T01:17:14.697811 #1]  INFO -- :
  274. I, [2021-05-21T01:17:14.697917 #1]  INFO -- : > mkdir -p /var/nginx/cache
  275. I, [2021-05-21T01:17:14.699965 #1]  INFO -- :
  276. I, [2021-05-21T01:17:14.701117 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
  277. I, [2021-05-21T01:17:14.701419 #1]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
  278. I, [2021-05-21T01:17:14.701912 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
  279. I, [2021-05-21T01:17:14.702338 #1]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
  280. I, [2021-05-21T01:17:14.702518 #1]  INFO -- : > echo "done configuring web"
  281. I, [2021-05-21T01:17:14.704243 #1]  INFO -- : done configuring web
  282.  
  283. I, [2021-05-21T01:17:14.704442 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
  284. I, [2021-05-21T01:17:14.918457 #1]  INFO -- :
  285. I, [2021-05-21T01:17:14.918641 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
  286. I, [2021-05-21T01:17:16.893270 #1]  INFO -- :
  287. I, [2021-05-21T01:17:16.893558 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development'
  288. [DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local deployment 'true'`, and stop using this flag
  289. [DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local without 'test development'`, and stop using this flag
  290. I, [2021-05-21T01:17:33.650735 #1]  INFO -- : Running `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"` with bundler 2.2.16
  291. Frozen, using resolution from the lockfile
  292. The definition is missing ["tzinfo-2.0.4", "activesupport-6.1.3.2", "nokogiri-1.11.4-x86_64-linux", "actionview-6.1.3.2", "actionpack-6.1.3.2", "activejob-6.1.3.2", "actionmailer-6.1.3.2", "activemodel-6.1.3.2", "activerecord-6.1.3.2", "execjs-2.8.1", "bootsnap-1.7.5", "railties-6.1.3.2", "excon-0.81.0", "faraday-excon-1.1.0", "faraday-net_http_persistent-1.1.0", "faraday-1.4.1", "jwt-2.2.3", "libv8-node-15.14.0.1-x86_64-linux", "message_bus-3.3.5", "oj-3.11.5", "onebox-2.2.15", "puma-5.3.1", "rack-mini-profiler-2.3.2", "rails_failover-0.7.3", "rails_multisite-3.0.0", "rqrcode_core-1.0.0", "rqrcode-2.0.0", "stackprof-0.2.17"]
  293. HTTP GET https://index.rubygems.org/versions
  294. HTTP 206 Partial Content https://index.rubygems.org/versions
  295. HTTP GET https://index.rubygems.org/versions
  296. HTTP 200 OK https://index.rubygems.org/versions
  297. Fetching gem metadata from https://rubygems.org/
  298. Looking up gems ["rake", "concurrent-ruby", "i18n", "minitest", "tzinfo", "zeitwerk", "activesupport", "builder", "erubi", "racc", "nokogiri", "rails-dom-testing", "crass", "loofah", "rails-html-sanitizer", "actionview", "rack", "rack-test", "actionpack", "globalid", "activejob", "mini_mime", "mail", "actionmailer", "actionview_precompiler", "activemodel", "active_model_serializers", "activerecord", "public_suffix", "addressable", "aws-eventstream", "aws-partitions", "aws-sigv4", "jmespath", "aws-sdk-core", "aws-sdk-kms", "aws-sdk-s3", "aws-sdk-sns", "ember-source", "execjs", "barber", "msgpack", "bootsnap", "byebug", "cbor", "chunky_png", "coderay", "colored2", "connection_pool", "openssl", "openssl-signature_algorithm", "cose", "cppjieba_rb", "css_parser", "diffy", "ember-data-source", "sprockets", "ember-handlebars-template", "method_source", "thor", "railties", "jquery-rails", "discourse-ember-rails", "discourse-ember-source", "discourse-fonts", "exifr", "fspath", "image_size", "in_threads", "progress", "discourse_image_optim", "regexp_parser", "ecma-re-validator", "email_reply_trimmer", "excon", "faraday-excon", "faraday-net_http", "faraday-net_http_persistent", "multipart-post", "ruby2_keywords", "faraday", "fast_blank", "fast_xs", "fastimage", "ffi", "gc_tracer", "guess_html_encoding", "hana", "hashie", "highline", "hkdf", "htmlentities", "http_accept_language", "json", "uri_template", "json_schemer", "jwt", "kgio", "libv8-node", "request_store", "lograge", "logstash-event", "logstash-logger", "logster", "lru_redux", "lz4-ruby", "maxminddb", "memory_profiler", "message_bus", "mini_racer", "redis", "sidekiq", "mini_scheduler", "mini_sql", "mini_suffix", "multi_json", "multi_xml", "mustache", "nio4r", "nokogumbo", "oauth", "oauth2", "oj", "omniauth", "omniauth-oauth2", "omniauth-facebook", "omniauth-github", "omniauth-google-oauth2", "omniauth-oauth", "omniauth-twitter", "sanitize", "onebox", "optimist", "pg", "pry", "pry-byebug", "pry-rails", "puma", "r2", "rack-mini-profiler", "rack-protection", "rails_failover", "rails_multisite", "raindrops", "rbtrace", "rchardet", "redis-namespace", "rinku", "rotp", "rqrcode_core", "rqrcode", "rtlit", "ruby-readability", "rubyzip", "sassc", "sprockets-rails", "tilt", "sassc-rails", "seed-fu", "sshkey", "stackprof", "uglifier", "unf_ext", "unf", "unicorn", "webpush", "xorcist"]
  299. HTTP GET https://index.rubygems.org/info/nokogiri
  300. HTTP GET https://index.rubygems.org/info/actionview
  301. HTTP GET https://index.rubygems.org/info/activejob
  302. HTTP GET https://index.rubygems.org/info/actionmailer
  303. HTTP GET https://index.rubygems.org/info/actionpack
  304. HTTP GET https://index.rubygems.org/info/activesupport
  305. HTTP 206 Partial Content https://index.rubygems.org/info/nokogiri
  306. HTTP GET https://index.rubygems.org/info/aws-partitions
  307. HTTP GET https://index.rubygems.org/info/aws-sdk-sns
  308. HTTP GET https://index.rubygems.org/info/activerecord
  309. HTTP GET https://index.rubygems.org/info/activemodel
  310. HTTP GET https://index.rubygems.org/info/bootsnap
  311. HTTP 206 Partial Content https://index.rubygems.org/info/actionview
  312. HTTP GET https://index.rubygems.org/info/execjs
  313. HTTP GET https://index.rubygems.org/info/aws-sdk-s3
  314. HTTP 206 Partial Content https://index.rubygems.org/info/activemodel
  315. HTTP GET https://index.rubygems.org/info/faraday-excon
  316. HTTP 206 Partial Content https://index.rubygems.org/info/activesupport
  317. HTTP 206 Partial Content https://index.rubygems.org/info/activejob
  318. HTTP 206 Partial Content https://index.rubygems.org/info/actionmailer
  319. HTTP GET https://index.rubygems.org/info/faraday-net_http_persistent
  320. HTTP 206 Partial Content https://index.rubygems.org/info/actionpack
  321. HTTP GET https://index.rubygems.org/info/railties
  322. HTTP 206 Partial Content https://index.rubygems.org/info/bootsnap
  323. HTTP 206 Partial Content https://index.rubygems.org/info/aws-partitions
  324. HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-s3
  325. HTTP 200 OK https://index.rubygems.org/info/faraday-excon
  326. HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-sns
  327. HTTP 206 Partial Content https://index.rubygems.org/info/execjs
  328. HTTP GET https://index.rubygems.org/info/faraday
  329. HTTP GET https://index.rubygems.org/info/excon
  330. HTTP 200 OK https://index.rubygems.org/info/faraday-net_http_persistent
  331. HTTP 206 Partial Content https://index.rubygems.org/info/faraday
  332. HTTP GET https://index.rubygems.org/info/hkdf
  333. HTTP GET https://index.rubygems.org/info/libv8-node
  334. HTTP GET https://index.rubygems.org/info/jwt
  335. HTTP 206 Partial Content https://index.rubygems.org/info/libv8-node
  336. HTTP 206 Partial Content https://index.rubygems.org/info/railties
  337. HTTP 206 Partial Content https://index.rubygems.org/info/activerecord
  338. HTTP GET https://index.rubygems.org/info/message_bus
  339. HTTP 206 Partial Content https://index.rubygems.org/info/jwt
  340. HTTP 206 Partial Content https://index.rubygems.org/info/hkdf
  341. HTTP 206 Partial Content https://index.rubygems.org/info/message_bus
  342. HTTP 206 Partial Content https://index.rubygems.org/info/excon
  343. HTTP GET https://index.rubygems.org/info/oj
  344. HTTP GET https://index.rubygems.org/info/onebox
  345. HTTP 206 Partial Content https://index.rubygems.org/info/oj
  346. HTTP GET https://index.rubygems.org/info/puma
  347. HTTP 206 Partial Content https://index.rubygems.org/info/onebox
  348. HTTP GET https://index.rubygems.org/info/rails_failover
  349. HTTP GET https://index.rubygems.org/info/rack-mini-profiler
  350. HTTP 206 Partial Content https://index.rubygems.org/info/puma
  351. HTTP 206 Partial Content https://index.rubygems.org/info/rails_failover
  352. HTTP GET https://index.rubygems.org/info/rqrcode_core
  353. HTTP GET https://index.rubygems.org/info/rqrcode
  354. HTTP GET https://index.rubygems.org/info/stackprof
  355. HTTP 206 Partial Content https://index.rubygems.org/info/rack-mini-profiler
  356. HTTP 206 Partial Content https://index.rubygems.org/info/rqrcode_core
  357. HTTP 206 Partial Content https://index.rubygems.org/info/rqrcode
  358. HTTP 206 Partial Content https://index.rubygems.org/info/stackprof
  359. Looking up gems ["functional-ruby", "ref", "thread_safe", "rails-deprecated_sanitizer", "mime-types", "treetop", "tlsmail", "jamespath", "http-2", "handlebars-source", "jsonapi", "case_transform", "jsonapi-renderer", "ember-template-compiler-source", "json_pure", "columnize", "debugger-linecache", "slop", "rb-readline", "rspec", "rdoc", "ruby_parser", "hike", "rails", "rb-appscript", "xattr", "ffi-xattr", "hoe", "rake-compiler", "weakling", "mini_portile", "mini_portile2", "pkg-config", "termios", "erubis", "rdf", "text-format", "bcrypt-ruby", "stud", "memcache-client", "libv8", "rack-mount", "rack-cache", "journey", "celluloid", "compass", "sass", "sprockets-sass", "sinatra", "slim", "net-http-persistent", "faraday-middleware", "httpauth", "ruby-hmac", "snappy", "oa-core", "oa-oauth", "oa-openid", "oa-basic", "oa-enterprise", "oa-more", "hpricot", "win32console", "yard", "spoon", "pry-doc", "escape_utils", "trollop", "activemodel-globalid", "base32", "bundler", "therubyracer", "rack-ssl", "arel", "activerecord-deprecated_finders", "eventmachine", "thin", "bigdecimal", "moneta", "opengraph_parser", "verbal_expressions", "hexpress", "pdf-reader", "listen"]
  360. HTTP GET https://index.rubygems.org/info/net-http-persistent
  361. HTTP GET https://index.rubygems.org/info/slop
  362. HTTP GET https://index.rubygems.org/info/rails
  363. HTTP GET https://index.rubygems.org/info/ruby_parser
  364. HTTP 200 OK https://index.rubygems.org/info/net-http-persistent
  365. HTTP 206 Partial Content https://index.rubygems.org/info/slop
  366. HTTP GET https://index.rubygems.org/info/rdoc
  367. HTTP 206 Partial Content https://index.rubygems.org/info/rails
  368. HTTP 206 Partial Content https://index.rubygems.org/info/ruby_parser
  369. HTTP GET https://index.rubygems.org/info/mini_portile2
  370. HTTP 206 Partial Content https://index.rubygems.org/info/rdoc
  371. HTTP GET https://index.rubygems.org/info/bigdecimal
  372. HTTP GET https://index.rubygems.org/info/moneta
  373. HTTP GET https://index.rubygems.org/info/bundler
  374. HTTP GET https://index.rubygems.org/info/thin
  375. HTTP 206 Partial Content https://index.rubygems.org/info/bigdecimal
  376. HTTP 206 Partial Content https://index.rubygems.org/info/mini_portile2
  377. HTTP 206 Partial Content https://index.rubygems.org/info/bundler
  378. HTTP 206 Partial Content https://index.rubygems.org/info/thin
  379. HTTP 206 Partial Content https://index.rubygems.org/info/moneta
  380. Looking up gems ["rspec-core", "rspec-expectations", "rspec-mocks", "mime-types-data", "jsonapi-parser", "ruby_core_source", "debugger-ruby_core_source", "atomic", "spruz", "facets", "polyglot", "rubyforge", "RubyInline", "gemcutter", "abstract", "text-hyphen", "bcrypt", "metriks", "multimap", "ZenTest", "timers", "facter", "celluloid-essentials", "celluloid-extras", "celluloid-fsm", "celluloid-pool", "celluloid-supervision", "dotenv", "nenv", "rspec-logsplit", "link_header", "hamster", "sprockets-helpers", "haml", "fssm", "compass-core", "compass-import-once", "rb-fsevent", "rb-inotify", "restclient", "rest-client", "sass-listen", "temple", "snappy-jars", "mongrel", "backports", "mustermann", "net-ldap", "rubyntlm", "pyu-ruby-sasl", "uuid", "XMLCanonicalizer", "curses", "rack-openid", "ruby-openid-apps-discovery", "rb-fchange", "rb-kqueue", "celluloid-io", "ruby_dep", "Ascii85", "ruby-rc4", "hashery", "afm", "ttfunk", "ParseTree", "sexp_processor", "activeresource", "actionwebservice", "actioncable", "activestorage", "actionmailbox", "actiontext", "daemons"]
  381. HTTP GET https://index.rubygems.org/info/facter
  382. HTTP GET https://index.rubygems.org/info/rb-fsevent
  383. HTTP GET https://index.rubygems.org/info/sexp_processor
  384. HTTP GET https://index.rubygems.org/info/activestorage
  385. HTTP 206 Partial Content https://index.rubygems.org/info/facter
  386. HTTP GET https://index.rubygems.org/info/actiontext
  387. HTTP GET https://index.rubygems.org/info/actioncable
  388. HTTP GET https://index.rubygems.org/info/daemons
  389. HTTP GET https://index.rubygems.org/info/actionmailbox
  390. HTTP 206 Partial Content https://index.rubygems.org/info/rb-fsevent
  391. HTTP 206 Partial Content https://index.rubygems.org/info/sexp_processor
  392. HTTP 206 Partial Content https://index.rubygems.org/info/activestorage
  393. HTTP 206 Partial Content https://index.rubygems.org/info/daemons
  394. HTTP 206 Partial Content https://index.rubygems.org/info/actioncable
  395. HTTP 206 Partial Content https://index.rubygems.org/info/actiontext
  396. HTTP 206 Partial Content https://index.rubygems.org/info/actionmailbox
  397. Looking up gems ["rspec-support", "diff-lcs", "coveralls", "rubocop", "archive-tar-minitar", "net-scp", "hitimes", "rbtree", "faraday_middleware", "yajl-ruby", "avl_tree", "celluloid-gems", "dotenv-deployment", "tool", "cgi_multipart_eof_fix", "fastthread", "gem_plugin", "netrc", "http-cookie", "http-accept", "log4r", "macaddr", "ruby-openid", "blankslate", "rails-observers", "activemodel-serializers-xml", "SexpProcessor", "win32-api", "CFPropertyList", "sys-admin", "win32-dir", "windows-api", "windows-pr", "win32-security", "hocon", "marcel", "mimemagic", "coffee-rails", "em-hiredis", "faye-websocket", "websocket-driver"]
  398. HTTP GET https://index.rubygems.org/info/rubocop
  399. HTTP GET https://index.rubygems.org/info/win32-api
  400. HTTP 206 Partial Content https://index.rubygems.org/info/rubocop
  401. HTTP 206 Partial Content https://index.rubygems.org/info/win32-api
  402. Looking up gems ["net-ssh", "ruby-yadis", "colorize", "simplecov", "term-ansicolor", "tins", "minitar", "minitar-cli", "configuration", "mkrf", "roauth", "domain_name", "sqlite3", "systemu", "test-unit", "ffi-win32-extensions", "libxml-ruby", "hiredis", "coffee-script", "websocket-extensions", "rainbow", "parser", "powerpack", "ruby-progressbar", "astrolabe", "unicode-display_width", "parallel", "jaro_winkler", "psych", "rexml", "rubocop-ast"]
  403. HTTP GET https://index.rubygems.org/info/parser
  404. HTTP GET https://index.rubygems.org/info/test-unit
  405. HTTP GET https://index.rubygems.org/info/tins
  406. HTTP GET https://index.rubygems.org/info/psych
  407. HTTP GET https://index.rubygems.org/info/rubocop-ast
  408. HTTP 206 Partial Content https://index.rubygems.org/info/parser
  409. HTTP 206 Partial Content https://index.rubygems.org/info/tins
  410. HTTP 206 Partial Content https://index.rubygems.org/info/psych
  411. HTTP 206 Partial Content https://index.rubygems.org/info/test-unit
  412. HTTP 206 Partial Content https://index.rubygems.org/info/rubocop-ast
  413. Looking up gems ["simplecov-html", "docile", "lockfile", "simplecov_json_formatter", "powerbar", "needle", "jruby-pageant", "bcrypt_pbkdf", "rbnacl", "rbnacl-libsodium", "coffee-script-source", "ast", "sync", "power_assert", "jar-dependencies", "strscan"]
  414. HTTP GET https://index.rubygems.org/info/simplecov_json_formatter
  415. HTTP GET https://index.rubygems.org/info/docile
  416. HTTP 206 Partial Content https://index.rubygems.org/info/simplecov_json_formatter
  417. HTTP 206 Partial Content https://index.rubygems.org/info/docile
  418. Looking up gems ["ansi", "pattern-match", "ruby-maven"]
  419. Looking up gems ["maven-tools", "ruby-maven-libs"]
  420. Looking up gems ["virtus"]
  421. Looking up gems ["descendants_tracker", "axiom-types", "coercible", "equalizer"]
  422. Looking up gems ["adamantium", "ice_nine"]
  423. Looking up gems ["memoizable"'test' and 'development' were not installed.
  424. Bundled gems are installed into `./vendor/bundle`
  425.  
  426. I, [2021-05-21T01:17:33.651053 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake plugin:pull_compatible_all'
  427. I, [2021-05-21T01:17:36.304377 #1]  INFO -- : discourse-solved is already at latest compatible version
  428. discourse-checklist is already at latest compatible version
  429. discourse-voting is already at latest compatible version
  430. discourse-canned-replies is already at latest compatible version
  431. discourse-tagging is already at latest compatible version
  432. docker_manager is already at latest compatible version
  433. retort is already at latest compatible version
  434. discourse-staff-notes is already at latest compatible version
  435.  
  436. I, [2021-05-21T01:17:36.304651 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
  437. rake aborted!
  438. NoMethodError: undefined method `client_setting' for #<Class:0x00005612661416e8>
  439. Did you mean?  client_settings
  440. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/dynamic_matchers.rb:22:in `method_missing'
  441. /var/www/discourse/plugins/discourse-tagging/plugin.rb:13:in `block in activate!'
  442. /var/www/discourse/lib/plugin/instance.rb:430:in `block in notify_after_initialize'
  443. /var/www/discourse/lib/plugin/instance.rb:428:in `each'
  444. /var/www/discourse/lib/plugin/instance.rb:428:in `notify_after_initialize'
  445. /var/www/discourse/config/application.rb:350:in `each'
  446. /var/www/discourse/config/application.rb:350:in `block (2 levels) in <class:Application>'
  447. /var/www/discourse/lib/plugin_initialization_guard.rb:5:in `plugin_initialization_guard'
  448. /var/www/discourse/config/application.rb:349:in `block in <class:Application>'
  449. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/lazy_load_hooks.rb:68:in `block in execute_hook'
  450. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'
  451. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'
  452. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
  453. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/lazy_load_hooks.rb:51:in `each'
  454. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
  455. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/application/finisher.rb:140:in `block in <module:Finisher>'
  456. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/initializable.rb:32:in `instance_exec'
  457. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/initializable.rb:32:in `run'
  458. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/initializable.rb:61:in `block in run_initializers'
  459. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/initializable.rb:60:in `run_initializers'
  460. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/application.rb:384:in `initialize!'
  461. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/railtie.rb:207:in `public_send'
  462. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/railtie.rb:207:in `method_missing'
  463. /var/www/discourse/config/environment.rb:7:in `<main>'
  464. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
  465. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
  466. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
  467. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
  468. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
  469. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
  470. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/dependencies.rb:332:in `block in require'
  471. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/dependencies.rb:299:in `load_dependency'
  472. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/dependencies.rb:332:in `require'
  473. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/application.rb:360:in `require_environment!'
  474. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/application.rb:526:in `block in run_tasks_blocks'
  475. /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
  476. /usr/local/bin/bundle:23:in `load'
  477. /usr/local/bin/bundle:23:in `<main>'
  478. Tasks: TOP => db:migrate => db:load_config => environment
  479. (See full trace by running task with --trace)
  480. I, [2021-05-21T01:17:39.791151 #1]  INFO -- :
  481. I, [2021-05-21T01:17:39.791461 #1]  INFO -- : Terminating async processes
  482. I, [2021-05-21T01:17:39.791520 #1]  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/13/bin/postmaster -D /etc/postgresql/13/main pid: 54
  483. I, [2021-05-21T01:17:39.791584 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 171
  484. 1712021-05-21 01:17:39.791 UTC [54] LOG:  received fast shutdown request
  485. :signal-handler (1621559859) Received SIGTERM scheduling shutdown...
  486. 2021-05-21 01:17:39.794 UTC [54] LOG:  aborting any active transactions
  487. 2021-05-21 01:17:39.796 UTC [54] LOG:  background worker "logical replication launcher" (PID 63) exited with exit code 1
  488. 2021-05-21 01:17:39.796 UTC [58] LOG:  shutting down
  489. 2021-05-21 01:17:39.819 UTC [54] LOG:  database system is shut down
  490. 171:M 21 May 2021 01:17:39.851 # User requested shutdown...
  491. 171:M 21 May 2021 01:17:39.851 * Saving the final RDB snapshot before exiting.
  492. 171:M 21 May 2021 01:17:39.865 * DB saved on disk
  493. 171:M 21 May 2021 01:17:39.865 # Redis is now ready to exit, bye bye...
  494.  
  495.  
  496. FAILED
  497. --------------------
  498. Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 802 exit 1>
  499. Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
  500. exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
  501. f1e5de01828576a49c863ecb1e10a46008d7b0e80edb219876f8c65ed67dae82
  502. ** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
  503. ./discourse-doctor may help diagnose the problem.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement