# PHPBB3 Import failling at first stage

**URL:** <https://meta.discourse.org/t/phpbb3-import-failling-at-first-stage/129556>\
**Category:** Self-hosting\
**Created:** [September 26, 2019, 11:23am UTC](https://meta.discourse.org/t/phpbb3-import-failling-at-first-stage/129556 "2019-09-26T11:23:23Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![robtech](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robtech/32/161256_2.png) [@robtech](https://meta.discourse.org/u/robtech)\
**Post date:** [September 26, 2019, 11:23am UTC](https://meta.discourse.org/t/phpbb3-import-failling-at-first-stage/129556/1 "2019-09-26T11:23:23Z")

</div>

I’ve set up a brand new Discourse, I’ve activated it and it works fine. No changes have been applied at all. I’m trying to perform a PHPBB3 import, but it’s failing very early on, before the sql dump has even been called upon. Seems there is a problem creating a directory, but can’t understand why or how to fix.

First I run these:

```
cd /var/discourse
cp containers/app.yml containers/import.yml
nano containers/import.yml

```

Then I update the import.yml to add the entry to the list of templates.

Then I run this:

```
/var/discourse/launcher stop app
/var/discourse/launcher rebuild import

```

But it fails to bootstrap and gives me this in failed:

```
FAILED

--------------------

Pups::ExecError: apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y nano libmariadbclient-dev mariadb-server failed with return #<Process::Status: pid 751 exit 100>

Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'

exec failed with the params {"cmd"=>["mkdir -p /shared/import/mysql/data", "apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8", "add-apt-repository 'deb [arch=amd64,i386] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial main'", "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y nano libmariadbclient-dev mariadb-server", "sed -Ei 's/^log/#&/' /etc/mysql/my.cnf"]}

35bdae869b75c936048af19f082aa5eded27d1ec77b9c53c48216d794775142d

**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.

./discourse-doctor may help diagnose the problem.

```

Pulling my hair out trying to fix this. Please can anyone suggest where I’m going wrong?

---

_[View the full topic](https://meta.discourse.org/t/phpbb3-import-failling-at-first-stage/129556)._
