Compiling Akkoma with Elixir installed from asdf installed under the same user results in error #524
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#524
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
So I'm running an Akkoma instance under Ubuntu 22.04 setup under the normal Debian setup guide, and recently, I decided to update my instance to v3.8.0 . However, Elixir in the Ubuntu package manager only goes up to v1.12, so I had to install asdf under the akkoma user to install elixir 1.14 . While running Akkoma directly in the shell of the akkoma user with
mix phx.server
works fine. Trying to run it through systemd results in an error that keeps it from starting. It seems to be this:So far, in order to get this setup with asdf to actually work, I have edited akkoma.service so that it includes
Environment="ASDF_DATA_DIR=/opt/asdf"
, which is where I installed asdf. And modified ExecStart to beExecStart=/opt/asdf/shims/mix phx.server
. Within my .bashrc for my akkoma user. I've appended the following:Could there be any issues with my configuration that might be stopping Akkoma from working correctly?
Going to repost this in the proper discourse instead. Sorry for accidentally forgetting.