1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00
This commit is contained in:
Limezy 2024-02-13 17:43:58 +07:00
commit ef0c72c1ee
2 changed files with 6 additions and 3 deletions

View file

@ -56,6 +56,9 @@ then
ynh_script_progression --message="Data migration finished"
ynh_script_progression --message="Data bucket was kept for safety, just in case !"
ynh_script_progression --message="Don't forget to remove MinIO app if you don't use it !"
db_name=$(ynh_sanitize_dbid --db_name=$app)
ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS uuid-ossp;" --database=$db_name
else
ynh_script_progression --message="No migration to be done"
fi
@ -100,7 +103,7 @@ ynh_script_progression --message="Running DB initial migration..."
pushd "$install_dir"
ynh_use_nodejs
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn db:migrate
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH NODE_ENV=production yarn db:migrate
popd
#=================================================

View file

@ -1,8 +1,8 @@
diff --git a/server/emails/mailer.tsx b/server/emails/mailer.tsx
index 4d4f6f09c..f457025d5 100644
index f53e44b6b..bcf56efca 100644
--- a/server/emails/mailer.tsx
+++ b/server/emails/mailer.tsx
@@ -208,6 +208,7 @@ export class Mailer {
@@ -207,6 +207,7 @@ export class Mailer {
: {
rejectUnauthorized: false,
},