root@ip-172-31-19-12:/var/discourse# ./launcher rebuild app x86_64 arch detected. Ensuring launcher is up to date Launcher is up-to-date Stopping old container + /usr/bin/docker stop -t 600 app app 2.0.20240825-0027: Pulling from discourse/base Digest: sha256:6de68cb49198b5281f79ed9401b3fe818c854d220dcf0238549fe2f2adb19146 Status: Image is up to date for discourse/base:2.0.20240825-0027 docker.io/discourse/base:2.0.20240825-0027 /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb /usr/local/bin/pups --stdin I, [2024-09-20T06:16:58.330166 #1] INFO -- : Reading from stdin I, [2024-09-20T06:16:58.342625 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown: I, [2024-09-20T06:16:58.347391 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown: I, [2024-09-20T06:16:58.354819 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown: I, [2024-09-20T06:16:58.355225 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf I, [2024-09-20T06:16:58.356075 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf I, [2024-09-20T06:16:58.357014 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data I, [2024-09-20T06:16:58.361669 #1] INFO -- : I, [2024-09-20T06:16:58.362400 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf I, [2024-09-20T06:16:58.363157 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf I, [2024-09-20T06:16:58.365186 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf I, [2024-09-20T06:16:58.367006 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf I, [2024-09-20T06:16:58.369634 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf I, [2024-09-20T06:16:58.371083 #1] INFO -- : > echo redis installed I, [2024-09-20T06:16:58.374473 #1] INFO -- : redis installed I, [2024-09-20T06:16:58.374763 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile I, [2024-09-20T06:16:58.379858 #1] INFO -- : logfile "" I, [2024-09-20T06:16:58.380082 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf I, [2024-09-20T06:16:58.382198 #1] INFO -- : > sleep 10 19:C 20 Sep 2024 06:16:58.392 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 19:C 20 Sep 2024 06:16:58.392 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=19, just started 19:C 20 Sep 2024 06:16:58.392 # Configuration loaded 19:M 20 Sep 2024 06:16:58.392 * monotonic clock: POSIX clock_gettime 19:M 20 Sep 2024 06:16:58.393 * Running mode=standalone, port=6379. 19:M 20 Sep 2024 06:16:58.393 # Server initialized 19:M 20 Sep 2024 06:16:58.393 # 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. 19:M 20 Sep 2024 06:16:58.394 * Loading RDB produced by version 7.0.7 19:M 20 Sep 2024 06:16:58.394 * RDB age 87 seconds 19:M 20 Sep 2024 06:16:58.394 * RDB memory usage when created 2668.76 Mb 19:M 20 Sep 2024 06:17:03.487 * Done loading RDB, keys loaded: 43128, keys expired: 36. 19:M 20 Sep 2024 06:17:03.487 * DB loaded from disk: 5.093 seconds 19:M 20 Sep 2024 06:17:03.487 * Ready to accept connections I, [2024-09-20T06:17:08.385380 #1] INFO -- : I, [2024-09-20T06:17:08.385666 #1] INFO -- : > thpoff echo "thpoff is installed!" I, [2024-09-20T06:17:08.389835 #1] INFO -- : thpoff is installed! I, [2024-09-20T06:17:08.390178 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end' I, [2024-09-20T06:17:08.489710 #1] INFO -- : I, [2024-09-20T06:17:08.489820 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end' I, [2024-09-20T06:17:08.577264 #1] INFO -- : I, [2024-09-20T06:17:08.577371 #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' I, [2024-09-20T06:17:08.671104 #1] INFO -- : I, [2024-09-20T06:17:08.671297 #1] INFO -- : > rm -f /etc/cron.d/anacron I, [2024-09-20T06:17:08.674027 #1] INFO -- : I, [2024-09-20T06:17:08.677575 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown: I, [2024-09-20T06:17:08.683993 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown: I, [2024-09-20T06:17:08.690336 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown: I, [2024-09-20T06:17:08.695768 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown: I, [2024-09-20T06:17:08.701226 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown: I, [2024-09-20T06:17:08.706174 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown: I, [2024-09-20T06:17:08.707091 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard Updating files: 100% (34680/34680), done. I, [2024-09-20T06:17:12.219815 #1] INFO -- : HEAD is now at 274e18622 FIX: Video uploads sometimes hang indefinitely (#28523) I, [2024-09-20T06:17:12.219946 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f I, [2024-09-20T06:17:12.366866 #1] INFO -- : I, [2024-09-20T06:17:12.367471 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c ' set -o errexit if [ $(git rev-parse --is-shallow-repository) == "true" ]; then git remote set-branches --add origin main git remote set-branches origin tests-passed git fetch --depth 1 origin tests-passed else git fetch --tags --prune-tags --prune --force origin fi ' From https://github.com/discourse/discourse - [deleted] (none) -> origin/0-a-gjs-ace - [deleted] (none) -> origin/better-respect-End-key-in-topics - [deleted] (none) -> origin/category-experts-approved-webhook-event - [deleted] (none) -> origin/chat-sound-respects-indicator-pref - [deleted] (none) -> origin/dependabot/bundler/omniauth-google-oauth2-1.1.2 - [deleted] (none) -> origin/dependabot/bundler/sass-embedded-1.77.8 - [deleted] (none) -> origin/dependabot/bundler/sassc-embedded-1.77.8 - [deleted] (none) -> origin/dependabot/npm_and_yarn/ember-cli-deprecation-workflow-3.0.2 - [deleted] (none) -> origin/dependabot/npm_and_yarn/ember/test-helpers-4.0.1 - [deleted] (none) -> origin/dependabot/npm_and_yarn/eslint-9.7.0 - [deleted] (none) -> origin/dependabot/npm_and_yarn/sass-1.77.8 - [deleted] (none) -> origin/detect-default-readonly - [deleted] (none) -> origin/dev/remove-header-widgets - [deleted] (none) -> origin/feature/site-text-result-selected-lang - [deleted] (none) -> origin/fix/add-user-to-user-directory-when-activated - [deleted] (none) -> origin/issue/fix-bookmark-clearing-reminder - [deleted] (none) -> origin/loic-drop-compiled-js-column - [deleted] (none) -> origin/mt/converter - [deleted] (none) -> origin/native-class-components-2 - [deleted] (none) -> origin/native-class-components-3 - [deleted] (none) -> origin/notifications_id_bigint - [deleted] (none) -> origin/prevent-desktop-notifications-on-mobile - [deleted] (none) -> origin/tobiaseigen-patch-3 - [deleted] (none) -> origin/tobiaseigen-patch-5 - [deleted] (none) -> origin/ux/admin-plugins-ui-guidelines 274e18622..a4ccdeccb main -> origin/main * [new branch] 0-a-dl -> origin/0-a-dl * [new branch] 0-a-gjs-unread-ind -> origin/0-a-gjs-unread-ind * [new branch] burning-uppy-mixins -> origin/burning-uppy-mixins * [new branch] chat-desktop-sound-updates -> origin/chat-desktop-sound-updates 7f254be61..488081d93 coco/generic-importer -> origin/coco/generic-importer * [new branch] dependabot/bundler/jwt-2.9.0 -> origin/dependabot/bundler/jwt-2.9.0 * [new branch] dependabot/bundler/omniauth-google-oauth2-1.2.0 -> origin/dependabot/bundler/omniauth-google-oauth2-1.2.0 * [new branch] dependabot/bundler/sass-embedded-1.79.1 -> origin/dependabot/bundler/sass-embedded-1.79.1 * [new branch] dependabot/bundler/sassc-embedded-1.78.0 -> origin/dependabot/bundler/sassc-embedded-1.78.0 * [new branch] dependabot/bundler/sprockets-3.7.5 -> origin/dependabot/bundler/sprockets-3.7.5 * [new branch] dependabot/npm_and_yarn/sass-1.79.1 -> origin/dependabot/npm_and_yarn/sass-1.79.1 * [new branch] dev-bigint-sequences -> origin/dev-bigint-sequences * [new branch] dev-faster-tests -> origin/dev-faster-tests * [new branch] dev-migrate-user-password -> origin/dev-migrate-user-password * [new branch] dev-nginx-conf -> origin/dev-nginx-conf * [new branch] dev/bulk-import-chats -> origin/dev/bulk-import-chats * [new branch] dev/glimmer-post-menu -> origin/dev/glimmer-post-menu * [new branch] dev/port-outlet-wrapper-to-stable -> origin/dev/port-outlet-wrapper-to-stable * [new branch] dev/remove-deprecated-respect-plugin-positional-argument -> origin/dev/remove-deprecated-respect-plugin-positional-argument * [new branch] dev/use-new-filestore-download-method -> origin/dev/use-new-filestore-download-method + 59bf25001...86f856e04 devcontainer -> origin/devcontainer (forced update) * [new branch] drop-old-notification-id-columns -> origin/drop-old-notification-id-columns * [new branch] ember-native-class -> origin/ember-native-class * [new branch] feature/add-user-to-topic_tags_changed-event -> origin/feature/add-user-to-topic_tags_changed-event * [new branch] fix-import-polls -> origin/fix-import-polls * [new branch] full-width-login-modal-mobile -> origin/full-width-login-modal-mobile * [new branch] glint -> origin/glint * [new branch] loic-move-service-runner -> origin/loic-move-service-runner * [new branch] remove_unused_file -> origin/remove_unused_file * [new branch] render-glimmer-example -> origin/render-glimmer-example * [new branch] render-glimmer-granular -> origin/render-glimmer-granular * [new branch] revert-28587-revert-28321-dev/remove-create_post_for_category_and_tag_changes-setting -> origin/revert-28587-revert-28321-dev/remove-create_post_for_category_and_tag_changes-setting d3ad2ecda..25514419e stable -> origin/stable * [new branch] tag-name-transformer -> origin/tag-name-transformer * [new branch] testing_debian_12 -> origin/testing_debian_12 274e18622..a4ccdeccb tests-passed -> origin/tests-passed * [new branch] theme-cards -> origin/theme-cards * [new branch] translations-from-crowdin-main -> origin/translations-from-crowdin-main * [new branch] translations-from-crowdin-stable -> origin/translations-from-crowdin-stable * [new branch] ux/simplification-invite-modal -> origin/ux/simplification-invite-modal t [tag update] beta -> beta t [tag update] latest-release -> latest-release * [new tag] v3.3.1 -> v3.3.1 * [new tag] v3.4.0.beta1 -> v3.4.0.beta1 I, [2024-09-20T06:17:13.780284 #1] INFO -- : I, [2024-09-20T06:17:13.780398 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c ' set -o errexit if [[ $(git symbolic-ref --short HEAD) == tests-passed ]] ; then git pull else git -c advice.detachedHead=false checkout tests-passed fi ' Switched to a new branch 'tests-passed' I, [2024-09-20T06:17:17.762963 #1] INFO -- : branch 'tests-passed' set up to track 'origin/tests-passed'. I, [2024-09-20T06:17:17.763069 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed I, [2024-09-20T06:17:17.773765 #1] INFO -- : I, [2024-09-20T06:17:17.773862 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp I, [2024-09-20T06:17:17.778536 #1] INFO -- : I, [2024-09-20T06:17:17.778628 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp I, [2024-09-20T06:17:17.787131 #1] INFO -- : I, [2024-09-20T06:17:17.788839 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids I, [2024-09-20T06:17:17.794413 #1] INFO -- : I, [2024-09-20T06:17:17.794508 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets I, [2024-09-20T06:17:17.797858 #1] INFO -- : I, [2024-09-20T06:17:17.797955 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep I, [2024-09-20T06:17:17.800677 #1] INFO -- : I, [2024-09-20T06:17:17.800750 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails I, [2024-09-20T06:17:17.803982 #1] INFO -- : I, [2024-09-20T06:17:17.804056 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log" I, [2024-09-20T06:17:17.808220 #1] INFO -- : I, [2024-09-20T06:17:17.808302 #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" I, [2024-09-20T06:17:17.813161 #1] INFO -- : I, [2024-09-20T06:17:17.813255 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}" I, [2024-09-20T06:17:17.817728 #1] INFO -- : I, [2024-09-20T06:17:17.817804 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public" I, [2024-09-20T06:17:17.822269 #1] INFO -- : I, [2024-09-20T06:17:17.822346 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}" I, [2024-09-20T06:17:17.826876 #1] INFO -- : I, [2024-09-20T06:17:17.826983 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp" I, [2024-09-20T06:17:17.832893 #1] INFO -- : I, [2024-09-20T06:17:17.832986 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp I, [2024-09-20T06:17:17.842717 #1] INFO -- : I, [2024-09-20T06:17:17.842825 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete I, [2024-09-20T06:17:17.845507 #1] INFO -- : I, [2024-09-20T06:17:17.845686 #1] INFO -- : Replacing # redis with if [ ! -d /shared/redis_data ]; then install -d -m 0755 -o redis -g redis /shared/redis_data fi sv start redis || exit 1 in /etc/service/unicorn/run I, [2024-09-20T06:17:17.846339 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git Cloning into 'docker_manager'... I, [2024-09-20T06:17:19.919054 #1] INFO -- : I, [2024-09-20T06:17:19.919192 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-math Cloning into 'discourse-math'... I, [2024-09-20T06:17:21.617341 #1] INFO -- : I, [2024-09-20T06:17:21.617457 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-follow Cloning into 'discourse-follow'... I, [2024-09-20T06:17:22.660266 #1] INFO -- : I, [2024-09-20T06:17:22.660379 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-calendar Cloning into 'discourse-calendar'... I, [2024-09-20T06:17:24.096287 #1] INFO -- : I, [2024-09-20T06:17:24.096419 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-whos-online Cloning into 'discourse-whos-online'... I, [2024-09-20T06:17:25.322988 #1] INFO -- : I, [2024-09-20T06:17:25.323118 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions Cloning into 'discourse-reactions'... I, [2024-09-20T06:17:27.217851 #1] INFO -- : I, [2024-09-20T06:17:27.217981 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-post-voting Cloning into 'discourse-post-voting'... I, [2024-09-20T06:17:28.158290 #1] INFO -- : I, [2024-09-20T06:17:28.158400 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-gamification Cloning into 'discourse-gamification'... I, [2024-09-20T06:17:29.421735 #1] INFO -- : I, [2024-09-20T06:17:29.421985 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-akismet Cloning into 'discourse-akismet'... I, [2024-09-20T06:17:30.506012 #1] INFO -- : I, [2024-09-20T06:17:30.506138 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-ai.git Cloning into 'discourse-ai'... I, [2024-09-20T06:17:32.887539 #1] INFO -- : I, [2024-09-20T06:17:32.888021 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf I, [2024-09-20T06:17:32.891197 #1] INFO -- : I, [2024-09-20T06:17:32.891473 #1] INFO -- : > rm /etc/nginx/sites-enabled/default I, [2024-09-20T06:17:32.893835 #1] INFO -- : I, [2024-09-20T06:17:32.893948 #1] INFO -- : > mkdir -p /var/nginx/cache I, [2024-09-20T06:17:32.896638 #1] INFO -- : I, [2024-09-20T06:17:32.896936 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf I, [2024-09-20T06:17:32.897305 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf I, [2024-09-20T06:17:32.897656 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf I, [2024-09-20T06:17:32.898487 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf I, [2024-09-20T06:17:32.899417 #1] INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf I, [2024-09-20T06:17:32.899578 #1] INFO -- : > echo "done configuring web" I, [2024-09-20T06:17:32.901677 #1] INFO -- : done configuring web I, [2024-09-20T06:17:32.901986 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock) I, [2024-09-20T06:17:34.776896 #1] INFO -- : Successfully installed bundler-2.5.18 1 gem installed I, [2024-09-20T06:17:34.777102 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+ I, [2024-09-20T06:17:36.080906 #1] INFO -- : I, [2024-09-20T06:17:36.081153 #1] INFO -- : > cd /var/www/discourse && if [ -f yarn.lock ]; then if [ -d node_modules/.pnpm ]; then echo "This version of Discourse uses yarn, but pnpm node_modules are preset. Cleaning up..." find ./node_modules ./app/assets/javascripts/*/node_modules -mindepth 1 -maxdepth 1 -exec rm -rf {} + fi su discourse -c 'yarn install --frozen-lockfile && yarn cache clean' else su discourse -c 'CI=1 pnpm install --frozen-lockfile' fi I, [2024-09-20T06:17:58.392280 #1] INFO -- : Detected yarn-managed node_modules. Performing one-time cleanup... cleanup done Scope: all 19 workspace projects Lockfile is up to date, resolution step is skipped Progress: resolved 1, reused 0, downloaded 0, added 0 Packages: +1858 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 1858, reused 0, downloaded 40, added 29 Progress: resolved 1858, reused 0, downloaded 234, added 311 Progress: resolved 1858, reused 0, downloaded 392, added 472 Progress: resolved 1858, reused 0, downloaded 519, added 596 Progress: resolved 1858, reused 0, downloaded 568, added 649 Progress: resolved 1858, reused 0, downloaded 702, added 778 Progress: resolved 1858, reused 0, downloaded 1022, added 1095 Progress: resolved 1858, reused 0, downloaded 1166, added 1246 Progress: resolved 1858, reused 0, downloaded 1221, added 1297 Progress: resolved 1858, reused 0, downloaded 1413, added 1486 Progress: resolved 1858, reused 0, downloaded 1535, added 1616 Progress: resolved 1858, reused 0, downloaded 1558, added 1638 Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: /home/discourse/.local/share/pnpm/store/v3 Virtual store is at: node_modules/.pnpm Progress: resolved 1858, reused 0, downloaded 1622, added 1701 Progress: resolved 1858, reused 0, downloaded 1768, added 1854 Progress: resolved 1858, reused 0, downloaded 1772, added 1858, done .../core-js@2.6.12/node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}" .../node_modules/@swc/core postinstall$ node postinstall.js .../core-js@3.33.0/node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}" .../core-js@2.6.12/node_modules/core-js postinstall: Done .../esbuild@0.23.1/node_modules/esbuild postinstall$ node install.js .../core-js@3.33.0/node_modules/core-js postinstall: Done .../node_modules/@swc/core postinstall: Done .../node_modules/lefthook postinstall$ node postinstall.js .../esbuild@0.23.1/node_modules/esbuild postinstall: Done .../node_modules/lefthook postinstall: Done devDependencies: + @babel/plugin-proposal-decorators 7.24.7 + @discourse/lint-configs 1.3.10 + @discourse/moment-timezone-names-translations 1.0.0 + @fortawesome/fontawesome-free 6.6.0 + @glint/core 1.4.1-unstable.ff9ea6c + @glint/environment-ember-loose 1.4.1-unstable.ff9ea6c + @glint/environment-ember-template-imports 1.4.1-unstable.ff9ea6c + @glint/template 1.4.1-unstable.ff9ea6c + @mixer/parallel-prettier 2.0.3 + @swc/core 1.7.26 + chart.js 3.5.1 + chartjs-plugin-datalabels 2.2.0 + chrome-launcher 1.1.2 + chrome-remote-interface 0.33.2 + concurrently 9.0.1 + ember-template-lint 6.0.0 + esbuild 0.23.1 + eslint 8.57.0 + jsdoc 4.0.3 + lefthook 1.7.15 + licensee 11.1.0 + lint-to-the-future 2.0.0 + lint-to-the-future-ember-template 1.2.0 + lint-to-the-future-eslint 2.0.1 + magnific-popup 1.1.0 + moment 2.30.1 + moment-timezone 0.5.45 + pikaday 1.8.2 + prettier 2.8.8 + puppeteer-core 23.4.0 + squoosh 2.0.0 + terser 5.33.0 + typescript 5.6.2 Done in 22.1s I, [2024-09-20T06:17:58.392553 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --jobs $(($(nproc) - 1)) --retry 3' I, [2024-09-20T06:18:57.689754 #1] INFO -- : Fetching gem metadata from https://rubygems.org/........ Fetching base64 0.2.0 Fetching mutex_m 0.2.0 Fetching date 3.3.4 Installing mutex_m 0.2.0 Installing base64 0.2.0 Fetching timeout 0.4.1 Installing date 3.3.4 with native extensions Fetching cgi 0.4.1 Installing timeout 0.4.1 Installing cgi 0.4.1 with native extensions Fetching openssl 3.2.0 Installing openssl 3.2.0 with native extensions Fetching digest 3.1.1 Installing digest 3.1.1 with native extensions Fetching dry-initializer 3.1.1 Installing dry-initializer 3.1.1 Fetching uri 0.13.1 Installing uri 0.13.1 Fetching logger 1.6.1 Installing logger 1.6.1 Fetching stringio 3.1.1 Installing stringio 3.1.1 with native extensions Fetching thor 1.3.2 Installing thor 1.3.2 Fetching zeitwerk 2.6.18 Installing zeitwerk 2.6.18 Fetching memory_profiler 1.1.0 Installing memory_profiler 1.1.0 Fetching ostruct 0.6.0 Installing ostruct 0.6.0 Fetching rexml 3.3.7 Installing rexml 3.3.7 Fetching i18n 1.14.6 Installing i18n 1.14.6 Fetching google-protobuf 4.28.2 (x86_64-linux) Installing google-protobuf 4.28.2 (x86_64-linux) Fetching sprockets 3.7.4 Installing sprockets 3.7.4 Fetching net-protocol 0.2.2 Installing net-protocol 0.2.2 Fetching net-http 0.4.1 Installing net-http 0.4.1 Fetching reline 0.5.10 Installing reline 0.5.10 Fetching psych 5.1.2 Installing psych 5.1.2 with native extensions Fetching puma 6.4.3 Installing puma 6.4.3 with native extensions Fetching oj 3.16.6 Installing oj 3.16.6 with native extensions Fetching tzinfo-data 1.2024.2 Installing tzinfo-data 1.2024.2 Fetching ruby-readability 0.7.2 Installing ruby-readability 0.7.2 Fetching css_parser 1.19.0 Installing css_parser 1.19.0 Fetching faraday-net_http 3.3.0 Installing faraday-net_http 3.3.0 Fetching highline 3.1.1 Installing highline 3.1.1 Fetching net-imap 0.4.16 Installing net-imap 0.4.16 Fetching faraday 2.12.0 Installing faraday 2.12.0 Fetching omniauth-oauth 1.2.1 Installing omniauth-oauth 1.2.1 Bundle complete! 145 Gemfile dependencies, 184 gems now installed. Gems in the groups 'test' and 'development' were not installed. Bundled gems are installed into `./vendor/bundle` Post-install message from i18n: PSA: I18n will be dropping support for Ruby < 3.2 in the next major release (April 2025), due to Ruby's end of life for 3.1 and below (https://endoflife.date/ruby). Please upgrade to Ruby 3.2 or newer by April 2025 to continue using future versions of this gem. 1 installed gem you directly depend on is looking for funding. Run `bundle fund` for details I, [2024-09-20T06:18:57.690147 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all' I, [2024-09-20T06:19:01.907447 #1] INFO -- : discourse-ai is already at latest compatible version discourse-akismet is already at latest compatible version discourse-calendar is already at latest compatible version discourse-follow is already at latest compatible version discourse-gamification is already at latest compatible version discourse-math is already at latest compatible version discourse-post-voting is already at latest compatible version discourse-reactions is already at latest compatible version discourse-whos-online is already at latest compatible version docker_manager is already at latest compatible version I, [2024-09-20T06:19:01.907670 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf I, [2024-09-20T06:19:01.911934 #1] INFO -- : > sleep 10 1751:C 20 Sep 2024 06:19:01.928 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1751:C 20 Sep 2024 06:19:01.928 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=1751, just started 1751:C 20 Sep 2024 06:19:01.928 # Configuration loaded 1751:M 20 Sep 2024 06:19:01.929 * monotonic clock: POSIX clock_gettime 1751:M 20 Sep 2024 06:19:01.930 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1751:M 20 Sep 2024 06:19:01.930 # Failed listening on port 6379 (TCP), aborting. I, [2024-09-20T06:19:11.914829 #1] INFO -- : I, [2024-09-20T06:19:11.915163 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' rake aborted! StandardError: An error has occurred, this and all later migrations canceled: (StandardError) ERROR: current transaction is aborted, commands ignored until end of transaction block /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rack-mini-profiler-3.3.1/lib/patches/db/pg.rb:110:in `exec' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rack-mini-profiler-3.3.1/lib/patches/db/pg.rb:110:in `async_exec' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_sql-1.6.0/lib/mini_sql/postgres/connection.rb:217:in `run' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_sql-1.6.0/lib/mini_sql/active_record_postgres/connection.rb:38:in `block in run' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_sql-1.6.0/lib/mini_sql/active_record_postgres/connection.rb:34:in `block in with_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/concurrency/null_lock.rb:9:in `synchronize' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_sql-1.6.0/lib/mini_sql/active_record_postgres/connection.rb:34:in `with_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_sql-1.6.0/lib/mini_sql/active_record_postgres/connection.rb:38:in `run' /var/www/discourse/lib/mini_sql_multisite_connection.rb:109:in `run' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_sql-1.6.0/lib/mini_sql/postgres/connection.rb:79:in `query_single' /var/www/discourse/plugins/discourse-ai/db/migrate/20230710171141_enable_pg_vector_extension.rb:8:in `rescue in change' /var/www/discourse/plugins/discourse-ai/db/migrate/20230710171141_enable_pg_vector_extension.rb:4:in `change' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:986:in `exec_migration' /var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration' /var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:970:in `block (2 levels) in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:969:in `block in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:227:in `with_connection' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:968:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1178:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1529:in `block in execute_migration_in_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:535:in `block in within_new_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/concurrency/null_lock.rb:9:in `synchronize' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:532:in `within_new_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:344:in `transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1580:in `ddl_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1528:in `execute_migration_in_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1503:in `each' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1503:in `migrate_without_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1448:in `block in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1600:in `with_advisory_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1448:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1274:in `up' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1249:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/tasks/database_tasks.rb:251:in `migrate' /var/www/discourse/lib/tasks/db.rake:259:in `block (2 levels) in
' /var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize' /var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize' /var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize' /var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize' /var/www/discourse/lib/tasks/db.rake:234:in `block in
' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `' /usr/local/bin/bundle:25:in `load' /usr/local/bin/bundle:25:in `
' Caused by: PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block (PG::InFailedSqlTransaction) /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rack-mini-profiler-3.3.1/lib/patches/db/pg.rb:110:in `exec' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rack-mini-profiler-3.3.1/lib/patches/db/pg.rb:110:in `async_exec' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_sql-1.6.0/lib/mini_sql/postgres/connection.rb:217:in `run' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_sql-1.6.0/lib/mini_sql/active_record_postgres/connection.rb:38:in `block in run' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_sql-1.6.0/lib/mini_sql/active_record_postgres/connection.rb:34:in `block in with_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/concurrency/null_lock.rb:9:in `synchronize' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_sql-1.6.0/lib/mini_sql/active_record_postgres/connection.rb:34:in `with_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_sql-1.6.0/lib/mini_sql/active_record_postgres/connection.rb:38:in `run' /var/www/discourse/lib/mini_sql_multisite_connection.rb:109:in `run' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_sql-1.6.0/lib/mini_sql/postgres/connection.rb:79:in `query_single' /var/www/discourse/plugins/discourse-ai/db/migrate/20230710171141_enable_pg_vector_extension.rb:8:in `rescue in change' /var/www/discourse/plugins/discourse-ai/db/migrate/20230710171141_enable_pg_vector_extension.rb:4:in `change' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:986:in `exec_migration' /var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration' /var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:970:in `block (2 levels) in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:969:in `block in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:227:in `with_connection' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:968:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1178:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1529:in `block in execute_migration_in_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:535:in `block in within_new_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/concurrency/null_lock.rb:9:in `synchronize' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:532:in `within_new_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:344:in `transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1580:in `ddl_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1528:in `execute_migration_in_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1503:in `each' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1503:in `migrate_without_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1448:in `block in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1600:in `with_advisory_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1448:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1274:in `up' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1249:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/tasks/database_tasks.rb:251:in `migrate' /var/www/discourse/lib/tasks/db.rake:259:in `block (2 levels) in
' /var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize' /var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize' /var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize' /var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize' /var/www/discourse/lib/tasks/db.rake:234:in `block in
' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `' /usr/local/bin/bundle:25:in `load' /usr/local/bin/bundle:25:in `
' Caused by: ActiveRecord::StatementInvalid: PG::InsufficientPrivilege: ERROR: permission denied to create extension "vector" (ActiveRecord::StatementInvalid) HINT: Must be superuser to create this extension. /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rack-mini-profiler-3.3.1/lib/patches/db/pg.rb:69:in `exec_params' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rack-mini-profiler-3.3.1/lib/patches/db/pg.rb:69:in `exec_params' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:894:in `block (2 levels) in exec_no_cache' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:1027:in `block in with_raw_connection' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/concurrency/null_lock.rb:9:in `synchronize' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:999:in `with_raw_connection' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:893:in `block in exec_no_cache' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/notifications/instrumenter.rb:58:in `instrument' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:1142:in `log' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:892:in `exec_no_cache' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:872:in `execute_and_clear' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:64:in `internal_exec_query' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:475:in `enable_extension' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration/default_strategy.rb:10:in `method_missing' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1047:in `block in method_missing' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1017:in `block in say_with_time' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1017:in `say_with_time' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1036:in `method_missing' /var/www/discourse/plugins/discourse-ai/db/migrate/20230710171141_enable_pg_vector_extension.rb:6:in `change' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:986:in `exec_migration' /var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration' /var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:970:in `block (2 levels) in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:969:in `block in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:227:in `with_connection' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:968:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1178:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1529:in `block in execute_migration_in_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:535:in `block in within_new_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/concurrency/null_lock.rb:9:in `synchronize' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:532:in `within_new_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:344:in `transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1580:in `ddl_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1528:in `execute_migration_in_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1503:in `each' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1503:in `migrate_without_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1448:in `block in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1600:in `with_advisory_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1448:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1274:in `up' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1249:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/tasks/database_tasks.rb:251:in `migrate' /var/www/discourse/lib/tasks/db.rake:259:in `block (2 levels) in
' /var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize' /var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize' /var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize' /var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize' /var/www/discourse/lib/tasks/db.rake:234:in `block in
' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `' /usr/local/bin/bundle:25:in `load' /usr/local/bin/bundle:25:in `
' Caused by: PG::InsufficientPrivilege: ERROR: permission denied to create extension "vector" (PG::InsufficientPrivilege) HINT: Must be superuser to create this extension. /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rack-mini-profiler-3.3.1/lib/patches/db/pg.rb:69:in `exec_params' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rack-mini-profiler-3.3.1/lib/patches/db/pg.rb:69:in `exec_params' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:894:in `block (2 levels) in exec_no_cache' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:1027:in `block in with_raw_connection' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/concurrency/null_lock.rb:9:in `synchronize' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:999:in `with_raw_connection' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:893:in `block in exec_no_cache' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/notifications/instrumenter.rb:58:in `instrument' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:1142:in `log' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:892:in `exec_no_cache' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:872:in `execute_and_clear' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:64:in `internal_exec_query' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:475:in `enable_extension' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration/default_strategy.rb:10:in `method_missing' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1047:in `block in method_missing' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1017:in `block in say_with_time' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1017:in `say_with_time' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1036:in `method_missing' /var/www/discourse/plugins/discourse-ai/db/migrate/20230710171141_enable_pg_vector_extension.rb:6:in `change' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:986:in `exec_migration' /var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration' /var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:970:in `block (2 levels) in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:969:in `block in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:227:in `with_connection' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:968:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1178:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1529:in `block in execute_migration_in_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:535:in `block in within_new_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/concurrency/null_lock.rb:9:in `synchronize' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:532:in `within_new_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:344:in `transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1580:in `ddl_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1528:in `execute_migration_in_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1503:in `each' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1503:in `migrate_without_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1448:in `block in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1600:in `with_advisory_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1448:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1274:in `up' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1249:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/tasks/database_tasks.rb:251:in `migrate' /var/www/discourse/lib/tasks/db.rake:259:in `block (2 levels) in
' /var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize' /var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize' /var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize' /var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize' /var/www/discourse/lib/tasks/db.rake:234:in `block in
' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `' /usr/local/bin/bundle:25:in `load' /usr/local/bin/bundle:25:in `
' Tasks: TOP => db:migrate (See full trace by running task with --trace) I, [2024-09-20T06:19:23.324303 #1] INFO -- : gem install tokenizers -v 0.4.4 -i /var/www/discourse/plugins/discourse-ai/gems/3.3.4 --no-document --ignore-dependencies --no-user-install Successfully installed tokenizers-0.4.4-x86_64-linux 1 gem installed gem install tiktoken_ruby -v 0.0.9 -i /var/www/discourse/plugins/discourse-ai/gems/3.3.4 --no-document --ignore-dependencies --no-user-install Successfully installed tiktoken_ruby-0.0.9-x86_64-linux 1 gem installed == 20230710171141 EnablePgVectorExtension: migrating ========================== -- enable_extension(:vector) I, [2024-09-20T06:19:23.324704 #1] INFO -- : Terminating async processes I, [2024-09-20T06:19:23.324749 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 19 19:signal-handler (1726813163) Received SIGTERM scheduling shutdown... 19:M 20 Sep 2024 06:19:23.403 # User requested shutdown... 19:M 20 Sep 2024 06:19:23.403 * Saving the final RDB snapshot before exiting. 19:M 20 Sep 2024 06:19:30.433 * DB saved on disk 19:M 20 Sep 2024 06:19:30.433 # Redis is now ready to exit, bye bye... FAILED -------------------- Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return # Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn' exec failed with the params {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]} bootstrap failed with exit code 1 ** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one. ./discourse-doctor may help diagnose the problem. 4ddc44cdabd9e613ab4c803f9715fea4503f8fc9d746efa6f6aa5bb1f5c05163