Unable to install diaspora

,

After 10 minutes of waiting I gave up, it was stuck on ‘Extracting templates from packages 100%’

admin@YunoHost:~ $ sudo yunohost app install https://github.com/YunoHost-Apps/diaspora_ynh
Available domains:
- domain.tld
Choose a domain for diaspora* (default: domain.tld): 
Choose a path for ynhexample (default: /): diaspora
Is it a public Diaspora site? [0 | 1] (default: 1): 
Warning: W: GPG error: http://httpredir.debian.org jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
Warning: dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Extracting templates from packages: 100%

^CProcess AsynchronousFileReader-3:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
Process Process-4:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
Process Process-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
Process AsynchronousFileReader-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python2.7/dist-packages/moulinette/utils/stream.py", line 46, in consume_queue
  File "/usr/lib/python2.7/dist-packages/moulinette/utils/stream.py", line 46, in consume_queue
    self.run()
    self.run()
  File "/usr/lib/python2.7/dist-packages/moulinette/utils/stream.py", line 28, in run
  File "/usr/lib/python2.7/dist-packages/moulinette/utils/stream.py", line 28, in run
    for line in iter(self._fd.readline, ''):
    for line in iter(self._fd.readline, ''):
KeyboardInterrupt
KeyboardInterrupt
    line = queue.get()
  File "/usr/lib/python2.7/multiprocessing/queues.py", line 376, in get
    line = queue.get()
  File "/usr/lib/python2.7/multiprocessing/queues.py", line 376, in get
    return recv()
KeyboardInterrupt
    return recv()
KeyboardInterrupt
^CProcess Process-8:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python2.7/dist-packages/moulinette/utils/stream.py", line 46, in consume_queue
    line = queue.get()
  File "/usr/lib/python2.7/multiprocessing/queues.py", line 376, in get
    return recv()
KeyboardInterrupt
Process AsynchronousFileReader-7:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
Error: Operation interrupted
    self.run()
  File "/usr/lib/python2.7/dist-packages/moulinette/utils/stream.py", line 29, in run
    self._queue.put(line)
KeyboardInterrupt
Process AsynchronousFileReader-5:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/dist-packages/moulinette/utils/stream.py", line 28, in run
    for line in iter(self._fd.readline, ''):
KeyboardInterrupt
Process Process-6:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python2.7/dist-packages/moulinette/utils/stream.py", line 46, in consume_queue
    line = queue.get()
  File "/usr/lib/python2.7/multiprocessing/queues.py", line 376, in get
    return recv()
KeyboardInterrupt

malheureusement Diaspora ne fonctionne pas à l heure actuelle sur le portage de Yunohost https://yunohost.org/#/apps_fr


Si cela t intéresse, il est possible de donner un coup de main ici pour le portage
https://github.com/YunoHost-Apps/diaspora_ynh

1 Like

A la fois en regardant de plus prêt tes logs, tu as un problème de reconnaissance de clé gpg pour tes install d’applciation à partir des ppa. elles se répètent dans plusieurs de tes posts.
Il faudrait voir une mise a jour avec ROOT et non SUDO dans un premier temps en ssh:

wget -O - https://ftp-master.debian.org/keys/archive-key-8.asc | apt-key add -
wget -O - https://ftp-master.debian.org/keys/archive-key-8-security.asc | apt-key add -
— Reinstall de clés gpg—
gpg --keyserver pgpkeys.mit.edu --recv-key 1F41B907 (toujours sous root)
apt install debian-keyring debian-archive-keyring

2 Likes

Oui je dois m’en occuper :slight_smile:

2 Likes

[google translate]
Je m’excuse de ne pas l’avoir vu.
[/google translate]

Hello,

Cherchant une alternative durable à facebook, je m’intéresse de près à une solution auto-hébergée de diaspora*. J’ai essayé d’installer diasporadocker, mais l’installation plante avec le message suivant:

La configuration de SSOwat a été générée

The SSOwat configuration has been generated
+ yunohost app ssowatconf

  • dockerapp_ynh_reloadservices
  • sudo systemctl reload nginx
    […]

@yolateng0 Une idée? Merci d’avance.

Traduit avec DeepL

Qu’est-ce que vous obtenez pour voir quand vous entrez sudo yunohost app install https://github.com/YunoHost-Apps/diaspora_ynh dans la console de votre serveur?

salut @fra
je ne connais vraiment pas ce portage de Diaspora en docker sous yunohost
la seule chose, que je sais, et qu 'il te faut un nom de domaine dédié à l’application du type https://diaspora.exemple.com et un certificat valide.
je n ai jamais installer une instance de Yunohost sous docker…cela doit être difficile en l absence de support de systemd par l’environnement Docker .

Néanmoins

au vu de ces qlqs ligne l install semble effectuée.

Par la suite il est stipuler de réaliser toi meme ton compte admin de l instance Diaspora
https://wiki.diasporafoundation.org/FAQ_for_pod_maintainers#What_are_roles_and_how_do_I_use_them.3F_.2F_Make_yourself_an_admin_or_assign_moderators
Lien page de l apps https://github.com/aymhce/diasporadocker_ynh
cc @aymhce

Cependant que te donne la commande :

cat /var/log/yunohost/yunohost-api.log

Hello,

Merci pour ton aide. Voici ce que j’obtiens:
2018-04-17 08:36:21,847 INFO yunohost.hook hook_exec - [583.30] Exécution du script « /var/cache/yunohost/from_file/diasporadocker_ynh-f590ade72940987eb90a639329dc05a01974c4de/scripts/install »... 2018-04-17 08:36:21,874 INFO yunohost.hook <lambda> - [583.30] + app=diasporadocker 2018-04-17 08:36:21,878 INFO yunohost.hook <lambda> - [583.30] + domain=social.bastardot.com 2018-04-17 08:36:21,879 INFO yunohost.hook <lambda> - [583.30] + source _common.sh 2018-04-17 08:36:21,880 INFO yunohost.hook <lambda> - [583.30] + source /usr/share/yunohost/helpers 2018-04-17 08:36:21,880 INFO yunohost.hook <lambda> - [583.30] +++ run-parts --list /usr/share/yunohost/helpers.d 2018-04-17 08:36:21,885 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:36:21,886 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/backend ']' 2018-04-17 08:36:21,886 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/backend 2018-04-17 08:36:21,887 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:36:21,888 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']' 2018-04-17 08:36:21,889 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/filesystem 2018-04-17 08:36:21,890 INFO yunohost.hook <lambda> - [583.30] +++ CAN_BIND=1 2018-04-17 08:36:21,890 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:36:21,891 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/ip ']' 2018-04-17 08:36:21,891 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/ip 2018-04-17 08:36:21,893 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:36:21,893 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']' 2018-04-17 08:36:21,894 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/mysql 2018-04-17 08:36:21,894 INFO yunohost.hook <lambda> - [583.30] +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql 2018-04-17 08:36:21,895 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:36:21,896 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/network ']' 2018-04-17 08:36:21,897 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/network 2018-04-17 08:36:21,897 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:36:21,898 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/package ']' 2018-04-17 08:36:21,899 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/package 2018-04-17 08:36:21,900 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:36:21,900 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/print ']' 2018-04-17 08:36:21,901 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/print 2018-04-17 08:36:21,902 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:36:21,904 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/setting ']' 2018-04-17 08:36:21,904 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/setting 2018-04-17 08:36:21,904 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:36:21,905 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/string ']' 2018-04-17 08:36:21,905 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/string 2018-04-17 08:36:21,906 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:36:21,906 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/system ']' 2018-04-17 08:36:21,907 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/system 2018-04-17 08:36:21,907 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:36:21,907 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/user ']' 2018-04-17 08:36:21,908 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/user 2018-04-17 08:36:21,908 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:36:21,909 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/utils ']' 2018-04-17 08:36:21,910 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/utils 2018-04-17 08:36:21,911 INFO yunohost.hook <lambda> - [583.30] + ynh_abort_if_errors 2018-04-17 08:36:21,911 INFO yunohost.hook <lambda> - [583.30] + set -eu 2018-04-17 08:36:21,912 INFO yunohost.hook <lambda> - [583.30] + trap ynh_exit_properly EXIT 2018-04-17 08:36:21,912 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_checkinstalldocker 2018-04-17 08:36:21,912 INFO yunohost.hook <lambda> - [583.30] ++ sh _dockertest.sh 2018-04-17 08:36:21,913 INFO yunohost.hook <lambda> - [583.30] + ret=127 2018-04-17 08:36:21,913 INFO yunohost.hook <lambda> - [583.30] ++ dockerapp_ynh_incontainer 2018-04-17 08:36:21,914 INFO yunohost.hook <lambda> - [583.30] ++ '[' -f /.dockerenv ']' 2018-04-17 08:36:21,915 INFO yunohost.hook <lambda> - [583.30] ++ echo 1 2018-04-17 08:36:21,915 INFO yunohost.hook <lambda> - [583.30] + incontainer=1 2018-04-17 08:36:21,915 INFO yunohost.hook <lambda> - [583.30] + '[' 127 == 127 ']' 2018-04-17 08:36:21,916 INFO yunohost.hook <lambda> - [583.30] + sh 2018-04-17 08:36:21,917 INFO yunohost.hook <lambda> - [583.30] + curl -sSL https://get.docker.com 2018-04-17 08:36:22,376 INFO yunohost.hook <lambda> - [583.30] # Executing docker install script, commit: 92d5116 2018-04-17 08:36:22,438 WARNING yunohost.hook <lambda> - [583.30] + sh -c apt-get update -qq >/dev/null 2018-04-17 08:36:29,327 WARNING yunohost.hook <lambda> - [583.30] + sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null 2018-04-17 08:36:29,761 WARNING yunohost.hook <lambda> - [583.30] + sh -c curl -fsSL "https://download.docker.com/linux/debian/gpg" | apt-key add -qq - >/dev/null 2018-04-17 08:36:29,883 WARNING yunohost.hook <lambda> - [583.30] + sh -c echo "deb [arch=amd64] https://download.docker.com/linux/debian jessie edge" > /etc/apt/sources.list.d/docker.list 2018-04-17 08:36:29,885 WARNING yunohost.hook <lambda> - [583.30] + [ debian = debian ] 2018-04-17 08:36:29,886 WARNING yunohost.hook <lambda> - [583.30] + [ jessie = wheezy ] 2018-04-17 08:36:29,886 WARNING yunohost.hook <lambda> - [583.30] + sh -c apt-get update -qq >/dev/null 2018-04-17 08:36:36,680 WARNING yunohost.hook <lambda> - [583.30] + sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null 2018-04-17 08:36:43,744 WARNING yunohost.hook <lambda> - [583.30] debconf: unable to initialize frontend: Dialog 2018-04-17 08:36:43,745 WARNING yunohost.hook <lambda> - [583.30] debconf: (TERM is not set, so the dialog frontend is not usable.) 2018-04-17 08:36:43,745 WARNING yunohost.hook <lambda> - [583.30] debconf: falling back to frontend: Readline 2018-04-17 08:36:43,756 WARNING yunohost.hook <lambda> - [583.30] debconf: unable to initialize frontend: Readline 2018-04-17 08:36:43,756 WARNING yunohost.hook <lambda> - [583.30] debconf: (This frontend requires a controlling tty.) 2018-04-17 08:36:43,756 WARNING yunohost.hook <lambda> - [583.30] debconf: falling back to frontend: Teletype 2018-04-17 08:36:43,761 WARNING yunohost.hook <lambda> - [583.30] dpkg-preconfigure: unable to re-open stdin: 2018-04-17 08:36:58,203 WARNING yunohost.hook <lambda> - [583.30] + sh -c docker version 2018-04-17 08:36:58,335 INFO yunohost.hook <lambda> - [583.30] Client: 2018-04-17 08:36:58,336 INFO yunohost.hook <lambda> - [583.30] Version: 18.04.0-ce 2018-04-17 08:36:58,336 INFO yunohost.hook <lambda> - [583.30] API version: 1.37 2018-04-17 08:36:58,336 INFO yunohost.hook <lambda> - [583.30] Go version: go1.9.4 2018-04-17 08:36:58,336 INFO yunohost.hook <lambda> - [583.30] Git commit: 3d479c0 2018-04-17 08:36:58,337 INFO yunohost.hook <lambda> - [583.30] Built: Tue Apr 10 18:24:33 2018 2018-04-17 08:36:58,337 INFO yunohost.hook <lambda> - [583.30] OS/Arch: linux/amd64 2018-04-17 08:36:58,337 INFO yunohost.hook <lambda> - [583.30] Experimental: false 2018-04-17 08:36:58,338 INFO yunohost.hook <lambda> - [583.30] Orchestrator: swarm 2018-04-17 08:36:58,338 INFO yunohost.hook <lambda> - [583.30] 2018-04-17 08:36:58,339 INFO yunohost.hook <lambda> - [583.30] Server: 2018-04-17 08:36:58,340 INFO yunohost.hook <lambda> - [583.30] Engine: 2018-04-17 08:36:58,341 INFO yunohost.hook <lambda> - [583.30] Version: 18.04.0-ce 2018-04-17 08:36:58,341 INFO yunohost.hook <lambda> - [583.30] API version: 1.37 (minimum version 1.12) 2018-04-17 08:36:58,341 INFO yunohost.hook <lambda> - [583.30] Go version: go1.9.4 2018-04-17 08:36:58,342 INFO yunohost.hook <lambda> - [583.30] Git commit: 3d479c0 2018-04-17 08:36:58,343 INFO yunohost.hook <lambda> - [583.30] Built: Tue Apr 10 18:22:45 2018 2018-04-17 08:36:58,344 INFO yunohost.hook <lambda> - [583.30] OS/Arch: linux/amd64 2018-04-17 08:36:58,344 INFO yunohost.hook <lambda> - [583.30] Experimental: false 2018-04-17 08:36:58,344 INFO yunohost.hook <lambda> - [583.30] If you would like to use Docker as a non-root user, you should now consider 2018-04-17 08:36:58,345 INFO yunohost.hook <lambda> - [583.30] adding your user to the "docker" group with something like: 2018-04-17 08:36:58,348 INFO yunohost.hook <lambda> - [583.30] 2018-04-17 08:36:58,348 INFO yunohost.hook <lambda> - [583.30] sudo usermod -aG docker your-user 2018-04-17 08:36:58,348 INFO yunohost.hook <lambda> - [583.30] 2018-04-17 08:36:58,349 INFO yunohost.hook <lambda> - [583.30] Remember that you will have to log out and back in for this to take effect! 2018-04-17 08:36:58,349 WARNING yunohost.hook <lambda> - [583.30] Synchronizing state for docker.service with sysvinit using update-rc.d... 2018-04-17 08:36:58,350 WARNING yunohost.hook <lambda> - [583.30] Executing /usr/sbin/update-rc.d docker defaults 2018-04-17 08:36:58,349 INFO yunohost.hook <lambda> - [583.30] 2018-04-17 08:36:58,350 INFO yunohost.hook <lambda> - [583.30] WARNING: Adding a user to the "docker" group will grant the ability to run 2018-04-17 08:36:58,351 INFO yunohost.hook <lambda> - [583.30] containers which can be used to obtain root privileges on the 2018-04-17 08:36:58,351 INFO yunohost.hook <lambda> - [583.30] docker host. 2018-04-17 08:36:58,351 INFO yunohost.hook <lambda> - [583.30] Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface 2018-04-17 08:36:58,352 INFO yunohost.hook <lambda> - [583.30] for more information. 2018-04-17 08:36:58,352 INFO yunohost.hook <lambda> - [583.30] + systemctl enable docker 2018-04-17 08:36:58,556 WARNING yunohost.hook <lambda> - [583.30] Executing /usr/sbin/update-rc.d docker enable 2018-04-17 08:36:58,875 INFO yunohost.hook <lambda> - [583.30] ++ uname -s 2018-04-17 08:36:58,877 INFO yunohost.hook <lambda> - [583.30] ++ uname -m 2018-04-17 08:36:58,878 INFO yunohost.hook <lambda> - [583.30] + curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose 2018-04-17 08:36:58,890 WARNING yunohost.hook <lambda> - [583.30] % Total % Received % Xferd Average Speed Time Time Time Current 2018-04-17 08:36:58,891 WARNING yunohost.hook <lambda> - [583.30] Dload Upload Total Spent Left Speed 100 617 0 617 0 0 802 0 --:--:-- --:--:-- --:--:-- 803 100 8280k 100 8280k 0 0 2030k 0 0:00:04 0:00:04 --:--:-- 2669k 2018-04-17 08:37:02,969 INFO yunohost.hook <lambda> - [583.30] ++ sh _dockertest.sh 2018-04-17 08:37:03,102 INFO yunohost.hook <lambda> - [583.30] + ret=0 2018-04-17 08:37:03,102 INFO yunohost.hook <lambda> - [583.30] + '[' 0 '!=' 0 ']' 2018-04-17 08:37:03,102 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_loadvariables 2018-04-17 08:37:03,102 INFO yunohost.hook <lambda> - [583.30] + export app=diasporadocker 2018-04-17 08:37:03,103 INFO yunohost.hook <lambda> - [583.30] + app=diasporadocker 2018-04-17 08:37:03,103 INFO yunohost.hook <lambda> - [583.30] + export domain=social.bastardot.com 2018-04-17 08:37:03,103 INFO yunohost.hook <lambda> - [583.30] + domain=social.bastardot.com 2018-04-17 08:37:03,103 INFO yunohost.hook <lambda> - [583.30] + export data_path=/home/yunohost.docker/diasporadocker 2018-04-17 08:37:03,104 INFO yunohost.hook <lambda> - [583.30] + data_path=/home/yunohost.docker/diasporadocker 2018-04-17 08:37:03,104 INFO yunohost.hook <lambda> - [583.30] ++ ynh_app_setting_get diasporadocker port 2018-04-17 08:37:03,105 INFO yunohost.hook <lambda> - [583.30] ++ sudo yunohost app setting diasporadocker port --output-as plain --quiet 2018-04-17 08:37:04,237 INFO yunohost.hook <lambda> - [583.30] + export port= 2018-04-17 08:37:04,238 INFO yunohost.hook <lambda> - [583.30] + port= 2018-04-17 08:37:04,238 INFO yunohost.hook <lambda> - [583.30] + '[' '' == '' ']' 2018-04-17 08:37:04,240 INFO yunohost.hook <lambda> - [583.30] ++ ynh_find_port 31000 2018-04-17 08:37:04,240 INFO yunohost.hook <lambda> - [583.30] ++ local port=31000 2018-04-17 08:37:04,241 INFO yunohost.hook <lambda> - [583.30] ++ test -n 31000 2018-04-17 08:37:04,241 INFO yunohost.hook <lambda> - [583.30] ++ netcat -z 127.0.0.1 31000 2018-04-17 08:37:04,244 INFO yunohost.hook <lambda> - [583.30] ++ echo 31000 2018-04-17 08:37:04,244 INFO yunohost.hook <lambda> - [583.30] + port=31000 2018-04-17 08:37:04,245 INFO yunohost.hook <lambda> - [583.30] + ynh_app_setting_set diasporadocker port 31000 2018-04-17 08:37:04,245 INFO yunohost.hook <lambda> - [583.30] + sudo yunohost app setting diasporadocker port --value=31000 --quiet 2018-04-17 08:37:05,534 INFO yunohost.hook <lambda> - [583.30] + path_url=/ 2018-04-17 08:37:05,536 INFO yunohost.hook <lambda> - [583.30] ++ dpkg --print-architecture 2018-04-17 08:37:05,539 INFO yunohost.hook <lambda> - [583.30] + export architecture=amd64 2018-04-17 08:37:05,540 INFO yunohost.hook <lambda> - [583.30] + architecture=amd64 2018-04-17 08:37:05,540 INFO yunohost.hook <lambda> - [583.30] ++ dockerapp_ynh_incontainer 2018-04-17 08:37:05,541 INFO yunohost.hook <lambda> - [583.30] ++ '[' -f /.dockerenv ']' 2018-04-17 08:37:05,541 INFO yunohost.hook <lambda> - [583.30] ++ echo 1 2018-04-17 08:37:05,543 INFO yunohost.hook <lambda> - [583.30] + export incontainer=1 2018-04-17 08:37:05,543 INFO yunohost.hook <lambda> - [583.30] + incontainer=1 2018-04-17 08:37:05,543 INFO yunohost.hook <lambda> - [583.30] + ynh_webpath_available social.bastardot.com / 2018-04-17 08:37:05,544 INFO yunohost.hook <lambda> - [583.30] + local domain=social.bastardot.com 2018-04-17 08:37:05,544 INFO yunohost.hook <lambda> - [583.30] + local path=/ 2018-04-17 08:37:05,544 INFO yunohost.hook <lambda> - [583.30] + sudo yunohost domain url-available social.bastardot.com / 2018-04-17 08:37:06,708 INFO yunohost.hook <lambda> - [583.30] True 2018-04-17 08:37:06,763 INFO yunohost.hook <lambda> - [583.30] + ynh_webpath_register diasporadocker social.bastardot.com / 2018-04-17 08:37:06,764 INFO yunohost.hook <lambda> - [583.30] + local app=diasporadocker 2018-04-17 08:37:06,764 INFO yunohost.hook <lambda> - [583.30] + local domain=social.bastardot.com 2018-04-17 08:37:06,764 INFO yunohost.hook <lambda> - [583.30] + local path=/ 2018-04-17 08:37:06,765 INFO yunohost.hook <lambda> - [583.30] + sudo yunohost app register-url diasporadocker social.bastardot.com / 2018-04-17 08:37:07,959 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_findreplaceallvaribles 2018-04-17 08:37:07,959 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_findreplacepath YNH_APP diasporadocker 2018-04-17 08:37:07,960 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_findreplace ../conf/. YNH_APP diasporadocker 2018-04-17 08:37:07,962 INFO yunohost.hook <lambda> - [583.30] ++ grep -rl YNH_APP ../conf/. 2018-04-17 08:37:07,964 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_findreplacepath YNH_DATA /home/yunohost.docker/diasporadocker 2018-04-17 08:37:07,964 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_findreplace ../conf/. YNH_DATA /home/yunohost.docker/diasporadocker 2018-04-17 08:37:07,965 INFO yunohost.hook <lambda> - [583.30] ++ grep -rl YNH_DATA ../conf/. 2018-04-17 08:37:07,967 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_findreplacepath YNH_PORT 31000 2018-04-17 08:37:07,968 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_findreplace ../conf/. YNH_PORT 31000 2018-04-17 08:37:07,968 INFO yunohost.hook <lambda> - [583.30] ++ grep -rl YNH_PORT ../conf/. 2018-04-17 08:37:07,971 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_findreplacepath YNH_PATH / 2018-04-17 08:37:07,971 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_findreplace ../conf/. YNH_PATH / 2018-04-17 08:37:07,971 INFO yunohost.hook <lambda> - [583.30] ++ grep -rl YNH_PATH ../conf/. 2018-04-17 08:37:07,974 INFO yunohost.hook <lambda> - [583.30] + bash docker/_specificvariablesapp.sh 2018-04-17 08:37:10,261 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_copyconf 2018-04-17 08:37:10,262 INFO yunohost.hook <lambda> - [583.30] + mkdir -p /home/yunohost.docker/diasporadocker 2018-04-17 08:37:10,263 INFO yunohost.hook <lambda> - [583.30] + cp -rf ../conf/app /home/yunohost.docker/diasporadocker 2018-04-17 08:37:10,266 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_run 2018-04-17 08:37:10,266 INFO yunohost.hook <lambda> - [583.30] ++ bash docker/run.sh 2018-04-17 08:37:11,410 WARNING yunohost.hook <lambda> - [583.30] docker/run.sh: line 11: /usr/local/bin/docker-compose: Permission denied 2018-04-17 08:37:11,411 WARNING yunohost.hook <lambda> - [583.30] sorry, waiting 300s for startup 2018-04-17 08:42:11,414 INFO yunohost.hook <lambda> - [583.30] + ret=126 2018-04-17 08:42:11,415 INFO yunohost.hook <lambda> - [583.30] + '[' 126 '!=' 0 ']' 2018-04-17 08:42:11,415 INFO yunohost.hook <lambda> - [583.30] + '[' 126 == 125 ']' 2018-04-17 08:42:11,415 INFO yunohost.hook <lambda> - [583.30] + ynh_die 'Sorry ! App cannot start with docker. Please check docker logs.' 2018-04-17 08:42:11,415 INFO yunohost.hook <lambda> - [583.30] + echo 'Sorry ! App cannot start with docker. Please check docker logs.' 2018-04-17 08:42:11,416 INFO yunohost.hook <lambda> - [583.30] + exit 1 2018-04-17 08:42:11,416 INFO yunohost.hook <lambda> - [583.30] + ynh_exit_properly 2018-04-17 08:42:11,416 INFO yunohost.hook <lambda> - [583.30] + local exit_code=1 2018-04-17 08:42:11,416 INFO yunohost.hook <lambda> - [583.30] + '[' 1 -eq 0 ']' 2018-04-17 08:42:11,416 INFO yunohost.hook <lambda> - [583.30] + trap '' EXIT 2018-04-17 08:42:11,417 INFO yunohost.hook <lambda> - [583.30] + set +eu 2018-04-17 08:42:11,417 INFO yunohost.hook <lambda> - [583.30] + echo -e '!!\n diasporadocker'\''s script has encountered an error. Its execution was cancelled.\n!!' 2018-04-17 08:42:11,417 INFO yunohost.hook <lambda> - [583.30] + type -t ynh_clean_setup 2018-04-17 08:42:11,417 WARNING yunohost.hook <lambda> - [583.30] Sorry ! App cannot start with docker. Please check docker logs. 2018-04-17 08:42:11,418 WARNING yunohost.hook <lambda> - [583.30] !! 2018-04-17 08:42:11,418 WARNING yunohost.hook <lambda> - [583.30] diasporadocker's script has encountered an error. Its execution was cancelled. 2018-04-17 08:42:11,418 WARNING yunohost.hook <lambda> - [583.30] !! 2018-04-17 08:42:11,418 WARNING yunohost.hook <lambda> - [583.30] 2018-04-17 08:42:11,422 INFO yunohost.hook <lambda> - [583.30] + ynh_die 2018-04-17 08:42:11,422 INFO yunohost.hook <lambda> - [583.30] + echo '' 2018-04-17 08:42:11,423 INFO yunohost.hook <lambda> - [583.30] + exit 1 2018-04-17 08:42:11,468 INFO yunohost.hook hook_exec - [583.30] Exécution du script « /var/cache/yunohost/from_file/diasporadocker_ynh-f590ade72940987eb90a639329dc05a01974c4de/scripts/remove »... 2018-04-17 08:42:11,509 INFO yunohost.hook <lambda> - [583.30] + source _common.sh 2018-04-17 08:42:11,516 INFO yunohost.hook <lambda> - [583.30] + source /usr/share/yunohost/helpers 2018-04-17 08:42:11,517 INFO yunohost.hook <lambda> - [583.30] +++ run-parts --list /usr/share/yunohost/helpers.d 2018-04-17 08:42:11,522 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:42:11,523 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/backend ']' 2018-04-17 08:42:11,523 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/backend 2018-04-17 08:42:11,524 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:42:11,524 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']' 2018-04-17 08:42:11,524 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/filesystem 2018-04-17 08:42:11,524 INFO yunohost.hook <lambda> - [583.30] +++ CAN_BIND=1 2018-04-17 08:42:11,527 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:42:11,527 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/ip ']' 2018-04-17 08:42:11,527 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/ip 2018-04-17 08:42:11,528 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:42:11,529 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']' 2018-04-17 08:42:11,529 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/mysql 2018-04-17 08:42:11,530 INFO yunohost.hook <lambda> - [583.30] +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql 2018-04-17 08:42:11,531 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:42:11,532 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/network ']' 2018-04-17 08:42:11,532 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/network 2018-04-17 08:42:11,533 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:42:11,533 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/package ']' 2018-04-17 08:42:11,534 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/package 2018-04-17 08:42:11,535 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:42:11,536 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/print ']' 2018-04-17 08:42:11,536 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/print 2018-04-17 08:42:11,537 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:42:11,538 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/setting ']' 2018-04-17 08:42:11,539 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/setting 2018-04-17 08:42:11,540 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:42:11,540 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/string ']' 2018-04-17 08:42:11,541 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/string 2018-04-17 08:42:11,543 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:42:11,544 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/system ']' 2018-04-17 08:42:11,544 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/system 2018-04-17 08:42:11,544 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:42:11,545 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/user ']' 2018-04-17 08:42:11,545 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/user 2018-04-17 08:42:11,546 INFO yunohost.hook <lambda> - [583.30] ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)' 2018-04-17 08:42:11,546 INFO yunohost.hook <lambda> - [583.30] ++ '[' -r /usr/share/yunohost/helpers.d/utils ']' 2018-04-17 08:42:11,546 INFO yunohost.hook <lambda> - [583.30] ++ . /usr/share/yunohost/helpers.d/utils 2018-04-17 08:42:11,547 INFO yunohost.hook <lambda> - [583.30] + app=diasporadocker 2018-04-17 08:42:11,547 INFO yunohost.hook <lambda> - [583.30] ++ ynh_app_setting_get diasporadocker domain 2018-04-17 08:42:11,548 INFO yunohost.hook <lambda> - [583.30] ++ sudo yunohost app setting diasporadocker domain --output-as plain --quiet 2018-04-17 08:42:13,049 INFO yunohost.hook <lambda> - [583.30] + domain=social.bastardot.com 2018-04-17 08:42:13,049 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_loadvariables 2018-04-17 08:42:13,049 INFO yunohost.hook <lambda> - [583.30] + export app=diasporadocker 2018-04-17 08:42:13,050 INFO yunohost.hook <lambda> - [583.30] + app=diasporadocker 2018-04-17 08:42:13,050 INFO yunohost.hook <lambda> - [583.30] + export domain=social.bastardot.com 2018-04-17 08:42:13,050 INFO yunohost.hook <lambda> - [583.30] + domain=social.bastardot.com 2018-04-17 08:42:13,050 INFO yunohost.hook <lambda> - [583.30] + export data_path=/home/yunohost.docker/diasporadocker 2018-04-17 08:42:13,050 INFO yunohost.hook <lambda> - [583.30] + data_path=/home/yunohost.docker/diasporadocker 2018-04-17 08:42:13,052 INFO yunohost.hook <lambda> - [583.30] ++ ynh_app_setting_get diasporadocker port 2018-04-17 08:42:13,053 INFO yunohost.hook <lambda> - [583.30] ++ sudo yunohost app setting diasporadocker port --output-as plain --quiet 2018-04-17 08:42:14,130 INFO yunohost.hook <lambda> - [583.30] + export port=31000 2018-04-17 08:42:14,131 INFO yunohost.hook <lambda> - [583.30] + port=31000 2018-04-17 08:42:14,131 INFO yunohost.hook <lambda> - [583.30] + '[' 31000 == '' ']' 2018-04-17 08:42:14,131 INFO yunohost.hook <lambda> - [583.30] + path_url=/ 2018-04-17 08:42:14,133 INFO yunohost.hook <lambda> - [583.30] ++ dpkg --print-architecture 2018-04-17 08:42:14,136 INFO yunohost.hook <lambda> - [583.30] + export architecture=amd64 2018-04-17 08:42:14,136 INFO yunohost.hook <lambda> - [583.30] + architecture=amd64 2018-04-17 08:42:14,137 INFO yunohost.hook <lambda> - [583.30] ++ dockerapp_ynh_incontainer 2018-04-17 08:42:14,137 INFO yunohost.hook <lambda> - [583.30] ++ '[' -f /.dockerenv ']' 2018-04-17 08:42:14,138 INFO yunohost.hook <lambda> - [583.30] ++ echo 1 2018-04-17 08:42:14,139 INFO yunohost.hook <lambda> - [583.30] + export incontainer=1 2018-04-17 08:42:14,139 INFO yunohost.hook <lambda> - [583.30] + incontainer=1 2018-04-17 08:42:14,139 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_rm 2018-04-17 08:42:14,140 INFO yunohost.hook <lambda> - [583.30] + bash docker/rm.sh 2018-04-17 08:42:14,143 INFO yunohost.hook <lambda> - [583.30] 126 2018-04-17 08:42:14,144 INFO yunohost.hook <lambda> - [583.30] + ynh_secure_remove /home/yunohost.docker/diasporadocker 2018-04-17 08:42:14,144 INFO yunohost.hook <lambda> - [583.30] + local path_to_remove=/home/yunohost.docker/diasporadocker 2018-04-17 08:42:14,144 INFO yunohost.hook <lambda> - [583.30] + local 'forbidden_path= /var/www /home/yunohost.app' 2018-04-17 08:42:14,144 INFO yunohost.hook <lambda> - [583.30] + [[ /var/www /home/yunohost.app =~ /home/yunohost\.docker/diasporadocker ]] 2018-04-17 08:42:14,145 INFO yunohost.hook <lambda> - [583.30] + [[ /home/yunohost.docker/diasporadocker =~ ^/[[:alnum:]]+$ ]] 2018-04-17 08:42:14,145 INFO yunohost.hook <lambda> - [583.30] + [[ r = \/ ]] 2018-04-17 08:42:14,145 INFO yunohost.hook <lambda> - [583.30] + '[' -e /home/yunohost.docker/diasporadocker ']' 2018-04-17 08:42:14,145 INFO yunohost.hook <lambda> - [583.30] + sudo rm -R /home/yunohost.docker/diasporadocker 2018-04-17 08:42:14,164 INFO yunohost.hook <lambda> - [583.30] + ynh_remove_nginx_config 2018-04-17 08:42:14,165 INFO yunohost.hook <lambda> - [583.30] + ynh_secure_remove /etc/nginx/conf.d/social.bastardot.com.d/diasporadocker.conf 2018-04-17 08:42:14,165 INFO yunohost.hook <lambda> - [583.30] + local path_to_remove=/etc/nginx/conf.d/social.bastardot.com.d/diasporadocker.conf 2018-04-17 08:42:14,166 WARNING yunohost.hook <lambda> - [583.30] /etc/nginx/conf.d/social.bastardot.com.d/diasporadocker.conf wasn't deleted because it doesn't exist. 2018-04-17 08:42:14,165 INFO yunohost.hook <lambda> - [583.30] + local 'forbidden_path= /var/www /home/yunohost.app' 2018-04-17 08:42:14,168 INFO yunohost.hook <lambda> - [583.30] + [[ /var/www /home/yunohost.app =~ /etc/nginx/conf\.d/social\.bastardot\.com\.d/diasporadocker\.conf ]] 2018-04-17 08:42:14,168 INFO yunohost.hook <lambda> - [583.30] + [[ /etc/nginx/conf.d/social.bastardot.com.d/diasporadocker.conf =~ ^/[[:alnum:]]+$ ]] 2018-04-17 08:42:14,169 INFO yunohost.hook <lambda> - [583.30] + [[ f = \/ ]] 2018-04-17 08:42:14,169 INFO yunohost.hook <lambda> - [583.30] + '[' -e /etc/nginx/conf.d/social.bastardot.com.d/diasporadocker.conf ']' 2018-04-17 08:42:14,170 INFO yunohost.hook <lambda> - [583.30] + echo '/etc/nginx/conf.d/social.bastardot.com.d/diasporadocker.conf wasn'\''t deleted because it doesn'\''t exist.' 2018-04-17 08:42:14,170 INFO yunohost.hook <lambda> - [583.30] + sudo systemctl reload nginx 2018-04-17 08:42:14,272 INFO yunohost.hook <lambda> - [583.30] + dockerapp_ynh_reloadservices 2018-04-17 08:42:14,273 INFO yunohost.hook <lambda> - [583.30] + yunohost app ssowatconf 2018-04-17 08:42:15,747 INFO yunohost.hook <lambda> - [583.30] The SSOwat configuration has been generated 2018-04-17 08:42:16,121 SUCCESS yunohost.app success - [583.30] La configuration de SSOwat a été générée 2018-04-17 08:42:16,123 INFO geventwebsocket.handler log_request - 127.0.0.1 - - [2018-04-17 08:42:16] "POST /apps HTTP/1.1" 500 159 356.074195

Le nom de domaine me renvoie alors sur la console de yunohost.

Excellente journée!

pour moi l install de l application ne peut se faire car le script ne trouve pas l adresse indiquée. cela peut venir du script lui meme. Je ne peux me pencher plus sur celui-ci.
il te faudrait demander aupres de la personne qui developpe ce script cc @aymhce
bon courage
il reste des alternatives type Riot etc qui pourraient repondre à tes besoins.

Merci pour tes réponses. Hâte que diaspora* puisse être porté sur yunohost.

Bonjour,

@fra Je pense que tu dois avoir un problème avec Docker. Peux tu tester la commande suivants stp : docker run hello-world ?