Phpbb3 import - error while building container

Hi!
I’m trying to import my old phpBB3 forum in discourse, by following this tutorial : Migrate a phpBB3 forum to Discourse

But I can’t even prepare the docker container :sweat_smile:

When I execute launcher rebuild import I have this error:

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!

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.

1 Like

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