Can't install collabora

Hello,

I try to install collabora in nextcloud, but even after installing docker, i have this message:

root@stemy:~# docker run -t -d -p 127.0.0.1:9980:9980 -e "domain=stemy\.nohost\.me" --restart always --cap-add MKNOD collabora/code
-bash: docker: command not found
root@stemy:~#

So what am i supposed to do ?

Thanks.

Hi

You can follow this for install docker on debian

I can’d add repository.

-bash: add-apt-repository: command not found

You can try this command

curl -sSL https://get.docker.com | sh

OK. The last message of my command is

E: Sub-process /usr/bin/dpkg returned an error code (1)

Now when i launch the command, i have this:

docker: error during connect: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.30/containers/create: read unix @->/var/run/docker.sock: read: connection reset by peer.

I’m not sure for the syntax of what i must type. The URL of my server is https://www.stemy.me/nextcloud.

Now the details of the command wich returned me an error exit code:

root@www:~# curl -sSL https://get.docker.com | sh
Executing docker install script, commit: 29533f9
+ sh -c apt-get update
Ign http://ftp.fr.debian.org jessie InRelease
Hit http://repo.yunohost.org jessie InRelease                                 
Hit http://ftp.fr.debian.org jessie-backports InRelease                                                         
Hit http://security.debian.org jessie/updates InRelease                                                         
Hit http://ftp.fr.debian.org jessie Release.gpg                                                                 
Hit http://ftp.fr.debian.org jessie Release                                                              
Hit http://repo.yunohost.org jessie/stable armhf Packages                                  
Hit http://http.debian.net jessie-backports InRelease                                      
Get:1 http://ftp.fr.debian.org jessie-backports/main armhf Packages/DiffIndex [27.8 kB]  
Hit http://security.debian.org jessie/updates/main armhf Packages                                                            
Hit http://security.debian.org jessie/updates/contrib armhf Packages                                                         
Get:2 http://ftp.fr.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]                    
Hit http://security.debian.org jessie/updates/non-free armhf Packages                                                      
Hit http://security.debian.org jessie/updates/contrib Translation-en                                                       
Hit http://security.debian.org jessie/updates/main Translation-en                         
Hit http://security.debian.org jessie/updates/non-free Translation-en                     
Ign http://repo.yunohost.org jessie/stable Translation-en_US                              
Ign http://repo.yunohost.org jessie/stable Translation-en                                                                    
Hit http://ftp.fr.debian.org jessie/main armhf Packages                                                                      
Hit http://ftp.fr.debian.org jessie/contrib armhf Packages            
Hit http://ftp.fr.debian.org jessie/non-free armhf Packages                                            
Hit http://ftp.fr.debian.org jessie/contrib Translation-en                                             
Hit http://ftp.fr.debian.org jessie/main Translation-en                                                
Hit http://ftp.fr.debian.org jessie/non-free Translation-en                                             
Get:3 http://http.debian.net jessie-backports/main armhf Packages/DiffIndex [27.8 kB]                   
Get:4 http://http.debian.net jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Fetched 111 kB in 27s (4,091 B/s)                                                                                                                                                                                                                                             
Reading package lists... Done                                                                                                                                                                                                                                                  
+ sh -c apt-get install -y -q apt-transport-https ca-certificates curl software-properties-common                                                                                                                                                                              
Reading package lists...                                                                                                                                                                                                                                                       
Building dependency tree...                                                                                                                                                                                                                                                    
Reading state information...                                                                                                                                                                                                                                                   
apt-transport-https is already the newest version.                                                                                                                                                                                                                             
ca-certificates is already the newest version.                                                                                                                                                                                                                                 
curl is already the newest version.                                                                                                                                                                                                                                            
The following extra packages will be installed:                                                                                                                                                                                                                                
  gir1.2-glib-2.0 libgirepository-1.0-1 python3-dbus python3-gi python3-software-properties                                                                                                                                                                                    
Suggested packages:                                                                                                                                                                                                                                                            
  python-dbus-doc python3-dbus-dbg                                                                                                                                                                                                                                             
The following NEW packages will be installed:                                                                                                                                                                                                                                  
  gir1.2-glib-2.0 libgirepository-1.0-1 python3-dbus python3-gi python3-software-properties software-properties-common                                                                                                                                                         
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.                                                                                                                                                                                                                 
Need to get 968 kB of archives.                                                                                                                                                                                                                                                
After this operation, 2,478 kB of additional disk space will be used.                                                                                                                                                                                                          
Get:1 http://ftp.fr.debian.org/debian/ jessie/main libgirepository-1.0-1 armhf 1.42.0-2.2 [84.3 kB]                                                                                                                                                                            
Get:2 http://ftp.fr.debian.org/debian/ jessie/main gir1.2-glib-2.0 armhf 1.42.0-2.2 [141 kB]                                                                                                                                                                                   
Get:3 http://ftp.fr.debian.org/debian/ jessie/main python3-dbus armhf 1.2.0-2+b3 [182 kB]                                                                                                                                                                                      
Get:4 http://ftp.fr.debian.org/debian/ jessie/main python3-gi armhf 3.14.0-1 [440 kB]                                                                                                                                                                                          
Get:5 http://ftp.fr.debian.org/debian/ jessie/main python3-software-properties all 0.92.25debian1 [41.4 kB]                                                                                                                                                                    
Get:6 http://ftp.fr.debian.org/debian/ jessie/main software-properties-common all 0.92.25debian1 [79.3 kB]
Fetched 968 kB in 1s (657 kB/s)
[master bbb4140] saving uncommitted changes in /etc prior to apt run
 Committer: root <root@www.stemy.me>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

git config --global user.name "Your Name"
git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

git commit --amend --reset-author

 32 files changed, 388 insertions(+), 153 deletions(-)
 create mode 100644 cron.d/nextcloud
 create mode 100644 logrotate.d/nextcloud
 create mode 100644 nginx/conf.d/www.stemy.me.d/nextcloud.conf
 create mode 100644 php5/fpm/pool.d/nextcloud.conf
 mode change 100755 => 100644 yunohost/apps/nextcloud/scripts/backup
 mode change 100755 => 100644 yunohost/apps/nextcloud/scripts/install
 mode change 100755 => 100644 yunohost/apps/nextcloud/scripts/remove
 mode change 100755 => 100644 yunohost/apps/nextcloud/scripts/restore
 mode change 100755 => 100644 yunohost/apps/nextcloud/scripts/upgrade
 mode change 100755 => 100644 yunohost/apps/nextcloud/scripts/upgrade.d/owncloud.sh
 mode change 100755 => 100644 yunohost/apps/nextcloud/scripts/upgrade.d/upgrade.10.sh
 mode change 100755 => 100644 yunohost/apps/nextcloud/scripts/upgrade.d/upgrade.11.sh
 mode change 100755 => 100644 yunohost/apps/nextcloud/scripts/upgrade.d/upgrade.9.sh
 mode change 100755 => 100644 yunohost/apps/nextcloud/scripts/upgrade.d/upgrade.generic.sh
 mode change 100755 => 100644 yunohost/apps/nextcloud/scripts/upgrade.d/upgrade.last.sh
 create mode 100644 yunohost/apps/nextcloud/status.json
 create mode 100644 yunohost/hooks.d/post_user_create/50-nextcloud
Selecting previously unselected package libgirepository-1.0-1:armhf.
(Reading database ... 47552 files and directories currently installed.)
Preparing to unpack .../libgirepository-1.0-1_1.42.0-2.2_armhf.deb ...
Unpacking libgirepository-1.0-1:armhf (1.42.0-2.2) ...
Selecting previously unselected package gir1.2-glib-2.0:armhf.
Preparing to unpack .../gir1.2-glib-2.0_1.42.0-2.2_armhf.deb ...
Unpacking gir1.2-glib-2.0:armhf (1.42.0-2.2) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../python3-dbus_1.2.0-2+b3_armhf.deb ...
Unpacking python3-dbus (1.2.0-2+b3) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../python3-gi_3.14.0-1_armhf.deb ...
Unpacking python3-gi (3.14.0-1) ...
Selecting previously unselected package python3-software-properties.
Preparing to unpack .../python3-software-properties_0.92.25debian1_all.deb ...
Unpacking python3-software-properties (0.92.25debian1) ...
Selecting previously unselected package software-properties-common.
Preparing to unpack .../software-properties-common_0.92.25debian1_all.deb ...
Unpacking software-properties-common (0.92.25debian1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for dbus (1.8.22-0+deb8u1) ...
Setting up libgirepository-1.0-1:armhf (1.42.0-2.2) ...
Setting up gir1.2-glib-2.0:armhf (1.42.0-2.2) ...
Setting up python3-dbus (1.2.0-2+b3) ...
Setting up python3-gi (3.14.0-1) ...
Setting up python3-software-properties (0.92.25debian1) ...
Setting up software-properties-common (0.92.25debian1) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Processing triggers for dbus (1.8.22-0+deb8u1) ...
[master fd47bbe] committing changes in /etc after apt run
 Committer: root <root@www.stemy.me>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

git config --global user.name "Your Name"
git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

git commit --amend --reset-author

 2 files changed, 21 insertions(+)
 create mode 100644 dbus-1/system.d/com.ubuntu.SoftwareProperties.conf
+ sh -c apt-key add -
+ curl -fsSl https://download.docker.com/linux/debian/gpg
OK
+ sh -c add-apt-repository "deb [arch=armhf] https://download.docker.com/linux/debian jessie edge"
+ [ debian = debian ]
+ [ jessie = wheezy ]
+ sh -c apt-get update
Hit http://security.debian.org jessie/updates InRelease
Ign http://ftp.fr.debian.org jessie InRelease                                                    
Hit http://ftp.fr.debian.org jessie-backports InRelease                                          
Hit http://repo.yunohost.org jessie InRelease                                                    
Hit http://ftp.fr.debian.org jessie Release.gpg                                                  
Hit http://ftp.fr.debian.org jessie Release                                        
Hit http://http.debian.net jessie-backports InRelease                              
Hit http://security.debian.org jessie/updates/main armhf Packages
Hit http://security.debian.org jessie/updates/contrib armhf Packages
Hit http://security.debian.org jessie/updates/non-free armhf Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Get:1 https://download.docker.com jessie InRelease [20.2 kB]    
Hit http://security.debian.org jessie/updates/non-free Translation-en                             
Get:2 http://ftp.fr.debian.org jessie-backports/main armhf Packages/DiffIndex [27.8 kB]                 
Hit http://repo.yunohost.org jessie/stable armhf Packages                                                                     
Get:3 http://ftp.fr.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]                                       
Hit http://ftp.fr.debian.org jessie/main armhf Packages                                                                                          
Hit http://ftp.fr.debian.org jessie/contrib armhf Packages                                                                                       
Hit http://ftp.fr.debian.org jessie/non-free armhf Packages                                                                                      
Hit http://ftp.fr.debian.org jessie/contrib Translation-en                                                                                       
Ign http://repo.yunohost.org jessie/stable Translation-en_US                         
Hit http://ftp.fr.debian.org jessie/main Translation-en        
Ign http://repo.yunohost.org jessie/stable Translation-en                                                             
Hit http://ftp.fr.debian.org jessie/non-free Translation-en                                                           
Get:4 https://download.docker.com jessie/edge armhf Packages [1,697 B]                          
Get:5 https://download.docker.com jessie/edge Translation-en_US [585 B]               
Get:6 http://http.debian.net jessie-backports/main armhf Packages/DiffIndex [27.8 kB]                  
Get:7 http://http.debian.net jessie-backports/main Translation-en/DiffIndex [27.8 kB]                              
Get:8 https://download.docker.com jessie/edge Translation-en [582 B]
Get:9 https://download.docker.com jessie/edge Translation-en_US [585 B]                                                                                                                                                                                                       
Get:10 https://download.docker.com jessie/edge Translation-en [582 B]                                                                                                                                                                                                         
Get:11 https://download.docker.com jessie/edge Translation-en_US [585 B]                                                                                                                                                                                                      
Get:12 https://download.docker.com jessie/edge Translation-en [582 B]                                                                                                                                                                                                         
Get:13 https://download.docker.com jessie/edge Translation-en_US [585 B]                                                                                                                                                                                                      
Get:14 https://download.docker.com jessie/edge Translation-en [582 B]                                                                                                                                                                                                         
Get:15 https://download.docker.com jessie/edge Translation-en_US [585 B]                                                                                                                                                                                                      
Ign https://download.docker.com jessie/edge Translation-en_US                                                                                                                                                                                                                 
Get:16 https://download.docker.com jessie/edge Translation-en [582 B]                                                                                                                                                                                                         
Ign https://download.docker.com jessie/edge Translation-en                                                                                                                                                                                                                    
Fetched 133 kB in 23s (5,708 B/s)                                                                                                                                                                                                                                             
Reading package lists... Done
+ sh -c apt-get install -y -q docker-ce
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  aufs-tools cgroupfs-mount libnih-dbus1 libnih1 makedev mountall plymouth
Suggested packages:
  desktop-base plymouth-themes
The following NEW packages will be installed:
  aufs-tools cgroupfs-mount docker-ce libnih-dbus1 libnih1 makedev mountall plymouth
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.7 MB of archives.
After this operation, 81.2 MB of additional disk space will be used.
Get:1 http://ftp.fr.debian.org/debian/ jessie/main makedev all 2.3.1-93 [42.6 kB]
Get:2 http://ftp.fr.debian.org/debian/ jessie/main plymouth armhf 0.9.0-9 [166 kB]
Get:3 http://ftp.fr.debian.org/debian/ jessie/main libnih1 armhf 1.0.3-4.3 [123 kB]
Get:4 http://ftp.fr.debian.org/debian/ jessie/main libnih-dbus1 armhf 1.0.3-4.3 [96.2 kB]
Get:5 http://ftp.fr.debian.org/debian/ jessie/main mountall armhf 2.54 [68.1 kB]
Get:6 https://download.docker.com/linux/debian/ jessie/edge docker-ce armhf 17.06.0~ce-0~debian [18.1 MB]
Get:7 http://ftp.fr.debian.org/debian/ jessie/main aufs-tools armhf 1:3.2+20130722-1.1 [91.6 kB]
Get:8 http://ftp.fr.debian.org/debian/ jessie/main cgroupfs-mount all 1.1 [4,572 B]
Fetched 18.7 MB in 22s (814 kB/s)
[master 6dc65a2] saving uncommitted changes in /etc prior to apt run
 Committer: root <root@www.stemy.me>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

git config --global user.name "Your Name"
git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

git commit --amend --reset-author

 6 files changed, 11 insertions(+)
 create mode 100644 apt/sources.list.d/backports.list.save
 create mode 100644 apt/sources.list.d/jessie-backports.list.save
 create mode 100644 apt/sources.list.d/yunohost.list.save
 create mode 100644 apt/sources.list.save
Selecting previously unselected package makedev.
(Reading database ... 47745 files and directories currently installed.)
Preparing to unpack .../makedev_2.3.1-93_all.deb ...
Unpacking makedev (2.3.1-93) ...
Selecting previously unselected package plymouth.
Preparing to unpack .../plymouth_0.9.0-9_armhf.deb ...
Unpacking plymouth (0.9.0-9) ...
Selecting previously unselected package libnih1.
Preparing to unpack .../libnih1_1.0.3-4.3_armhf.deb ...
Unpacking libnih1 (1.0.3-4.3) ...
Selecting previously unselected package libnih-dbus1.
Preparing to unpack .../libnih-dbus1_1.0.3-4.3_armhf.deb ...
Unpacking libnih-dbus1 (1.0.3-4.3) ...
Selecting previously unselected package mountall.
Preparing to unpack .../mountall_2.54_armhf.deb ...
Unpacking mountall (2.54) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../aufs-tools_1%3a3.2+20130722-1.1_armhf.deb ...
Unpacking aufs-tools (1:3.2+20130722-1.1) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../cgroupfs-mount_1.1_all.deb ...
Unpacking cgroupfs-mount (1.1) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../docker-ce_17.06.0~ce-0~debian_armhf.deb ...
Unpacking docker-ce (17.06.0~ce-0~debian) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u7) ...
Processing triggers for dbus (1.8.22-0+deb8u1) ...
Setting up makedev (2.3.1-93) ...
/run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
/run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
/run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
Setting up plymouth (0.9.0-9) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up libnih1 (1.0.3-4.3) ...
Setting up libnih-dbus1 (1.0.3-4.3) ...
Setting up mountall (2.54) ...
Setting up aufs-tools (1:3.2+20130722-1.1) ...
Setting up cgroupfs-mount (1.1) ...
Setting up docker-ce (17.06.0~ce-0~debian) ...
Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript docker, action "start" failed.
dpkg: error processing package docker-ce (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (215-17+deb8u7) ...
Processing triggers for initramfs-tools (0.120+deb8u3) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-4-armmp
Installing sun7i-a20-olinuxino-lime.dtb into /boot/dtb-3.16.0-4-armmp
Taking backup of dtb-3.16.0-4-armmp.
Installing new dtb-3.16.0-4-armmp.
Installing sun7i-a20-olinuxino-lime.dtb into /boot/dtb-3.16.0-4-armmp
Taking backup of dtb-3.16.0-4-armmp.
Installing new dtb-3.16.0-4-armmp.
flash-kernel: installing version 3.16.0-4-armmp
Generating boot script u-boot image... done.
Taking backup of boot.scr.
Installing new boot.scr.
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Processing triggers for dbus (1.8.22-0+deb8u1) ...
Errors were encountered while processing:
 docker-ce
[master 371fac3] committing changes in /etc after apt run
 Committer: root <root@www.stemy.me>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

git config --global user.name "Your Name"
git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

git commit --amend --reset-author

 60 files changed, 5678 insertions(+)
 create mode 100644 bash_completion.d/docker
 create mode 100644 dbus-1/system.d/Mountall.Server.conf
 create mode 100644 default/aufs
 create mode 100644 default/docker
 create mode 100755 init.d/cgroupfs-mount
 create mode 100755 init.d/docker
 create mode 100755 init.d/plymouth
 create mode 100755 init.d/plymouth-log
 create mode 100644 init/bootmisc.sh.conf
 create mode 100644 init/cgroupfs-mount.conf
 create mode 100644 init/checkfs.sh.conf
 create mode 100644 init/checkroot-bootclean.sh.conf
 create mode 100644 init/checkroot.sh.conf
 create mode 100644 init/docker.conf
 create mode 100644 init/mountall-bootclean.sh.conf
 create mode 100644 init/mountall-net.conf
 create mode 100644 init/mountall-reboot.conf
 create mode 100644 init/mountall-shell.conf
 create mode 100644 init/mountall.conf
 create mode 100644 init/mountall.sh.conf
 create mode 100644 init/mountdevsubfs.sh.conf
 create mode 100644 init/mounted-debugfs.conf
 create mode 100644 init/mounted-dev.conf
 create mode 100644 init/mounted-proc.conf
 create mode 100644 init/mounted-run.conf
 create mode 100644 init/mounted-tmp.conf
 create mode 100644 init/mounted-var.conf
 create mode 100644 init/mountkernfs.sh.conf
 create mode 100644 init/mountnfs-bootclean.sh.conf
 create mode 100644 init/mountnfs.sh.conf
 create mode 100644 init/mtab.sh.conf
 create mode 100644 plymouth/plymouthd.conf
 create mode 120000 rc0.d/K01docker
 create mode 120000 rc0.d/K01plymouth
 create mode 120000 rc0.d/K02cgroupfs-mount
 create mode 120000 rc1.d/K01docker
 create mode 120000 rc1.d/K02cgroupfs-mount
 create mode 120000 rc2.d/S02cgroupfs-mount
 create mode 120000 rc2.d/S03docker
 create mode 120000 rc2.d/S06plymouth
 create mode 120000 rc3.d/S02cgroupfs-mount
 create mode 120000 rc3.d/S03docker
 create mode 120000 rc3.d/S06plymouth
 create mode 120000 rc4.d/S02cgroupfs-mount
 create mode 120000 rc4.d/S03docker
 create mode 120000 rc4.d/S06plymouth
 create mode 120000 rc5.d/S02cgroupfs-mount
 create mode 120000 rc5.d/S03docker
 create mode 120000 rc5.d/S06plymouth
 create mode 120000 rc6.d/K01docker
 create mode 120000 rc6.d/K01plymouth
 create mode 120000 rc6.d/K02cgroupfs-mount
 create mode 120000 rcS.d/S19plymouth-log
 create mode 120000 systemd/system/multi-user.target.wants/docker.service
 create mode 120000 systemd/system/sockets.target.wants/docker.socket
E: Sub-process /usr/bin/dpkg returned an error code (1)