LoginSignup
0
0

Ghost-CMSインストール時のエラー[2024]

Last updated at Posted at 2024-01-05

Ghost(CMS)のインストール「ghost install」で「Systemdを使わない」を選択すると、謎の権限エラーになる。

image.png

Error
Message: The content folder is not owned by the current user.
Ensure the content folder has correct permissions and try again

調べてみると、Ghost CMSをインストールしたディレクトリ内で、contentディレクトリ配下のすべてが作成コマンドを打ったユーザーではなくghostユーザーで作成されていた。

image.png

ちょっと危険な気もするが、content含め、その配下をすべて権限変更したところ何とかなった。

sudo chown my-user:my-user -R content

これも含めて、Ghost-cliを使ったGhost-CMSのインストールでは権限がらみの問題がやけに多いみたい。
あとやたら負荷がやばい。EC2のt2.microでやろうとしたら落ちた。

作ってもらってる分際で文句は言えないけども...。

ちなみに冒頭、「Systemdを使う」を選択しても謎のエラーに悩まされる模様。

Error
Could not communicate with Ghost

Node系ののBlogCMSの道行きはまだ暗そうですね...。

探している途中で遭遇した記事

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0