GCP で Pleroma をスタートアップスクリプトで構築する4(失敗)

Google Cloud Platform(GCP)で Pleroma をスタートアップスクリプトで構築しようとしたと書いた。

GCP で Pleroma をスタートアップスクリプトで構築する(失敗) – with a Christian Wife
https://wacw.cf/2021/05/24/gcp-pleroma-with-a-startup-script/

GCP で Pleroma をスタートアップスクリプトで構築する2(失敗) – with a Christian Wife
https://wacw.cf/2021/05/31/gcp-pleroma-with-a-startup-script-2/

GCP で Pleroma をスタートアップスクリプトで構築する3(失敗) – with a Christian Wife
https://wacw.cf/2021/06/01/gcp-pleroma-with-a-startup-script-3/

前回は TLS 1.3 のサポート問題が解決したと思いきや、なぜかまだインストールに失敗する。そこで、Ubuntu 16.04 ではなく、Ubuntu 18.04 でやってみることにした。

(1)GCP のインスタンスを作成。

Region:us-west1 (Oregon)
Zone:us-west1-a
Machine configuration
・Machine family:General-purpose
・Series:FIRST GENERATION>N1
・Machine type:g1-small (1 vCPU, 1.7 GB memory)
Boot disk:Public images で、Ubuntu; Ubuntu 18.04 LTS; Standard persistent disk 30 GB
Firewall
・Allow HTTP traffic:チェックを入れる。
・Allow HTTPS traffic:チェックを入れる。
Networking
・Network interfaces:default をクリック。External IP で “External IP” を選択。“Network Service Tier” は “Premium” のままにしておく。

ドメインは別途取得済み(サブドメインを使う)。

(2)OpenSSL のバージョンを確認。

$ openssl version
OpenSSL 1.1.1  11 Sep 2018

Ubuntu 18.04 では TLS 1.3 を標準でサポートしているようだ。

(3)以下のページに従い、インストールを進める。

GitHub – S-H-GAMELINKS/Pleroma.Start.Script.for.GoogleCloudPlatform: PleromaをGoogleCloudPlatform上に簡単に構築するスタートアップスクリプト
https://github.com/S-H-GAMELINKS/Pleroma.Start.Script.for.GoogleCloudPlatform

これでついに最後まで行けたが、以下のコマンドで Pleroma が立ち上がらない。status を見ると failed となっている。

$ sudo systemctl start pleroma.service

原因がよく分からない。やはりスタートアップスクリプトに頼らずにインストールをしてみようか。

(続く)