5.6 KiB
Akkoma pour YunoHost
Ce package vous permet d’installer Akkoma rapidement et simplement sur un serveur YunoHost. Si vous n’avez pas YunoHost, regardez ici pour savoir comment l’installer et en profiter.
Vue d’ensemble
Akkoma is a microblogging server software that can federate (= exchange messages with) other servers that support ActivityPub. What that means is that you can host a server for yourself or your friends and stay in control of your online identity, but still exchange messages with people on larger decentrilized and federated network. Akkoma will federate with all servers that implement ActivityPub, like Friendica, GNU Social, Hubzilla, Mastodon, Misskey, Pleroma, Peertube, or Pixelfed.
Version incluse : 3.5.0~ynh3
Démo : https://otp.akkoma.dev
Captures d’écran
Avertissements / informations importantes
Limitations
- Require a dedicated root domain, eg.
akkoma.domain.tld
- 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 only a single Akkoma instance on a single server.
- LDAP supported but HTTP auth not.
- You can normaly upgrade a Pleroma instance to Akkoma... but not with Pleroma on Yunohost (work in progress).
Bugs
- Login fails if password contains special characters. See #4 for more explanation.
- Login fails for non YNH users if LDAP is activated (this is by default). See #15 for more explanation.
- No way to change user password from admin interface. May be related to previous bug. Work like charm from CLI.
Customization
This application come with the default frontend (Pleroma FE) and admin interface pre-installed and activated. There is also the Mangane front-end who is installed but not active. Note that you can choose other alternative public interfaces (Brutaldon, Fedi FE...) or even provide a custom one.
Mastodon frontend: if you installed the Mastodon FE package (from CLI or Admin interface) you can have access to an alternate user interface, similar the Mastodons or Glitch frontend. This frontend live alongside the default Pleroma FE: to access just add /web
at the end of your instance domain (eg. akkoma.domain.tld/web
).
Uploaded files size
By default, the web server NGINX is configured with a maximum value for uploading files at 50 MB. You can change the value only in akkoma under this limit. To go higher, you also need to change NGINX value on /etc/nginx/conf.d/my.domain.tld.d/akkoma.conf
: change client_max_body_size 50M;
value in order to do so.
Don't forget to reload NGINX sudo service nginx reload
settings and possibly restart Akkoma sudo service akkoma restart
for the changes to take effects.
NB: These settings are restored to the default configuration when updating Akkoma. Remember to restore your configuration after all updates. This should be improved in the future™️
Admin Tasks
Connect with SSH to your Yunohost as YNH admin user. For the commands syntax, have in mind the specificities of Yunohost Akkoma install.
Adding users
sudo su akkoma -s $SHELL -lc "/var/www/akkoma/live/bin/pleroma_ctl user new <userName> <userEmail>"
Password reset
sudo su akkoma -s $SHELL -lc "/var/www/akkoma/live/bin/pleroma_ctl user reset_password <userName>"
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.
sudo su akkoma -s $SHELL -lc "/var/www/akkoma/live/bin/pleroma_ctl user set <userName> --admin"
Note: --admin
option will make the user moderator and --no-admin
will take away the moderator privileges from the user.
Documentations et ressources
- Site officiel de l’app : https://akkoma.social/
- Documentation officielle de l’admin : https://docs.akkoma.dev/stable/
- Dépôt de code officiel de l’app : https://akkoma.dev/AkkomaGang/akkoma/
- Documentation YunoHost pour cette app : https://yunohost.org/app_akkoma
- Signaler un bug : https://github.com/YunoHost-Apps/akkoma_ynh/issues
Informations pour les développeurs
Merci de faire vos pull request sur la branche testing.
Pour essayer la branche testing, procédez comme suit.
sudo yunohost app install https://github.com/YunoHost-Apps/akkoma_ynh/tree/testing --debug
ou
sudo yunohost app upgrade akkoma -u https://github.com/YunoHost-Apps/akkoma_ynh/tree/testing --debug
Plus d’infos sur le packaging d’applications : https://yunohost.org/packaging_apps