# Alpha-testing phase for YunoHost on Debian Stretch

**URL:** https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500
**Category:** Announcements
**Tags:** french, english
**Created:** [March 9, 2018, 1:30pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500 "2018-03-09T13:30:03Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![guigo](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/65b543/32.png) [@guigo](https://forum.yunohost.org/u/guigo)
#### Post date: [April 1, 2018, 8:41am UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/21 "2018-04-01T08:41:41Z")

</div>

Hello,

I tested the case #1 on a dedicated server and i have the following error during the post installation step :

> Error: Script execution failed: /usr/share/yunohost/hooks/conf\_regen/43-dnsmasq

The service dnsmasq is not able to restart because :

> dnsmasq[31589]: dnsmasq: failed to create listening socket for port 53: Address already in use

This port is used by named, which seems doing the same thing than dnsmasq. I don’t know which one is the most important (or maybe both are ?) but Yunohost works fine even with this error.

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [April 1, 2018, 1:44pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/22 "2018-04-01T13:44:48Z")

</div>

> [@guigo](#):
>
> This port is used by named, which seems doing the same thing than dnsmasq. I don’t know which one is the most important (or maybe both are ?)

Uh well they dont exactly fulfill the same job. “Named” is actually bind9 - though I wouldnt be able to tell exactly about the exact jobs they fulfill 😛

Anyway, this should have been spotted by a piece of code in the install script here : [https://github.com/YunoHost/install\_script/blob/stretch2/install\_yunohost#L220](https://github.com/YunoHost/install_script/blob/stretch2/install_yunohost#L220) but apparently it didn’t… (Somebody a few days also reported a similar issue for apache)

If you didnt touch your setup since then, can you try getting the output of this command ?

```bash
dpkg --get-selections | grep -v deinstall | grep 'bind9'

```

Also, thanks for the feedback ! ❤

---

<div class="post-metadata">

### Author: ![guigo](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/65b543/32.png) [@guigo](https://forum.yunohost.org/u/guigo)
#### Post date: [April 1, 2018, 7:44pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/23 "2018-04-01T19:44:53Z")

</div>

Here is the output :

> bind9 install  
> bind9-host install  
> bind9utils install  
> libbind9-140:amd64 install

I think the function check\_assertions works : the dedicated server is a fresh installation so the bind9 packages are not installed when i’m starting the installation. The yunohost-installation.log shows the installation of the bind9 packages, maybe it’s a recommends/suggests dependency ?

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [April 1, 2018, 7:52pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/24 "2018-04-01T19:52:48Z")

</div>

> [@guigo](#):
>
> The yunohost-installation.log shows the installation of the bind9 packages, maybe it’s a recommends/suggests dependency ?

Uuuuuh I’m pretty sure it’s not 😅 But that’s really weird if it got installed during the yunohost install … Do you have the corresponding piece of log ? :s

---

<div class="post-metadata">

### Author: ![guigo](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/65b543/32.png) [@guigo](https://forum.yunohost.org/u/guigo)
#### Post date: [April 1, 2018, 7:59pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/25 "2018-04-01T19:59:41Z")

</div>

Sorry, i’m wrong, bind9utils (not bind9) is installed during the yunohost installation.

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [April 1, 2018, 8:01pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/26 "2018-04-01T20:01:22Z")

</div>

Okay

So by curiosity, if you run

```bash
dpkg --get-selections | grep -v deinstall | grep 'bind9 '

```

(same command but with a space after bind9) does that still shows some results ?

---

<div class="post-metadata">

### Author: ![guigo](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/65b543/32.png) [@guigo](https://forum.yunohost.org/u/guigo)
#### Post date: [April 1, 2018, 8:03pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/27 "2018-04-01T20:03:03Z")

</div>

It’s not, the output is empty.

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [April 1, 2018, 8:06pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/28 "2018-04-01T20:06:01Z")

</div>

Hm so maybe

`dpkg --get-selections | grep -v deinstall | grep 'bind9\s'`

should do it ? (`\s` after bind9 now)

---

<div class="post-metadata">

### Author: ![guigo](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/65b543/32.png) [@guigo](https://forum.yunohost.org/u/guigo)
#### Post date: [April 1, 2018, 8:08pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/29 "2018-04-01T20:08:27Z")

</div>

I was going to suggest with 'grep -P ‘bind9\t’ but yes, with ‘\s’ just bind9 is appearing.

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [April 1, 2018, 8:10pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/30 "2018-04-01T20:10:34Z")

</div>

Ah yea maybe that also works 😅

Well I’ll fix that in the script then ! So that if bind9 is installed previous to the install, the script will ask the user to uninstall it. (I think this situation happens for instance on some OVH machines ?)

---

<div class="post-metadata">

### Author: ![guigo](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/65b543/32.png) [@guigo](https://forum.yunohost.org/u/guigo)
#### Post date: [April 1, 2018, 8:18pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/31 "2018-04-01T20:18:13Z")

</div>

Ok, great ! (Almost, in a online .net server)

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [April 1, 2018, 8:22pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/32 "2018-04-01T20:22:33Z")

</div>

Fixed it ! [https://github.com/YunoHost/install\_script/commit/5a66ff9e0ea4ecdbab91fce78313fa1a0a96f9f5](https://github.com/YunoHost/install_script/commit/5a66ff9e0ea4ecdbab91fce78313fa1a0a96f9f5)

Thanks for the feedback !

---

<div class="post-metadata">

### Author: ![Albakham](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/c89c15/32.png) [@Albakham](https://forum.yunohost.org/u/Albakham)
#### Post date: [April 8, 2018, 1:48am UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/33 "2018-04-08T01:48:52Z")

</div>

So, after hours testing it, this is what doesn’t worked for me :

Impossible to install “Searx” because “the user searx doesn’t exist” or nextcloud…  
Impossible to install unofficial app for a missing manifest.json file error  
However, that’s possible with the community apps list  
Not able to update the system

That’s it for now

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [April 8, 2018, 2:38pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/34 "2018-04-08T14:38:30Z")

</div>

Hey, thanks a lot for the feedback !

> [@Albakham](#):
>
> Impossible to install “Searx” because “the user searx doesn’t exist” or nextcloud…

Those are known issue being investigated / fixed

> [@Albakham](#):
>
> Impossible to install unofficial app for a missing manifest.json file error

That’s pretty weird 🤔 As asked in your private message, can you re-run the command in command line with --debug and show the output ?

> [@Albakham](#):
>
> Not able to update the system

Uh what do you mean by that ? Which command are you using and why doesnt it seem to be able to ?

---

<div class="post-metadata">

### Author: ![gannonwoto](https://forum.yunohost.org/user_avatar/forum.yunohost.org/gannonwoto/32/787_2.png) [@gannonwoto](https://forum.yunohost.org/u/gannonwoto)
#### Post date: [April 14, 2018, 3:42pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/35 "2018-04-14T15:42:29Z")

</div>

hey here,

so some context :

- vm debian 8 fresh install
- install yunohost with script
- config yunohost : users and domain
- install nextcloud, wallabag, shaarli, dokuwiki, gogs
- create (or upload) data for this apps
- script for debian update

…

the only problem I have is a blank page with nextcloud. I already had this pb but I don’t remember how resolv this. And I find nothing in the log …

Good work team.

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [April 14, 2018, 3:44pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/36 "2018-04-14T15:44:29Z")

</div>

Hey !

Thanks for the feedback !

There’s a fix on the way for nextcloud, but in the meantime you might be able to solve the issue by manually installing php-zip with `apt-get install php-zip`

---

<div class="post-metadata">

### Author: ![gannonwoto](https://forum.yunohost.org/user_avatar/forum.yunohost.org/gannonwoto/32/787_2.png) [@gannonwoto](https://forum.yunohost.org/u/gannonwoto)
#### Post date: [April 14, 2018, 3:55pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/37 "2018-04-14T15:55:52Z")

</div>

It’s not this …  
I search …

hum

```auto
# yunohost app debug nextcloud
Error: Unknown service 'php5-fpm'

```

---

<div class="post-metadata">

### Author: ![ppr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/8c91f0/32.png) [@ppr](https://forum.yunohost.org/u/ppr)
#### Post date: [April 15, 2018, 3:01pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/38 "2018-04-15T15:01:58Z")

</div>

Bonjour @Aleks ,

Je viens de tester rapidement l’installation de YunoHost sur une base Debian Stretch 64 dans une VirtualBox.

> bash \<(wget -q -O- [https://install.yunohost.org/stretch](https://install.yunohost.org/stretch))  
> Cette commande, en root, est passée sans problème.

- La post-installation avec `alpha-case-1-vm.nohost.me` s’est déroulée sans problème.  
D’ailleurs, tu peux supprimer ce nom de domaine ASAP 😉

- La création de l’utilistateur principal s’est déroulée sans problème.

- L’installation de Rainloop s’est déroulée sans problème.

- L’installation de Roundcube a échoué.

> Exécution du script « /var/cache/yunohost/from\_file/roundcube\_ynh-a780644e4278af24de44ad95228c6bf8b6d0f658/scripts/remove »…  
> !!  
> roundcube’s script has encountered an error. Its execution was cancelled.  
> !!  
> Unable to install dependencies  
> E: Les paquets doivent être enlevés mais la désinstallation est désactivée.  
> `+ exit 1`  
> `+ echo ''`  
> `+ ynh_die`  
> `+ type -t ynh_clean_setup`  
> `+ echo -e '!!\n roundcube'\''s script has encountered an error. Its execution was cancelled.\n!!'`  
> `+ set +eu`  
> `+ trap '' EXIT`  
> `+ '[' 1 -eq 0 ']'`  
> `+ local exit_code=1`  
> `+ ynh_exit_properly`  
> `+ exit 1`  
> `+ echo 'Unable to install dependencies'`  
> `+ ynh_die 'Unable to install dependencies'`  
> `+ sudo apt-get -y -qq --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f`  
> `+ DEBIAN_FRONTEND=noninteractive`  
> `+ ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f`  
> `+ ynh_package_install -f`  
> Paramétrage de roundcube-ynh-deps (1.3.3-1) …  
> Le paquet php-net-ldap3 n’est pas installé.  
> roundcube-ynh-deps dépend de php-net-ldap3 ; cependant :  
> Le paquet php-net-ldap2 n’est pas installé.  
> roundcube-ynh-deps dépend de php-net-ldap2 ; cependant :  
> Le paquet php-crypt-gpg n’est pas installé.  
> roundcube-ynh-deps dépend de php-crypt-gpg ; cependant :  
> Le paquet php-net-socket n’est pas installé.  
> roundcube-ynh-deps dépend de php-net-socket ; cependant :  
> Le paquet php-net-smtp n’est pas installé.  
> roundcube-ynh-deps dépend de php-net-smtp ; cependant :  
> Le paquet php-patchwork-utf8 n’est pas installé.  
> roundcube-ynh-deps dépend de php-patchwork-utf8 ; cependant :  
> Le paquet php-mail-mime n’est pas installé.  
> roundcube-ynh-deps dépend de php-mail-mime ; cependant :  
> Le paquet php-auth-sasl n’est pas installé.  
> roundcube-ynh-deps dépend de php-auth-sasl ; cependant :  
> dpkg: roundcube-ynh-deps : problèmes de dépendances, mais configuration comme demandé :  
> Dépaquetage de roundcube-ynh-deps (1.3.3-1) …  
> Préparation du dépaquetage de …/roundcube-ynh-deps\_1.3.3-1\_all.deb …  
> (Lecture de la base de données… 52783 fichiers et répertoires déjà installés.)  
> Sélection du paquet roundcube-ynh-deps précédemment désélectionné.  
> `+ sudo dpkg --force-depends -i ./roundcube-ynh-deps_1.3.3-1_all.deb`  
> `+ equivs-build ./control`  
> `+ cd /tmp/tmp.IfxbTCLMqh`

- L’installation de Wallabag2 s’est déroulée sans problème.

- L’installation de Nextcloud a échoué :

> #2 {main}Création du répertoire « /home/nextcloud ».  
> #1 /var/www/nextcloud/occ(11): require\_once(‘/var/www/nextcl…’)  
> #0 /var/www/nextcloud/console.php(99): OC\Console\Application-\>loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))  
> Stack trace:  
> Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:145  
> An unhandled exception has been thrown:  
> Please ask your server administrator to install the module.  
> PHP module zip not installed.  
> Nextcloud is not installed - only a limited number of commands are available

J’ai donc installé php-zip

> apt install libzip4 php-zip php7.0-zip

L’installation est allée jusqu’au bout malgré la présence de ce message

> Nextcloud is not installed - only a limited number of commands are available  
> Nextcloud was successfully installed

- L’installation d’un certificate Let’s Encrypt n’est pas allée jusqu’à son terme à cause des limitations de création/renouvellement de certificats. Sinon, tout le reste était a priori bien configuré d’après le message au niveau du panel de l’interface web.

ppr

---

<div class="post-metadata">

### Author: ![FurryJulie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/furryjulie/32/1212_2.png) [@FurryJulie](https://forum.yunohost.org/u/FurryJulie)
#### Post date: [April 17, 2018, 9:33pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/39 "2018-04-17T21:33:53Z")

</div>

Hello,

I tested the case #1 on a Raspberry Pi 3, model B, with a newly installed Rasbian.

```
root@orobas:~# cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

```

and I had a minor issue during the installation of Yunohost:

```
[INFO] Running install_script_dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Package dialog is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'dialog' has no installation candidate
[FAIL] Unable to install dependencies to install script

```

It was fixed after doing

```
apt-get update

```

and re-launching the installtion script with:

```
bash <(wget -q -O- https://install.yunohost.org/stretch)
```

---

<div class="post-metadata">

### Author: ![FurryJulie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/furryjulie/32/1212_2.png) [@FurryJulie](https://forum.yunohost.org/u/FurryJulie)
#### Post date: [April 17, 2018, 10:00pm UTC](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500/40 "2018-04-17T22:00:31Z")

</div>

Hello again,

I had 2 other minor (?) issues, during the post installation step.

Context :  
\_ **Hardware** : Raspberry Pi 3, model B with a 32GB SD card.

\_ **Network** : Basic network configuration with static IP

```
root@orobas:~# ping -c 1 yunohost.org
PING yunohost.org (91.224.148.92) 56(84) bytes of data.
64 bytes from 91-224-148-92.tetaneutral.net (91.224.148.92): icmp_seq=1 ttl=54 time=22.2 ms

--- yunohost.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 22.223/22.223/22.223/0.000 ms

```

\_ **OS** : Newly installed Raspbian (Stretch).

\_ **Packages** : I’ve installed tmux and Yunohost with the given installation script in case #1 (see my previous post).

**Issues** :

```
root@orobas:~# yunohost tools postinstall
Main domain: fpsource.info
New administration password: 
Confirm new administration password: 
Error: [Errno 52] Invalid url https://dyndns.yunohost.org/domains (does this site exists ?)

```

But when I try to join this URL, it seems to work fine:

```
root@orobas:~# wget https://dyndns.yunohost.org/domains
--2018-04-17 21:42:13-- https://dyndns.yunohost.org/domains
Resolving dyndns.yunohost.org (dyndns.yunohost.org)... 91.224.148.92, 2a03:7220:8080:5c00::1
Connecting to dyndns.yunohost.org (dyndns.yunohost.org)|91.224.148.92|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23 [application/json]
Saving to: ‘domains’

domains 100%[==============================================>] 23 --.-KB/s in 0s

2018-04-17 21:42:13 (4.68 MB/s) - ‘domains’ saved [23/23]

```

The other issue accured during the same command:

```
Success! The firewall has been reloaded
Error: Unable to retrieve the remote application list yunohost: HTTPSConnectionPool(host='app.yunohost.org', port=443): Max retries exceeded with url: /official.json (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7525c9d0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Warning: Skipping migration 1 change_cert_group_to_sslcert...
Warning: Skipping migration 2 migrate_to_tsig_sha256...
Warning: Skipping migration 3 migrate_to_stretch...
Warning: Skipping migration 4 php5_to_php7_pools...
Synchronizing state of yunohost-firewall.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable yunohost-firewall
Success! The service 'yunohost-firewall' has been enabled
```

[Previous page](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500.md?page=1)

[Next page](https://forum.yunohost.org/t/alpha-testing-phase-for-yunohost-on-debian-stretch/4500.md?page=3)
