mirror of
https://github.com/YunoHost-Apps/photoprism_ynh.git
synced 2024-09-03 19:56:41 +02:00
Test
This commit is contained in:
parent
fd0efde85f
commit
f7de3a3e8f
1 changed files with 10 additions and 0 deletions
|
@ -163,6 +163,16 @@ ynh_add_config --template="../conf/.env" --destination="$final_path/.env"
|
||||||
chmod 600 "$final_path/.env"
|
chmod 600 "$final_path/.env"
|
||||||
chown $app:$app "$final_path/.env"
|
chown $app:$app "$final_path/.env"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# RUNNNING DB MIGRATIONS
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Running database migrations..."
|
||||||
|
|
||||||
|
# Reset users table (after 2022.11.03)
|
||||||
|
# TODO : add a switch not to run the migration in other cases
|
||||||
|
|
||||||
|
ynh_exec_warn_less "$final_path/live/photoprism" users reset --yes
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue