diff --git a/README.md b/README.md index bd98633..007ee46 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Misskey is a decentralized microblogging platform. Since it exists within the Fediverse (a universe where various social media platforms are organized), it is mutually linked with other social media platforms. -**Shipped version:** 12.110.0~ynh3 +**Shipped version:** 12.110.1~ynh1 @@ -30,10 +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 diff --git a/README_fr.md b/README_fr.md index 947addd..0dc5d94 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Misskey est une plateforme de microblogging décentralisée. Puisqu'il existe au sein du Fediverse (un univers où diverses plateformes de médias sociaux sont organisées), il est mutuellement lié à d'autres plateformes de médias sociaux. -**Version incluse :** 12.110.0~ynh3 +**Version incluse :** 12.110.1~ynh1 @@ -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. diff --git a/conf/app.src b/conf/app.src index fe688fc..2ffcab5 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/misskey-dev/misskey/archive/refs/tags/12.110.0.tar.gz -SOURCE_SUM=FDEC5E47B0A7BB9711D3414712FC47A38E45B2EDD54881344AEC710AB8658CE8 +SOURCE_URL=https://github.com/misskey-dev/misskey/archive/refs/tags/12.110.1.tar.gz +SOURCE_SUM=AA6465EA1135EBA876043125B7C1636FB0B29419A35528D588703A798F80807D SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/default.yml b/conf/default.yml index 01a726b..417fbfa 100644 --- a/conf/default.yml +++ b/conf/default.yml @@ -138,7 +138,7 @@ id: 'aid' #proxyRemoteFiles: true # Sign to ActivityPub GET request (default: false) -#signToActivityPubGet: true +signToActivityPubGet: true #allowedPrivateNetworks: [ # '127.0.0.1/32' diff --git a/conf/nginx.conf b/conf/nginx.conf index 54fc79b..7d01556 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -17,7 +17,8 @@ location / { proxy_cache_lock on; proxy_cache_use_stale updating; more_set_headers "X-Cache: $upstream_cache_status"; - + # Change to upload limit + client_max_body_size 80m; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; } diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 2f4c44a..5b51b53 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1,9 +1,10 @@ ### 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 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. diff --git a/manifest.json b/manifest.json index 3871119..dbb80de 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Microblogging platform", "fr": "Platforme de Microblogging" }, - "version": "12.110.0~ynh3", + "version": "12.110.1~ynh1", "url": "https://misskey-hub.net/", "upstream": { "license": "AGPL-3.0", diff --git a/scripts/install b/scripts/install index 6b2e860..eedcf6a 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 != "amd64" ] && [ $YNH_ARCH != "aarch64" ] && [ $YNH_ARCH != "arm64" ] +then + ynh_die --message="Sorry, but this app can only be installed on a 64 bits machine :(" +fi + final_path=/var/www/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder" 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 diff --git a/scripts/upgrade b/scripts/upgrade index 23b76e4..a0bb1d8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -67,6 +67,7 @@ if ynh_legacy_permissions_exists; then ynh_app_setting_delete --app=$app --key=is_public fi + #================================================= # STANDARD UPGRADE STEPS #=================================================