# Unable to build phpBB3 import container

**URL:** https://meta.discourse.org/t/unable-to-build-phpbb3-import-container/406013
**Category:** Migration
**Tags:** phpbb
**Created:** [June 24, 2026, 1:13pm UTC](https://meta.discourse.org/t/unable-to-build-phpbb3-import-container/406013 "2026-06-24T13:13:51Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Preston](https://avatars.discourse-cdn.com/v4/letter/p/a587f6/32.png) [@Preston](https://meta.discourse.org/u/Preston)
#### Post date: [June 24, 2026, 1:13pm UTC](https://meta.discourse.org/t/unable-to-build-phpbb3-import-container/406013/1 "2026-06-24T13:13:51Z")

</div>

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](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810)) 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.

```plaintext
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.

---

<div class="post-metadata">

### Author: ![Preston](https://avatars.discourse-cdn.com/v4/letter/p/a587f6/32.png) [@Preston](https://meta.discourse.org/u/Preston)
#### Post date: [June 24, 2026, 1:18pm UTC](https://meta.discourse.org/t/unable-to-build-phpbb3-import-container/406013/2 "2026-06-24T13:18:18Z")

</div>

This may relate however:

```plaintext
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

```

---

<div class="post-metadata">

### Author: ![aLinux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alinux/32/572713_2.png) [@aLinux](https://meta.discourse.org/u/aLinux)
#### Post date: [August 2, 2026, 12:23pm UTC](https://meta.discourse.org/t/unable-to-build-phpbb3-import-container/406013/3 "2026-08-02T12:23:55Z")

</div>

i have the same problem as you do !

Have you found a fix for this ?

---

<div class="post-metadata">

### Author: ![selase](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/selase/32/270909_2.png) [@selase](https://meta.discourse.org/u/selase)
#### Post date: [August 3, 2026, 3:00pm UTC](https://meta.discourse.org/t/unable-to-build-phpbb3-import-container/406013/4 "2026-08-03T15:00:32Z")

</div>

This appears to be related to the bundle command in the phpBB3 template:

> <https://github.com/discourse/discourse_docker/blob/ed9f680b0df1de28f062de1769d89d22b2644d1b/templates/import/phpbb3.template.yml#L118>

Some of the CLI flags used are not compatible with the latest version of Bundler included in the base image.

I’ve created a PR to fix it:

> <https://github.com/discourse/discourse_docker/pull/1104>
>
> The \`--path\` and \`--without\` flags have been removed in the latest version of Bu…ndler included in the base image, causing the \`after\_bundle\_exec\` hook to fail across all import templates.

Once it’s merged, you should be able to fetch the latest changes and build the import container.

---

<div class="post-metadata">

### Author: ![Preston](https://avatars.discourse-cdn.com/v4/letter/p/a587f6/32.png) [@Preston](https://meta.discourse.org/u/Preston)
#### Post date: [August 5, 2026, 10:29am UTC](https://meta.discourse.org/t/unable-to-build-phpbb3-import-container/406013/5 "2026-08-05T10:29:30Z")

</div>

Thanks! That is much appreciated!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [September 4, 2026, 10:30am UTC](https://meta.discourse.org/t/unable-to-build-phpbb3-import-container/406013/6 "2026-09-04T10:30:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
