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.
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 ?
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
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 ?)
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
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
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.
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
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:
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