mirror of
https://github.com/YunoHost-Apps/akkoma_ynh.git
synced 2024-09-03 20:36:17 +02:00
d204e911f2
Yes, the binary pleroma_ctl is supposed to be pleroma, not akkoma. At least for now.
37 lines
1.3 KiB
Markdown
37 lines
1.3 KiB
Markdown
## Login fails if password contains special characters
|
|
|
|
See [#4](https://github.com/YunoHost-Apps/akkoma_ynh/issues/4) for more explaination.
|
|
|
|
## Limitations
|
|
|
|
- **Akkoma** require a dedicated **root domain**, eg. akkoma.domain.tld
|
|
- **Akkoma** require a valid **certificate** installed on the domain. Yunohost can **install Letsencrypt certificate** on the domain from **admin web-interface** or through **command-line**.
|
|
- This package is currently set to **single-instance** that means you can run a **single Akkoma instance** on a **single server**.
|
|
- LDAP supported but HTTP auth not.
|
|
|
|
## Admin Tasks
|
|
Go to **cd /var/www/akkoma/live**.
|
|
|
|
### Adding users
|
|
|
|
**Run:**
|
|
|
|
$ ( cd /var/www/akkoma/live && sudo -u akkoma MIX_ENV=prod ./bin/pleroma_ctl user new <NICKNAME> <EMAIL> )
|
|
|
|
### Password reset
|
|
|
|
**Run:**
|
|
|
|
$ ( cd /var/www/akkoma/live && sudo -u akkoma MIX_ENV=prod ./bin/pleroma_ctl user reset_password <NICKNAME> )
|
|
|
|
This will generate a **password reset link** that you can then send to the user.
|
|
|
|
### Moderators
|
|
|
|
You can make users **moderators**. They will then be able to **delete any post**.
|
|
|
|
**Run:**
|
|
|
|
$ ( cd /var/www/akkoma/live && sudo -u akkoma MIX_ENV=prod ./bin/pleroma_ctl user set <NICKNAME> --[no-]admin )
|
|
|
|
**--admin** option will **make the user moderator** and **--no-admin** will **take away the moderator privileges** from the user.
|