mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
Fix
This commit is contained in:
parent
c92fc49a82
commit
1cf4d5f84f
4 changed files with 12 additions and 11 deletions
|
@ -20,9 +20,6 @@
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
port_already_use=0
|
port_already_use=0
|
||||||
change_url=1
|
change_url=1
|
||||||
;;; Levels
|
|
||||||
# If the level 5 (Package linter) is forced to 1. Please add justifications here.
|
|
||||||
Level 5=auto
|
|
||||||
;;; Options
|
;;; Options
|
||||||
Email=
|
Email=
|
||||||
Notification=none
|
Notification=none
|
||||||
|
|
|
@ -22,7 +22,7 @@ about: When creating a bug report, please use the following template to provide
|
||||||
- Hardware: *VPS bought online / Old laptop or computer / Raspberry Pi at home / Internet Cube with VPN / Other ARM board / ...*
|
- Hardware: *VPS bought online / Old laptop or computer / Raspberry Pi at home / Internet Cube with VPN / Other ARM board / ...*
|
||||||
- YunoHost version: x.x.x
|
- YunoHost version: x.x.x
|
||||||
- I have access to my server: *Through SSH | through the webadmin | direct access via keyboard / screen | ...*
|
- I have access to my server: *Through SSH | through the webadmin | direct access via keyboard / screen | ...*
|
||||||
- Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?: *no / yes*
|
- Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: *no / yes*
|
||||||
- If yes, please explain:
|
- If yes, please explain:
|
||||||
- Using, or trying to install package version/branch:
|
- Using, or trying to install package version/branch:
|
||||||
- If upgrading, current package version: *can be found in the admin, or with `yunohost app info $app_id`*
|
- If upgrading, current package version: *can be found in the admin, or with `yunohost app info $app_id`*
|
||||||
|
|
|
@ -132,10 +132,12 @@ ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_fil
|
||||||
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="$final_path/.env"
|
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="$final_path/.env"
|
||||||
|
|
||||||
# Setup application config
|
# Setup application config
|
||||||
cd $final_path && php$phpversion artisan key:generate -n --force --env
|
pushd "$final_path"
|
||||||
cd $final_path && php$phpversion artisan migrate -n --force
|
php$phpversion artisan key:generate -n --force --env
|
||||||
cd $final_path && php$phpversion artisan config:clear -n
|
php$phpversion artisan migrate -n --force
|
||||||
cd $final_path && php$phpversion artisan config:cache -n
|
php$phpversion artisan config:clear -n
|
||||||
|
php$phpversion artisan config:cache -n
|
||||||
|
popd
|
||||||
|
|
||||||
# Setup custom user.css file
|
# Setup custom user.css file
|
||||||
cp ../conf/user.css.example $final_path/public/dist/user.css
|
cp ../conf/user.css.example $final_path/public/dist/user.css
|
||||||
|
|
|
@ -136,9 +136,11 @@ ynh_install_composer
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\"
|
ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\"
|
||||||
|
|
||||||
( cd $final_path && php$phpversion artisan migrate -n --force )
|
pushd "$final_path"
|
||||||
( cd $final_path && php$phpversion artisan config:clear -n )
|
php$phpversion artisan migrate -n --force
|
||||||
( cd $final_path && php$phpversion artisan config:cache -n )
|
php$phpversion artisan config:clear -n
|
||||||
|
php$phpversion artisan config:cache -n
|
||||||
|
popd
|
||||||
|
|
||||||
ynh_backup_if_checksum_is_different --file="$final_path/.env"
|
ynh_backup_if_checksum_is_different --file="$final_path/.env"
|
||||||
# Recalculate and store the checksum of the file for the next upgrade.
|
# Recalculate and store the checksum of the file for the next upgrade.
|
||||||
|
|
Loading…
Add table
Reference in a new issue