From 07e14d6fc137cc50b56cd8edd46abf27baf8f42c Mon Sep 17 00:00:00 2001 From: Jay Pfaffman Date: Fri, 31 Jan 2025 08:57:34 -0800 Subject: [PATCH 1/2] Removing unicorn service from phpbb template broke the build https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810/786?u=pfaffman --- templates/import/phpbb3.template.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/import/phpbb3.template.yml b/templates/import/phpbb3.template.yml index 3b70cf421..fe7c1d8e1 100644 --- a/templates/import/phpbb3.template.yml +++ b/templates/import/phpbb3.template.yml @@ -8,7 +8,6 @@ hooks: - exec: cd: /etc/service cmd: - - rm -R unicorn - rm -R nginx - rm -R cron From 4b470efa7969fd13121f6eeace94d58a263c4284 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Wed, 26 Feb 2025 17:51:55 +0100 Subject: [PATCH 2/2] Prevent Sidekiq from running Usually we don't want Sidekiq to run during an import because it might mess things up while there's incomplete or inconsistent data. --- templates/import/phpbb3.template.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/import/phpbb3.template.yml b/templates/import/phpbb3.template.yml index fe7c1d8e1..4744620eb 100644 --- a/templates/import/phpbb3.template.yml +++ b/templates/import/phpbb3.template.yml @@ -1,5 +1,8 @@ # This template installs MariaDB and all dependencies needed for importing from phpBB3. +env: + UNICORN_SIDEKIQS: 0 + params: home: /var/www/discourse @@ -15,7 +18,6 @@ hooks: cd: /etc/runit/3.d cmd: - rm 01-nginx - - rm 02-unicorn - file: path: /etc/mysql/conf.d/import.cnf