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.
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.

that should be gud, thanks

that should be gud, thanks
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 reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AkkomaGang/akkoma!139
No description provided.