Fix config path lookup #139

Merged
floatingghost merged 2 commits from norm/akkoma:fix/config-path into develop 2022-08-03 10:52:21 +00:00
Contributor

While I was attempting to set up an Akkoma instance using the OTP build,
I noticed that it was falling back to using /etc/pleroma instead of
/etc/akkoma for the config path.

As the config.exs file doesn't exist prior to running
pleroma_ctl instance gen, it tries to write to
/etc/pleroma/config.exs but the directory doesn't exist when following
the OTP install guide, so the config generation fails.

This patch should hopefully fix that.

While I was attempting to set up an Akkoma instance using the OTP build, I noticed that it was falling back to using `/etc/pleroma` instead of `/etc/akkoma` for the config path. As the `config.exs` file doesn't exist prior to running `pleroma_ctl instance gen`, it tries to write to `/etc/pleroma/config.exs` but the directory doesn't exist when following the OTP install guide, so the config generation fails. This patch should hopefully fix that.
norm added 1 commit 2022-08-03 02:06:32 +00:00
Fix config path lookup
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending
f41b84b989
While I was attempting to set up an Akkoma instance using the OTP build,
I noticed that it was falling back to using `/etc/pleroma` instead of
`/etc/akkoma` for the config path.

As the `config.exs` file doesn't exist prior to running
`pleroma_ctl instance gen`, it tries to write to
`/etc/pleroma/config.exs` but the directory doesn't exist when following
the OTP install guide, so the config generation fails.

This patch should hopefully fix that.
norm added 1 commit 2022-08-03 02:11:09 +00:00

that should be gud, thanks

that should be gud, thanks
floatingghost merged commit 2c40d565fa into develop 2022-08-03 10:52:21 +00:00
floatingghost referenced this pull request from a commit 2022-08-03 10:52:21 +00:00
norm deleted branch fix/config-path 2022-08-03 11:31:25 +00:00
rat referenced this pull request from a commit 2024-02-25 20:33:29 +00:00
Sign in to join this conversation.
No description provided.