Guest User

Untitled

a guest
Jul 4th, 2024
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.97 KB | None | 0 0
  1. root@ubuntu-s-2vcpu-4gb-nyc1-01:/var/discourse# sudo ./launcher rebuild app
  2. x86_64 arch detected.
  3. WARNING: containers/app.yml file is world-readable. You can secure this file by running: chmod o-rwx containers/app.yml
  4. Ensuring launcher is up to date
  5. Fetching origin
  6. Launcher is up-to-date
  7. Stopping old container
  8. + /usr/bin/docker stop -t 600 app
  9. app
  10. 2.0.20240602-0023: Pulling from discourse/base
  11. Digest: sha256:5e0c30da851a00e824a58b033d59b8f3dd840b513a7694a7a5d0674285c0ee3c
  12. Status: Image is up to date for discourse/base:2.0.20240602-0023
  13. docker.io/discourse/base:2.0.20240602-0023
  14. /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
  15. /usr/local/bin/pups --stdin
  16. I, [2024-07-04T10:53:41.946403 #1] INFO -- : Reading from stdin
  17. I, [2024-07-04T10:53:41.966879 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
  18. I, [2024-07-04T10:53:41.974537 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
  19. I, [2024-07-04T10:53:41.982770 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
  20. I, [2024-07-04T10:53:41.992127 #1] INFO -- : File > /root/install_postgres chmod: +x chown:
  21. I, [2024-07-04T10:53:41.999604 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
  22. I, [2024-07-04T10:53:42.001638 #1] INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
  23. I, [2024-07-04T10:53:42.002995 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
  24. I, [2024-07-04T10:53:42.003786 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
  25. I, [2024-07-04T10:53:42.004529 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
  26. I, [2024-07-04T10:53:42.005129 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
  27. I, [2024-07-04T10:53:42.005711 #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
  28. I, [2024-07-04T10:53:42.006632 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
  29. I, [2024-07-04T10:53:42.008867 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
  30. I, [2024-07-04T10:53:42.010936 #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
  31. I, [2024-07-04T10:53:42.013934 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
  32. I, [2024-07-04T10:53:42.015263 #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
  33. I, [2024-07-04T10:53:42.015809 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.conf
  34. I, [2024-07-04T10:53:42.016399 #1] INFO -- : > [ -f /root/install_postgres ] && /root/install_postgres && rm -f /root/install_postgres
  35. I, [2024-07-04T10:53:48.481356 #1] INFO -- : Generating locales (this might take a while)...
  36. Generation complete.
  37.  
  38. I, [2024-07-04T10:53:48.481664 #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
  39. I, [2024-07-04T10:53:48.493342 #1] INFO -- : File > /usr/local/bin/create_db chmod: +x chown:
  40. I, [2024-07-04T10:53:48.505301 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
  41. I, [2024-07-04T10:53:48.509894 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
  42. I, [2024-07-04T10:53:48.511080 #1] INFO -- : > sleep 5
  43. 2024-07-04 10:53:48.603 UTC [36] LOG: starting PostgreSQL 13.15 (Debian 13.15-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
  44. 2024-07-04 10:53:48.604 UTC [36] LOG: listening on IPv4 address "0.0.0.0", port 5432
  45. 2024-07-04 10:53:48.604 UTC [36] LOG: listening on IPv6 address "::", port 5432
  46. 2024-07-04 10:53:48.616 UTC [36] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
  47. 2024-07-04 10:53:48.630 UTC [45] LOG: database system was shut down at 2024-07-04 10:45:47 UTC
  48. 2024-07-04 10:53:48.667 UTC [36] LOG: database system is ready to accept connections
  49. I, [2024-07-04T10:53:53.516006 #1] INFO -- :
  50. I, [2024-07-04T10:53:53.516169 #1] INFO -- : > /usr/local/bin/create_db
  51. 2024-07-04 10:53:53.673 UTC [55] postgres@postgres ERROR: database "discourse" already exists
  52. 2024-07-04 10:53:53.673 UTC [55] postgres@postgres STATEMENT: CREATE DATABASE discourse;
  53. createdb: error: database creation failed: ERROR: database "discourse" already exists
  54. 2024-07-04 10:53:53.790 UTC [58] postgres@discourse ERROR: role "discourse" already exists
  55. 2024-07-04 10:53:53.790 UTC [58] postgres@discourse STATEMENT: create user discourse;
  56. ERROR: role "discourse" already exists
  57. NOTICE: extension "hstore" already exists, skipping
  58. NOTICE: extension "pg_trgm" already exists, skipping
  59. NOTICE: extension "vector" already exists, skipping
  60. NOTICE: extension "hstore" already exists, skipping
  61. NOTICE: extension "pg_trgm" already exists, skipping
  62. NOTICE: extension "vector" already exists, skipping
  63. I, [2024-07-04T10:53:54.565144 #1] INFO -- : GRANT
  64. ALTER SCHEMA
  65. CREATE EXTENSION
  66. CREATE EXTENSION
  67. CREATE EXTENSION
  68. CREATE EXTENSION
  69. CREATE EXTENSION
  70. CREATE EXTENSION
  71. UPDATE 0
  72.  
  73. I, [2024-07-04T10:53:54.565837 #1] INFO -- : > echo postgres installed!
  74. I, [2024-07-04T10:53:54.569046 #1] INFO -- : postgres installed!
  75.  
  76. I, [2024-07-04T10:53:54.576976 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
  77. I, [2024-07-04T10:53:54.585415 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
  78. I, [2024-07-04T10:53:54.593572 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
  79. I, [2024-07-04T10:53:54.596162 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf
  80. I, [2024-07-04T10:53:54.597777 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf
  81. I, [2024-07-04T10:53:54.599098 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
  82. I, [2024-07-04T10:53:54.603508 #1] INFO -- :
  83. I, [2024-07-04T10:53:54.604707 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
  84. I, [2024-07-04T10:53:54.606408 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf
  85. I, [2024-07-04T10:53:54.607593 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
  86. I, [2024-07-04T10:53:54.608859 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
  87. I, [2024-07-04T10:53:54.611120 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
  88. I, [2024-07-04T10:53:54.615375 #1] INFO -- : > echo redis installed
  89. I, [2024-07-04T10:53:54.619439 #1] INFO -- : redis installed
  90.  
  91. I, [2024-07-04T10:53:54.620200 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
  92. I, [2024-07-04T10:53:54.630373 #1] INFO -- : logfile ""
  93.  
  94. I, [2024-07-04T10:53:54.631102 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
  95. I, [2024-07-04T10:53:54.633869 #1] INFO -- : > sleep 10
  96. 98:C 04 Jul 2024 10:53:54.644 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
  97. 98:C 04 Jul 2024 10:53:54.645 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=98, just started
  98. 98:C 04 Jul 2024 10:53:54.645 # Configuration loaded
  99. 98:M 04 Jul 2024 10:53:54.646 * monotonic clock: POSIX clock_gettime
  100. 98:M 04 Jul 2024 10:53:54.648 * Running mode=standalone, port=6379.
  101. 98:M 04 Jul 2024 10:53:54.648 # Server initialized
  102. 98:M 04 Jul 2024 10:53:54.648 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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.
  103. 98:M 04 Jul 2024 10:53:54.649 * Loading RDB produced by version 7.0.7
  104. 98:M 04 Jul 2024 10:53:54.649 * RDB age 487 seconds
  105. 98:M 04 Jul 2024 10:53:54.649 * RDB memory usage when created 37.52 Mb
  106. 98:M 04 Jul 2024 10:53:54.857 * Done loading RDB, keys loaded: 5729, keys expired: 6.
  107. 98:M 04 Jul 2024 10:53:54.857 * DB loaded from disk: 0.207 seconds
  108. 98:M 04 Jul 2024 10:53:54.857 * Ready to accept connections
  109. I, [2024-07-04T10:54:04.637611 #1] INFO -- :
  110. I, [2024-07-04T10:54:04.637927 #1] INFO -- : > thpoff echo "thpoff is installed!"
  111. I, [2024-07-04T10:54:04.644776 #1] INFO -- : thpoff is installed!
  112.  
  113. I, [2024-07-04T10:54:04.645629 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
  114. I, [2024-07-04T10:54:04.810461 #1] INFO -- :
  115. I, [2024-07-04T10:54:04.810620 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
  116. I, [2024-07-04T10:54:04.953091 #1] INFO -- :
  117. I, [2024-07-04T10:54:04.953271 #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'
  118. I, [2024-07-04T10:54:05.101403 #1] INFO -- :
  119. I, [2024-07-04T10:54:05.101680 #1] INFO -- : > rm -f /etc/cron.d/anacron
  120. I, [2024-07-04T10:54:05.106056 #1] INFO -- :
  121. I, [2024-07-04T10:54:05.111339 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
  122. I, [2024-07-04T10:54:05.120656 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
  123. I, [2024-07-04T10:54:05.130597 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
  124. I, [2024-07-04T10:54:05.139620 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
  125. I, [2024-07-04T10:54:05.147749 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
  126. I, [2024-07-04T10:54:05.156017 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
  127. I, [2024-07-04T10:54:05.156421 #1] INFO -- : Replacing # postgres with if [ -f /root/install_postgres ]; then
  128. /root/install_postgres
  129. rm /root/install_postgres
  130. fi
  131. sv start postgres || exit 1
  132. in /etc/service/unicorn/run
  133. I, [2024-07-04T10:54:05.159296 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
  134. Updating files: 100% (34508/34508), done.
  135. I, [2024-07-04T10:54:10.562084 #1] INFO -- : HEAD is now at 62b1b69e8 UX: constrain width of chat transcripts in posts (#27288)
  136.  
  137. I, [2024-07-04T10:54:10.562477 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
  138. I, [2024-07-04T10:54:10.805001 #1] INFO -- :
  139. I, [2024-07-04T10:54:10.805757 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  140. set -o errexit
  141. if [ $(git rev-parse --is-shallow-repository) == "true" ]; then
  142. git remote set-branches --add origin main
  143. git remote set-branches origin tests-passed
  144. git fetch --depth 1 origin tests-passed
  145. else
  146. git fetch --tags --prune-tags --prune --force origin
  147. fi
  148. '
  149. From https://github.com/discourse/discourse
  150. - [deleted] (none) -> origin/add_filter_webhook_events_by_status
  151. - [deleted] (none) -> origin/add_lifecycle_rule_for_inventories
  152. - [deleted] (none) -> origin/application-route-actions
  153. - [deleted] (none) -> origin/avoid_unformatted_logs
  154. - [deleted] (none) -> origin/categories-modal-fix
  155. - [deleted] (none) -> origin/decorator-transforms-take-2
  156. - [deleted] (none) -> origin/dependabot/bundler/rails_failover-2.1.0
  157. - [deleted] (none) -> origin/dependabot/bundler/sqlite3-2.0.2
  158. - [deleted] (none) -> origin/dev/ember-58-upgrade-playground
  159. - [deleted] (none) -> origin/dev/rfc-value-modifier-plugin-api
  160. - [deleted] (none) -> origin/dev/standalone-home-logo-contents-component
  161. - [deleted] (none) -> origin/discourse-route-actions
  162. - [deleted] (none) -> origin/discourse-url-native-class
  163. - [deleted] (none) -> origin/feature/user-fields-required-for-existing-users-2
  164. - [deleted] (none) -> origin/fix-bbcode-parser
  165. - [deleted] (none) -> origin/fix-group-chat-member-count
  166. - [deleted] (none) -> origin/ghost-button
  167. - [deleted] (none) -> origin/issue/bulk-action-pm-fixes
  168. - [deleted] (none) -> origin/loic-update-to-rails-7.1
  169. - [deleted] (none) -> origin/migrations-tooling/converter
  170. - [deleted] (none) -> origin/permalinks
  171. - [deleted] (none) -> origin/remove-disable-sidebar
  172. - [deleted] (none) -> origin/route-native-class
  173. - [deleted] (none) -> origin/search-result-consistency
  174. - [deleted] (none) -> origin/support_alternate_bucket_s3_inventory
  175. - [deleted] (none) -> origin/update-official-plugin-list
  176. - [deleted] (none) -> origin/user-posts-stream-native-class
  177. - [deleted] (none) -> origin/ux-account-disclaimer
  178. - [deleted] (none) -> origin/with-ancestor-ids
  179. 62b1b69e8..2900cbefe main -> origin/main
  180. * [new branch] add_mechanism_to_redeliver_all_webhook_events -> origin/add_mechanism_to_redeliver_all_webhook_events
  181. * [new branch] add_mechanism_to_redeliver_all_webhook_events_wip -> origin/add_mechanism_to_redeliver_all_webhook_events_wip
  182. * [new branch] better_logs -> origin/better_logs
  183. * [new branch] chat-empty-state -> origin/chat-empty-state
  184. * [new branch] chat-mobile-menu -> origin/chat-mobile-menu
  185. + 098e99e83...bfdeae4f4 coco/generic-importer -> origin/coco/generic-importer (forced update)
  186. * [new branch] de-jq-create-account -> origin/de-jq-create-account
  187. * [new branch] dependabot/bundler/libv8-node-21.7.2.0 -> origin/dependabot/bundler/libv8-node-21.7.2.0
  188. * [new branch] dependabot/bundler/oauth2-2.0.9 -> origin/dependabot/bundler/oauth2-2.0.9
  189. * [new branch] dependabot/bundler/omniauth-2.1.2 -> origin/dependabot/bundler/omniauth-2.1.2
  190. * [new branch] dependabot/bundler/omniauth-google-oauth2-1.1.2 -> origin/dependabot/bundler/omniauth-google-oauth2-1.1.2
  191. * [new branch] detect-default-readonly -> origin/detect-default-readonly
  192. * [new branch] dev-can-ignore-users -> origin/dev-can-ignore-users
  193. * [new branch] dev/add-behavior-transformers -> origin/dev/add-behavior-transformers
  194. * [new branch] dev/ember-source-5.9.0-upgrade -> origin/dev/ember-source-5.9.0-upgrade
  195. * [new branch] dev/untangle-admin-sidebar -> origin/dev/untangle-admin-sidebar
  196. * [new branch] feature/absolute-number-in-poll -> origin/feature/absolute-number-in-poll
  197. * [new branch] feature/private-github-onebox -> origin/feature/private-github-onebox
  198. * [new branch] fix-ensure-post-and-topic-user-id-is-always-set -> origin/fix-ensure-post-and-topic-user-id-is-always-set
  199. * [new branch] fix-password-reset-security-key -> origin/fix-password-reset-security-key
  200. * [new branch] fix-unread-notifications-take-2 -> origin/fix-unread-notifications-take-2
  201. * [new branch] fix/table-break-line -> origin/fix/table-break-line
  202. b3d6801e8..2902da16e formtoolkit -> origin/formtoolkit
  203. * [new branch] grant-admin-fetch-user -> origin/grant-admin-fetch-user
  204. * [new branch] issue/do-not-enforce-2fa-on-social-logins -> origin/issue/do-not-enforce-2fa-on-social-logins
  205. * [new branch] issue/fix-user-field-enum-migrate -> origin/issue/fix-user-field-enum-migrate
  206. * [new branch] issue/prevent-decimal-comma-integer-input-site-setting -> origin/issue/prevent-decimal-comma-integer-input-site-setting
  207. * [new branch] jjaffeux-otp-validation -> origin/jjaffeux-otp-validation
  208. * [new branch] loic-use-messageformat-gem -> origin/loic-use-messageformat-gem
  209. * [new branch] mt/converter -> origin/mt/converter
  210. * [new branch] mt/uploads-command -> origin/mt/uploads-command
  211. * [new branch] prevent-header-cls -> origin/prevent-header-cls
  212. * [new branch] rails_7_1_upgrade -> origin/rails_7_1_upgrade
  213. * [new branch] show-primary-user-group-options-to-members -> origin/show-primary-user-group-options-to-members
  214. 5558028f8..473248381 stable -> origin/stable
  215. * [new branch] tag-span -> origin/tag-span
  216. 62b1b69e8..2900cbefe tests-passed -> origin/tests-passed
  217. t [tag update] beta -> beta
  218. t [tag update] latest-release -> latest-release
  219. * [new tag] v3.2.3 -> v3.2.3
  220. * [new tag] v3.3.0.beta3 -> v3.3.0.beta3
  221. I, [2024-07-04T10:54:11.459814 #1] INFO -- :
  222. I, [2024-07-04T10:54:11.460714 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  223. set -o errexit
  224. if [[ $(git symbolic-ref --short HEAD) == tests-passed ]] ; then
  225. git pull
  226. else
  227. git -c advice.detachedHead=false checkout tests-passed
  228. fi
  229. '
  230. Switched to a new branch 'tests-passed'
  231. I, [2024-07-04T10:54:15.600835 #1] INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.
  232.  
  233. I, [2024-07-04T10:54:15.601694 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
  234. I, [2024-07-04T10:54:15.620994 #1] INFO -- :
  235. I, [2024-07-04T10:54:15.621726 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
  236. I, [2024-07-04T10:54:15.627493 #1] INFO -- :
  237. I, [2024-07-04T10:54:15.628246 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
  238. I, [2024-07-04T10:54:15.633706 #1] INFO -- :
  239. I, [2024-07-04T10:54:15.634771 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
  240. I, [2024-07-04T10:54:15.640449 #1] INFO -- :
  241. I, [2024-07-04T10:54:15.641216 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
  242. I, [2024-07-04T10:54:15.647332 #1] INFO -- :
  243. I, [2024-07-04T10:54:15.648125 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
  244. I, [2024-07-04T10:54:15.653983 #1] INFO -- :
  245. I, [2024-07-04T10:54:15.654869 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
  246. I, [2024-07-04T10:54:15.662663 #1] INFO -- :
  247. I, [2024-07-04T10:54:15.663394 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
  248. I, [2024-07-04T10:54:15.671517 #1] INFO -- :
  249. I, [2024-07-04T10:54:15.672417 #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"
  250. I, [2024-07-04T10:54:15.680789 #1] INFO -- :
  251. I, [2024-07-04T10:54:15.681547 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
  252. I, [2024-07-04T10:54:15.689565 #1] INFO -- :
  253. I, [2024-07-04T10:54:15.690524 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
  254. I, [2024-07-04T10:54:15.698425 #1] INFO -- :
  255. I, [2024-07-04T10:54:15.699328 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
  256. I, [2024-07-04T10:54:15.707956 #1] INFO -- :
  257. I, [2024-07-04T10:54:15.708663 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
  258. I, [2024-07-04T10:54:15.716331 #1] INFO -- :
  259. I, [2024-07-04T10:54:15.717135 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
  260. I, [2024-07-04T10:54:15.724522 #1] INFO -- :
  261. I, [2024-07-04T10:54:15.725253 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
  262. I, [2024-07-04T10:54:15.728482 #1] INFO -- :
  263. I, [2024-07-04T10:54:15.729287 #1] INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
  264. I, [2024-07-04T10:54:15.730841 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
  265. Cloning into 'docker_manager'...
  266. I, [2024-07-04T10:54:16.438063 #1] INFO -- :
  267. I, [2024-07-04T10:54:16.438901 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-data-explorer.git
  268. Cloning into 'discourse-data-explorer'...
  269. I, [2024-07-04T10:54:16.849457 #1] INFO -- :
  270. I, [2024-07-04T10:54:16.850421 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/iunctis/discourse-formatting-toolbar.git
  271. Cloning into 'discourse-formatting-toolbar'...
  272. I, [2024-07-04T10:54:17.139581 #1] INFO -- :
  273. I, [2024-07-04T10:54:17.140514 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-locations.git
  274. Cloning into 'discourse-locations'...
  275. I, [2024-07-04T10:54:17.784316 #1] INFO -- :
  276. I, [2024-07-04T10:54:17.785236 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-events.git
  277. Cloning into 'discourse-events'...
  278. I, [2024-07-04T10:54:18.209341 #1] INFO -- :
  279. I, [2024-07-04T10:54:18.210126 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/jannolii/discourse-topic-trade-buttons.git
  280. Cloning into 'discourse-topic-trade-buttons'...
  281. I, [2024-07-04T10:54:18.474693 #1] INFO -- :
  282. I, [2024-07-04T10:54:18.475385 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-cakeday.git
  283. Cloning into 'discourse-cakeday'...
  284. I, [2024-07-04T10:54:18.812941 #1] INFO -- :
  285. I, [2024-07-04T10:54:18.814112 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
  286. I, [2024-07-04T10:54:18.821545 #1] INFO -- :
  287. I, [2024-07-04T10:54:18.822405 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
  288. I, [2024-07-04T10:54:18.826069 #1] INFO -- :
  289. I, [2024-07-04T10:54:18.826844 #1] INFO -- : > mkdir -p /var/nginx/cache
  290. I, [2024-07-04T10:54:18.831426 #1] INFO -- :
  291. I, [2024-07-04T10:54:18.832897 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
  292. I, [2024-07-04T10:54:18.834054 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
  293. I, [2024-07-04T10:54:18.839945 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
  294. I, [2024-07-04T10:54:18.841128 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
  295. I, [2024-07-04T10:54:18.841956 #1] INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
  296. I, [2024-07-04T10:54:18.842828 #1] INFO -- : > echo "done configuring web"
  297. I, [2024-07-04T10:54:18.847470 #1] INFO -- : done configuring web
  298.  
  299. I, [2024-07-04T10:54:18.848432 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
  300. I, [2024-07-04T10:54:19.274948 #1] INFO -- :
  301. I, [2024-07-04T10:54:19.275562 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
  302. I, [2024-07-04T10:54:21.213350 #1] INFO -- :
  303. I, [2024-07-04T10:54:21.214547 #1] INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then
  304. rm -rf app/assets/javascripts/node_modules
  305. fi
  306. I, [2024-07-04T10:54:21.217686 #1] INFO -- :
  307. I, [2024-07-04T10:54:21.218511 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
  308. warning Resolution field "[email protected]" is incompatible with requested version "unset-value@^1.0.0"
  309. warning " > @discourse/[email protected]" has incorrect peer dependency "[email protected]".
  310. warning " > @glint/[email protected]" has unmet peer dependency "@glimmer/component@^1.1.2".
  311. warning " > [email protected]" has unmet peer dependency "xss@*".
  312. warning "workspace-aggregator-300119a8-8b9f-45b6-afce-ded1176dd50e > discourse > @uppy/[email protected]" has incorrect peer dependency "@uppy/core@^3.1.2".
  313. warning "workspace-aggregator-300119a8-8b9f-45b6-afce-ded1176dd50e > discourse > @uppy/[email protected]" has incorrect peer dependency "@uppy/core@^3.1.2".
  314. warning "workspace-aggregator-300119a8-8b9f-45b6-afce-ded1176dd50e > discourse > @uppy/[email protected]" has incorrect peer dependency "@uppy/core@^3.1.2".
  315. warning "workspace-aggregator-300119a8-8b9f-45b6-afce-ded1176dd50e > discourse-plugins > [email protected]" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0".
  316. warning "workspace-aggregator-300119a8-8b9f-45b6-afce-ded1176dd50e > admin > ember-source > [email protected]" has unmet peer dependency "rsvp@^4.8.5".
  317. warning "workspace-aggregator-300119a8-8b9f-45b6-afce-ded1176dd50e > discourse > @uppy/aws-s3 > @uppy/[email protected]" has incorrect peer dependency "@uppy/core@^3.2.1".
  318. I, [2024-07-04T10:57:07.077752 #1] INFO -- : yarn install v1.22.22
  319. [1/5] Validating package.json...
  320. [2/5] Resolving packages...
  321. [3/5] Fetching packages...
  322. [4/5] Linking dependencies...
  323. [5/5] Building fresh packages...
  324. $ ./app/assets/javascripts/run-patch-package && rm -rf app/assets/javascripts/node_modules
  325. patch-package 8.0.0
  326. Applying patches...
  327. [email protected] (1 deprecation-name) ✔
  328. [email protected] (2 themes) ✔
  329. [email protected] (3 exclude-strict-mode) ✔
  330. Done in 150.96s.
  331. yarn cache v1.22.22
  332. success Cleared cache.
  333. Done in 14.12s.
  334.  
  335. I, [2024-07-04T10:57:07.078625 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local deployment true'
  336. I, [2024-07-04T10:57:07.565923 #1] INFO -- :
  337. I, [2024-07-04T10:57:07.566431 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local without "development test"'
  338. I, [2024-07-04T10:57:07.917852 #1] INFO -- : You are replacing the current local value of without, which is currently "test:development"
  339.  
  340. I, [2024-07-04T10:57:07.918345 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'
  341. I, [2024-07-04T10:57:51.571733 #1] INFO -- : Fetching gem metadata from https://rubygems.org/........
  342. Fetching concurrent-ruby 1.3.3
  343. Fetching minitest 5.24.1
  344. Fetching builder 3.3.0
  345. Fetching erubi 1.13.0
  346. Installing erubi 1.13.0
  347. Installing builder 3.3.0
  348. Installing minitest 5.24.1
  349. Fetching public_suffix 6.0.0
  350. Fetching ffi 1.17.0 (x86_64-linux-gnu)
  351. Installing concurrent-ruby 1.3.3
  352. Installing public_suffix 6.0.0
  353. Fetching io-console 0.7.2
  354. Installing io-console 0.7.2 with native extensions
  355. Fetching webrick 1.8.1
  356. Installing webrick 1.8.1
  357. Installing ffi 1.17.0 (x86_64-linux-gnu)
  358. Fetching zeitwerk 2.6.16
  359. Installing zeitwerk 2.6.16
  360. Fetching memory_profiler 1.0.2
  361. Installing memory_profiler 1.0.2
  362. Fetching jwt 2.8.2
  363. Fetching google-protobuf 4.27.2 (x86_64-linux)
  364. Installing jwt 2.8.2
  365. Fetching oj 3.16.4
  366. Installing oj 3.16.4 with native extensions
  367. Installing google-protobuf 4.27.2 (x86_64-linux)
  368. Fetching nokogiri 1.16.6 (x86_64-linux)
  369. Fetching rack-session 1.0.2
  370. Installing rack-session 1.0.2
  371. Fetching addressable 2.8.7
  372. Installing addressable 2.8.7
  373. Fetching rackup 1.0.0
  374. Installing rackup 1.0.0
  375. Fetching rexml 3.3.1
  376. Installing rexml 3.3.1
  377. Installing nokogiri 1.16.6 (x86_64-linux)
  378. Fetching sass-embedded 1.77.5 (x86_64-linux-gnu)
  379. Installing sass-embedded 1.77.5 (x86_64-linux-gnu)
  380. Fetching net-imap 0.4.14
  381. Installing net-imap 0.4.14
  382. Fetching rdoc 6.7.0
  383. Installing rdoc 6.7.0
  384. Fetching pry-rails 0.3.11
  385. Installing pry-rails 0.3.11
  386. Fetching activesupport 7.1.3.4
  387. Installing activesupport 7.1.3.4
  388. Fetching ruby-readability 0.7.1
  389. Installing ruby-readability 0.7.1
  390. Fetching sanitize 6.1.1
  391. Installing sanitize 6.1.1
  392. Fetching faraday 2.9.2
  393. Installing faraday 2.9.2
  394. Fetching sassc-embedded 1.77.2
  395. Installing sassc-embedded 1.77.2
  396. Fetching activemodel 7.1.3.4
  397. Fetching actionview 7.1.3.4
  398. Installing activemodel 7.1.3.4
  399. Installing actionview 7.1.3.4
  400. Fetching activejob 7.1.3.4
  401. Installing activejob 7.1.3.4
  402. Fetching activerecord 7.1.3.4
  403. Fetching actionpack 7.1.3.4
  404. Installing actionpack 7.1.3.4
  405. Installing activerecord 7.1.3.4
  406. Fetching actionmailer 7.1.3.4
  407. Installing actionmailer 7.1.3.4
  408. Fetching sprockets-rails 3.5.1
  409. Installing sprockets-rails 3.5.1
  410. Fetching reline 0.5.8
  411. Installing reline 0.5.8
  412. Fetching railties 7.1.3.4
  413. Installing railties 7.1.3.4
  414. Fetching rails_failover 2.1.1
  415. Installing rails_failover 2.1.1
  416. Bundle complete! 141 Gemfile dependencies, 183 gems now installed.
  417. Gems in the groups 'development' and 'test' were not installed.
  418. Bundled gems are installed into `./vendor/bundle`
  419.  
  420. I, [2024-07-04T10:57:51.572392 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
  421. I, [2024-07-04T10:58:00.012224 #1] INFO -- : discourse-cakeday is already at latest compatible version
  422. discourse-data-explorer is already at latest compatible version
  423. discourse-events is already at latest compatible version
  424. discourse-formatting-toolbar is already at latest compatible version
  425. discourse-locations is already at latest compatible version
  426. discourse-topic-trade-buttons is already at latest compatible version
  427. docker_manager is already at latest compatible version
  428.  
  429. I, [2024-07-04T10:58:00.012668 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
  430. I, [2024-07-04T10:58:00.017822 #1] INFO -- : > sleep 10
  431. 954:C 04 Jul 2024 10:58:00.044 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
  432. 954:C 04 Jul 2024 10:58:00.044 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=954, just started
  433. 954:C 04 Jul 2024 10:58:00.044 # Configuration loaded
  434. 954:M 04 Jul 2024 10:58:00.045 * monotonic clock: POSIX clock_gettime
  435. 954:M 04 Jul 2024 10:58:00.046 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
  436. 954:M 04 Jul 2024 10:58:00.046 # Failed listening on port 6379 (TCP), aborting.
  437. I, [2024-07-04T10:58:10.031866 #1] INFO -- :
  438. I, [2024-07-04T10:58:10.032253 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
  439. rake aborted!
  440. Gem::LoadError: can't activate stringio-3.1.1, already activated stringio-3.1.0 (Gem::LoadError)
  441. /var/www/discourse/lib/plugin_gem.rb:25:in `load'
  442. /var/www/discourse/lib/plugin/instance.rb:808:in `gem'
  443. /var/www/discourse/plugins/discourse-events/plugin.rb:26:in `activate!'
  444. /var/www/discourse/lib/plugin/instance.rb:751:in `instance_eval'
  445. /var/www/discourse/lib/plugin/instance.rb:751:in `activate!'
  446. /var/www/discourse/lib/discourse.rb:347:in `block in activate_plugins!'
  447. /var/www/discourse/lib/discourse.rb:344:in `each'
  448. /var/www/discourse/lib/discourse.rb:344:in `activate_plugins!'
  449. /var/www/discourse/config/application.rb:231:in `block in <class:Application>'
  450. /var/www/discourse/lib/plugin.rb:6:in `initialization_guard'
  451. /var/www/discourse/config/application.rb:231:in `<class:Application>'
  452. /var/www/discourse/config/application.rb:75:in `<module:Discourse>'
  453. /var/www/discourse/config/application.rb:74:in `<top (required)>'
  454. /var/www/discourse/Rakefile:7:in `<top (required)>'
  455. /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
  456. /usr/local/bin/bundle:25:in `load'
  457. /usr/local/bin/bundle:25:in `<main>'
  458. (See full trace by running task with --trace)
  459. I, [2024-07-04T10:58:35.945142 #1] INFO -- : gem install uuidtools -v 2.2.0 -i /var/www/discourse/plugins/discourse-events/gems/3.3.2 --no-document --ignore-dependencies --no-user-install
  460. Successfully installed uuidtools-2.2.0
  461. 1 gem installed
  462. gem install iso-639 -v 0.3.5 -i /var/www/discourse/plugins/discourse-events/gems/3.3.2 --no-document --ignore-dependencies --no-user-install
  463. Successfully installed iso-639-0.3.5
  464. 1 gem installed
  465. gem install ice_cube -v 0.16.4 -i /var/www/discourse/plugins/discourse-events/gems/3.3.2 --no-document --ignore-dependencies --no-user-install
  466. Successfully installed ice_cube-0.16.4
  467. 1 gem installed
  468. gem install icalendar -v 2.8.0 -i /var/www/discourse/plugins/discourse-events/gems/3.3.2 --no-document --ignore-dependencies --no-user-install
  469. ActiveSupport is required for TimeWithZone support, but not required for general use.
  470. Successfully installed icalendar-2.8.0
  471. 1 gem installed
  472. gem install icalendar-recurrence -v 1.1.3 -i /var/www/discourse/plugins/discourse-events/gems/3.3.2 --no-document --ignore-dependencies --no-user-install
  473. Successfully installed icalendar-recurrence-1.1.3
  474. 1 gem installed
  475. gem install date -v 3.3.4 -i /var/www/discourse/plugins/discourse-events/gems/3.3.2 --no-document --ignore-dependencies --no-user-install
  476. Building native extensions. This could take a while...
  477. Successfully installed date-3.3.4
  478. 1 gem installed
  479. gem install time -v 0.2.0 -i /var/www/discourse/plugins/discourse-events/gems/3.3.2 --no-document --ignore-dependencies --no-user-install
  480. Successfully installed time-0.2.0
  481. 1 gem installed
  482. gem install stringio -v 3.1.1 -i /var/www/discourse/plugins/discourse-events/gems/3.3.2 --no-document --ignore-dependencies --no-user-install
  483. Building native extensions. This could take a while...
  484. Successfully installed stringio-3.1.1
  485. 1 gem installed
  486.  
  487. I, [2024-07-04T10:58:35.946238 #1] INFO -- : Terminating async processes
  488. I, [2024-07-04T10:58:35.946337 #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: 36
  489. I, [2024-07-04T10:58:35.946747 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 98
  490. 2024-07-04 10:58:35.947 UTC [36] LOG: received fast shutdown request
  491. 98:signal-handler (1720090715) Received SIGTERM scheduling shutdown...
  492. 2024-07-04 10:58:35.954 UTC [36] LOG: aborting any active transactions
  493. 2024-07-04 10:58:35.961 UTC [36] LOG: background worker "logical replication launcher" (PID 51) exited with exit code 1
  494. 2024-07-04 10:58:35.962 UTC [46] LOG: shutting down
  495. 98:M 04 Jul 2024 10:58:36.015 # User requested shutdown...
  496. 98:M 04 Jul 2024 10:58:36.015 * Saving the final RDB snapshot before exiting.
  497. 2024-07-04 10:58:36.033 UTC [36] LOG: database system is shut down
  498. 98:M 04 Jul 2024 10:58:36.300 * DB saved on disk
  499. 98:M 04 Jul 2024 10:58:36.300 # Redis is now ready to exit, bye bye...
  500.  
  501.  
  502. FAILED
  503. --------------------
  504. Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 958 exit 1>
  505. Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
  506. exec failed with the params {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
  507. bootstrap failed with exit code 1
  508. ** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
  509. ./discourse-doctor may help diagnose the problem.
  510. f71a114482f45f7cff5f8d045d314a0bd8d21cf3b1af7e8c2c0a7fc1722df4a5
  511.  
Advertisement
Add Comment
Please, Sign In to add comment