1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/akkoma_ynh.git synced 2024-09-03 20:36:17 +02:00

Merge pull request #3 from YunoHost-Apps/testing

Fix frontend management DB config
This commit is contained in:
lapineige 2023-01-01 17:53:23 +01:00 committed by GitHub
commit 9a29634720
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 3 deletions

View file

@ -21,7 +21,7 @@ Akkoma is a microblogging server software that can federate (= exchange messages
**Shipped version:** 3.5.0~ynh2
**Shipped version:** 3.5.0~ynh3
**Demo:** https://otp.akkoma.dev

View file

@ -21,7 +21,7 @@ Akkoma is a microblogging server software that can federate (= exchange messages
**Version incluse :** 3.5.0~ynh2
**Version incluse :** 3.5.0~ynh3
**Démo :** https://otp.akkoma.dev

View file

@ -6,7 +6,7 @@
"en": "A free, federated social networking server built on ActivityPub open protocol. Derivate of Pleroma.",
"fr": "Un serveur de réseautage social fédéré et gratuit basé sur le protocole ouvert ActivityPub. Derivé de Pleroma."
},
"version": "3.5.0~ynh2",
"version": "3.5.0~ynh3",
"url": "https://akkoma.social/",
"upstream": {
"license": "AGPL-3.0-only",

View file

@ -274,6 +274,14 @@ ynh_script_progression --message="Reloading NGINX web server..." --weight=1
ynh_systemd_action --service_name=nginx --action=reload
#=================================================
# POST INSTALL
#=================================================
# Correct path to 'static dir' in DB
# This must be done when Akkoma is running (i.e. after install and start)
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "$final_path/live/bin/pleroma_ctl config migrate_to_db"
#=================================================
# INSTALL BASIC FRONTENDS
#=================================================

View file

@ -289,6 +289,15 @@ ynh_script_progression --message="Reloading NGINX web server..." --weight=1
ynh_systemd_action --service_name=nginx --action=reload
#=================================================
# POST UPGRADE
#=================================================
# Correct path to 'static dir' in DB
# This must be done when Pleroma is running (i.e. after install/upgrade and start)
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "$final_path/live/bin/pleroma_ctl config migrate_to_db"
#=================================================
# END OF SCRIPT
#=================================================