[solved] Impossible installer Mastodon | This url is not available or conflicts with the already installed app(s)?

Bonjour,

J’essaie d’installer Mastodon sur un YNH à jour et installé sur un VPS OVH avec 4 GB de RAM.

Message
https://paste.yunohost.org/raw/epaxiwayuf

args:
app: mastodon
args: domain=bacasable.eu&admin=jrelland&is_public=1&language=fr_FR
force: false
label: Mastodon
no_remove_on_failure: false
ended_at: 2019-07-13 08:06:28.732910
env:
YNH_APP_ARG_ADMIN: jrelland
YNH_APP_ARG_DOMAIN: bacasable.eu
YNH_APP_ARG_IS_PUBLIC: 1
YNH_APP_ARG_LANGUAGE: fr_FR
YNH_APP_ID: mastodon
YNH_APP_INSTANCE_NAME: mastodon
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_CWD: /var/cache/yunohost/from_file/mastodon_ynh-1e7c4fa7f7e965b718c448cc9068c27605f964ed/scripts
YNH_INTERFACE: api
YNH_STDINFO: /tmp/tmpEhp66P/stdinfo
YNH_STDRETURN: /tmp/tmpk6u3gE/stdreturn
error: ‘An unexpected error occured: shell command return code: 1’
operation: app_install
related_to:

    • app
    • mastodon
      started_at: 2019-07-13 08:06:26.234285
      success: false

Je note ce passage :slight_smile:

sudo yunohost app register-url mastodon bacasable.eu /
2019-07-13 10:06:28,077: DEBUG - + ynh_exit_properly
2019-07-13 10:06:28,077: WARNING - This url is not available or conflicts with the already installed app(s):
2019-07-13 10:06:28,078: DEBUG - + local exit_code=1
2019-07-13 10:06:28,078: WARNING - * bacasable.eu/baikal → Baikal (baikal)
2019-07-13 10:06:28,079: DEBUG - + ‘[’ 1 -eq 0 ‘]’
2019-07-13 10:06:28,079: WARNING - * bacasable.eu/strut → Strut (strut)
2019-07-13 10:06:28,079: DEBUG - + trap ‘’ EXIT
2019-07-13 10:06:28,079: WARNING - * bacasable.eu/opensondage → OpenSondage (opensondage)
2019-07-13 10:06:28,079: DEBUG - + set +eu
2019-07-13 10:06:28,080: WARNING - * bacasable.eu/wallabag → Wallabag (wallabag2)
2019-07-13 10:06:28,080: DEBUG - + sleep 0.5
2019-07-13 10:06:28,080: WARNING - * bacasable.eu/jupyterlab → JupyterLab (jupyterlab)
2019-07-13 10:06:28,081: WARNING - * bacasable.eu/web********** → Roundcube (roundcube)
2019-07-13 10:06:28,082: WARNING - * bacasable.eu/ttrss → Tiny Tiny RSS (ttrss)
2019-07-13 10:06:28,082: WARNING - * bacasable.eu/nextcloud → Nextcloud (nextcloud)
2019-07-13 10:06:28,082: WARNING - * bacasable.eu/agendav → AgenDAV (agendav)
2019-07-13 10:06:28,083: WARNING - * bacasable.eu/main → Tricassinux Landing Page (wordpress)
2019-07-13 10:06:28,083: WARNING - * bacasable.eu/phpmyadmin → phpMyAdmin (phpmyadmin)
2019-07-13 10:06:28,087: WARNING - * bacasable.eu/piwigo → Piwigo (piwigo)
2019-07-13 10:06:28,087: WARNING - * bacasable.eu/dokuwiki → Dokuwiki (dokuwiki)
2019-07-13 10:06:28,589: DEBUG - + ynh_print_err ‘–message=!!\n mastodon’'‘s script has encountered an error. Its execution was cancelled.\n!!’

sudo yunohost app register-url mastodon bacasable.eu /
WARNING - This url is not available or conflicts with the already installed app(s):

J’ai vérifié dans mon interface admin, il n’y a aucune instance Mastodon sur mon serveur et le répertoire /mastodon/ est disponible.

Par contre, il n’est nécessaire de s’inscrire sur https://joinmastodon.org/ ?
Le script fait juste une inscription pour tracer mon pod ?

Merci d’un retour.

Amicalement. José

Salut,

Mastodon a besoin d’un nom de domaine dédié.

Il faut d’abord que tu crées par exemple le domaine mastodon.bacasable.eu

Bonjour et merci de ce retour
J’ai pu l’installer mais le FF me dit qu’il y a un pb:

Did Not Connect: Potential Security Issue

https://mastodon.bacasable.eu/
Peer’s Certificate issuer is not recognized.
HTTP Strict Transport Security: true
HTTP Public Key Pinning: false

Ce que j’ai fait :slight_smile:
J’ai créé le sous-demaine

mastodon 3600 IN A 51.77.244.2

Vérifier le certificat Let’s Encrypt qui semble OK

J’ai ajouté les dns selon les recommandations, surtout XMPP

XMPP
_xmpp-client._tcp 3600 IN SRV 0 5 5222 mastodon.bacasable.eu.
_xmpp-server._tcp 3600 IN SRV 0 5 5269 mastodon.bacasable.eu.

Sauf ceci qui existait déjà :slight_smile:

muc 3600 IN CNAME @
pubsub 3600 IN CNAME @
vjud 3600 IN CNAME @

J’ai ajouté les dns mail de mastodon même si je pense que c’est pas utile.

J’ai attendu un quart d’heure après qu’OVH me dise que la modif a été implanté.

Mais, le navigateur indique l’erreur ci-dessus.

Merci d’un retour.

Amicalement, José

Ca y est, ça marche

Pour info @Aleks
Oups !
Attention, je retrouve ce même problème.

Le certificat a été attribué à
Certification authority
Self-signed (jreservices.nohost.me)

c’est à dire un autre nom de domaine que je n’utilise plus.
Ce n’est pas la première fois qu’il y a cette confusion.

Je me demande comment définitivement effacer les référence à xxx.nohost.me

Amicalement, José

Si c’etait ton premier domaine, alors c’est probablement aussi le nom de l’autorité de certification locale qui a été créée (pour les certifs auto-signé)

Effectivement, si l’on supprime le tout premier domaine, il reste encore des references à ce domaine, car il faudrait re-generer une autorité de certification locale. C’est plus ou moins un bug ou un truc confusionant, et il faudrait le fixer, mais ce n’est pas vraiment un problème en soi non plus …