From a5a48441cf9cbd05f41f4d20968d6c5c131359d8 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Sun, 14 Jul 2024 23:29:50 +0200 Subject: [PATCH 1/2] Fix db_port issue --- conf/env-machine-learning | 3 +++ conf/env-server | 1 + manifest.toml | 2 +- scripts/install | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/conf/env-machine-learning b/conf/env-machine-learning index f55dbf4..33fc0d9 100644 --- a/conf/env-machine-learning +++ b/conf/env-machine-learning @@ -1,3 +1,6 @@ +## General +IMMICH_VERSION=release + ## Ports IMMICH_HOST=127.0.0.1 IMMICH_PORT=__PORT_MACHINELEARNING__ diff --git a/conf/env-server b/conf/env-server index eb332ae..60b8344 100644 --- a/conf/env-server +++ b/conf/env-server @@ -2,6 +2,7 @@ NODE_ENV=production IMMICH_MEDIA_LOCATION=__DATA_DIR__ IMMICH_WEB_ROOT=__INSTALL_DIR__/app/www +IMMICH_VERSION=release ## Ports IMMICH_HOST=127.0.0.1 diff --git a/manifest.toml b/manifest.toml index 37b098d..f24c25a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Immich" description.en = "Photo and video backup solution directly from your mobile phone" description.fr = "Sauvegarde de photos et de vidéos directement depuis votre mobile" -version = "1.108.0~ynh1" +version = "1.108.0~ynh2" maintainers = ["ewilly"] diff --git a/scripts/install b/scripts/install index 3136367..e44f34b 100755 --- a/scripts/install +++ b/scripts/install @@ -39,7 +39,7 @@ ynh_script_progression --message="Creating a PostgreSQL database..." --weight=1 db_pwd=$(ynh_string_random) myynh_create_psql_db -db_port=$(myynh_execute_psql_as_root --sql="\conninfo" | cut -d'"' -f8) +db_port=$(myynh_execute_psql_as_root --sql="\conninfo" | awk -F '"' '{ print $(NF-1) }') ynh_app_setting_set --app="$app" --key=psql_pwd --value="$db_pwd" ynh_app_setting_set --app="$app" --key=psql_version --value="$(postgresql_version)" ynh_app_setting_set --app="$app" --key=psql_port --value="$db_port" From 2d4f36d5e076a742579a4d0cd3d2366993cddd79 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 14 Jul 2024 21:30:05 +0000 Subject: [PATCH 2/2] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 946f56a..cf1ae43 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Self-hosted photo and video management solution. - Easy-to-use and friendly interface ; -**Shipped version:** 1.108.0~ynh1 +**Shipped version:** 1.108.0~ynh2 ## Screenshots diff --git a/README_es.md b/README_es.md index fa9d595..002e75f 100644 --- a/README_es.md +++ b/README_es.md @@ -24,7 +24,7 @@ Self-hosted photo and video management solution. - Easy-to-use and friendly interface ; -**Versión actual:** 1.108.0~ynh1 +**Versión actual:** 1.108.0~ynh2 ## Capturas diff --git a/README_eu.md b/README_eu.md index 6ea2932..e856b3e 100644 --- a/README_eu.md +++ b/README_eu.md @@ -24,7 +24,7 @@ Self-hosted photo and video management solution. - Easy-to-use and friendly interface ; -**Paketatutako bertsioa:** 1.108.0~ynh1 +**Paketatutako bertsioa:** 1.108.0~ynh2 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index 237f310..7ece263 100644 --- a/README_fr.md +++ b/README_fr.md @@ -24,7 +24,7 @@ Solution d'autohébergement pour a gestion de vos photos et vidéos. - Interface conviviale et egronomique ; -**Version incluse :** 1.108.0~ynh1 +**Version incluse :** 1.108.0~ynh2 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index ebed2dd..ee242cd 100644 --- a/README_gl.md +++ b/README_gl.md @@ -24,7 +24,7 @@ Self-hosted photo and video management solution. - Easy-to-use and friendly interface ; -**Versión proporcionada:** 1.108.0~ynh1 +**Versión proporcionada:** 1.108.0~ynh2 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index f002407..c71289c 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -24,7 +24,7 @@ Self-hosted photo and video management solution. - Easy-to-use and friendly interface ; -**分发版本:** 1.108.0~ynh1 +**分发版本:** 1.108.0~ynh2 ## 截图