Putting Diaspora back in working state / Remettre diaspora d'équerre

Hi everyone!

I’m currently working on repairing diaspora_ynh. You can find my branch here

It’s working for me, but any feedbacks and tests are still welcome of course.

Main items In my TODO:

  • write backup and restore scripts
  • user integration (still unclear on the “how” though)

Thanks!


Salut à tous!

Je travaille actuellement à réparer l’appli diaspora_yhn. Ma branche est ici.

Ça marche déjà chez moi, mais je suis complètement preneur de retours et de tests supplémentaires.

Dans ma TODO, de façon non-exhaustive:

  • écrire les scripts de backups et de restoration
  • s’intégrer avec les utilisateurs yunohost (mais la façon concrète n’est pas encore clair pour moi)

Merci !

3 Likes

Salut autra,
J’ai un probléme a l’installation

    args:
  app: diaspora
  args: domain=dias.domain2.tld&admin=mensoif&admin_password='**********'
  force: false
  label: Diaspora
  no_remove_on_failure: false
ended_at: 2020-06-01 13:21:38.695452
env:
  YNH_APP_ARG_ADMIN: mensoif
  YNH_APP_ARG_ADMIN_PASSWORD: '**********'
  YNH_APP_ARG_DOMAIN: dias.domain2.tld
  YNH_APP_ID: diaspora
  YNH_APP_INSTANCE_NAME: diaspora
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_CWD: /var/cache/yunohost/from_file/diaspora_ynh-c27edb1f7dfa90afb239ff568d0651472bf06968/scripts
  YNH_INTERFACE: api
  YNH_STDINFO: /tmp/tmpNrU8If/stdinfo
  YNH_STDRETURN: /tmp/tmpQ2CiOx/stdreturn
error: "Une erreur est survenue dans le script d\u2019installation de l\u2019application"
operation: app_install
related_to:
- - app
  - diaspora
started_at: 2020-06-01 13:21:28.970734
success: false

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

2020-06-01 13:21:28,973: INFO - Installation de l’application diaspora …
2020-06-01 13:21:29,013: DEBUG - The permission database has been resynchronized
2020-06-01 13:21:29,837: DEBUG - La configuration de SSOwat générée
2020-06-01 13:21:29,849: DEBUG - No default hook for action 'post_app_addaccess' in /usr/share/yunohost/hooks/
2020-06-01 13:21:29,849: DEBUG - No custom hook for action 'post_app_addaccess' in /etc/yunohost/hooks.d/
2020-06-01 13:21:29,850: DEBUG - Permission 'diaspora.main' créée
2020-06-01 13:21:29,850: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20200601-132129-permission_create-diaspora" style="text-decoration:underline"> Créer permission 'diaspora' </a>'
2020-06-01 13:21:29,853: DEBUG - Exécution de la commande 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/diaspora_ynh-c27edb1f7dfa90afb239ff568d0651472bf06968/scripts YNH_STDINFO=/tmp/tmpNrU8If/stdinfo YNH_APP_ARG_ADMIN_PASSWORD=********** YNH_APP_INSTANCE_NAME=diaspora YNH_APP_ARG_ADMIN=mensoif YNH_INTERFACE=api YNH_APP_ID=diaspora YNH_STDRETURN=/tmp/tmpQ2CiOx/stdreturn YNH_APP_ARG_DOMAIN=dias.domain2.tld BASH_XTRACEFD=7 /bin/bash -x "./install" dias.domain2.tld mensoif ********** diaspora 7>&1' …
2020-06-01 13:21:29,853: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/diaspora_ynh-c27edb1f7dfa90afb239ff568d0651472bf06968/scripts YNH_STDINFO=/tmp/tmpNrU8If/stdinfo YNH_APP_ARG_ADMIN_PASSWORD=********** YNH_APP_INSTANCE_NAME=diaspora YNH_APP_ARG_ADMIN=mensoif YNH_INTERFACE=api YNH_APP_ID=diaspora YNH_STDRETURN=/tmp/tmpQ2CiOx/stdreturn YNH_APP_ARG_DOMAIN=dias.domain2.tld BASH_XTRACEFD=7 /bin/bash -x "./install" dias.domain2.tld mensoif ********** diaspora 7>&1']'
2020-06-01 13:21:29,865: DEBUG - + can_remove_db=0
2020-06-01 13:21:29,866: DEBUG - + can_remove_home=0
2020-06-01 13:21:29,866: DEBUG - + can_remove_user=0
2020-06-01 13:21:29,866: DEBUG - + should_display_rvm_log=0
2020-06-01 13:21:29,866: DEBUG - + source _common.sh
2020-06-01 13:21:29,867: DEBUG - ++ pkg_dependencies='build-essential cmake libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev imagemagick ghostscript curl libmagickwand-dev git libpq-dev redis-server nodejs postgresql bison '
2020-06-01 13:21:29,867: DEBUG - ++ ruby_build_dependencies='bison libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev libyaml-dev pkg-config sqlite3 zlib1g-dev libgmp-dev libreadline-dev libssl-dev'
2020-06-01 13:21:29,867: DEBUG - + source /usr/share/yunohost/helpers
2020-06-01 13:21:29,867: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2020-06-01 13:21:29,867: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,867: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2020-06-01 13:21:29,868: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2020-06-01 13:21:29,868: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,868: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2020-06-01 13:21:29,868: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2020-06-01 13:21:29,868: DEBUG - +++ CAN_BIND=1
2020-06-01 13:21:29,869: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,869: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2020-06-01 13:21:29,869: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2020-06-01 13:21:29,869: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,869: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2020-06-01 13:21:29,869: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2020-06-01 13:21:29,870: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,870: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/hardware ']'
2020-06-01 13:21:29,870: DEBUG - ++ . /usr/share/yunohost/helpers.d/hardware
2020-06-01 13:21:29,870: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,870: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2020-06-01 13:21:29,870: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2020-06-01 13:21:29,871: DEBUG - +++ increment_progression=0
2020-06-01 13:21:29,871: DEBUG - +++ previous_weight=0
2020-06-01 13:21:29,871: DEBUG - +++ max_progression=-1
2020-06-01 13:21:29,871: DEBUG - +++ progress_scale=20
2020-06-01 13:21:29,871: DEBUG - +++ progress_string2='####################'
2020-06-01 13:21:29,871: DEBUG - +++ progress_string1=++++++++++++++++++++
2020-06-01 13:21:29,872: DEBUG - +++ progress_string0=....................
2020-06-01 13:21:29,872: DEBUG - ++++ date +%s
2020-06-01 13:21:29,872: DEBUG - +++ base_time=1591017689
2020-06-01 13:21:29,872: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,872: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2020-06-01 13:21:29,872: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2020-06-01 13:21:29,873: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,873: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2020-06-01 13:21:29,873: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2020-06-01 13:21:29,873: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2020-06-01 13:21:29,873: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,873: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2020-06-01 13:21:29,874: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2020-06-01 13:21:29,874: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,874: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2020-06-01 13:21:29,874: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2020-06-01 13:21:29,874: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,874: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2020-06-01 13:21:29,875: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2020-06-01 13:21:29,875: DEBUG - +++ n_install_dir=/opt/node_n
2020-06-01 13:21:29,875: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2020-06-01 13:21:29,875: DEBUG - +++ export N_PREFIX=/opt/node_n
2020-06-01 13:21:29,875: DEBUG - +++ N_PREFIX=/opt/node_n
2020-06-01 13:21:29,976: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,976: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2020-06-01 13:21:29,976: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2020-06-01 13:21:29,976: DEBUG - +++ readonly YNH_DEFAULT_PHP_VERSION=7.0
2020-06-01 13:21:29,976: DEBUG - +++ YNH_DEFAULT_PHP_VERSION=7.0
2020-06-01 13:21:29,977: DEBUG - +++ YNH_PHP_VERSION=7.0
2020-06-01 13:21:29,977: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,977: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2020-06-01 13:21:29,977: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2020-06-01 13:21:29,977: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2020-06-01 13:21:29,977: DEBUG - +++ PSQL_VERSION=9.6
2020-06-01 13:21:29,978: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,978: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2020-06-01 13:21:29,978: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2020-06-01 13:21:29,978: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,978: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2020-06-01 13:21:29,978: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2020-06-01 13:21:29,979: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,979: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2020-06-01 13:21:29,979: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2020-06-01 13:21:29,979: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,979: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2020-06-01 13:21:29,979: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2020-06-01 13:21:29,980: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-06-01 13:21:29,980: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2020-06-01 13:21:29,980: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2020-06-01 13:21:29,980: DEBUG - + ynh_abort_if_errors
2020-06-01 13:21:29,980: DEBUG - + set -o errexit
2020-06-01 13:21:29,980: DEBUG - + set -o nounset
2020-06-01 13:21:29,981: DEBUG - + trap ynh_exit_properly EXIT
2020-06-01 13:21:29,981: DEBUG - + domain=dias.domain2.tld
2020-06-01 13:21:29,981: DEBUG - + admin=mensoif
2020-06-01 13:21:29,981: DEBUG - + admin_password=**********
2020-06-01 13:21:29,981: DEBUG - ++ ynh_user_get_info --username=mensoif --key=mail
2020-06-01 13:21:29,981: DEBUG - ++ local legacy_args=uk
2020-06-01 13:21:29,982: DEBUG - ++ args_array=([u]=username= [k]=key=)
2020-06-01 13:21:29,982: DEBUG - ++ local -A args_array
2020-06-01 13:21:29,982: DEBUG - ++ local username
2020-06-01 13:21:29,982: DEBUG - ++ local key
2020-06-01 13:21:29,982: DEBUG - ++ ynh_handle_getopts_args --username=mensoif --key=mail
2020-06-01 13:21:29,982: DEBUG - ++ set +o xtrace
2020-06-01 13:21:29,983: DEBUG - ++ yunohost user info mensoif --output-as plain
2020-06-01 13:21:29,983: DEBUG - ++ ynh_get_plain_key mail
2020-06-01 13:21:29,983: DEBUG - ++ local prefix=#
2020-06-01 13:21:29,983: DEBUG - ++ local founded=0
2020-06-01 13:21:29,983: DEBUG - ++ local key_=mail
2020-06-01 13:21:29,983: DEBUG - ++ shift
2020-06-01 13:21:29,983: DEBUG - ++ read line
2020-06-01 13:21:30,184: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,185: DEBUG - ++ [[ #username =~ ^#mail$ ]]
2020-06-01 13:21:30,185: DEBUG - ++ read line
2020-06-01 13:21:30,185: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,185: DEBUG - ++ [[ mensoif =~ ^#mail$ ]]
2020-06-01 13:21:30,185: DEBUG - ++ read line
2020-06-01 13:21:30,185: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,186: DEBUG - ++ [[ #firstname =~ ^#mail$ ]]
2020-06-01 13:21:30,186: DEBUG - ++ read line
2020-06-01 13:21:30,186: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,186: DEBUG - ++ [[ Mensoif =~ ^#mail$ ]]
2020-06-01 13:21:30,186: DEBUG - ++ read line
2020-06-01 13:21:30,186: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,186: DEBUG - ++ [[ #lastname =~ ^#mail$ ]]
2020-06-01 13:21:30,187: DEBUG - ++ read line
2020-06-01 13:21:30,187: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,187: DEBUG - ++ [[ Gérard =~ ^#mail$ ]]
2020-06-01 13:21:30,187: DEBUG - ++ read line
2020-06-01 13:21:30,187: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,187: DEBUG - ++ [[ #mailbox-quota =~ ^#mail$ ]]
2020-06-01 13:21:30,188: DEBUG - ++ read line
2020-06-01 13:21:30,188: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,188: DEBUG - ++ [[ ##use =~ ^#mail$ ]]
2020-06-01 13:21:30,188: DEBUG - ++ read line
2020-06-01 13:21:30,188: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,188: DEBUG - ++ [[ 13.2M =~ ^#mail$ ]]
2020-06-01 13:21:30,189: DEBUG - ++ read line
2020-06-01 13:21:30,189: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,189: DEBUG - ++ [[ ##limit =~ ^#mail$ ]]
2020-06-01 13:21:30,189: DEBUG - ++ read line
2020-06-01 13:21:30,189: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,189: DEBUG - ++ [[ No quota =~ ^#mail$ ]]
2020-06-01 13:21:30,190: DEBUG - ++ read line
2020-06-01 13:21:30,190: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,190: DEBUG - ++ [[ #mail-aliases =~ ^#mail$ ]]
2020-06-01 13:21:30,190: DEBUG - ++ read line
2020-06-01 13:21:30,190: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,190: DEBUG - ++ [[ root@maindomain.tld =~ ^#mail$ ]]
2020-06-01 13:21:30,190: DEBUG - ++ read line
2020-06-01 13:21:30,191: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,191: DEBUG - ++ [[ admin@maindomain.tld =~ ^#mail$ ]]
2020-06-01 13:21:30,191: DEBUG - ++ read line
2020-06-01 13:21:30,191: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,191: DEBUG - ++ [[ webmaster@maindomain.tld =~ ^#mail$ ]]
2020-06-01 13:21:30,191: DEBUG - ++ read line
2020-06-01 13:21:30,192: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,192: DEBUG - ++ [[ postmaster@maindomain.tld =~ ^#mail$ ]]
2020-06-01 13:21:30,192: DEBUG - ++ read line
2020-06-01 13:21:30,192: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,192: DEBUG - ++ [[ mensoif@domain2.tld =~ ^#mail$ ]]
2020-06-01 13:21:30,192: DEBUG - ++ read line
2020-06-01 13:21:30,193: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,193: DEBUG - ++ [[ tele-quebec@domain2.tld =~ ^#mail$ ]]
2020-06-01 13:21:30,193: DEBUG - ++ read line
2020-06-01 13:21:30,193: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,193: DEBUG - ++ [[ webmaster@domain3.tld =~ ^#mail$ ]]
2020-06-01 13:21:30,193: DEBUG - ++ read line
2020-06-01 13:21:30,194: DEBUG - ++ [[ 0 == \1 ]]
2020-06-01 13:21:30,194: DEBUG - ++ [[ #mail =~ ^#mail$ ]]
2020-06-01 13:21:30,194: DEBUG - ++ [[ -n '' ]]
2020-06-01 13:21:30,194: DEBUG - ++ founded=1
2020-06-01 13:21:30,194: DEBUG - ++ read line
2020-06-01 13:21:30,194: DEBUG - ++ [[ 1 == \1 ]]
2020-06-01 13:21:30,195: DEBUG - ++ [[ mensoif@maindomain.tld =~ ^#[^#] ]]
2020-06-01 13:21:30,195: DEBUG - ++ echo mensoif@maindomain.tld
2020-06-01 13:21:30,195: DEBUG - ++ read line
2020-06-01 13:21:30,195: DEBUG - ++ [[ 1 == \1 ]]
2020-06-01 13:21:30,195: DEBUG - ++ [[ #fullname =~ ^#[^#] ]]
2020-06-01 13:21:30,195: DEBUG - ++ return
2020-06-01 13:21:30,196: DEBUG - + admin_email=mensoif@maindomain.tld
2020-06-01 13:21:30,196: DEBUG - + app=diaspora
2020-06-01 13:21:30,196: DEBUG - + final_path=/var/www/diaspora
2020-06-01 13:21:30,196: DEBUG - + ynh_script_progression '--message=Validating installation parameters...' --weight=1
2020-06-01 13:21:30,196: DEBUG - + set +o xtrace
2020-06-01 13:21:30,297: DEBUG - + set +o xtrace
2020-06-01 13:21:30,297: INFO - [....................] > Validating installation parameters...
2020-06-01 13:21:30,298: DEBUG - + echo '! Helper used in legacy mode !'
2020-06-01 13:21:30,298: DEBUG - + set +x
2020-06-01 13:21:30,298: DEBUG - + echo '[....................] > Validating installation parameters...'
2020-06-01 13:21:30,298: DEBUG - + set -o xtrace
2020-06-01 13:21:30,299: DEBUG - + ynh_webpath_available --domain=dias.domain2.tld --path_url=/
2020-06-01 13:21:30,299: DEBUG - + local legacy_args=dp
2020-06-01 13:21:30,299: DEBUG - + args_array=([d]=domain= [p]=path_url=)
2020-06-01 13:21:30,299: DEBUG - + local -A args_array
2020-06-01 13:21:30,299: DEBUG - + local domain
2020-06-01 13:21:30,299: DEBUG - + local path_url
2020-06-01 13:21:30,299: DEBUG - + ynh_handle_getopts_args --domain=dias.domain2.tld --path_url=/
2020-06-01 13:21:30,300: DEBUG - + set +o xtrace
2020-06-01 13:21:30,300: DEBUG - + yunohost domain url-available dias.domain2.tld /
2020-06-01 13:21:30,701: DEBUG - True
2020-06-01 13:21:30,701: DEBUG - + test '!' -e /var/www/diaspora
2020-06-01 13:21:30,702: DEBUG - + can_remove_home=1
2020-06-01 13:21:30,702: DEBUG - + ynh_webpath_register --app=diaspora --domain=dias.domain2.tld --path_url=/
2020-06-01 13:21:30,702: DEBUG - + local legacy_args=adp
2020-06-01 13:21:30,702: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2020-06-01 13:21:30,702: DEBUG - + local -A args_array
2020-06-01 13:21:30,702: DEBUG - + local app
2020-06-01 13:21:30,702: DEBUG - + local domain
2020-06-01 13:21:30,703: DEBUG - + local path_url
2020-06-01 13:21:30,703: DEBUG - + ynh_handle_getopts_args --app=diaspora --domain=dias.domain2.tld --path_url=/
2020-06-01 13:21:30,703: DEBUG - + set +o xtrace
2020-06-01 13:21:30,703: DEBUG - + yunohost app register-url diaspora dias.domain2.tld /
2020-06-01 13:21:31,104: DEBUG - + ynh_script_progression '--message=Saving app settings...' --weight=1
2020-06-01 13:21:31,105: INFO - [....................] > Saving app settings...
2020-06-01 13:21:31,105: DEBUG - + set +o xtrace
2020-06-01 13:21:31,105: DEBUG - + set +o xtrace
2020-06-01 13:21:31,105: DEBUG - + echo '! Helper used in legacy mode !'
2020-06-01 13:21:31,106: DEBUG - + set +x
2020-06-01 13:21:31,106: DEBUG - + echo '[....................] > Saving app settings...'
2020-06-01 13:21:31,106: DEBUG - + set -o xtrace
2020-06-01 13:21:31,106: DEBUG - + ynh_app_setting_set --app=diaspora --key=domain --value=dias.domain2.tld
2020-06-01 13:21:31,106: DEBUG - + local legacy_args=akv
2020-06-01 13:21:31,106: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-06-01 13:21:31,107: DEBUG - + local -A args_array
2020-06-01 13:21:31,107: DEBUG - + local app
2020-06-01 13:21:31,107: DEBUG - + local key
2020-06-01 13:21:31,107: DEBUG - + local value
2020-06-01 13:21:31,107: DEBUG - + ynh_handle_getopts_args --app=diaspora --key=domain --value=dias.domain2.tld
2020-06-01 13:21:31,107: DEBUG - + set +o xtrace
2020-06-01 13:21:31,108: DEBUG - + ynh_app_setting set diaspora domain dias.domain2.tld
2020-06-01 13:21:31,108: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-06-01 13:21:31,108: DEBUG - + ACTION=set
2020-06-01 13:21:31,108: DEBUG - + APP=diaspora
2020-06-01 13:21:31,108: DEBUG - + KEY=domain
2020-06-01 13:21:31,109: DEBUG - + VALUE=dias.domain2.tld
2020-06-01 13:21:31,109: DEBUG - + python2.7 -
2020-06-01 13:21:31,209: DEBUG - + [[ domain =~ ^(unprotected|skipped)_ ]]
2020-06-01 13:21:31,210: DEBUG - + ynh_app_setting_set --app=diaspora --key=path --value=/
2020-06-01 13:21:31,210: DEBUG - + local legacy_args=akv
2020-06-01 13:21:31,210: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-06-01 13:21:31,210: DEBUG - + local -A args_array
2020-06-01 13:21:31,210: DEBUG - + local app
2020-06-01 13:21:31,210: DEBUG - + local key
2020-06-01 13:21:31,210: DEBUG - + local value
2020-06-01 13:21:31,211: DEBUG - + ynh_handle_getopts_args --app=diaspora --key=path --value=/
2020-06-01 13:21:31,211: DEBUG - + set +o xtrace
2020-06-01 13:21:31,211: DEBUG - + ynh_app_setting set diaspora path /
2020-06-01 13:21:31,211: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-06-01 13:21:31,211: DEBUG - + ACTION=set
2020-06-01 13:21:31,211: DEBUG - + APP=diaspora
2020-06-01 13:21:31,212: DEBUG - + KEY=path
2020-06-01 13:21:31,212: DEBUG - + VALUE=/
2020-06-01 13:21:31,212: DEBUG - + python2.7 -
2020-06-01 13:21:31,312: DEBUG - + [[ path =~ ^(unprotected|skipped)_ ]]
2020-06-01 13:21:31,313: DEBUG - + ynh_app_setting_set --app=diaspora --key=final_path --value=/var/www/diaspora
2020-06-01 13:21:31,313: DEBUG - + local legacy_args=akv
2020-06-01 13:21:31,313: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-06-01 13:21:31,313: DEBUG - + local -A args_array
2020-06-01 13:21:31,313: DEBUG - + local app
2020-06-01 13:21:31,314: DEBUG - + local key
2020-06-01 13:21:31,314: DEBUG - + local value
2020-06-01 13:21:31,314: DEBUG - + ynh_handle_getopts_args --app=diaspora --key=final_path --value=/var/www/diaspora
2020-06-01 13:21:31,314: DEBUG - + set +o xtrace
2020-06-01 13:21:31,314: DEBUG - + ynh_app_setting set diaspora final_path /var/www/diaspora
2020-06-01 13:21:31,314: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-06-01 13:21:31,315: DEBUG - + ACTION=set
2020-06-01 13:21:31,315: DEBUG - + APP=diaspora
2020-06-01 13:21:31,315: DEBUG - + KEY=final_path
2020-06-01 13:21:31,315: DEBUG - + VALUE=/var/www/diaspora
2020-06-01 13:21:31,315: DEBUG - + python2.7 -
2020-06-01 13:21:31,416: DEBUG - + [[ final_path =~ ^(unprotected|skipped)_ ]]
2020-06-01 13:21:31,416: DEBUG - + ynh_script_progression '--message=Installing dependencies...' --weight=27
2020-06-01 13:21:31,416: DEBUG - + set +o xtrace
2020-06-01 13:21:31,416: DEBUG - + set +o xtrace
2020-06-01 13:21:31,417: DEBUG - + echo '! Helper used in legacy mode !'
2020-06-01 13:21:31,417: DEBUG - + set +x
2020-06-01 13:21:31,417: DEBUG - + echo '[....................] > Installing dependencies...'
2020-06-01 13:21:31,417: DEBUG - + set -o xtrace
2020-06-01 13:21:31,417: DEBUG - + ynh_install_app_dependencies build-essential cmake libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev imagemagick ghostscript curl libmagickwand-dev git libpq-dev redis-server nodejs postgresql bison bison libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev libyaml-dev pkg-config sqlite3 zlib1g-dev libgmp-dev libreadline-dev libssl-dev
2020-06-01 13:21:31,417: DEBUG - + local 'dependencies=build-essential cmake libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev imagemagick ghostscript curl libmagickwand-dev git libpq-dev redis-server nodejs postgresql bison bison libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev libyaml-dev pkg-config sqlite3 zlib1g-dev libgmp-dev libreadline-dev libssl-dev'
2020-06-01 13:21:31,418: DEBUG - ++ echo 'build-essential cmake libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev imagemagick ghostscript curl libmagickwand-dev git libpq-dev redis-server nodejs postgresql bison bison libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev libyaml-dev pkg-config sqlite3 zlib1g-dev libgmp-dev libreadline-dev libssl-dev'
2020-06-01 13:21:31,418: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2020-06-01 13:21:31,418: DEBUG - + dependencies='build-essential, cmake, libssl-dev, libcurl4-openssl-dev, libxml2-dev, libxslt-dev, imagemagick, ghostscript, curl, libmagickwand-dev, git, libpq-dev, redis-server, nodejs, postgresql, bison, bison, libffi-dev, libgdbm-dev, libncurses5-dev, libsqlite3-dev, libyaml-dev, pkg-config, sqlite3, zlib1g-dev, libgmp-dev, libreadline-dev, libssl-dev'
2020-06-01 13:21:31,418: DEBUG - + local 'dependencies=build-essential, cmake, libssl-dev, libcurl4-openssl-dev, libxml2-dev, libxslt-dev, imagemagick, ghostscript, curl, libmagickwand-dev, git, libpq-dev, redis-server, nodejs, postgresql, bison, bison, libffi-dev, libgdbm-dev, libncurses5-dev, libsqlite3-dev, libyaml-dev, pkg-config, sqlite3, zlib1g-dev, libgmp-dev, libreadline-dev, libssl-dev'
2020-06-01 13:21:31,418: DEBUG - + local manifest_path=../manifest.json
2020-06-01 13:21:31,418: DEBUG - + '[' '!' -e ../manifest.json ']'
2020-06-01 13:21:31,419: DEBUG - ++ grep '\"version\": ' ../manifest.json
2020-06-01 13:21:31,419: DEBUG - ++ cut '--delimiter="' --fields=4
2020-06-01 13:21:31,419: DEBUG - + local version=0.7.13.0~ynh1
2020-06-01 13:21:31,419: DEBUG - + '[' 13 -eq 0 ']'
2020-06-01 13:21:31,419: DEBUG - + local dep_app=diaspora
2020-06-01 13:21:31,419: DEBUG - + [[ build-essential, cmake, libssl-dev, libcurl4-openssl-dev, libxml2-dev, libxslt-dev, imagemagick, ghostscript, curl, libmagickwand-dev, git, libpq-dev, redis-server, nodejs, postgresql, bison, bison, libffi-dev, libgdbm-dev, libncurses5-dev, libsqlite3-dev, libyaml-dev, pkg-config, sqlite3, zlib1g-dev, libgmp-dev, libreadline-dev, libssl-dev =~ [<=>] ]]
2020-06-01 13:21:31,420: DEBUG - + echo build-essential, cmake, libssl-dev, libcurl4-openssl-dev, libxml2-dev, libxslt-dev, imagemagick, ghostscript, curl, libmagickwand-dev, git, libpq-dev, redis-server, nodejs, postgresql, bison, bison, libffi-dev, libgdbm-dev, libncurses5-dev, libsqlite3-dev, libyaml-dev, pkg-config, sqlite3, zlib1g-dev, libgmp-dev, libreadline-dev, libssl-dev
2020-06-01 13:21:31,420: DEBUG - + grep --quiet php
2020-06-01 13:21:31,420: DEBUG - + cat
2020-06-01 13:21:31,420: DEBUG - + ynh_package_install_from_equivs /tmp/diaspora-ynh-deps.control
2020-06-01 13:21:31,420: DEBUG - + local controlfile=/tmp/diaspora-ynh-deps.control
2020-06-01 13:21:31,420: DEBUG - ++ grep '^Package: ' /tmp/diaspora-ynh-deps.control
2020-06-01 13:21:31,421: DEBUG - ++ cut '--delimiter= ' --fields=2
2020-06-01 13:21:31,421: DEBUG - + local pkgname=diaspora-ynh-deps
2020-06-01 13:21:31,421: DEBUG - ++ grep '^Version: ' /tmp/diaspora-ynh-deps.control
2020-06-01 13:21:31,421: DEBUG - ++ cut '--delimiter= ' --fields=2
2020-06-01 13:21:31,421: DEBUG - + local pkgversion=0.7.13.0~ynh1
2020-06-01 13:21:31,421: DEBUG - + [[ -z diaspora-ynh-deps ]]
2020-06-01 13:21:31,422: DEBUG - + [[ -z 0.7.13.0~ynh1 ]]
2020-06-01 13:21:31,422: DEBUG - + ynh_package_update
2020-06-01 13:21:31,422: DEBUG - + ynh_apt update
2020-06-01 13:21:31,422: DEBUG - + ynh_wait_dpkg_free
2020-06-01 13:21:31,422: DEBUG - + local try
2020-06-01 13:21:31,422: DEBUG - + set +o xtrace
2020-06-01 13:21:32,224: DEBUG - + return 0
2020-06-01 13:21:32,224: INFO - [....................] > Installing dependencies...
2020-06-01 13:21:32,225: DEBUG - + LC_ALL=C
2020-06-01 13:21:32,225: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-06-01 13:21:32,225: DEBUG - + apt-get --assume-yes --quiet -o=Dpkg::Use-Pty=0 update
2020-06-01 13:21:32,426: DEBUG - Hit:1 http://security.debian.org stretch/updates InRelease
2020-06-01 13:21:32,426: DEBUG - Hit:2 http://forge.yunohost.org/debian stretch InRelease
2020-06-01 13:21:32,426: DEBUG - Ign:3 http://ftp.debian.org/debian stretch InRelease
2020-06-01 13:21:32,426: DEBUG - Hit:4 http://ftp.debian.org/debian stretch-updates InRelease
2020-06-01 13:21:32,527: DEBUG - Hit:5 http://ftp.debian.org/debian stretch Release
2020-06-01 13:21:32,527: DEBUG - Hit:6 https://packages.sury.org/php stretch InRelease
2020-06-01 13:21:33,730: DEBUG - Reading package lists...
2020-06-01 13:21:33,831: DEBUG - ++ mktemp --directory
2020-06-01 13:21:33,831: WARNING - W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1
2020-06-01 13:21:33,831: DEBUG - + local TMPDIR=/tmp/tmp.a3RElmiCOw
2020-06-01 13:21:33,831: WARNING - W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1
2020-06-01 13:21:33,832: DEBUG - + echo 10
2020-06-01 13:21:33,832: WARNING - W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1
2020-06-01 13:21:33,832: DEBUG - + ynh_wait_dpkg_free
2020-06-01 13:21:33,832: WARNING - W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1
2020-06-01 13:21:33,833: DEBUG - + local try
2020-06-01 13:21:33,833: WARNING - W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1
2020-06-01 13:21:33,833: DEBUG - + set +o xtrace
2020-06-01 13:21:33,833: WARNING - W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1
2020-06-01 13:21:34,435: DEBUG - + return 0
2020-06-01 13:21:34,435: DEBUG - + cp /tmp/diaspora-ynh-deps.control /tmp/tmp.a3RElmiCOw/control
2020-06-01 13:21:34,435: DEBUG - + cd /tmp/tmp.a3RElmiCOw
2020-06-01 13:21:34,435: DEBUG - + LC_ALL=C
2020-06-01 13:21:34,436: DEBUG - + equivs-build ./control
2020-06-01 13:21:35,137: DEBUG - + dpkg --force-depends --install ./diaspora-ynh-deps_0.7.13.0~ynh1_all.deb
2020-06-01 13:21:35,238: DEBUG - Selecting previously unselected package diaspora-ynh-deps.
2020-06-01 13:21:35,338: DEBUG - (Reading database ... 60829 files and directories currently installed.)
2020-06-01 13:21:35,339: DEBUG - Preparing to unpack .../diaspora-ynh-deps_0.7.13.0~ynh1_all.deb ...
2020-06-01 13:21:35,339: DEBUG - Unpacking diaspora-ynh-deps (0.7.13.0~ynh1) ...
2020-06-01 13:21:35,640: DEBUG - dpkg: diaspora-ynh-deps: dependency problems, but configuring anyway as you requested:
2020-06-01 13:21:35,640: DEBUG -  diaspora-ynh-deps depends on cmake; however:
2020-06-01 13:21:35,640: DEBUG -   Package cmake is not installed.
2020-06-01 13:21:35,640: DEBUG -  diaspora-ynh-deps depends on libcurl4-openssl-dev; however:
2020-06-01 13:21:35,641: DEBUG -   Package libcurl4-openssl-dev is not installed.
2020-06-01 13:21:35,641: DEBUG -  diaspora-ynh-deps depends on libmagickwand-dev; however:
2020-06-01 13:21:35,641: DEBUG -   Package libmagickwand-dev is not installed.
2020-06-01 13:21:35,641: DEBUG -  diaspora-ynh-deps depends on libsqlite3-dev; however:
2020-06-01 13:21:35,641: DEBUG -   Package libsqlite3-dev is not installed.
2020-06-01 13:21:35,641: DEBUG -  diaspora-ynh-deps depends on sqlite3; however:
2020-06-01 13:21:35,642: DEBUG -   Package sqlite3 is not installed.
2020-06-01 13:21:35,642: DEBUG -  diaspora-ynh-deps depends on libgmp-dev; however:
2020-06-01 13:21:35,642: DEBUG -   Package libgmp-dev is not installed.
2020-06-01 13:21:35,642: DEBUG - 
2020-06-01 13:21:35,642: DEBUG - Setting up diaspora-ynh-deps (0.7.13.0~ynh1) ...
2020-06-01 13:21:36,043: DEBUG - + ynh_package_install --fix-broken
2020-06-01 13:21:36,044: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2020-06-01 13:21:36,044: DEBUG - + ynh_wait_dpkg_free
2020-06-01 13:21:36,044: DEBUG - + local try
2020-06-01 13:21:36,044: DEBUG - + set +o xtrace
2020-06-01 13:21:36,746: DEBUG - + return 0
2020-06-01 13:21:36,746: DEBUG - + LC_ALL=C
2020-06-01 13:21:36,746: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-06-01 13:21:36,746: DEBUG - + apt-get --assume-yes --quiet -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2020-06-01 13:21:36,947: DEBUG - Reading package lists...
2020-06-01 13:21:37,048: DEBUG - Building dependency tree...
2020-06-01 13:21:37,048: DEBUG - Reading state information...
2020-06-01 13:21:37,149: DEBUG - Correcting dependencies... Done
2020-06-01 13:21:37,249: DEBUG - The following additional packages will be installed:
2020-06-01 13:21:37,250: DEBUG -   cmake cmake-data gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-rsvg-2.0
2020-06-01 13:21:37,250: DEBUG -   gnome-icon-theme gtk-update-icon-cache javascript-common libatk1.0-0
2020-06-01 13:21:37,250: DEBUG -   libatk1.0-data libbz2-dev libcairo-gobject2 libcairo-script-interpreter2
2020-06-01 13:21:37,250: DEBUG -   libcairo2-dev libcdt5 libcgraph6 libcurl4-openssl-dev libdjvulibre-dev
2020-06-01 13:21:37,250: DEBUG -   libexif-dev libexif12 libfontconfig1-dev libfreetype6-dev libgail-common
2020-06-01 13:21:37,250: DEBUG -   libgail18 libgdk-pixbuf2.0-dev libglib2.0-bin libglib2.0-data libglib2.0-dev
2020-06-01 13:21:37,251: DEBUG -   libgmp-dev libgmpxx4ldbl libgraphviz-dev libgtk2.0-0 libgtk2.0-bin
2020-06-01 13:21:37,251: DEBUG -   libgtk2.0-common libgts-0.7-5 libgts-bin libgvc6 libgvc6-plugins-gtk
2020-06-01 13:21:37,251: DEBUG -   libgvpr2 libice-dev libilmbase-dev libjbig-dev libjpeg-dev
2020-06-01 13:21:37,251: DEBUG -   libjpeg62-turbo-dev libjs-jquery libjsoncpp1 liblcms2-dev liblqr-1-0-dev
2020-06-01 13:21:37,251: DEBUG -   liblzma-dev libmagickcore-6-arch-config libmagickcore-6-headers
2020-06-01 13:21:37,251: DEBUG -   libmagickcore-6.q16-dev libmagickwand-6-headers libmagickwand-6.q16-dev
2020-06-01 13:21:37,252: DEBUG -   libmagickwand-dev libopenexr-dev libopenjp2-7-dev libpathplan4 libpcre16-3
2020-06-01 13:21:37,252: DEBUG -   libpcre3-dev libpcre32-3 libpcrecpp0v5 libpixman-1-dev libpthread-stubs0-dev
2020-06-01 13:21:37,252: DEBUG -   librsvg2-2 librsvg2-common librsvg2-dev libsm-dev libsqlite3-dev
2020-06-01 13:21:37,252: DEBUG -   libtiff5-dev libtiffxx5 libwmf-dev libx11-dev libx11-doc libxau-dev
2020-06-01 13:21:37,252: DEBUG -   libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxdmcp-dev libxdot4
2020-06-01 13:21:37,252: DEBUG -   libxext-dev libxrender-dev libxt-dev sqlite3 x11proto-core-dev
2020-06-01 13:21:37,253: DEBUG -   x11proto-input-dev x11proto-kb-dev x11proto-render-dev x11proto-xext-dev
2020-06-01 13:21:37,253: DEBUG -   xorg-sgml-doctools xtrans-dev
2020-06-01 13:21:37,253: DEBUG - Suggested packages:
2020-06-01 13:21:37,253: DEBUG -   codeblocks eclipse ninja-build libcairo2-doc libcurl4-doc libcurl3-dbg
2020-06-01 13:21:37,253: DEBUG -   libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev libssl1.0-dev
2020-06-01 13:21:37,253: WARNING - E: Packages need to be removed but remove is disabled.
2020-06-01 13:21:37,254: DEBUG -   | libssl-dev libglib2.0-doc gmp-doc libgmp10-doc libmpfr-dev gvfs libice-doc
2020-06-01 13:21:37,254: DEBUG -   liblzma-doc librsvg2-bin librsvg2-doc libsm-doc sqlite3-doc libwmf-doc
2020-06-01 13:21:37,254: DEBUG -   libxcb-doc libxext-doc libxt-doc
2020-06-01 13:21:37,254: DEBUG - The following packages will be REMOVED:
2020-06-01 13:21:37,254: DEBUG -   libcurl4-gnutls-dev
2020-06-01 13:21:37,255: DEBUG - The following NEW packages will be installed:
2020-06-01 13:21:37,255: DEBUG -   cmake cmake-data gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-rsvg-2.0
2020-06-01 13:21:37,255: DEBUG -   gnome-icon-theme gtk-update-icon-cache javascript-common libatk1.0-0
2020-06-01 13:21:37,255: DEBUG -   libatk1.0-data libbz2-dev libcairo-gobject2 libcairo-script-interpreter2
2020-06-01 13:21:37,255: DEBUG -   libcairo2-dev libcdt5 libcgraph6 libcurl4-openssl-dev libdjvulibre-dev
2020-06-01 13:21:37,255: DEBUG -   libexif-dev libexif12 libfontconfig1-dev libfreetype6-dev libgail-common
2020-06-01 13:21:37,256: DEBUG -   libgail18 libgdk-pixbuf2.0-dev libglib2.0-bin libglib2.0-data libglib2.0-dev
2020-06-01 13:21:37,256: DEBUG -   libgmp-dev libgmpxx4ldbl libgraphviz-dev libgtk2.0-0 libgtk2.0-bin
2020-06-01 13:21:37,256: DEBUG -   libgtk2.0-common libgts-0.7-5 libgts-bin libgvc6 libgvc6-plugins-gtk
2020-06-01 13:21:37,256: DEBUG -   libgvpr2 libice-dev libilmbase-dev libjbig-dev libjpeg-dev
2020-06-01 13:21:37,256: DEBUG -   libjpeg62-turbo-dev libjs-jquery libjsoncpp1 liblcms2-dev liblqr-1-0-dev
2020-06-01 13:21:37,256: DEBUG -   liblzma-dev libmagickcore-6-arch-config libmagickcore-6-headers
2020-06-01 13:21:37,257: DEBUG -   libmagickcore-6.q16-dev libmagickwand-6-headers libmagickwand-6.q16-dev
2020-06-01 13:21:37,257: DEBUG -   libmagickwand-dev libopenexr-dev libopenjp2-7-dev libpathplan4 libpcre16-3
2020-06-01 13:21:37,257: DEBUG -   libpcre3-dev libpcre32-3 libpcrecpp0v5 libpixman-1-dev libpthread-stubs0-dev
2020-06-01 13:21:37,257: DEBUG -   librsvg2-2 librsvg2-common librsvg2-dev libsm-dev libsqlite3-dev
2020-06-01 13:21:37,257: DEBUG -   libtiff5-dev libtiffxx5 libwmf-dev libx11-dev libx11-doc libxau-dev
2020-06-01 13:21:37,257: DEBUG -   libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxdmcp-dev libxdot4
2020-06-01 13:21:37,258: DEBUG -   libxext-dev libxrender-dev libxt-dev sqlite3 x11proto-core-dev
2020-06-01 13:21:37,258: DEBUG -   x11proto-input-dev x11proto-kb-dev x11proto-render-dev x11proto-xext-dev
2020-06-01 13:21:37,258: DEBUG -   xorg-sgml-doctools xtrans-dev
2020-06-01 13:21:37,258: DEBUG - 0 upgraded, 91 newly installed, 1 to remove and 12 not upgraded.
2020-06-01 13:21:37,258: DEBUG - ++ dpkg --info /tmp/tmp.a3RElmiCOw/diaspora-ynh-deps_0.7.13.0~ynh1_all.deb
2020-06-01 13:21:37,258: DEBUG - ++ sed s/,//g
2020-06-01 13:21:37,259: DEBUG - ++ grep Depends
2020-06-01 13:21:37,259: DEBUG - ++ sed 's/^ Depends: //'
2020-06-01 13:21:37,359: DEBUG - + local 'dependencies=build-essential cmake libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev imagemagick ghostscript curl libmagickwand-dev git libpq-dev redis-server nodejs postgresql bison libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev libyaml-dev pkg-config sqlite3 zlib1g-dev libgmp-dev libreadline-dev'
2020-06-01 13:21:37,360: DEBUG - + ynh_package_install build-essential cmake libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev imagemagick ghostscript curl libmagickwand-dev git libpq-dev redis-server nodejs postgresql bison libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev libyaml-dev pkg-config sqlite3 zlib1g-dev libgmp-dev libreadline-dev --dry-run
2020-06-01 13:21:37,360: DEBUG - + sed --quiet '/--fix-broken/,$p'
2020-06-01 13:21:37,360: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install build-essential cmake libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev imagemagick ghostscript curl libmagickwand-dev git libpq-dev redis-server nodejs postgresql bison libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev libyaml-dev pkg-config sqlite3 zlib1g-dev libgmp-dev libreadline-dev --dry-run
2020-06-01 13:21:37,360: DEBUG - + ynh_wait_dpkg_free
2020-06-01 13:21:37,360: DEBUG - + local try
2020-06-01 13:21:37,360: DEBUG - + set +o xtrace
2020-06-01 13:21:37,962: DEBUG - + return 0
2020-06-01 13:21:37,962: DEBUG - + LC_ALL=C
2020-06-01 13:21:37,962: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-06-01 13:21:37,963: DEBUG - + apt-get --assume-yes --quiet -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install build-essential cmake libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev imagemagick ghostscript curl libmagickwand-dev git libpq-dev redis-server nodejs postgresql bison libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev libyaml-dev pkg-config sqlite3 zlib1g-dev libgmp-dev libreadline-dev --dry-run
2020-06-01 13:21:38,163: DEBUG - + ynh_die '--message=Unable to install dependencies'
2020-06-01 13:21:38,164: WARNING - E: Package 'libssl-dev' has no installation candidate
2020-06-01 13:21:38,164: DEBUG - + local legacy_args=mc
2020-06-01 13:21:38,164: WARNING - Unable to install dependencies
2020-06-01 13:21:38,165: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-06-01 13:21:38,165: DEBUG - + local -A args_array
2020-06-01 13:21:38,165: DEBUG - + local message
2020-06-01 13:21:38,165: DEBUG - + local ret_code
2020-06-01 13:21:38,165: DEBUG - + ynh_handle_getopts_args '--message=Unable to install dependencies'
2020-06-01 13:21:38,165: DEBUG - + set +o xtrace
2020-06-01 13:21:38,166: DEBUG - + ret_code=1
2020-06-01 13:21:38,166: DEBUG - + echo 'Unable to install dependencies'
2020-06-01 13:21:38,166: DEBUG - + exit 1
2020-06-01 13:21:38,166: DEBUG - + ynh_exit_properly
2020-06-01 13:21:38,166: DEBUG - + local exit_code=1
2020-06-01 13:21:38,166: DEBUG - + '[' 1 -eq 0 ']'
2020-06-01 13:21:38,167: DEBUG - + trap '' EXIT
2020-06-01 13:21:38,167: DEBUG - + set +o errexit
2020-06-01 13:21:38,167: DEBUG - + set +o nounset
2020-06-01 13:21:38,167: DEBUG - + sleep 0.5
2020-06-01 13:21:38,669: DEBUG - + type -t ynh_clean_setup
2020-06-01 13:21:38,669: DEBUG - + ynh_clean_setup
2020-06-01 13:21:38,669: DEBUG - + '[' 0 -eq 1 ']'
2020-06-01 13:21:38,669: DEBUG - + exit 1
2020-06-01 13:21:38,695: ERROR - Impossible d’installer diaspora :      `Une erreur est survenue dans le script d’installation de l’application`

Salut @mensoif, est-ce que tu peux donner : la version exacte de yunohost actuellement installée, et le résultat de

apt policy libssl-dev

Merci de ta réponse rapide.

Alors version de YunoHost
YunoHost 3.8.4.6 (stable)

Résultat de “apt policy libssl-dev”

root@YunoHostProd:~# apt policy libssl-dev
libssl-dev:
  Installed: 1.1.1g-1+0~20200421.17+debian9~1.gbpf6902f
  Candidate: (none)
  Version table:
 *** 1.1.1g-1+0~20200421.17+debian9~1.gbpf6902f -1
        995 https://packages.sury.org/php stretch/main amd64 Packages
        100 /var/lib/dpkg/status
     1.1.0l-1~deb9u1 500
        500 http://ftp.debian.org/debian stretch/main amd64 Packages
        500 http://security.debian.org stretch/updates/main amd64 Packages
root@YunoHostProd:~#  

Eh in fact re-reading the logs it looks like it has nothing to do with libssl-dev really, but more about libcurl4-gnutls-dev that is expected to be removed during install…

Soooo can you try to manually run apt remove libcurl4-gnutls-dev

(be careful not to accept anything too fast because apt might explain side-effect / consequences about doing so if another package needs it)

@mensoif est-ce que tu as installé l’application minetest à tout hasard ?

Salut taziden,
Oui effectivement j’avais installé minetest mais je l’avais désinstaller(en regardant mieux), mais la avant je suis en train d’installer diaspora sur un serveur de test pour voir.

Merci Aleks

Effectivement j’ai désinstallé “libcurl4-gnutls-dev” en prenant le temps de sauvegarder tout le serveur avant. Après un test rapide tout a l’air de bien fonctionner y compris Diaspora donc c’est apparemment bien cette bibliothèque qui posait problème.

libcurl4-gnutls-dev est dans les dépendances de minetest. C’est pour ça qu’elle était installée.

Tant mieux si ça marche ! À l’occasion je testerai aussi de mon côté, ça serait quand même bien qu’on puisse installer les deux sans que tout casse…


Bei mir war das ganze Programm auf dem Server weg, obwohl es bei mir gut gelaufen ist
Ich habe sogar versucht es wieder herzustellen es geht nicht mehr. Es ist komplett raus aus den ganzen Programmen
Der Server hat die Verbindung geschlossen, anstatt sie zu beantworten. Wurde nginx oder die yunohost-api aus irgendeinem Grund neu gestartet oder gestoppt? (Fehlercode/Meldung: 0 error)

Please repost in the Support section of the forum, and be more descriptive about the error you get (what are you trying to do when you receive it?). As stated several times already, you may get more support if you post in English (translation tools are frankly not quite helpful).

2 Likes

aim speaks not English aim translation isfor me As stated several if your post are translation in english sorry aim speaks not and translation tools are frankly yes quite for me helpful Thanks and blive gesund

Hi, new version of diaspora (v0.7.17.0) is now available on the testing branch.

Tests and feedbacks more than welcome.

To install from the testing branch:

yunohost app install https://github.com/YunoHost-Apps/diaspora_ynh/tree/testing

To upgrade an existing instance (be careful!), it should be something like (not tested):

yunohost app upgrade diaspora -u https://github.com/YunoHost-Apps/diaspora_ynh/tree/testing
1 Like

Hi, new version of diaspora (v0.7.18.1) is now available on the testing branch. This branch contains also a big refacto thanks to @yalh76.

Tests and feedbacks more than welcome.

To install from the testing branch:

yunohost app install https://github.com/YunoHost-Apps/diaspora_ynh/tree/testing

To upgrade an existing instance (better to do it on a test instance for now :slight_smile: ):

yunohost app upgrade diaspora -u https://github.com/YunoHost-Apps/diaspora_ynh/tree/testing
2 Likes