mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
Fix
This commit is contained in:
parent
e70e82865c
commit
a34f363210
3 changed files with 12 additions and 12 deletions
|
@ -3,7 +3,7 @@
|
||||||
* The admin panel is available directly from the Movim UI once an admin user is logged in. To set a user admin login at least once (to register it in the database). You can then set him admin using the following command.
|
* The admin panel is available directly from the Movim UI once an admin user is logged in. To set a user admin login at least once (to register it in the database). You can then set him admin using the following command.
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo php7.4 /var/www/movim/daemon.php setAdmin {jid}
|
sudo php8.0 /var/www/movim/daemon.php setAdmin {jid}
|
||||||
```
|
```
|
||||||
|
|
||||||
The administrators will be listed on the login page of the instance.
|
The administrators will be listed on the login page of the instance.
|
|
@ -3,7 +3,7 @@
|
||||||
* Le panneau d'administration est disponible directement à partir de l'interface utilisateur MOVIM une fois qu'un utilisateur administrateur est connecté. Pour définir un administrateur, connectez-vous au moins une fois (pour l'enregistrer dans la base de données). Vous pouvez ensuite le régler comme administrateur à l'aide de la commande suivante :
|
* Le panneau d'administration est disponible directement à partir de l'interface utilisateur MOVIM une fois qu'un utilisateur administrateur est connecté. Pour définir un administrateur, connectez-vous au moins une fois (pour l'enregistrer dans la base de données). Vous pouvez ensuite le régler comme administrateur à l'aide de la commande suivante :
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo php7.4 /var/www/movim/daemon.php setAdmin {jid}
|
sudo php8.0 /var/www/movim/daemon.php setAdmin {jid}
|
||||||
```
|
```
|
||||||
|
|
||||||
Les administrateurs seront inscrits sur la page de connexion de l'instance.
|
Les administrateurs seront inscrits sur la page de connexion de l'instance.
|
|
@ -72,6 +72,16 @@ chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# SPECIFIC RESTORATION
|
||||||
|
#=================================================
|
||||||
|
# REINSTALL DEPENDENCIES
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Reinstalling dependencies..."
|
||||||
|
|
||||||
|
# Define and install dependencies
|
||||||
|
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE PHP-FPM CONFIGURATION
|
# RESTORE THE PHP-FPM CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -83,16 +93,6 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||||
ynh_add_fpm_config
|
ynh_add_fpm_config
|
||||||
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# SPECIFIC RESTORATION
|
|
||||||
#=================================================
|
|
||||||
# REINSTALL DEPENDENCIES
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Reinstalling dependencies..."
|
|
||||||
|
|
||||||
# Define and install dependencies
|
|
||||||
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE POSTGRESQL DATABASE
|
# RESTORE THE POSTGRESQL DATABASE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue