Installation mattermost

#1

Bonjour a tous
Je tente d’installer Mattermost sur yunohost installé sur un pc 64 bits mais j’ai cette erreur qui apparait .
une idée svp

args:
  app: https://github.com/YunoHost-Apps/mattermost_ynh
  args: null
  force: false
  label: null
  no_remove_on_failure: false
ended_at: 2019-05-25 08:58:25.415006
env:
  YNH_APP_ARG_ADMIN_EMAIL: philox47@philoxweb.be
  YNH_APP_ARG_ADMIN_LOCALE: fr
  YNH_APP_ARG_ADMIN_PASSWORD: xxxxxxxxxxxxxxx
  YNH_APP_ARG_ANALYTICS: 1
  YNH_APP_ARG_DOMAIN: philoxweb.be
  YNH_APP_ARG_IS_PUBLIC: 1
  YNH_APP_ARG_TEAM_DISPLAY_NAME: philox47group
  YNH_APP_ID: mattermost
  YNH_APP_INSTANCE_NAME: mattermost
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_CWD: /var/cache/yunohost/from_file/mattermost_ynh-master/scripts
  YNH_STDINFO: /tmp/tmpazOrNA/stdinfo
  YNH_STDRETURN: /tmp/tmpPGgsf4/stdreturn
error: 'Une erreur inattendue est survenue : shell command return code: 1'
operation: app_install
related_to:
- - app
  - mattermost
started_at: 2019-05-25 08:58:22.602670
success: false

============

2019-05-25 10:58:22,620: INFO - Installation de l'application mattermost …
2019-05-25 10:58:22,869: DEBUG - Exécution de la commande 'sh -c YNH_APP_ARG_ADMIN_EMAIL=philox47@philoxweb.be YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ID=mattermost YNH_APP_ARG_TEAM_DISPLAY_NAME=philox47group YNH_APP_INSTANCE_NAME=mattermost YNH_STDINFO=/tmp/tmpazOrNA/stdinfo YNH_APP_ARG_ANALYTICS=1 YNH_APP_ARG_ADMIN_PASSWORD=Mistr@l30 YNH_CWD=/var/cache/yunohost/from_file/mattermost_ynh-master/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDRETURN=/tmp/tmpPGgsf4/stdreturn YNH_APP_ARG_ADMIN_LOCALE=fr YNH_APP_ARG_DOMAIN=philoxweb.be BASH_XTRACEFD=7 /bin/bash -x "./install" philoxweb.be 1 philox47@philoxweb.be Mistr@l30 fr philox47group 1 mattermost 7>&1' …
2019-05-25 10:58:22,870: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_ARG_ADMIN_EMAIL=philox47@philoxweb.be YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ID=mattermost YNH_APP_ARG_TEAM_DISPLAY_NAME=philox47group YNH_APP_INSTANCE_NAME=mattermost YNH_STDINFO=/tmp/tmpazOrNA/stdinfo YNH_APP_ARG_ANALYTICS=1 YNH_APP_ARG_ADMIN_PASSWORD=Mistr@l30 YNH_CWD=/var/cache/yunohost/from_file/mattermost_ynh-master/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDRETURN=/tmp/tmpPGgsf4/stdreturn YNH_APP_ARG_ADMIN_LOCALE=fr YNH_APP_ARG_DOMAIN=philoxweb.be BASH_XTRACEFD=7 /bin/bash -x "./install" philoxweb.be 1 philox47@philoxweb.be Mistr@l30 fr philox47group 1 mattermost 7>&1']'
2019-05-25 10:58:22,898: DEBUG - + source /usr/share/yunohost/helpers
2019-05-25 10:58:23,000: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-05-25 10:58:23,000: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,000: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
2019-05-25 10:58:23,001: DEBUG - ++ . /usr/share/yunohost/helpers.d/backend
2019-05-25 10:58:23,001: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,001: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/debug ']'
2019-05-25 10:58:23,002: DEBUG - ++ . /usr/share/yunohost/helpers.d/debug
2019-05-25 10:58:23,002: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,002: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
2019-05-25 10:58:23,003: DEBUG - ++ . /usr/share/yunohost/helpers.d/filesystem
2019-05-25 10:58:23,003: DEBUG - +++ source /usr/share/yunohost/helpers.d/getopts
2019-05-25 10:58:23,003: DEBUG - +++ CAN_BIND=1
2019-05-25 10:58:23,003: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,004: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-05-25 10:58:23,004: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-05-25 10:58:23,004: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,005: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
2019-05-25 10:58:23,005: DEBUG - ++ . /usr/share/yunohost/helpers.d/ip
2019-05-25 10:58:23,005: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,005: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-05-25 10:58:23,006: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-05-25 10:58:23,006: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-05-25 10:58:23,006: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,007: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-05-25 10:58:23,007: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-05-25 10:58:23,007: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,007: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-05-25 10:58:23,008: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-05-25 10:58:23,008: DEBUG - +++ n_install_dir=/opt/node_n
2019-05-25 10:58:23,008: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-05-25 10:58:23,009: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-05-25 10:58:23,009: DEBUG - +++ N_PREFIX=/opt/node_n
2019-05-25 10:58:23,009: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,009: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
2019-05-25 10:58:23,010: DEBUG - ++ . /usr/share/yunohost/helpers.d/package
2019-05-25 10:58:23,010: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,010: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
2019-05-25 10:58:23,011: DEBUG - ++ . /usr/share/yunohost/helpers.d/print
2019-05-25 10:58:23,011: DEBUG - +++ increment_progression=0
2019-05-25 10:58:23,011: DEBUG - +++ previous_weight=0
2019-05-25 10:58:23,011: DEBUG - ++++ date +%s
2019-05-25 10:58:23,012: DEBUG - +++ base_time=1558774702
2019-05-25 10:58:23,012: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,012: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
2019-05-25 10:58:23,013: DEBUG - ++ . /usr/share/yunohost/helpers.d/psql
2019-05-25 10:58:23,013: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-05-25 10:58:23,013: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,014: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-05-25 10:58:23,014: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-05-25 10:58:23,014: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,014: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-05-25 10:58:23,015: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-05-25 10:58:23,015: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,015: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
2019-05-25 10:58:23,016: DEBUG - ++ . /usr/share/yunohost/helpers.d/system
2019-05-25 10:58:23,016: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,016: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-05-25 10:58:23,016: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-05-25 10:58:23,017: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-05-25 10:58:23,017: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-05-25 10:58:23,017: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-05-25 10:58:23,018: DEBUG - + ynh_abort_if_errors
2019-05-25 10:58:23,018: DEBUG - + set -eu
2019-05-25 10:58:23,018: DEBUG - + trap ynh_exit_properly EXIT
2019-05-25 10:58:23,018: DEBUG - + app=mattermost
2019-05-25 10:58:23,019: DEBUG - + domain=philoxweb.be
2019-05-25 10:58:23,019: DEBUG - + is_public=1
2019-05-25 10:58:23,019: DEBUG - + admin_email=philox47@philoxweb.be
2019-05-25 10:58:23,020: DEBUG - + admin_password=Mistr@l30
2019-05-25 10:58:23,020: DEBUG - + admin_locale=fr
2019-05-25 10:58:23,020: DEBUG - + team_display_name=philox47group
2019-05-25 10:58:23,020: DEBUG - + analytics=1
2019-05-25 10:58:23,021: DEBUG - + path_url=/
2019-05-25 10:58:23,021: DEBUG - ++ uname -m
2019-05-25 10:58:23,021: DEBUG - + arch=x86_64
2019-05-25 10:58:23,022: DEBUG - + [[ x86_64 != \x\8\6\_\6\4 ]]
2019-05-25 10:58:23,022: DEBUG - ++ printf %s%s my sql
2019-05-25 10:58:23,022: DEBUG - + db_command=mysql
2019-05-25 10:58:23,022: DEBUG - ++ mysql --version
2019-05-25 10:58:23,023: DEBUG - + db_version='mysql  Ver 15.1 Distrib 10.1.38-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2'
2019-05-25 10:58:23,023: DEBUG - + [[ mysql  Ver 15.1 Distrib 10.1.38-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 == *\D\i\s\t\r\i\b\ \4\.* ]]
2019-05-25 10:58:23,023: DEBUG - + [[ mysql  Ver 15.1 Distrib 10.1.38-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 == *\D\i\s\t\r\i\b\ \5\.\0* ]]
2019-05-25 10:58:23,024: DEBUG - + [[ mysql  Ver 15.1 Distrib 10.1.38-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 == *\D\i\s\t\r\i\b\ \5\.\1* ]]
2019-05-25 10:58:23,024: DEBUG - + [[ mysql  Ver 15.1 Distrib 10.1.38-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 == *\D\i\s\t\r\i\b\ \5\.\2* ]]
2019-05-25 10:58:23,024: DEBUG - + [[ mysql  Ver 15.1 Distrib 10.1.38-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 == *\D\i\s\t\r\i\b\ \5\.\3* ]]
2019-05-25 10:58:23,024: DEBUG - + [[ mysql  Ver 15.1 Distrib 10.1.38-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 == *\D\i\s\t\r\i\b\ \5\.\4* ]]
2019-05-25 10:58:23,025: DEBUG - + [[ mysql  Ver 15.1 Distrib 10.1.38-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 == *\D\i\s\t\r\i\b\ \5\.\5* ]]
2019-05-25 10:58:23,025: DEBUG - ++ ynh_normalize_url_path /
2019-05-25 10:58:23,025: DEBUG - ++ local legacy_args=p
2019-05-25 10:58:23,026: DEBUG - ++ args_array=([p]=path_url=)
2019-05-25 10:58:23,026: DEBUG - ++ declare -Ar args_array
2019-05-25 10:58:23,026: DEBUG - ++ local path_url
2019-05-25 10:58:23,026: DEBUG - ++ ynh_handle_getopts_args /
2019-05-25 10:58:23,027: DEBUG - ++ set +x
2019-05-25 10:58:23,027: DEBUG - ++ echo '! Helper used in legacy mode !'
2019-05-25 10:58:23,027: DEBUG - ++ set +x
2019-05-25 10:58:23,028: DEBUG - ++ test -n /
2019-05-25 10:58:23,028: DEBUG - ++ '[' / '!=' / ']'
2019-05-25 10:58:23,028: DEBUG - ++ '[' / == / ']'
2019-05-25 10:58:23,028: DEBUG - ++ '[' 1 -gt 1 ']'
2019-05-25 10:58:23,029: DEBUG - ++ echo /
2019-05-25 10:58:23,029: DEBUG - + path_url=/
2019-05-25 10:58:23,029: DEBUG - + ynh_webpath_available philoxweb.be /
2019-05-25 10:58:23,030: DEBUG - + local legacy_args=dp
2019-05-25 10:58:23,030: DEBUG - + args_array=([d]=domain= [p]=path_url=)
2019-05-25 10:58:23,030: DEBUG - + declare -Ar args_array
2019-05-25 10:58:23,030: DEBUG - + local domain
2019-05-25 10:58:23,031: DEBUG - + local path_url
2019-05-25 10:58:23,031: DEBUG - + ynh_handle_getopts_args philoxweb.be /
2019-05-25 10:58:23,031: DEBUG - + set +x
2019-05-25 10:58:23,032: DEBUG - + echo '! Helper used in legacy mode !'
2019-05-25 10:58:23,032: DEBUG - + set +x
2019-05-25 10:58:23,032: DEBUG - + sudo yunohost domain url-available philoxweb.be /
2019-05-25 10:58:24,035: DEBUG - False
2019-05-25 10:58:24,138: DEBUG - + ynh_webpath_register mattermost philoxweb.be /
2019-05-25 10:58:24,138: DEBUG - + local legacy_args=adp
2019-05-25 10:58:24,138: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2019-05-25 10:58:24,139: DEBUG - + declare -Ar args_array
2019-05-25 10:58:24,139: DEBUG - + local app
2019-05-25 10:58:24,139: DEBUG - + local domain
2019-05-25 10:58:24,139: DEBUG - + local path_url
2019-05-25 10:58:24,140: DEBUG - + ynh_handle_getopts_args mattermost philoxweb.be /
2019-05-25 10:58:24,140: DEBUG - + set +x
2019-05-25 10:58:24,140: DEBUG - + echo '! Helper used in legacy mode !'
2019-05-25 10:58:24,141: DEBUG - + set +x
2019-05-25 10:58:24,141: DEBUG - + sudo yunohost app register-url mattermost philoxweb.be /
2019-05-25 10:58:25,144: WARNING - Cette URL n’est pas disponible ou est en conflit avec une application existante :
2019-05-25 10:58:25,146: WARNING -  * philoxweb.be/pad → Etherpad Mypads (etherpad_mypads)
2019-05-25 10:58:25,147: WARNING -  * philoxweb.be/baikal → Baikal (baikal)
2019-05-25 10:58:25,147: WARNING -  * philoxweb.be/jirafeau → Jirafeau (jirafeau)
2019-05-25 10:58:25,148: WARNING -  * philoxweb.be/vpnadmin → VPN Client (vpnclient)
2019-05-25 10:58:25,148: WARNING -  * philoxweb.be/webmail → Roundcube (roundcube)
2019-05-25 10:58:25,149: WARNING -  * philoxweb.be/piwigo → Piwigo (piwigo)
2019-05-25 10:58:25,149: WARNING -  * philoxweb.be/nextcloud → Nextcloud (nextcloud)
2019-05-25 10:58:25,150: WARNING -  * philoxweb.be/wifiadmin → Wifi Hotspot (hotspot)
2019-05-25 10:58:25,151: WARNING -  * philoxweb.be/neutrinet → Neutrinet (neutrinet)
2019-05-25 10:58:25,251: DEBUG - + ynh_exit_properly
2019-05-25 10:58:25,252: WARNING - !!
2019-05-25 10:58:25,253: DEBUG - + local exit_code=1
2019-05-25 10:58:25,253: WARNING -   mattermost's script has encountered an error. Its execution was cancelled.
2019-05-25 10:58:25,253: DEBUG - + '[' 1 -eq 0 ']'
2019-05-25 10:58:25,254: WARNING - !!
2019-05-25 10:58:25,254: DEBUG - + trap '' EXIT
2019-05-25 10:58:25,255: WARNING - 
2019-05-25 10:58:25,255: DEBUG - + set +eu
2019-05-25 10:58:25,255: DEBUG - + echo -e '!!\n  mattermost'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-05-25 10:58:25,256: DEBUG - + type -t ynh_clean_setup
2019-05-25 10:58:25,256: DEBUG - + ynh_die
2019-05-25 10:58:25,256: DEBUG - + local legacy_args=mc
2019-05-25 10:58:25,257: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-05-25 10:58:25,257: DEBUG - + declare -Ar args_array
2019-05-25 10:58:25,257: DEBUG - + local message
2019-05-25 10:58:25,257: DEBUG - + local ret_code
2019-05-25 10:58:25,258: DEBUG - + ynh_handle_getopts_args
2019-05-25 10:58:25,258: DEBUG - + set +x
2019-05-25 10:58:25,258: DEBUG - + echo ''
2019-05-25 10:58:25,259: DEBUG - + exit 1

#2

Bonjour,

Le journal / log fournit indique que l’adresse web n’est pas disponible pour l’instalation

2019-05-25 10:58:24,141: DEBUG - + sudo yunohost app register-url mattermost philoxweb.be /
2019-05-25 10:58:25,144: WARNING - Cette URL n’est pas disponible ou est en conflit avec une application existante :
2019-05-25 10:58:25,146: WARNING -  * philoxweb.be/pad → Etherpad Mypads (etherpad_mypads)
2019-05-25 10:58:25,147: WARNING -  * philoxweb.be/baikal → Baikal (baikal)
2019-05-25 10:58:25,147: WARNING -  * philoxweb.be/jirafeau → Jirafeau (jirafeau)
2019-05-25 10:58:25,148: WARNING -  * philoxweb.be/vpnadmin → VPN Client (vpnclient)
2019-05-25 10:58:25,148: WARNING -  * philoxweb.be/webmail → Roundcube (roundcube)
2019-05-25 10:58:25,149: WARNING -  * philoxweb.be/piwigo → Piwigo (piwigo)
2019-05-25 10:58:25,149: WARNING -  * philoxweb.be/nextcloud → Nextcloud (nextcloud)
2019-05-25 10:58:25,150: WARNING -  * philoxweb.be/wifiadmin → Wifi Hotspot (hotspot)

En regardant le paquet mattermost_ynh, il est indiqué que l’instalation fonctionne uniquement sur la racine (example.com/ ou blog.example.com/) mais pas sur (example.com/chat ou blog.example.com/chat)

De ce que je comprends, il faudrait donc utiliser des sous domaines ou installer Mattermost à la racine du nom de domaine

#3

Déjà grand merci a toi pour ta réponse
a la racine ce n’est pas possible je pense vu que c’est la page ou l’on voit toute les app qui ce trouve a la racine
Donc comme tu dis que cela ne peux être installé dans un sous domaine cela voudrait dire que l’on ne sait pas l’installer sur yunohost ???

#4

je viens de remarquer que j’avais laisser mon mots de passe da:sweat_smile:ns le journal je me suis donc empressé de le modifier pffff

#5

Ca veut juste dire qu il faut que tu créer un autre nom de domaine. Par exemple avec yunohost domaine create tonnomdedomaine
Puis.tu installe sur tonnomdedomaine

#6

Si tu souhaites utiliser des sous domaines comme indiqué ici https://yunohost.org/#/domains_fr, il faudra modifier la configuration DNS auprès de ton fournisseur DNS pour ajouter la redirection vers ton serveur https://yunohost.org/#/dns_fr

Et ajouter le domaine sur ton serveur YunoHost comme indiqué par @Petitminion

#7

Je vous remercie tous pour vos réponses et je vais réfléchir à tout ça ,cela me semble un peu au dessus de mes compétences actuelles mais bon .
Merci encore