From dbfb839aa4c66d502b7997ff5c7cc36f91f11415 Mon Sep 17 00:00:00 2001 From: Memo <58190287+memo-567@users.noreply.github.com> Date: Tue, 19 Apr 2022 13:44:17 +0200 Subject: [PATCH 1/8] Update DISCLAIMER.md --- doc/DISCLAIMER.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 2f4c44a..a56c4f8 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1,6 +1,7 @@ ### Important points to read before installing - *Misskey* require a dedicated root domain, eg. `misskey.domain.tld` +- Due to Cypress dependency, *Misskey* only works on 64-bit CPU machines. - *Misskey* can take quite some time to install (more then 30 minutes). So take out some time and grab yourself a coffee. - If installing from command line use of screen is rerecorded to avoid disconnection. See below. - After installation, first page can take time to load and may show timeout error. Give it time to make itself ready for you. Refresh page after 2-3 minutes. From f8635aa808f01db2755f4605c901f1b6506c2c7e Mon Sep 17 00:00:00 2001 From: Memo <58190287+memo-567@users.noreply.github.com> Date: Tue, 19 Apr 2022 13:45:51 +0200 Subject: [PATCH 2/8] Update DISCLAIMER_fr.md --- doc/DISCLAIMER_fr.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/DISCLAIMER_fr.md b/doc/DISCLAIMER_fr.md index 60503e7..a3ae654 100644 --- a/doc/DISCLAIMER_fr.md +++ b/doc/DISCLAIMER_fr.md @@ -1,6 +1,7 @@ ### Points importants à lire avant l'installation - *Misskey* nécessite un domaine racine dédié, par ex. `misskey.domain.tld` +- En raison de la dépendance de Cypress, *Misskey* ne fonctionne que sur les machines à processeur 64 bits. - *Misskey* peut prendre un certain temps à installer (plus de 30 minutes). Alors prenez un peu de temps et prenez un café. - Si l'installation à partir de la ligne de commande, l'utilisation de l'écran est réenregistrée pour éviter la déconnexion. Voir ci-dessous. - Après l'installation, la première page peut prendre du temps à charger et peut afficher une erreur de délai d'attente. Donnez-lui le temps de se préparer pour vous. Actualiser la page après 2-3 minutes. From be13e75ff88adf276949fcba0c11bdda4582dd15 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 19 Apr 2022 12:02:33 +0000 Subject: [PATCH 3/8] Auto-update README --- README.md | 1 + README_fr.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index bd98633..16ccde4 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ Misskey is a decentralized microblogging platform. Since it exists within the Fe ### Important points to read before installing - *Misskey* require a dedicated root domain, eg. `misskey.domain.tld` +- Due to Cypress dependency, *Misskey* only works on 64-bit CPU machines. - *Misskey* can take quite some time to install (more then 30 minutes). So take out some time and grab yourself a coffee. - If installing from command line use of screen is rerecorded to avoid disconnection. See below. - After installation, first page can take time to load and may show timeout error. Give it time to make itself ready for you. Refresh page after 2-3 minutes. diff --git a/README_fr.md b/README_fr.md index 947addd..c4edd9f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -26,6 +26,7 @@ Misskey est une plateforme de microblogging décentralisée. Puisqu'il existe au ### Points importants à lire avant l'installation - *Misskey* nécessite un domaine racine dédié, par ex. `misskey.domain.tld` +- En raison de la dépendance de Cypress, *Misskey* ne fonctionne que sur les machines à processeur 64 bits. - *Misskey* peut prendre un certain temps à installer (plus de 30 minutes). Alors prenez un peu de temps et prenez un café. - Si l'installation à partir de la ligne de commande, l'utilisation de l'écran est réenregistrée pour éviter la déconnexion. Voir ci-dessous. - Après l'installation, la première page peut prendre du temps à charger et peut afficher une erreur de délai d'attente. Donnez-lui le temps de se préparer pour vous. Actualiser la page après 2-3 minutes. From 307f796ab51752a079f7c4189ccf1ea54aa45262 Mon Sep 17 00:00:00 2001 From: Memo <58190287+memo-567@users.noreply.github.com> Date: Tue, 19 Apr 2022 16:56:14 +0200 Subject: [PATCH 4/8] Update install Stop the installation script if the system is not x64. --- scripts/install | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/install b/scripts/install index 6b2e860..628d669 100755 --- a/scripts/install +++ b/scripts/install @@ -35,6 +35,12 @@ app=$YNH_APP_INSTANCE_NAME #================================================= ynh_script_progression --message="Validating installation parameters..." --weight=1 +# Check machine architecture (in particular, we don't support ARM and 32bit machines) +if [ $YNH_ARCH == "i386" ] || [ $YNH_ARCH == "armel" ] || [ $YNH_ARCH == "armhf" ] +then + ynh_die --message="Sorry, but this app can only be installed on a x86, 64 bits machine :(" +fi + final_path=/var/www/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder" From e0b17f9a86aec155a1bd492bc35fc46a03805bc4 Mon Sep 17 00:00:00 2001 From: Memo <58190287+memo-567@users.noreply.github.com> Date: Tue, 19 Apr 2022 17:17:12 +0200 Subject: [PATCH 5/8] typo removed --- doc/DISCLAIMER.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 2f4c44a..3ac0703 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1,9 +1,9 @@ ### Important points to read before installing -- *Misskey* require a dedicated root domain, eg. `misskey.domain.tld` +- *Misskey* requires a dedicated root domain, e.g. `misskey.domain.tld` - *Misskey* can take quite some time to install (more then 30 minutes). So take out some time and grab yourself a coffee. -- If installing from command line use of screen is rerecorded to avoid disconnection. See below. -- After installation, first page can take time to load and may show timeout error. Give it time to make itself ready for you. Refresh page after 2-3 minutes. +- If installing from command line, using `screen` is recommended to avoid disconnection. See below. +- After installation, first page can take time to load and may show timeout error. Give it time to make itself ready for you. Refresh the page after 2 or 3 minutes. - The first account created will be an admin user and will have all the admin rights. Using screen in case of disconnects From 363e5384a4df0bd6ac1d4e7891f563afaf629952 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 19 Apr 2022 15:21:17 +0000 Subject: [PATCH 6/8] Auto-update README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 16ccde4..0363eb4 100644 --- a/README.md +++ b/README.md @@ -30,11 +30,11 @@ Misskey is a decentralized microblogging platform. Since it exists within the Fe ### Important points to read before installing -- *Misskey* require a dedicated root domain, eg. `misskey.domain.tld` +- *Misskey* requires a dedicated root domain, e.g. `misskey.domain.tld` - Due to Cypress dependency, *Misskey* only works on 64-bit CPU machines. - *Misskey* can take quite some time to install (more then 30 minutes). So take out some time and grab yourself a coffee. -- If installing from command line use of screen is rerecorded to avoid disconnection. See below. -- After installation, first page can take time to load and may show timeout error. Give it time to make itself ready for you. Refresh page after 2-3 minutes. +- If installing from command line, using `screen` is recommended to avoid disconnection. See below. +- After installation, first page can take time to load and may show timeout error. Give it time to make itself ready for you. Refresh the page after 2 or 3 minutes. - The first account created will be an admin user and will have all the admin rights. Using screen in case of disconnects From 2cdfd358dff1a14f67ef3cc3e1755bcedb4f0116 Mon Sep 17 00:00:00 2001 From: Memo <58190287+memo-567@users.noreply.github.com> Date: Thu, 21 Apr 2022 20:23:35 +0200 Subject: [PATCH 7/8] Update scripts/install Co-authored-by: tituspijean --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 628d669..eedcf6a 100755 --- a/scripts/install +++ b/scripts/install @@ -36,9 +36,9 @@ app=$YNH_APP_INSTANCE_NAME ynh_script_progression --message="Validating installation parameters..." --weight=1 # Check machine architecture (in particular, we don't support ARM and 32bit machines) -if [ $YNH_ARCH == "i386" ] || [ $YNH_ARCH == "armel" ] || [ $YNH_ARCH == "armhf" ] +if [ $YNH_ARCH != "amd64" ] && [ $YNH_ARCH != "aarch64" ] && [ $YNH_ARCH != "arm64" ] then - ynh_die --message="Sorry, but this app can only be installed on a x86, 64 bits machine :(" + ynh_die --message="Sorry, but this app can only be installed on a 64 bits machine :(" fi final_path=/var/www/$app From a2f6e8bf5e51c33288e7efd6dbbb12a9cd10720a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 23 Apr 2022 14:09:39 +0200 Subject: [PATCH 8/8] Update remove --- scripts/remove | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/remove b/scripts/remove index 0da75b1..b21bea2 100755 --- a/scripts/remove +++ b/scripts/remove @@ -21,6 +21,7 @@ port=$(ynh_app_setting_get --app=$app --key=port) db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=$db_name final_path=$(ynh_app_setting_get --app=$app --key=final_path) +redis_db=$(ynh_app_setting_get --app=$app --key=redis_db) #================================================= # STANDARD REMOVE