Hier sind die Rebuild-Logs. Ich sehe, dass beim Klonen der Plugins ein Fehler mit “Permission Denied” (Zugriff verweigert) auftritt. Was soll ich tun? Ist dies ein Problem mit einem der Plugins?
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.20240602-0023: Pulling from discourse/base
Digest: sha256:5e0c30da851a00e824a58b033d59b8f3dd840b513a7694a7a5d0674285c0ee3c
Status: Image is up to date for discourse/base:2.0.20240602-0023
docker.io/discourse/base:2.0.20240602-0023
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-06-04T11:48:23.557682 #1] INFO -- : Reading from stdin
I, [2024-06-04T11:48:23.598757 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2024-06-04T11:48:23.613059 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2024-06-04T11:48:23.627138 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2024-06-04T11:48:23.641282 #1] INFO -- : File > /root/install_postgres chmod: +x chown:
I, [2024-06-04T11:48:23.655195 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2024-06-04T11:48:23.656105 #1] INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
I, [2024-06-04T11:48:23.658345 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2024-06-04T11:48:23.660095 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2024-06-04T11:48:23.662792 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2024-06-04T11:48:23.664305 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2024-06-04T11:48:23.666115 #1] INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/13/main/postgresql.conf
I, [2024-06-04T11:48:23.667883 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2024-06-04T11:48:23.669238 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2024-06-04T11:48:23.670761 #1] INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/13/main/postgresql.conf
I, [2024-06-04T11:48:23.672064 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2024-06-04T11:48:23.673046 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2024-06-04T11:48:23.674107 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2024-06-04T11:48:23.675378 #1] INFO -- : > [ -f /root/install_postgres ] && /root/install_postgres && rm -f /root/install_postgres
2024/06/04 11:48:23 socat[30] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): Connection refused
I, [2024-06-04T11:48:23.837574 #1] INFO -- : Generating locales (this might take a while)...
Generation complete.
I, [2024-06-04T11:48:23.838216 #1] INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main
I, [2024-06-04T11:48:23.859106 #1] INFO -- : File > /usr/local/bin/create_db chmod: +x chown:
I, [2024-06-04T11:48:23.879840 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2024-06-04T11:48:23.888877 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2024-06-04T11:48:23.889316 #1] INFO -- : > sleep 5
2024-06-04 11:48:24.062 UTC [32] LOG: starting PostgreSQL 13.15 (Debian 13.15-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2024-06-04 11:48:24.063 UTC [32] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-06-04 11:48:24.063 UTC [32] LOG: listening on IPv6 address "::", port 5432
2024-06-04 11:48:24.073 UTC [32] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-06-04 11:48:24.091 UTC [41] LOG: database system was interrupted; last known up at 2024-06-04 11:47:32 UTC
2024-06-04 11:48:25.115 UTC [41] LOG: database system was not properly shut down; automatic recovery in progress
2024-06-04 11:48:25.121 UTC [41] LOG: redo starts at 0/D16F970
2024-06-04 11:48:25.121 UTC [41] LOG: invalid record length at 0/D1744B8: wanted 24, got 0
2024-06-04 11:48:25.121 UTC [41] LOG: redo done at 0/D174480
2024-06-04 11:48:25.172 UTC [32] LOG: database system is ready to accept connections
I, [2024-06-04T11:48:28.895207 #1] INFO -- :
I, [2024-06-04T11:48:28.895549 #1] INFO -- : > /usr/local/bin/create_db
2024-06-04 11:48:29.087 UTC [51] postgres@postgres ERROR: database "discourse" already exists
2024-06-04 11:48:29.087 UTC [51] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
2024-06-04 11:48:29.159 UTC [54] postgres@discourse ERROR: role "discourse" already exists
2024-06-04 11:48:29.159 UTC [54] 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: extension "hstore" already exists, skipping
NOTICE: extension "pg_trgm" already exists, skipping
NOTICE: extension "vector" already exists, skipping
I, [2024-06-04T11:48:29.766258 #1] INFO -- : GRANT
ALTER SCHEMA
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
UPDATE 0
I, [2024-06-04T11:48:29.766372 #1] INFO -- : > echo postgres installed!
I, [2024-06-04T11:48:29.768798 #1] INFO -- : postgres installed!
I, [2024-06-04T11:48:29.773898 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
I, [2024-06-04T11:48:29.778935 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
I, [2024-06-04T11:48:29.783942 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2024-06-04T11:48:29.784222 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf
I, [2024-06-04T11:48:29.784875 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf
I, [2024-06-04T11:48:29.785380 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-06-04T11:48:29.788611 #1] INFO -- :
I, [2024-06-04T11:48:29.789071 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2024-06-04T11:48:29.789788 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf
I, [2024-06-04T11:48:29.790999 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2024-06-04T11:48:29.792241 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2024-06-04T11:48:29.793435 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2024-06-04T11:48:29.794754 #1] INFO -- : > echo redis installed
I, [2024-06-04T11:48:29.796978 #1] INFO -- : redis installed
I, [2024-06-04T11:48:29.797246 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-06-04T11:48:29.801333 #1] INFO -- : logfile ""
I, [2024-06-04T11:48:29.801464 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-06-04T11:48:29.802862 #1] INFO -- : > sleep 10
94:C 04 Jun 2024 11:48:29.811 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
94:C 04 Jun 2024 11:48:29.811 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=94, just started
94:C 04 Jun 2024 11:48:29.811 # Configuration loaded
94:M 04 Jun 2024 11:48:29.811 * monotonic clock: POSIX clock_gettime
94:M 04 Jun 2024 11:48:29.812 * Running mode=standalone, port=6379.
94:M 04 Jun 2024 11:48:29.812 # Server initialized
94:M 04 Jun 2024 11:48:29.812 # 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.
94:M 04 Jun 2024 11:48:29.813 * Loading RDB produced by version 7.0.7
94:M 04 Jun 2024 11:48:29.813 * RDB age 99 seconds
94:M 04 Jun 2024 11:48:29.813 * RDB memory usage when created 11.90 Mb
94:M 04 Jun 2024 11:48:29.831 * Done loading RDB, keys loaded: 767, keys expired: 10.
94:M 04 Jun 2024 11:48:29.831 * DB loaded from disk: 0.018 seconds
94:M 04 Jun 2024 11:48:29.831 * Ready to accept connections
I, [2024-06-04T11:48:39.805851 #1] INFO -- :
I, [2024-06-04T11:48:39.806839 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-06-04T11:48:39.816680 #1] INFO -- : thpoff is installed!
I, [2024-06-04T11:48:39.817421 #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-06-04T11:48:40.098723 #1] INFO -- :
I, [2024-06-04T11:48:40.098947 #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-06-04T11:48:40.377469 #1] INFO -- :
I, [2024-06-04T11:48:40.377751 #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-06-04T11:48:40.649946 #1] INFO -- :
I, [2024-06-04T11:48:40.650319 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-06-04T11:48:40.657498 #1] INFO -- :
I, [2024-06-04T11:48:40.665587 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
I, [2024-06-04T11:48:40.680950 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2024-06-04T11:48:40.694598 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2024-06-04T11:48:40.708660 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2024-06-04T11:48:40.722856 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2024-06-04T11:48:40.736691 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2024-06-04T11:48:40.736969 #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, [2024-06-04T11:48:40.739723 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
Updating files: 100% (34508/34508), done.
I, [2024-06-04T11:48:54.865468 #1] INFO -- : HEAD is now at 62b1b69e8 UX: constrain width of chat transcripts in posts (#27288)
I, [2024-06-04T11:48:54.865754 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-06-04T11:48:55.359182 #1] INFO -- :
I, [2024-06-04T11:48:55.359430 #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/avoid_unformatted_logs
- [deleted] (none) -> origin/discourse-url-native-class
- [deleted] (none) -> origin/fix-group-chat-member-count
- [deleted] (none) -> origin/ghost-button
- [deleted] (none) -> origin/issue/bulk-action-pm-fixes
- [deleted] (none) -> origin/permalinks
- [deleted] (none) -> origin/route-native-class
- [deleted] (none) -> origin/search-result-consistency
- [deleted] (none) -> origin/user-posts-stream-native-class
62b1b69e8..aa37be332 main -> origin/main
* [new branch] dev/extend-anonymized-user-imports -> origin/dev/extend-anonymized-user-imports
* [new branch] feature/new-topic-bulk-actions-search -> origin/feature/new-topic-bulk-actions-search
* [new branch] feature/requires-confirmation-site-settings -> origin/feature/requires-confirmation-site-settings
b3d6801e8..27c416b55 formtoolkit -> origin/formtoolkit
b2b6b4468..d811389e9 loic-update-to-rails-7.1 -> origin/loic-update-to-rails-7.1
* [new branch] msg-buidler-modifier-to -> origin/msg-buidler-modifier-to
* [new branch] support_s3_inventory_bucket -> origin/support_s3_inventory_bucket
62b1b69e8..f0539afb0 tests-passed -> origin/tests-passed
I, [2024-06-04T11:48:56.432243 #1] INFO -- :
I, [2024-06-04T11:48:56.432496 #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-06-04T11:48:59.366120 #1] INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.
I, [2024-06-04T11:48:59.366476 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-06-04T11:48:59.401466 #1] INFO -- :
I, [2024-06-04T11:48:59.401710 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-06-04T11:48:59.411569 #1] INFO -- :
I, [2024-06-04T11:48:59.411809 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-06-04T11:48:59.421196 #1] INFO -- :
I, [2024-06-04T11:48:59.421464 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-06-04T11:48:59.431211 #1] INFO -- :
I, [2024-06-04T11:48:59.431472 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-06-04T11:48:59.441740 #1] INFO -- :
I, [2024-06-04T11:48:59.441930 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-06-04T11:48:59.450406 #1] INFO -- :
I, [2024-06-04T11:48:59.459596 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2024-06-04T11:48:59.470366 #1] INFO -- :
I, [2024-06-04T11:48:59.470576 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-06-04T11:48:59.485961 #1] INFO -- :
I, [2024-06-04T11:48:59.486170 #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-06-04T11:48:59.500565 #1] INFO -- :
I, [2024-06-04T11:48:59.500825 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2024-06-04T11:48:59.515699 #1] INFO -- :
I, [2024-06-04T11:48:59.515880 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-06-04T11:48:59.529804 #1] INFO -- :
I, [2024-06-04T11:48:59.530020 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2024-06-04T11:48:59.544313 #1] INFO -- :
I, [2024-06-04T11:48:59.544556 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-06-04T11:48:59.558520 #1] INFO -- :
I, [2024-06-04T11:48:59.558785 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-06-04T11:48:59.612930 #1] INFO -- :
I, [2024-06-04T11:48:59.613137 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-06-04T11:48:59.618339 #1] INFO -- :
I, [2024-06-04T11:48:59.618790 #1] INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2024-06-04T11:48:59.620907 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2024-06-04T11:49:01.149187 #1] INFO -- :
I, [2024-06-04T11:49:01.149532 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-akismet
Cloning into 'discourse-akismet'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-06-04T11:49:02.053382 #1] INFO -- :
I, [2024-06-04T11:49:02.054291 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-follow
Cloning into 'discourse-follow'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-06-04T11:49:02.875928 #1] INFO -- :
I, [2024-06-04T11:49:02.876257 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-docs.git
Cloning into 'discourse-docs'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-06-04T11:49:03.746725 #1] INFO -- :
I, [2024-06-04T11:49:03.746984 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-yearly-review.git
Cloning into 'discourse-yearly-review'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-06-04T11:49:04.493026 #1] INFO -- :
I, [2024-06-04T11:49:04.493284 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-cakeday.git
Cloning into 'discourse-cakeday'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-06-04T11:49:05.377265 #1] INFO -- :
I, [2024-06-04T11:49:05.377591 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-user-notes.git
Cloning into 'discourse-user-notes'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-06-04T11:49:06.132115 #1] INFO -- :
I, [2024-06-04T11:49:06.132395 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-gamification.git
Cloning into 'discourse-gamification'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-06-04T11:49:07.018220 #1] INFO -- :
I, [2024-06-04T11:49:07.018483 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-policy.git
Cloning into 'discourse-policy'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-06-04T11:49:07.854420 #1] INFO -- :
I, [2024-06-04T11:49:07.854732 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-calendar.git
Cloning into 'discourse-calendar'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-06-04T11:49:09.418739 #1] INFO -- :
I, [2024-06-04T11:49:09.419002 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-06-04T11:49:10.317825 #1] INFO -- :
I, [2024-06-04T11:49:10.318076 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-post-voting.git
Cloning into 'discourse-post-voting'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-06-04T11:49:11.400727 #1] INFO -- :
I, [2024-06-04T11:49:11.400985 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-subscriptions.git
Cloning into 'discourse-subscriptions'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-06-04T11:49:12.727324 #1] INFO -- :
I, [2024-06-04T11:49:12.727596 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-whos-online.git
Cloning into 'discourse-whos-online'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2024-06-04T11:49:13.544560 #1] INFO -- :
I, [2024-06-04T11:49:13.545268 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-06-04T11:49:13.554000 #1] INFO -- :
I, [2024-06-04T11:49:13.554459 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-06-04T11:49:13.560904 #1] INFO -- :
I, [2024-06-04T11:49:13.561161 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2024-06-04T11:49:13.568640 #1] INFO -- :
I, [2024-06-04T11:49:13.569423 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2024-06-04T11:49:13.570816 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2024-06-04T11:49:13.571997 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2024-06-04T11:49:13.573388 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2024-06-04T11:49:13.574858 #1] INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2024-06-04T11:49:13.575875 #1] INFO -- : > echo "done configuring web"
I, [2024-06-04T11:49:13.581139 #1] INFO -- : done configuring web
I, [2024-06-04T11:49:13.582008 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2024-06-04T11:49:14.366893 #1] INFO -- :
I, [2024-06-04T11:49:14.367228 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2024-06-04T11:49:19.054046 #1] INFO -- :
I, [2024-06-04T11:49:19.055014 #1] INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then
rm -rf app/assets/javascripts/node_modules
fi
I, [2024-06-04T11:49:19.060801 #1] INFO -- :
I, [2024-06-04T11:49:19.060998 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
warning " > @discourse/lint-configs@1.3.9" has incorrect peer dependency "ember-template-lint@6.0.0".
warning " > @glint/environment-ember-loose@1.4.0" has unmet peer dependency "@glimmer/component@^1.1.2".
warning " > discourse-markdown-it@1.0.0" has unmet peer dependency "xss@*".
warning "workspace-aggregator-e29f329e-c5ba-4113-8bdb-3525687864df > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-e29f329e-c5ba-4113-8bdb-3525687864df > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-e29f329e-c5ba-4113-8bdb-3525687864df > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-e29f329e-c5ba-4113-8bdb-3525687864df > discourse-plugins > ember-this-fallback@0.4.0" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-e29f329e-c5ba-4113-8bdb-3525687864df > admin > ember-source > router_js@8.0.3" has unmet peer dependency "rsvp@^4.8.5".
warning "workspace-aggregator-e29f329e-c5ba-4113-8bdb-3525687864df > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".
I, [2024-06-04T11:53:58.300344 #1] INFO -- : yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
$ ./app/assets/javascripts/run-patch-package && rm -rf app/assets/javascripts/node_modules
patch-package 8.0.0
Applying patches...
babel-plugin-debug-macros@0.3.4 ✔
content-tag@2.0.1 ✔
ember-this-fallback@0.4.0 (1 deprecation-name) ✔
ember-this-fallback@0.4.0 (2 themes) ✔
ember-this-fallback@0.4.0 (3 exclude-strict-mode) ✔
virtual-dom@2.1.1 ✔
Done in 265.08s.
yarn cache v1.22.22
success Cleared cache.
Done in 12.51s.
I, [2024-06-04T11:53:58.300907 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local deployment true'
I, [2024-06-04T11:53:58.542711 #1] INFO -- :
I, [2024-06-04T11:53:58.542836 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local without "development test"'
I, [2024-06-04T11:53:58.802973 #1] INFO -- : You are replacing the current local value of without, which is currently "test:development"
I, [2024-06-04T11:53:58.803097 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'
I, [2024-06-04T11:54:18.266403 #1] INFO -- : Fetching gem metadata from https://rubygems.org/.........
Fetching ffi 1.17.0 (x86_64-linux-gnu)
Fetching net-imap 0.4.12
Fetching sass-embedded 1.77.4 (x86_64-linux-gnu)
Installing net-imap 0.4.12
Installing ffi 1.17.0 (x86_64-linux-gnu)
Installing sass-embedded 1.77.4 (x86_64-linux-gnu)
Bundle complete! 141 Gemfile dependencies, 174 gems now installed.
Gems in the groups 'development' and 'test' were not installed.
Bundled gems are installed into `./vendor/bundle`
1 installed gem you directly depend on is looking for funding.
Run `bundle fund` for details
I, [2024-06-04T11:54:18.267450 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2024-06-04T11:54:28.900810 #1] INFO -- : discourse-akismet is already at latest compatible version
discourse-cakeday is already at latest compatible version
discourse-calendar is already at latest compatible version
discourse-docs is already at latest compatible version
discourse-follow is already at latest compatible version
discourse-gamification is already at latest compatible version
discourse-policy is already at latest compatible version
discourse-post-voting is already at latest compatible version
discourse-solved is already at latest compatible version
discourse-subscriptions is already at latest compatible version
discourse-user-notes is already at latest compatible version
discourse-whos-online is already at latest compatible version
discourse-yearly-review is already at latest compatible version
docker_manager is already at latest compatible version
I, [2024-06-04T11:54:28.901252 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-06-04T11:54:28.905890 #1] INFO -- : > sleep 10
798:C 04 Jun 2024 11:54:28.929 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
798:C 04 Jun 2024 11:54:28.929 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=798, just started
798:C 04 Jun 2024 11:54:28.929 # Configuration loaded
798:M 04 Jun 2024 11:54:28.931 * monotonic clock: POSIX clock_gettime
798:M 04 Jun 2024 11:54:28.932 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
798:M 04 Jun 2024 11:54:28.932 # Failed listening on port 6379 (TCP), aborting.
I, [2024-06-04T11:54:38.914846 #1] INFO -- :
I, [2024-06-04T11:54:38.915519 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
94:M 04 Jun 2024 11:54:56.713 * 100 changes in 300 seconds. Saving...
94:M 04 Jun 2024 11:54:56.715 * Background saving started by pid 887
887:C 04 Jun 2024 11:54:56.825 * DB saved on disk
887:C 04 Jun 2024 11:54:56.827 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 0 MB
94:M 04 Jun 2024 11:54:56.916 * Background saving terminated with success
I, [2024-06-04T11:55:00.191214 #1] INFO -- : gem install stripe -v 11.1.0 -i /var/www/discourse/plugins/discourse-subscriptions/gems/3.3.2 --no-document --ignore-dependencies --no-user-install
Successfully installed stripe-11.1.0
1 gem installed
== 20240603234529 CreateUserPasswords: migrating ==============================
-- create_table(:user_passwords, {:id=>:integer})
-> 0.0189s
-- add_index(:user_passwords, [:user_id], {:unique=>true, :where=>"password_expired_at IS NULL"})
-> 0.0040s
-- add_index(:user_passwords, [:user_id, :password_hash], {:unique=>true})
-> 0.0036s
-- add_index(:user_passwords, [:user_id, :password_expired_at, :password_hash], {:name=>"idx_user_passwords_on_user_id_and_expired_at_and_hash"})
-> 0.0037s
== 20240603234529 CreateUserPasswords: migrated (0.0318s) =====================
```In meinem Update ist ein Fehler aufgetreten
```ruby
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })
Bitte helfen Sie mir, ihn zu beheben.