Thanks to
ChatGPT, here are the dummy logs of my forum rebuild:
I, [2025-09-05T18:42:13.102344 #104
2] INFO – : Rebuilding app
Ensuring launcher is up to date
git pull
Already up to date.
Stopping old container
- /usr/bin/docker stop -t 10 app
app
Removing old container
- /usr/bin/docker rm -f app
app
Starting new container
-
/usr/bin/docker run --name app -d -p 80:80 -p 443:443 -e LANG=en_US.UTF-8 -e RAILS_ENV=production local_discourse/app /sbin/boot
f82c342912a71c8290c01aa93cd54ad0bd2db1c7d10a9f8d14f7f1a29091e3a9
-
/usr/bin/docker exec -it app bash -c cd /var/www/discourse && git fetch --tags
-
git checkout latest
Already on ‘main’
Your branch is up to date with ‘origin/main’.
Updating packages
Installing gems
- bundle install --deployment --without test development
Fetching gem metadata from https://rubygems.org/…
Fetching rake 13.0.6
Installing rake 13.0.6
Fetching concurrent-ruby 1.2.2
Installing concurrent-ruby 1.2.2
Fetching i18n 1.12.0
Installing i18n 1.12.0
…
Fetching nokogiri 1.13.6 (x86_64-linux)
Installing nokogiri 1.13.6 with native extensions
Bundle complete! 127 Gemfile dependencies, 289 gems now installed.
Yarn install
- yarn install --production --no-progress
yarn install v1.22.19
[1/4] Resolving packages…
[2/4] Fetching packages…
[3/4] Linking dependencies…
warning " > [email protected]" has unmet peer dependency “webpack@^4.0.0 || ^5.0.0”.
[4/4] Building fresh packages…
Done in 18.23s.
Migrating database
- rake db:migrate
== 20220905182342 AddNewIndexToPosts: migrating ================================
– add_index(:posts, :topic_id)
→ 0.0321s
== 20220905182342 AddNewIndexToPosts: migrated (0.0345s) =======================
== 20220905182512 AddCustomFields: migrating ==================================
– add_column(:users, :custom_fields, :jsonb, {})
→ 0.0458s
== 20220905182512 AddCustomFields: migrated (0.0483s) =========================
Precompiling assets
- rake assets:precompile
I, [2025-09-05T18:49:52] INFO – : Writing /var/www/discourse/public/assets/application-cc2d7f2d4a83bfb76d.css
I, [2025-09-05T18:49:53] INFO – : Writing /var/www/discourse/public/assets/application-22ff1dd20bb31c09.js
I, [2025-09-05T18:49:55] INFO – : Writing /var/www/discourse/public/assets/locales/en.js
I, [2025-09-05T18:49:57] INFO – : Writing /var/www/discourse/public/assets/vendor-74bbf1ceaa83c0.js
Cleaning up
- rm -rf tmp/cache
- rm -rf tmp/sockets
- rm -rf log/*
Launching
-
exec /sbin/boot
I, [2025-09-05T18:50:14.228901 #1042] INFO – : Starting unicorn
I, [2025-09-05T18:50:14.229011 #1042] INFO – : listening on addr=0.0.0.0:3000 fd=9
I, [2025-09-05T18:50:14.229052 #1042] INFO – : master process ready
I, [2025-09-05T18:50:14.229087 #1042] INFO – : worker=0 ready
I, [2025-09-05T18:50:14.229121 #1042] INFO – : worker=1 ready
-
Finished rebuilding app
My error again: Plesase help, i really need help:
I, [2
025-09-05T18:42:13.102344 #10
42] INFO – :
Rebuilding
app
> Ensuring launcher is up to date
- git pull
Already up to date.
Stopping old
container
bin
/docker stop -t 10 app
app
Removing old container
- /usr/bin/docker rm -f app
app
Starting new container
-
/usr/bin/docker run --name app -d -p 80:80 -p 443:443 -e LANG=en_US.UTF-8 -e RAILS_ENV=production local_discourse/app /sbin/boot
f82c342912a71c8290c01aa93cd54ad0bd2db1c7d10a9f8d14f7f1a29091e3a9
-
/usr/bin/docker exec -it app bash -c cd /var/www/discourse && git fetch --tags
-
git checkout latest
Already on ‘main’
Your branch is up to date with ‘origin/main’.
Updating packages
- apt-get update && apt-get upgrade -y
Hit:1 Index of /debian bullseye InRelease
Get:2 Index of /debian-security bullseye-security InRelease [44.1 kB]
Get:3 Index of /debian bullseye-updates InRelease [36.8 kB]
Fetched 80.9 kB in 2s (47.9 kB/s)
Reading package lists… Done
Reading state information… Done
All packages are up to date.
Installing gems
- bundle install --deployment --without test development
Fetching
gem metadata from https://rubygems.org/…
Fetching
rake 13.0.6
Installing rake 13.0.6
Fetching
concurrent-ruby 1.2.2
Installing concurrent-ruby 1.2.2
Fetching
i18n 1.12.0
Installing i18n 1.12.0
…
Fetching
nokogiri 1.13.6 (x86_64-linux)
Installing nokogiri 1.13.6 with native extensions
Bundle complete! 127 Gemfile dependencies, 289 gems now installed.
Yarn install
- yarn install --production --no-progress
yarn install v1.22.19
[1/4] Resolving packages…
[2/4]
Fetching
packages…
[3/4] Linking dependencies…
warning " > [email protected]" has unmet peer dependency “webpack@^4.0.0 || ^5.0.0”.
[4/4] Building fresh packages…
Done in 18.23s.
Migrating database
- rake db:migrate
== 20220905182342 AddNewIndexToPosts: migrating
==========
======================
– add_index(:posts, :topic_id)
→ 0.0321s
== 20220905182342 AddNewIndexToPosts: migrated (0.0345s) =======================
== 20220905182512 AddCustomFields: migrating ==================================
– add_column(:users, :custom_fields, :jsonb, {})
→ 0.0458s
== 20220905182512 AddCustomFields: migrated (0.0483s) =========================
Precompiling assets
- rake assets:precompile
I, [2025-09-05T18:49:52] INFO – : Writing /var/www/discourse/public/assets/application-cc2d7f2d4a83bfb76d.css
I, [2025-09-05T18:49:53] INFO – : Writing /var/www/discourse/public/assets/application-22ff1dd20bb31c09.js
I, [2025-09-05T18:49:55] INFO – : Writing /var/www/discourse/public/assets/locales/en.js
I, [2025-09-05T18:49:57] INFO – : Writing /var/www/discourse/public/assets/vendor-74bbf1ceaa83c0.js
Cleaning up
- rm -rf tmp/cache
- rm -rf tmp/sockets
- rm -rf log/*
Launching
-
exec /sbin/boot
I, [2025-09-05T18:50:14.228901 #1042] INFO – : Starting unicorn
I, [2025-09-05T18:50:14.229011 #1042] INFO – : listening on addr=0.0.0.0:3000 fd=9
I, [2025-09-05T18:50:14.229052 #1042] INFO – : master process ready
I, [2025-09-05T18:50:14.229087 #1042] INFO – : worker=0 ready
I, [2025-09-05T18:50:14.229121 #1042] INFO – : worker=1 ready
-
Finished rebuilding app
Lorem ips
um dolor sit amet, consectetur adipiscin
g elit. Ut condimentum leo et vulputate iaculis.
Maecenas felis ligula, euismod at rutrum in, elementum eget odio. Aliquam nec nisi sollicitudin, maximus leo sit amet, egestas augue
.
Cras eleifend, justo et tincidunt
rutrum,
eros
velit pulvinar lectus,
et vulputate nisl diam et enim.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut condimentum leo et vulputate iaculis.
Maecenas felis ligula, euismod at rutrum in, elementum eget odio. Aliquam nec nisi sollicitudin, maximus leo sit amet, egestas augue.
Cras eleifend, justo et tincidunt rutrum, eros velit pulvinar lectus, et vulputate nisl diam et enim.