# 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:** 2

<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, 4:01pm UTC](https://meta.discourse.org/t/phpbb3-import-failling-at-first-stage/129556/2 "2019-09-26T16:01:07Z")

</div>

Digging into this a bit deeper has led me to this post which seems to be the same error I’m having.

> [@Unable to correct problems, you have held broken packages when trying to run a phpBB importer](https://meta.discourse.org/t/unable-to-correct-problems-you-have-held-broken-packages-when-trying-to-run-a-phpbb-importer/46499):
>
> Hello! I’m trying to run a docker phpbb3 importer by following this guide: [Importing from phpBB3](https://meta.discourse.org/t/importing-from-phpbb3/30810) However, during point 3 (./launcher rebuild import), script gives me a following output: [https://gist.github.com/mbajur/529b6358fecaa51bef63ddc1664c5495](https://gist.github.com/mbajur/529b6358fecaa51bef63ddc1664c5495) I was able to run discourse app.yml without any troubles, just the import.yml makes troubles. I’m on Ubuntu 14.04 (digitalocean). Thanks in advance for any clues!

I noticed that the fix was to update the repos with the latest Ubuntu version. I’ve changed this section in phpbb3.template.yml:

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

```

to:

```
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 bionic main'
          - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y nano libmariadbclient-dev mariadb-server
          - sed -Ei 's/^log/#&/' /etc/mysql/my.cnf

```

But it looks like this is still failing because the key used is now out of date. Can anyone help me with the key so I can test this theory?

---

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