If OTP installing guide we should change directory before 'su akkoma -s $SHELL -lc "./bin/pleroma_ctl instance gen ..."' #1069
Labels
No labels
approved, awaiting change
broken setup
bug
cannot reproduce
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs change/feedback
needs docs
needs tests
not a bug
not our bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AkkomaGang/akkoma#1069
Loading…
Add table
Add a link
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?
Your setup
OTP
Extra details
Debian Linux
Version
Installing from instructions
PostgreSQL version
15.16
What were you trying to do?
In OTP install instruction (https://docs.akkoma.dev/stable/installation/otp_en/) on step "Run the config generator" used the command:
What did you expect to happen?
Going to the next step without error reports
What actually happened?
root@server-higkdx:
# # Run the config generator#su akkoma -s $SHELL -lc "./bin/pleroma_ctl instance gen --output /etc/akkoma/config.exs --output-psql /tmp/setup_db.psql"
-bash: line 1: ./bin/pleroma_ctl: No such file or directory
root@server-higkdx:
Logs
No response
Severity
I cannot use it as easily as I'd like
Have you searched for this issue?
su -lcreates a login environment whose effects are documented to include “change to the target user’s home directory”. Earlier in the instructions/opt/akkomawas setup asakkoma’s home directory.It looks like you either chose a different home directory, or your
suis broken and silently accepts-lwithout actually changing the directory.[bug] If OTP installing guide we should change directory before 'su akkoma -s $SHELL -lc "./bin/pleroma_ctl instance gen ..."'to If OTP installing guide we should change directory before 'su akkoma -s $SHELL -lc "./bin/pleroma_ctl instance gen ..."'