Sign-In with Ethereum plugin

Please tell us about all the things you did to add this plugin.
Did you add the before_code as described earlier in this topic?
Is this a standard install ?

1 Like

in app.yml Added like - git clone https//GitHub—-.git

Selfhosted on Ubuntu 18 , and it is standard install with ./setup command

So you did not do this

1 Like

@RGJ can you please tell me how to add this before_code , and please share me post with the before_code

No, I’m sorry, you can use ctrl-f to search the topic and it will lead you to the answer.

3 Likes

@RGJ is referring to the guide in the github :slight_smile: GitHub - spruceid/discourse-siwe-auth: Discourse plugin for SIWE authentication

In the app.yml file you need to add the sections below the hooks section

2 Likes

thankyou @RGJ and @Tris20 , will try this and update you

it really did thanks dont know why i was not able to see it earlier :slightly_smiling_face:

update : Installation done and plugin is working fine , now just testing with ETH wallet to login.

4 Likes

I believe this is broken, no popup (ask for sign) is happening when you press the “Sign with Ethereum” button on /discourse-siwe/auth page.

Below are the console logs that show up when you click the button.

SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
    at Function.parse [as parseJSON] (<anonymous>)
    at n (ajax-error.js:29:1)
    at e.popupAjaxError (ajax-error.js:71:1)
    at y (rsvp.js:435:1)
    at v (rsvp.js:421:1)
    at f (rsvp.js:370:1)
    at m.invoke (queue.ts:203:14)
    at m.flush (queue.ts:98:13)
    at f.flush (deferred-action-queues.ts:75:19)
    at $._end (index.ts:616:32)
    at _boundAutorunEnd (index.ts:257:12)
TypeError: Cannot destructure property 'message' of '(intermediate value)' as it is undefined.
    at e.signMessage (web3modal.js:66:1)
    at async e.runSigningProcess (web3modal.js:82:1)
    at async e.initAuth (siwe-auth-index.js:38:1)

It’s working for me on both tests-passed as stable, using an Infura ID.
How did you configure the plugin?

Hmm I tried both infura key or public RPC’s, aswel as manually entered the mainnet RPC from infura. I’m not sure if that is the problem.

Is it possible to edit/style the sign in with eth popup?

Can I add other Ethereum friendly networks as well?

Can you give an example of an “Ethereum friendly network” ?

I mean just like BSC

I mean “Binance Smart Chain”

New Error

Yes, I added the before code hooks. The error starts here and does not happen when I comment out the siwe-auth plugin.

I, [2025-02-11T03:40:25.992538 #1]  INFO -- : 
I, [2025-02-11T03:40:25.993236 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
rake aborted!
hooks:
  before_code:
    - exec:
        cmd:
          - gem install rubyzip
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-gamification
          - git clone https://github.com/discourse/discourse-chat-integration
          - git clone https://github.com/angusmcleod/discourse-events
          - git clone https://github.com/discourse/discourse-ai
          - git clone https://github.com/discourse/discourse-subscriptions
          - git clone https://github.com/discourse/discourse-translator
          - git clone https://github.com/discourse/discourse-signatures
          - git clone https://github.com/merefield/discourse-locations
          - git clone https://github.com/discourse/discourse-reactions
          - git clone https://github.com/melhosseiny/discourse-nft-avatar
          - git clone https://github.com/discourse/discourse-follow
          - git clone https://github.com/spruceid/discourse-siwe-auth

See the error below

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 778 exit 1>
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.

@RGJ please see above, hopefully we can quickly resolve ^

FULL LOG:

redacted@server:/var/discourse$ sudo ./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.20250129-0720: Pulling from discourse/base
Digest: sha256:01b8516e5504c0e9bc3707773015ff4407be03a89154194ff3b5b8699291bc26
Status: Image is up to date for discourse/base:2.0.20250129-0720
docker.io/discourse/base:2.0.20250129-0720
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2025-02-11T03:38:28.673641 #1]  INFO -- : Reading from stdin
I, [2025-02-11T03:38:28.685744 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown: 
I, [2025-02-11T03:38:28.690447 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown: 
I, [2025-02-11T03:38:28.694943 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown: 
I, [2025-02-11T03:38:28.699504 #1]  INFO -- : File > /root/install_postgres  chmod: +x  chown: 
I, [2025-02-11T03:38:28.703850 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown: 
I, [2025-02-11T03:38:28.704125 #1]  INFO -- : Replacing data_directory = '/var/lib/postgresql/15/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-11T03:38:28.704794 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-11T03:38:28.705210 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-11T03:38:28.705833 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-11T03:38:28.706724 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-11T03:38:28.707349 #1]  INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-11T03:38:28.708166 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-11T03:38:28.708762 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-11T03:38:28.712252 #1]  INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-11T03:38:28.712849 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-11T03:38:28.713172 #1]  INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-11T03:38:28.713471 #1]  INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-11T03:38:28.713751 #1]  INFO -- : > if [ -f /root/install_postgres ]; then
  /root/install_postgres && rm -f /root/install_postgres
elif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then
  socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
fi

I, [2025-02-11T03:38:32.493939 #1]  INFO -- : Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.

I, [2025-02-11T03:38:32.494253 #1]  INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/15/bin/postmaster -D /etc/postgresql/15/main
I, [2025-02-11T03:38:32.499651 #1]  INFO -- : File > /usr/local/bin/create_db  chmod: +x  chown: 
I, [2025-02-11T03:38:32.505641 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2025-02-11T03:38:32.508802 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown: 
I, [2025-02-11T03:38:32.509054 #1]  INFO -- : > sleep 5
2025-02-11 03:38:32.535 UTC [42] LOG:  starting PostgreSQL 15.10 (Debian 15.10-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2025-02-11 03:38:32.535 UTC [42] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2025-02-11 03:38:32.535 UTC [42] LOG:  listening on IPv6 address "::", port 5432
2025-02-11 03:38:32.541 UTC [42] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-02-11 03:38:32.556 UTC [53] LOG:  database system was shut down at 2025-02-11 03:38:18 UTC
2025-02-11 03:38:32.563 UTC [42] LOG:  database system is ready to accept connections
I, [2025-02-11T03:38:37.511222 #1]  INFO -- : 
I, [2025-02-11T03:38:37.511560 #1]  INFO -- : > /usr/local/bin/create_db
2025-02-11 03:38:37.569 UTC [60] postgres@postgres ERROR:  database "discourse" already exists
2025-02-11 03:38:37.569 UTC [60] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
2025-02-11 03:38:37.623 UTC [63] postgres@discourse ERROR:  role "discourse" already exists
2025-02-11 03:38:37.623 UTC [63] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
NOTICE:  extension "hstore" already exists, skipping
NOTICE:  extension "pg_trgm" already exists, skipping
NOTICE:  extension "vector" already exists, skipping
NOTICE:  version "0.8.0" of extension "vector" is already installed
NOTICE:  extension "hstore" already exists, skipping
NOTICE:  extension "pg_trgm" already exists, skipping
NOTICE:  extension "vector" already exists, skipping
NOTICE:  version "0.8.0" of extension "vector" is already installed
I, [2025-02-11T03:38:38.236190 #1]  INFO -- : GRANT
ALTER SCHEMA
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
UPDATE 0

I, [2025-02-11T03:38:38.236319 #1]  INFO -- : > echo postgres installed!
I, [2025-02-11T03:38:38.238201 #1]  INFO -- : postgres installed!

I, [2025-02-11T03:38:38.242543 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown: 
I, [2025-02-11T03:38:38.246844 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown: 
I, [2025-02-11T03:38:38.251558 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown: 
I, [2025-02-11T03:38:38.252049 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2025-02-11T03:38:38.252827 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2025-02-11T03:38:38.253343 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2025-02-11T03:38:38.256224 #1]  INFO -- : 
I, [2025-02-11T03:38:38.256712 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2025-02-11T03:38:38.257394 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2025-02-11T03:38:38.258123 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2025-02-11T03:38:38.259108 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2025-02-11T03:38:38.259987 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2025-02-11T03:38:38.261034 #1]  INFO -- : > echo redis installed
I, [2025-02-11T03:38:38.263047 #1]  INFO -- : redis installed

I, [2025-02-11T03:38:38.263517 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2025-02-11T03:38:38.268479 #1]  INFO -- : logfile ""

I, [2025-02-11T03:38:38.268714 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2025-02-11T03:38:38.271280 #1]  INFO -- : > sleep 10
109:C 11 Feb 2025 03:38:38.282 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
109:C 11 Feb 2025 03:38:38.282 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=109, just started
109:C 11 Feb 2025 03:38:38.282 # Configuration loaded
109:M 11 Feb 2025 03:38:38.283 * monotonic clock: POSIX clock_gettime
109:M 11 Feb 2025 03:38:38.284 * Running mode=standalone, port=6379.
109:M 11 Feb 2025 03:38:38.284 # Server initialized
109:M 11 Feb 2025 03:38:38.284 # 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.
109:M 11 Feb 2025 03:38:38.284 * Loading RDB produced by version 7.0.15
109:M 11 Feb 2025 03:38:38.284 * RDB age 26 seconds
109:M 11 Feb 2025 03:38:38.284 * RDB memory usage when created 96.62 Mb
109:M 11 Feb 2025 03:38:38.423 * Done loading RDB, keys loaded: 2749, keys expired: 7.
109:M 11 Feb 2025 03:38:38.423 * DB loaded from disk: 0.139 seconds
109:M 11 Feb 2025 03:38:38.423 * Ready to accept connections
I, [2025-02-11T03:38:48.273713 #1]  INFO -- : 
I, [2025-02-11T03:38:48.273978 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2025-02-11T03:38:48.277421 #1]  INFO -- : thpoff is installed!

I, [2025-02-11T03:38:48.277912 #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, [2025-02-11T03:38:48.362812 #1]  INFO -- : 
I, [2025-02-11T03:38:48.362917 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2025-02-11T03:38:48.450496 #1]  INFO -- : 
I, [2025-02-11T03:38:48.450816 #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, [2025-02-11T03:38:48.531414 #1]  INFO -- : 
I, [2025-02-11T03:38:48.531942 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2025-02-11T03:38:48.534664 #1]  INFO -- : 
I, [2025-02-11T03:38:48.537147 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown: 
I, [2025-02-11T03:38:48.542726 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown: 
I, [2025-02-11T03:38:48.548421 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown: 
I, [2025-02-11T03:38:48.554297 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown: 
I, [2025-02-11T03:38:48.558247 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown: 
I, [2025-02-11T03:38:48.563422 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown: 
I, [2025-02-11T03:38:48.563574 #1]  INFO -- : Replacing # postgres with if [ -f /root/install_postgres ]; then
  /root/install_postgres
  rm /root/install_postgres
fi
sv start postgres || exit 1
 in /etc/service/unicorn/run
I, [2025-02-11T03:38:48.563959 #1]  INFO -- : > gem install rubyzip
I, [2025-02-11T03:38:49.259995 #1]  INFO -- : RubyZip 3.0 is coming!
**********************

The public API of some Rubyzip classes has been modernized to use named
parameters for optional arguments. Please check your usage of the
following classes:
  * `Zip::File`
  * `Zip::Entry`
  * `Zip::InputStream`
  * `Zip::OutputStream`
  * `Zip::DOSTime`

Run your test suite with the `RUBYZIP_V3_API_WARN` environment
variable set to see warnings about usage of the old API. This will
help you to identify any changes that you need to make to your code.
See https://github.com/rubyzip/rubyzip/wiki/Updating-to-version-3.x for
more information.

Please ensure that your Gemfiles and .gemspecs are suitably restrictive
to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).
See https://github.com/rubyzip/rubyzip for details. The Changelog also
lists other enhancements and bugfixes that have been implemented since
version 2.3.0.
Successfully installed rubyzip-2.4.1
1 gem installed

I, [2025-02-11T03:38:49.261628 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2025-02-11T03:38:49.391946 #1]  INFO -- : 
I, [2025-02-11T03:38:49.392058 #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-app-events-revolution
 - [deleted]             (none)     -> origin/0-ember-bump-fix-modal
 - [deleted]             (none)     -> origin/0-polls-still
 - [deleted]             (none)     -> origin/0-rename-details
 - [deleted]             (none)     -> origin/0-simpler-placeholder
 - [deleted]             (none)     -> origin/0-store-bump
 - [deleted]             (none)     -> origin/0-tooltip
 - [deleted]             (none)     -> origin/0-user-status
 - [deleted]             (none)     -> origin/add-formkit-instruction-text
 - [deleted]             (none)     -> origin/add-live-reload-disable-option
 - [deleted]             (none)     -> origin/add-message-builder-modifier-3
 - [deleted]             (none)     -> origin/add-shift-detect
 - [deleted]             (none)     -> origin/add-shortcuts
 - [deleted]             (none)     -> origin/add-signal-to-notifications-template
 - [deleted]             (none)     -> origin/after-post-outlet
 - [deleted]             (none)     -> origin/again-support-load-more-btn
 - [deleted]             (none)     -> origin/allow-overriding-sidebar-my-posts-icon
 - [deleted]             (none)     -> origin/array-custom-field-order
 - [deleted]             (none)     -> origin/async-category-link
 - [deleted]             (none)     -> origin/bump-eslint-config
 - [deleted]             (none)     -> origin/carsick-patch-1
 - [deleted]             (none)     -> origin/cat-mod-groups
 - [deleted]             (none)     -> origin/category-experts-approved-webhook-event-wip
 - [deleted]             (none)     -> origin/chat-github-onebox
 - [deleted]             (none)     -> origin/chat-uppy-upload
 - [deleted]             (none)     -> origin/composer-disable-submit
 - [deleted]             (none)     -> origin/conditional-summary-box
 - [deleted]             (none)     -> origin/custom-field-store-cleanup
 - [deleted]             (none)     -> origin/d-object
 - [deleted]             (none)     -> origin/defer-button-action
 - [deleted]             (none)     -> origin/demote-summarize-ai-button
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/uppy-b578ad6dea
 - [deleted]             (none)     -> origin/dev-better-active-selection-detection
 - [deleted]             (none)     -> origin/dev-fail-tests-on-fa6-deprecated-icons-from-svg-sprite-rb
 - [deleted]             (none)     -> origin/dev-faster-tests
 - [deleted]             (none)     -> origin/dev-migrate-user-passwords
 - [deleted]             (none)     -> origin/dev-refactor-username-validation-mixin
 - [deleted]             (none)     -> origin/dev/add-a-reference-column-to-notifications
 - [deleted]             (none)     -> origin/dev/advanced-search-custom-in-special
 - [deleted]             (none)     -> origin/dev/automation-scriptable-add-with-class
 - [deleted]             (none)     -> origin/dev/default-plugin-config-pages
 - [deleted]             (none)     -> origin/dev/drop-ignore-chat_channels_last_message_sent_at
 - [deleted]             (none)     -> origin/dev/port-outlet-wrapper-to-stable
 - [deleted]             (none)     -> origin/dev/refactor-uploads-importer
 - [deleted]             (none)     -> origin/dev/remove-deprecated-respect-plugin-positional-argument
 - [deleted]             (none)     -> origin/dev/sidebar-sections-collapse-expand-transformer-events
 - [deleted]             (none)     -> origin/dev/sidebar-subsections
 - [deleted]             (none)     -> origin/dev/third-party-breadcrumbs
 - [deleted]             (none)     -> origin/dev_add_query_param
 - [deleted]             (none)     -> origin/dev_lazy_load_categories_tests
 - [deleted]             (none)     -> origin/dev_update_category_position
 - [deleted]             (none)     -> origin/docs-publishing-mvp
 - [deleted]             (none)     -> origin/drawer-composer-positioning
 - [deleted]             (none)     -> origin/ember-4
 - [deleted]             (none)     -> origin/expand-allowed-custom-emoji-images-types
 - [deleted]             (none)     -> origin/extra-js-revert
 - [deleted]             (none)     -> origin/feature/add-user-to-topic_tags_changed-event
 - [deleted]             (none)     -> origin/feature/custom-fields-for-existing-users
 - [deleted]             (none)     -> origin/feature/enable-chat-with-dms-only
 - [deleted]             (none)     -> origin/feature/light-dark-mode-switcher
 - [deleted]             (none)     -> origin/feature/paste-upload-on-first-upload-input-templates
 - [deleted]             (none)     -> origin/feature/show-note-bookmark-notif
 - [deleted]             (none)     -> origin/feature/show-status-on-mentions-when-user-havent-used-autocomplete
 - [deleted]             (none)     -> origin/feature_pm_editor
 - [deleted]             (none)     -> origin/feature_track_mentions
 - [deleted]             (none)     -> origin/fix-directory-search-limit
 - [deleted]             (none)     -> origin/fix-display-errors-for-history-modal-when-fetching-revisions
 - [deleted]             (none)     -> origin/fix-firefox-android-followup
 - [deleted]             (none)     -> origin/fix-password-reset-security-key
 - [deleted]             (none)     -> origin/fix-redirect-login
 - [deleted]             (none)     -> origin/fix-safari-below-18-detection
 - [deleted]             (none)     -> origin/fix-search-context-delete-key
 - [deleted]             (none)     -> origin/fix-unread-notifications-take-2
 - [deleted]             (none)     -> origin/fix/tag-rename-404
 - [deleted]             (none)     -> origin/full-page
 - [deleted]             (none)     -> origin/glimmer-header-dnd-live
 - [deleted]             (none)     -> origin/group_and_tag_group_permission_change_notification
 - [deleted]             (none)     -> origin/handle-non-ascii-charc
 - [deleted]             (none)     -> origin/hijacks
 - [deleted]             (none)     -> origin/history-store-methods
 - [deleted]             (none)     -> origin/i18n-helper-import
 - [deleted]             (none)     -> origin/image-assets
 - [deleted]             (none)     -> origin/implicit-injections-deprecations
 - [deleted]             (none)     -> origin/improve-claimed-reviewables-transactions
 - [deleted]             (none)     -> origin/improve-tablet-detection
 - [deleted]             (none)     -> origin/issue/do-not-enforce-2fa-on-social-logins
 - [deleted]             (none)     -> origin/issue/fix-user-field-enum-migrate
 - [deleted]             (none)     -> origin/issue/fixup-upload-ref-backfill-migration-dates
 - [deleted]             (none)     -> origin/jjaffeux-otp-validation
 - [deleted]             (none)     -> origin/list-wrapper
 - [deleted]             (none)     -> origin/live-cache
 - [deleted]             (none)     -> origin/lock-step
 - [deleted]             (none)     -> origin/loic-upgrade-miniracer
 - [deleted]             (none)     -> origin/more-topics-active
 - [deleted]             (none)     -> origin/nginx-conf
 - [deleted]             (none)     -> origin/oklab
 - [deleted]             (none)     -> origin/plugin-outlet-no-subdir
 - [deleted]             (none)     -> origin/post-widget-outlet
 - [deleted]             (none)     -> origin/powered-by-reactivity
 - [deleted]             (none)     -> origin/promote-migration-tweak
 - [deleted]             (none)     -> origin/prune-old-transpilers
 - [deleted]             (none)     -> origin/refactor-mobile-coposer-position-replace-actions
 - [deleted]             (none)     -> origin/remap-assume-yes-option
 - [deleted]             (none)     -> origin/remove-bootbox
 - [deleted]             (none)     -> origin/remove-muted-from-hot-and-top-topic-lists
 - [deleted]             (none)     -> origin/remove-x-count
 - [deleted]             (none)     -> origin/render-glimmer-granular
 - [deleted]             (none)     -> origin/revert-28587-revert-28321-dev/remove-create_post_for_category_and_tag_changes-setting
 - [deleted]             (none)     -> origin/revert-location-change
 - [deleted]             (none)     -> origin/revert-thread-title-experiment
 - [deleted]             (none)     -> origin/safari-hacks-sayonara
 - [deleted]             (none)     -> origin/see_if_yarn_cache_is_working
 - [deleted]             (none)     -> origin/shared-draft-category
 - [deleted]             (none)     -> origin/skip-back-button-animation
 - [deleted]             (none)     -> origin/tag-span
 - [deleted]             (none)     -> origin/temp-pr-28024
 - [deleted]             (none)     -> origin/testing_debian_12
 - [deleted]             (none)     -> origin/tobiaseigen-patch-4
 - [deleted]             (none)     -> origin/topic-count-fix
 - [deleted]             (none)     -> origin/topic-list-item-style
 - [deleted]             (none)     -> origin/translations-from-crowdin-main
 - [deleted]             (none)     -> origin/translations-from-crowdin-stable
 - [deleted]             (none)     -> origin/update-gems-stable
 - [deleted]             (none)     -> origin/ux/admin-site-setting-inner-sidebar-experiment
 - [deleted]             (none)     -> origin/whats-new-notify-plugins
   c64b5d6d7..43e8172eb  main                   -> origin/main
 + 3c0b2f75f...0d2238318 allow-posts-link-in-sidebar -> origin/allow-posts-link-in-sidebar  (forced update)
 * [new branch]          async-data             -> origin/async-data
 * [new branch]          automation-autoload    -> origin/automation-autoload
 * [new branch]          chat-summary-email-thread-reply-fix -> origin/chat-summary-email-thread-reply-fix
 * [new branch]          d-menu-composer-flag   -> origin/d-menu-composer-flag
 * [new branch]          db-reset-fixu          -> origin/db-reset-fixu
 * [new branch]          dependabot/bundler/bullet-8.0.1 -> origin/dependabot/bundler/bullet-8.0.1
 * [new branch]          dependabot/bundler/json-2.10.1 -> origin/dependabot/bundler/json-2.10.1
 * [new branch]          dependabot/bundler/msgpack-1.8.0 -> origin/dependabot/bundler/msgpack-1.8.0
 * [new branch]          dependabot/bundler/net-imap-0.5.6 -> origin/dependabot/bundler/net-imap-0.5.6
 * [new branch]          dependabot/bundler/net-smtp-0.5.1 -> origin/dependabot/bundler/net-smtp-0.5.1
 * [new branch]          dependabot/bundler/parser-3.3.7.1 -> origin/dependabot/bundler/parser-3.3.7.1
 * [new branch]          dependabot/bundler/rdoc-6.12.0 -> origin/dependabot/bundler/rdoc-6.12.0
 * [new branch]          dependabot/bundler/rspec-core-3.13.3 -> origin/dependabot/bundler/rspec-core-3.13.3
 * [new branch]          dependabot/bundler/rspec-rails-7.1.1 -> origin/dependabot/bundler/rspec-rails-7.1.1
 * [new branch]          dependabot/bundler/rubocop-1.71.2 -> origin/dependabot/bundler/rubocop-1.71.2
 * [new branch]          dependabot/bundler/webmock-3.25.0 -> origin/dependabot/bundler/webmock-3.25.0
 * [new branch]          dependabot/npm_and_yarn/babel-c1b7381bf7 -> origin/dependabot/npm_and_yarn/babel-c1b7381bf7
 * [new branch]          dependabot/npm_and_yarn/discourse/lint-configs-2.4.0 -> origin/dependabot/npm_and_yarn/discourse/lint-configs-2.4.0
 * [new branch]          dependabot/npm_and_yarn/ember-cli-6.2.0 -> origin/dependabot/npm_and_yarn/ember-cli-6.2.0
 * [new branch]          dependabot/npm_and_yarn/embroider-585623c42c -> origin/dependabot/npm_and_yarn/embroider-585623c42c
 * [new branch]          dependabot/npm_and_yarn/esbuild-0.25.0 -> origin/dependabot/npm_and_yarn/esbuild-0.25.0
 * [new branch]          dependabot/npm_and_yarn/glimmer/syntax-0.94.5 -> origin/dependabot/npm_and_yarn/glimmer/syntax-0.94.5
 * [new branch]          dependabot/npm_and_yarn/lint-to-the-future-eslint-3.0.0 -> origin/dependabot/npm_and_yarn/lint-to-the-future-eslint-3.0.0
 * [new branch]          dependabot/npm_and_yarn/prosemirror-view-1.37.2 -> origin/dependabot/npm_and_yarn/prosemirror-view-1.37.2
 * [new branch]          dependabot/npm_and_yarn/puppeteer-core-24.2.0 -> origin/dependabot/npm_and_yarn/puppeteer-core-24.2.0
 * [new branch]          dependabot/npm_and_yarn/swc/core-1.10.15 -> origin/dependabot/npm_and_yarn/swc/core-1.10.15
 * [new branch]          dependabot/npm_and_yarn/terser-5.38.1 -> origin/dependabot/npm_and_yarn/terser-5.38.1
 * [new branch]          dependabot/npm_and_yarn/uppy-b82cdcd59c -> origin/dependabot/npm_and_yarn/uppy-b82cdcd59c
 * [new branch]          dev-better-backtrace-for-deprecated-icon-names-from-plugins-in-tests -> origin/dev-better-backtrace-for-deprecated-icon-names-from-plugins-in-tests
 + 72ff8f1eb...699aa3755 dev-refactor-username-validation-mixin-to-helper -> origin/dev-refactor-username-validation-mixin-to-helper  (forced update)
 * [new branch]          dev-split-weekly       -> origin/dev-split-weekly
 * [new branch]          dev/async-content-component -> origin/dev/async-content-component
 + ec68ffb95...2124c96a9 dev/color-palette-editor -> origin/dev/color-palette-editor  (forced update)
 * [new branch]          dev/ember-async-data-demo -> origin/dev/ember-async-data-demo
 * [new branch]          dev/purge-widget-post-menu -> origin/dev/purge-widget-post-menu
 * [new branch]          dev/user-field-components-transformer -> origin/dev/user-field-components-transformer
 * [new branch]          feature_pm_codeblock   -> origin/feature_pm_codeblock
 * [new branch]          feature_pm_emoji       -> origin/feature_pm_emoji
 * [new branch]          feature_pm_hashtag     -> origin/feature_pm_hashtag
 * [new branch]          feature_pm_html_block  -> origin/feature_pm_html_block
 * [new branch]          feature_pm_html_inline -> origin/feature_pm_html_inline
 * [new branch]          feature_pm_image       -> origin/feature_pm_image
 * [new branch]          feature_pm_link        -> origin/feature_pm_link
 * [new branch]          feature_pm_mention     -> origin/feature_pm_mention
 * [new branch]          feature_pm_quote       -> origin/feature_pm_quote
 * [new branch]          feature_pm_strikethrough -> origin/feature_pm_strikethrough
 * [new branch]          feature_pm_table       -> origin/feature_pm_table
 * [new branch]          feature_pm_typographer -> origin/feature_pm_typographer
 * [new branch]          feature_pm_underline   -> origin/feature_pm_underline
 * [new branch]          loic-thread-safe-services -> origin/loic-thread-safe-services
 + 0f2f74d08...18fbfb9cb mt/idb                 -> origin/mt/idb  (forced update)
 * [new branch]          mt/update-default-config -> origin/mt/update-default-config
 + 20059b9da...11e41aa98 omniauth-2             -> origin/omniauth-2  (forced update)
 * [new branch]          pento/dev-upgrade-pnpm-10 -> origin/pento/dev-upgrade-pnpm-10
 * [new branch]          post-model-transformer -> origin/post-model-transformer
 * [new branch]          quick-smoke-test       -> origin/quick-smoke-test
 + de3691471...e5890e554 renato/pm              -> origin/renato/pm  (forced update)
   5d4c2a89e..edd19bd96  stable                 -> origin/stable
   c64b5d6d7..43e8172eb  tests-passed           -> origin/tests-passed
 * [new branch]          tobiaseigen-patch-3    -> origin/tobiaseigen-patch-3
 * [new branch]          tobiaseigen-patch-3-1  -> origin/tobiaseigen-patch-3-1
   415cccafb..c43caf483  user-fields-plugin-outlets-update -> origin/user-fields-plugin-outlets-update
   10566d84b..c540132fe  ux/combined-themes-components-sidebar-links -> origin/ux/combined-themes-components-sidebar-links
 * [new branch]          visual-experiment      -> origin/visual-experiment
 t [tag update]          beta                   -> beta
 t [tag update]          latest-release         -> latest-release
 * [new tag]             v3.3.4                 -> v3.3.4
 * [new tag]             v3.4.0                 -> v3.4.0
 * [new tag]             v3.4.0.beta4           -> v3.4.0.beta4
I, [2025-02-11T03:38:51.124568 #1]  INFO -- : 
I, [2025-02-11T03:38:51.124780 #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, [2025-02-11T03:38:55.426695 #1]  INFO -- : branch 'tests-passed' set up to track 'origin/tests-passed'.

I, [2025-02-11T03:38:55.426810 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2025-02-11T03:38:55.436172 #1]  INFO -- : 
I, [2025-02-11T03:38:55.436275 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2025-02-11T03:38:55.439149 #1]  INFO -- : 
I, [2025-02-11T03:38:55.439236 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2025-02-11T03:38:55.441827 #1]  INFO -- : 
I, [2025-02-11T03:38:55.441910 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2025-02-11T03:38:55.444651 #1]  INFO -- : 
I, [2025-02-11T03:38:55.444746 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2025-02-11T03:38:55.447445 #1]  INFO -- : 
I, [2025-02-11T03:38:55.447547 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2025-02-11T03:38:55.450057 #1]  INFO -- : 
I, [2025-02-11T03:38:55.450164 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2025-02-11T03:38:55.452944 #1]  INFO -- : 
I, [2025-02-11T03:38:55.453046 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2025-02-11T03:38:55.456576 #1]  INFO -- : 
I, [2025-02-11T03:38:55.456680 #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, [2025-02-11T03:38:55.460449 #1]  INFO -- : 
I, [2025-02-11T03:38:55.460558 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2025-02-11T03:38:55.464586 #1]  INFO -- : 
I, [2025-02-11T03:38:55.464703 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2025-02-11T03:38:55.468442 #1]  INFO -- : 
I, [2025-02-11T03:38:55.468551 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2025-02-11T03:38:55.472516 #1]  INFO -- : 
I, [2025-02-11T03:38:55.472621 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2025-02-11T03:38:55.476429 #1]  INFO -- : 
I, [2025-02-11T03:38:55.476542 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2025-02-11T03:38:55.484016 #1]  INFO -- : 
I, [2025-02-11T03:38:55.484151 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2025-02-11T03:38:55.486067 #1]  INFO -- : 
I, [2025-02-11T03:38:55.486260 #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, [2025-02-11T03:38:55.487145 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2025-02-11T03:38:56.947812 #1]  INFO -- : 
I, [2025-02-11T03:38:56.948086 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-gamification
Cloning into 'discourse-gamification'...
I, [2025-02-11T03:38:57.517187 #1]  INFO -- : 
I, [2025-02-11T03:38:57.517302 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-chat-integration
Cloning into 'discourse-chat-integration'...
I, [2025-02-11T03:38:58.332842 #1]  INFO -- : 
I, [2025-02-11T03:38:58.332976 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/angusmcleod/discourse-events
Cloning into 'discourse-events'...
I, [2025-02-11T03:38:59.089491 #1]  INFO -- : 
I, [2025-02-11T03:38:59.089754 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-ai
Cloning into 'discourse-ai'...
I, [2025-02-11T03:39:13.383532 #1]  INFO -- : 
I, [2025-02-11T03:39:13.383651 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-subscriptions
Cloning into 'discourse-subscriptions'...
I, [2025-02-11T03:39:15.418400 #1]  INFO -- : 
I, [2025-02-11T03:39:15.418528 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-translator
Cloning into 'discourse-translator'...
I, [2025-02-11T03:39:16.873964 #1]  INFO -- : 
I, [2025-02-11T03:39:16.874253 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-signatures
Cloning into 'discourse-signatures'...
I, [2025-02-11T03:39:17.365196 #1]  INFO -- : 
I, [2025-02-11T03:39:17.365327 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/merefield/discourse-locations
Cloning into 'discourse-locations'...
I, [2025-02-11T03:39:19.336052 #1]  INFO -- : 
I, [2025-02-11T03:39:19.336173 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions
Cloning into 'discourse-reactions'...
I, [2025-02-11T03:39:20.140887 #1]  INFO -- : 
I, [2025-02-11T03:39:20.141156 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/melhosseiny/discourse-nft-avatar
Cloning into 'discourse-nft-avatar'...
I, [2025-02-11T03:39:20.750292 #1]  INFO -- : 
I, [2025-02-11T03:39:20.750607 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-follow
Cloning into 'discourse-follow'...
I, [2025-02-11T03:39:22.192921 #1]  INFO -- : 
I, [2025-02-11T03:39:22.193037 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/spruceid/discourse-siwe-auth
Cloning into 'discourse-siwe-auth'...
I, [2025-02-11T03:39:25.215361 #1]  INFO -- : 
I, [2025-02-11T03:39:25.215715 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2025-02-11T03:39:25.220281 #1]  INFO -- : 
I, [2025-02-11T03:39:25.220405 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2025-02-11T03:39:25.222619 #1]  INFO -- : 
I, [2025-02-11T03:39:25.222752 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2025-02-11T03:39:25.225119 #1]  INFO -- : 
I, [2025-02-11T03:39:25.225347 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2025-02-11T03:39:25.225801 #1]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2025-02-11T03:39:25.226180 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2025-02-11T03:39:25.234410 #1]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2025-02-11T03:39:25.237543 #1]  INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2025-02-11T03:39:25.237796 #1]  INFO -- : > echo "done configuring web"
I, [2025-02-11T03:39:25.239763 #1]  INFO -- : done configuring web

I, [2025-02-11T03:39:25.240048 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2025-02-11T03:39:25.516629 #1]  INFO -- : 
I, [2025-02-11T03:39:25.516744 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2025-02-11T03:39:26.752673 #1]  INFO -- : 
I, [2025-02-11T03:39:26.752966 #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 && pnpm prune'
fi
I, [2025-02-11T03:39:44.607863 #1]  INFO -- : Scope: all 17 workspace projects
Lockfile is up to date, resolution step is skipped
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +134 -13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------
Progress: resolved 134, reused 81, downloaded 0, added 1
Progress: resolved 134, reused 81, downloaded 0, added 7
Progress: resolved 134, reused 81, downloaded 0, added 19
Progress: resolved 134, reused 81, downloaded 0, added 21
Progress: resolved 134, reused 81, downloaded 0, added 22
Progress: resolved 134, reused 81, downloaded 14, added 42
Progress: resolved 134, reused 81, downloaded 17, added 48
Progress: resolved 134, reused 81, downloaded 44, added 72
Progress: resolved 134, reused 81, downloaded 53, added 95
Progress: resolved 134, reused 81, downloaded 53, added 96
Progress: resolved 134, reused 81, downloaded 53, added 96, done
.../node_modules/@swc/core postinstall$ node postinstall.js
.../node_modules/@swc/core postinstall: Done

devDependencies:
- @discourse/lint-configs 2.3.0
+ @discourse/lint-configs 2.3.1
- @glint/core 1.5.2
+ @glint/core 1.4.1-unstable.34c4510
- @glint/environment-ember-loose 1.5.2
+ @glint/environment-ember-loose 1.4.1-unstable.34c4510
- @glint/environment-ember-template-imports 1.5.2
+ @glint/environment-ember-template-imports 1.4.1-unstable.34c4510
- @glint/template 1.5.2
+ @glint/template 1.4.1-unstable.34c4510
- @swc/core 1.10.11
+ @swc/core 1.10.12
- ember-template-lint 6.0.0
+ ember-template-lint 6.1.0
- typescript 5.7.3
+ typescript 5.6.3

Done in 15.2s
Lockfile is up to date, resolution step is skipped
Already up to date


I, [2025-02-11T03:39:44.608190 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --jobs $(($(nproc) - 1)) --retry 3'
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      stringio (>= 0)
      Available/installed versions of this gem:
      - 3.1.2
      - 3.1.1
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
I, [2025-02-11T03:40:11.935627 #1]  INFO -- : Fetching gem metadata from https://rubygems.org/........
Fetching discourse-fonts 0.0.18
Fetching libv8-node 23.6.1.0 (x86_64-linux)
Fetching logster 2.20.1
Installing discourse-fonts 0.0.18
Fetching json_schemer 2.4.0
Installing json_schemer 2.4.0
Fetching puma 6.6.0
Installing logster 2.20.1
Installing puma 6.6.0 with native extensions
Fetching rails_failover 2.2.0
Installing rails_failover 2.2.0
Installing libv8-node 23.6.1.0 (x86_64-linux)
Fetching mini_racer 0.18.0.pre1
Installing mini_racer 0.18.0.pre1 with native extensions
Bundle complete! 147 Gemfile dependencies, 189 gems now installed.
Gems in the groups 'test' and 'development' were not installed.
Bundled gems are installed into `./vendor/bundle`
3 installed gems you directly depend on are looking for funding.
  Run `bundle fund` for details

I, [2025-02-11T03:40:11.935759 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle clean'
I, [2025-02-11T03:40:12.439851 #1]  INFO -- : Removing discourse-fonts (0.0.17)
Removing json_schemer (2.3.0)
Removing libv8-node-22.7.0.4-x86_64 (linux)
Removing logster (2.20.0)
Removing mini_racer (0.17.0.pre12)
Removing puma (6.5.0)
Removing rails_failover (2.1.1)

I, [2025-02-11T03:40:12.440155 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
Symlinking fonts from discourse-fonts gem
I, [2025-02-11T03:40:15.988704 #1]  INFO -- : discourse-ai is already at latest compatible version
discourse-chat-integration is already at latest compatible version
discourse-events is already at latest compatible version
discourse-follow is already at latest compatible version
discourse-gamification is already at latest compatible version
discourse-locations is already at latest compatible version
discourse-nft-avatar is already at latest compatible version
discourse-reactions is already at latest compatible version
discourse-signatures is already at latest compatible version
discourse-siwe-auth is already at latest compatible version
discourse-subscriptions is already at latest compatible version
discourse-translator is already at latest compatible version
docker_manager is already at latest compatible version

I, [2025-02-11T03:40:15.988886 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2025-02-11T03:40:15.990477 #1]  INFO -- : > sleep 10
775:C 11 Feb 2025 03:40:15.997 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
775:C 11 Feb 2025 03:40:15.997 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=775, just started
775:C 11 Feb 2025 03:40:15.997 # Configuration loaded
775:M 11 Feb 2025 03:40:15.998 * monotonic clock: POSIX clock_gettime
775:M 11 Feb 2025 03:40:15.998 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
775:M 11 Feb 2025 03:40:15.998 # Failed listening on port 6379 (TCP), aborting.
I, [2025-02-11T03:40:25.992538 #1]  INFO -- : 
I, [2025-02-11T03:40:25.993236 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
rake aborted!
Gem::LoadError: can't activate ffi-1.16.3, already activated ffi-1.17.1-x86_64-linux-gnu (Gem::LoadError)
/var/www/discourse/lib/plugin_gem.rb:25:in `load'
/var/www/discourse/lib/plugin/instance.rb:858:in `gem'
/var/www/discourse/plugins/discourse-siwe-auth/plugin.rb:23:in `activate!'
/var/www/discourse/lib/plugin/instance.rb:801:in `instance_eval'
/var/www/discourse/lib/plugin/instance.rb:801:in `activate!'
/var/www/discourse/lib/discourse.rb:348:in `block in activate_plugins!'
/var/www/discourse/lib/discourse.rb:345:in `each'
/var/www/discourse/lib/discourse.rb:345:in `activate_plugins!'
/var/www/discourse/config/application.rb:233:in `block in <class:Application>'
/var/www/discourse/lib/plugin.rb:6:in `initialization_guard'
/var/www/discourse/config/application.rb:233:in `<class:Application>'
/var/www/discourse/config/application.rb:75:in `<module:Discourse>'
/var/www/discourse/config/application.rb:74:in `<top (required)>'
/var/www/discourse/Rakefile:7:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
(See full trace by running task with --trace)
I, [2025-02-11T03:41:51.737205 #1]  INFO -- : gem install tokenizers -v 0.4.4 -i /var/www/discourse/plugins/discourse-ai/gems/3.3.6 --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.6 --no-document --ignore-dependencies --no-user-install
Successfully installed tiktoken_ruby-0.0.9-x86_64-linux
1 gem installed
gem install ed25519 -v 1.2.4 -i /var/www/discourse/plugins/discourse-ai/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Building native extensions. This could take a while...
Successfully installed ed25519-1.2.4
1 gem installed
gem install discourse_subscription_client -v 0.1.11 -i /var/www/discourse/plugins/discourse-events/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Successfully installed discourse_subscription_client-0.1.11
1 gem installed
gem install iso-639 -v 0.3.5 -i /var/www/discourse/plugins/discourse-events/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Successfully installed iso-639-0.3.5
1 gem installed
gem install ice_cube -v 0.16.4 -i /var/www/discourse/plugins/discourse-events/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Successfully installed ice_cube-0.16.4
1 gem installed
gem install icalendar -v 2.8.0 -i /var/www/discourse/plugins/discourse-events/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
ActiveSupport is required for TimeWithZone support, but not required for general use.
Successfully installed icalendar-2.8.0
1 gem installed
gem install icalendar-recurrence -v 1.1.3 -i /var/www/discourse/plugins/discourse-events/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Successfully installed icalendar-recurrence-1.1.3
1 gem installed
gem install geocoder -v 1.8.3 -i /var/www/discourse/plugins/discourse-locations/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Successfully installed geocoder-1.8.3
1 gem installed
gem install pkg-config -v 1.5.0 -i /var/www/discourse/plugins/discourse-siwe-auth/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Successfully installed pkg-config-1.5.0
1 gem installed
gem install forwardable -v 1.3.3 -i /var/www/discourse/plugins/discourse-siwe-auth/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Successfully installed forwardable-1.3.3
1 gem installed
gem install mkmfmf -v 0.4 -i /var/www/discourse/plugins/discourse-siwe-auth/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Successfully installed mkmfmf-0.4
1 gem installed
gem install keccak -v 1.3.0 -i /var/www/discourse/plugins/discourse-siwe-auth/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Building native extensions. This could take a while...
Successfully installed keccak-1.3.0
1 gem installed
gem install zip -v 2.0.2 -i /var/www/discourse/plugins/discourse-siwe-auth/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Successfully installed zip-2.0.2
1 gem installed
gem install mini_portile2 -v 2.8.0 -i /var/www/discourse/plugins/discourse-siwe-auth/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Successfully installed mini_portile2-2.8.0
1 gem installed
gem install rbsecp256k1 -v 6.0.0 -i /var/www/discourse/plugins/discourse-siwe-auth/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Building native extensions. This could take a while...
Successfully installed rbsecp256k1-6.0.0
1 gem installed
gem install konstructor -v 1.0.2 -i /var/www/discourse/plugins/discourse-siwe-auth/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Successfully installed konstructor-1.0.2
1 gem installed
gem install ffi -v 1.16.3 -i /var/www/discourse/plugins/discourse-siwe-auth/gems/3.3.6 --no-document --ignore-dependencies --no-user-install
Building native extensions. This could take a while...
Successfully installed ffi-1.16.3
1 gem installed

I, [2025-02-11T03:41:51.737693 #1]  INFO -- : Terminating async processes
I, [2025-02-11T03:41:51.737736 #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/15/bin/postmaster -D /etc/postgresql/15/main pid: 42
I, [2025-02-11T03:41:51.737826 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 109
2025-02-11 03:41:51.737 UTC [42] LOG:  received fast shutdown request
109:signal-handler (1739245311) Received SIGTERM scheduling shutdown...
2025-02-11 03:41:51.746 UTC [42] LOG:  aborting any active transactions
2025-02-11 03:41:51.748 UTC [42] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
2025-02-11 03:41:51.749 UTC [51] LOG:  shutting down
2025-02-11 03:41:51.751 UTC [51] LOG:  checkpoint starting: shutdown immediate
2025-02-11 03:41:51.767 UTC [51] LOG:  checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.005 s, sync=0.004 s, total=0.018 s; sync files=3, longest=0.002 s, average=0.002 s; distance=6 kB, estimate=6 kB
2025-02-11 03:41:51.773 UTC [42] LOG:  database system is shut down
109:M 11 Feb 2025 03:41:51.806 # User requested shutdown...
109:M 11 Feb 2025 03:41:51.806 * Saving the final RDB snapshot before exiting.
109:M 11 Feb 2025 03:41:52.069 * DB saved on disk
109:M 11 Feb 2025 03:41:52.069 # 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 #<Process::Status: pid 778 exit 1>
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.
03b36e536df4aed3a148817d27ee195bacb16178b7d62f1b0849670af7c249f0

The solution is (was) already in our fork at GitHub - communiteq/discourse-siwe-auth: Discourse plugin for SIWE authentication, we have not made a PR to upstream yet because the fix commits are a bit messy, but it works fine.

1 Like