# Phpbb3 import - error while building container

**URL:** https://meta.discourse.org/t/phpbb3-import-error-while-building-container/254478
**Category:** Migration
**Tags:** phpbb
**Created:** [February 8, 2023, 3:35pm UTC](https://meta.discourse.org/t/phpbb3-import-error-while-building-container/254478 "2023-02-08T15:35:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![AudeF](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/audef/32/292465_2.png) [@AudeF](https://meta.discourse.org/u/AudeF)
#### Post date: [February 8, 2023, 3:35pm UTC](https://meta.discourse.org/t/phpbb3-import-error-while-building-container/254478/1 "2023-02-08T15:35:26Z")

</div>

Hi!  
I’m trying to import my old phpBB3 forum in discourse, by following this tutorial : [Migrate a phpBB3 forum to Discourse](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810)

But I can’t even prepare the docker container 😅

When I execute `launcher rebuild import` I have this error:

```plaintext
FAILED
--------------------
Pups::ExecError: apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y nano libmariadb-dev mariadb-server failed with return #<Process::Status: pid 254 exit 100>
Location of failure: /usr/local/lib/ruby/gems/3.1.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cmd"=>["mkdir -p /shared/import/mysql/data", "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y nano libmariadb-dev mariadb-server", "sed -Ei 's/^log/#&/' /etc/mysql/my.cnf"]}
bootstrap failed with exit code 100

```

It’s a brand new install of Discourse 3.1.0.beta2, on Ubuntu 22.04 LTS.

Any idea of what’s happening? Thanks for your help!

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 8, 2023, 5:33pm UTC](https://meta.discourse.org/t/phpbb3-import-error-while-building-container/254478/2 "2023-02-08T17:33:13Z")

</div>

There is a bug that makes `apt-get update` fail. There is a workaround in this topic. You need to edit the template that you added (mysql, I guess) as a workaround.

> [@Apt-get update fails inside container yarn repo not signed](https://meta.discourse.org/t/apt-get-update-fails-inside-container-yarn-repo-not-signed/253133):
>
> I have a github action that builds images and it’s failing when it tries to do an apt-get update. I’m still looking at what’s up with that, but on an install I did 2 hours ago, I get this error if I do an apt-get update inside the container. root@monstera-web-only:/# apt-get update Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] Get:2 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB] …

---

<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: [March 10, 2023, 5:33pm UTC](https://meta.discourse.org/t/phpbb3-import-error-while-building-container/254478/3 "2023-03-10T17:33:33Z")

</div>

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