I have a new discourse instance (built this morning). App built fine and is running without any issues. However I’m trying to build the import container (using this formula) but the container fails to bootstrap.
These are the errors I’m seeing. I’m not seeing anything further up the logs that seems to relate.
FAILED
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle install --no-deployment --path vendor/bundle --jobs $(($(nproc) - 1)) --without test development' failed with return #<Process::Status: pid 1836 exit 15>
Location of failure: /usr/local/lib/ruby/gems/3.4.0/gems/pups-1.4.0/lib/pups/exec_command.rb:138:in 'Pups::ExecCommand#spawn'
exec failed with the params {"cd" => "$home", "cmd" => ["echo \"gem 'mysql2'\" >> Gemfile", "echo \"gem 'ruby-bbcode-to-md', :github => 'nlalonde/ruby-bbcode-to-md'\" >> Gemfile", "su discourse -c 'bundle config unset deployment'", "su discourse -c 'bundle install --no-deployment --path vendor/bundle --jobs $(($(nproc) - 1)) --without test development'"]}
bootstrap failed with exit code 15
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
Any help appreciated.
This may relate however:
Removing version_gem (1.1.11)
I, [2026-06-24T13:04:04.442400 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'find /var/www/discourse/vendor/bundle -name cache -not -path "*/gems/*" -type d -exec rm -rf {} +'
I, [2026-06-24T13:04:04.544866 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'find /var/www/discourse/vendor/bundle -name tmp -type d -exec rm -rf {} +'
I, [2026-06-24T13:04:04.645437 #1] INFO -- : > cd /var/www/discourse && echo "gem 'mysql2'" >> Gemfile
I, [2026-06-24T13:04:04.647649 #1] INFO -- : > cd /var/www/discourse && echo "gem 'ruby-bbcode-to-md', :github => 'nlalonde/ruby-bbcode-to-md'" >> Gemfile
I, [2026-06-24T13:04:04.649093 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config unset deployment'
I, [2026-06-24T13:04:04.774523 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --no-deployment --path vendor/bundle --jobs $(($(nproc) - 1)) --without test development'
The `--path` flag has been removed because it relied on being remembered across
bundler invocations, which bundler no longer does. Instead please use `bundle
config set path 'vendor/bundle'`, and stop using this flag