We gathered some useful feedback from many people during the alpha, which allowed to fix many bugs ! Thanks to everyone who took the time to test it ! We are glad to announce that we are now moving to the beta-testing phase for YunoHost on Debian Stretch, a.k.a. YunoHost 3.0 !
As a regular user, it should be relatively okay to migrate an existing production instance as long as you are familiar with the command line and the system (in case you encounter some issues ). It should also be relatively okay to setup a fresh production instance on Stretch, though some apps might be incompatible for now.
The migration procedure has now been integrated into the webadmin. It should also be smoother, though there might still be bugs and we need some larger-scale testing and feedback on this delicate operation.
In addition, we would like to grab the attention of app packagers / maintainers to test the compatibility of their apps on Stretch.
As part of the beta, we are also releasing new x86 ISO and Raspberry Pi images, which needs testing ! It is also planned to release pre-installed images for other ARM boards which are supported by Armbian (please tell us if you have a specific board for which you could perform tests).
Joining the beta-test : specific things to test
Fresh installation
You can test YunoHost 3.0 on a fresh, new server !
Steps:
If you are using a regular x86 computer, a virtualbox, a Raspberry Pi, or an other ARM board, then you might want to start from the pre-installed images along with the standard installation steps from the documentation.
Other pre-installed images might be generated on-demand for boards supported by Armbian, please contact us with your specific board name.
If you are using a VPS or some other kind of hardware, you should start from a system with Debian Stretch (9.x) installed. Then simply run the install script using this command :
(If wget is not installed on the system, install it with apt-get install wget)
In both cases, proceed with the post-installation and use your server as you would usually do (from the CLI or webadmin).
What to test: test that you are okay with the way the image or the install script behaves. Test your favorite applications. Properly set up the DNS (c.f. this doc) and check that you get a good score on mail-tester.com.
Migrating an existing instance
Alternatively, if you already have an existing instance, we propose a mechanism to automatically upgrade it to stretch. We are especially interested by feedbacks on migrating from the webadmin, or running this migration on âslowâ hardware (typically old Raspberry pi, or LIME1 boards used in the Internet Cube project), or on servers with many different apps.
Steps:
Please perform a backup of any critical data before proceeding. Even though itâs pretty unlikely that data gets wiped out, itâs always a good thing to do so âŠ
Switch to the testing branch for YunoHost, by running this command :
You should now be able to run the migration using yunohost tools migrations migrate, or from the webadmin under Tools > Migrations.
If the migrations fails for some reason in the middle, please first try to re-run it.
What to test: After the migration is completed, you should check with lsb_release -a that you are indeed on Stretch, and with yunohost --version that you are on YunoHost 3.0. The service âfail2banâ should be running (even though there was some âexpectedâ errors about it during the upgrade). Your apps should also be accessible as they were before.
# rule added automagically by OVH installer - keep it unless you know what you are doing
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:00:00:00:00", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
Quand je retente la migration, jâai le message suivant en plus :
Warning: Running migration 3 migrate_to_stretch...
Warning: Starting migration to Stretch. The logs will be available in /tmp/migrate_to_stretch.log.
Warning: Patching the sources.lists ...
Get:1 http://debian.mirrors.ovh.net/debian jessie-updates InRelease [145 kB]
Hit:2 http://security.debian.org stretch/updates InRelease
Ign:3 http://debian.mirrors.ovh.net/debian stretch InRelease
Hit:4 http://forge.yunohost.org/debian stretch InRelease
Get:5 http://debian.mirrors.ovh.net/debian stretch Release [118 kB]
Hit:6 https://download.docker.com/linux/debian stretch InRelease
Fetched 263 kB in 2s (100 kB/s)
Reading package lists...
metronome was already not hold.
yunohost was already set on hold.
yunohost-admin was already set on hold.
moulinette was already set on hold.
ssowat was already set on hold.
nextcloud-ynh-deps was already set on hold.
wallabag2-ynh-deps was already set on hold.
fail2ban was already set on hold.
Warning: Starting main upgrade ...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
g++-4.9 libbind9-90 libdjvulibre-text libdjvulibre21 libdns100 libefivar0
libgmime-2.6-0 libgpgme11 libilmbase6 libisc95 libisccc90 libisccfg90
libjasper1 liblwres90 libntdb1 libopenexr6 libperl4-corelibs-perl libpth20
libslp1 libstdc++-4.9-dev libuuid-perl libwmf0.2-7 python-cffi
python-colorama python-distlib python-html5lib python-ndg-httpsclient
python-ntdb python-ply python-pycparser python-support python-webencodings
python3-jinja2 python3-markupsafe
Use 'apt autoremove' to remove them.
The following packages have been kept back:
fail2ban imagemagick imagemagick-6.q16 imagemagick-common moulinette ssowat
yunohost yunohost-admin
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Error: Migration 3 migrate_to_stretch has failed with exception Something wrong happened during the main upgrade : system is still on Jessie !? To investigate the issue, please look at /tmp/migrate_to_stretch.log :s ..., aborting
Je tenterai bien de renommer ce fichier et puis de recommencer.
PPS: @rom69 Il me semble que il y a un yunopasteqqch mais je ne trouve pas lâadresse exacte.
Tu peux utiliser les services de framasoft : https://framadrop.org/# ou https://framabin.org/ ou tout autre service dans le genre.
cp: '/etc/udev/rules.d/70-persistent-net.rules' and '/etc/udev/rules.d/70-persistent-net.rules' are the same file
cp: '/etc/udev/rules.d/70-persistent-net.rules' and '/etc/udev/rules.d/70-persistent-net.rules' are the same file
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.9.0-6-amd64
Found initrd image: /boot/initrd.img-4.9.0-6-amd64
Found linux image: /boot/vmlinuz-3.16.0-6-amd64
Found initrd image: /boot/initrd.img-3.16.0-6-amd64
Found linux image: /boot/vmlinuz-3.16.0-5-amd64
Found initrd image: /boot/initrd.img-3.16.0-5-amd64
done
Setting up linux-headers-4.9.0-6-amd64 (4.9.88-1+deb9u1) ...
Error: Migration 3 migrate_to_stretch has failed with exception Something wrong happened during the main upgrade : system is still on Jessie !? To investigate the issue, please look at /tmp/migrate_to_stretch.log :s ..., aborting
Ok jâai lâimpression que python se base sur la commande uname. Est-ce que tu peux confirmer que uname -a raconte que tu es toujours sous Debian 8 ?
bref, la migration continue mais il y a un petit pb avec fail2ban visiblement.
Created symlink /etc/systemd/system/multi-user.target.wants/fail2ban.service â /lib/systemd/system/fail2ban.service.
Job for fail2ban.service failed because a timeout was exceeded.
See "systemctl status fail2ban.service" and "journalctl -xe" for details.
invoke-rc.d: initscript fail2ban, action "start" failed.
â fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: timeout) since Wed 2018-05-09 01:00:20 CEST; 29ms ago
Docs: man:fail2ban(1)
Process: 11299 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=1/FAILURE)
CPU: 1min 30.294s
CGroup: /system.slice/fail2ban.service
ââ32621 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/faâŠid
May 09 01:00:20 tata.fr systemd[1]: Failed to start Fail2Ban Service.
May 09 01:00:20 tata.fr systemd[1]: fail2ban.service: Unit entered faiâŠte.
May 09 01:00:20 tata.fr systemd[1]: fail2ban.service: Failed with resuâŠt'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package fail2ban (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up python3-systemd (233-1) ...
Processing triggers for systemd (232-25+deb9u2) ...
Processing triggers for man-db (2.7.6.1-2) ...
[...]
Alors⊠La migration semble ĂȘtre fini mais le terminal ne ma toujours pas rendu la main depuis 3-4 minutes âŠ
[...]
Unpacking yunohost-admin (3.0.0~beta1) over (2.7.13) ...
Setting up php7.0-mysql (7.0.27-0+deb9u1) ...
Creating config file /etc/php/7.0/mods-available/mysqlnd.ini with new version
Creating config file /etc/php/7.0/mods-available/mysqli.ini with new version
Creating config file /etc/php/7.0/mods-available/pdo_mysql.ini with new version
Setting up moulinette (3.0.0~beta1) ...
Setting up php7.0-ldap (7.0.27-0+deb9u1) ...
Creating config file /etc/php/7.0/mods-available/ldap.ini with new version
Setting up php7.0-gd (7.0.27-0+deb9u1) ...
Creating config file /etc/php/7.0/mods-available/gd.ini with new version
Setting up php7.0-mcrypt (7.0.27-0+deb9u1) ...
Creating config file /etc/php/7.0/mods-available/mcrypt.ini with new version
Setting up php7.0-curl (7.0.27-0+deb9u1) ...
Creating config file /etc/php/7.0/mods-available/curl.ini with new version
Setting up php7.0-fpm (7.0.27-0+deb9u1) ...
Creating config file /etc/php/7.0/fpm/php.ini with new version
php_invoke: Enable module iconv for fpm sapi
php_invoke: Enable module wddx for fpm sapi
php_invoke: Enable module posix for fpm sapi
php_invoke: Enable module phar for fpm sapi
php_invoke: Enable module sysvsem for fpm sapi
php_invoke: Enable module fileinfo for fpm sapi
php_invoke: Enable module ctype for fpm sapi
php_invoke: Enable module xsl for fpm sapi
php_invoke: Enable module dom for fpm sapi
php_invoke: Enable module sysvmsg for fpm sapi
php_invoke: Enable module xmlwriter for fpm sapi
php_invoke: Enable module sysvshm for fpm sapi
php_invoke: Enable module xml for fpm sapi
php_invoke: Enable module sockets for fpm sapi
php_invoke: Enable module gettext for fpm sapi
php_invoke: Enable module calendar for fpm sapi
php_invoke: Enable module pdo for fpm sapi
php_invoke: Enable module tokenizer for fpm sapi
php_invoke: Enable module opcache for fpm sapi
php_invoke: Enable module simplexml for fpm sapi
php_invoke: Enable module readline for fpm sapi
php_invoke: Enable module xmlreader for fpm sapi
php_invoke: Enable module ftp for fpm sapi
php_invoke: Enable module mbstring for fpm sapi
php_invoke: Enable module json for fpm sapi
php_invoke: Enable module shmop for fpm sapi
php_invoke: Enable module exif for fpm sapi
Created symlink /etc/systemd/system/multi-user.target.wants/php7.0-fpm.service â /lib/systemd/system/php7.0-fpm.service.
Setting up libzip4:amd64 (1.1.2-1.1+b1) ...
Setting up php7.0-zip (7.0.27-0+deb9u1) ...
Creating config file /etc/php/7.0/mods-available/zip.ini with new version
Setting up php-ldap (1:7.0+49) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up php-fpm (1:7.0+49) ...
Setting up ssowat (3.0.0~beta1) ...
Processing triggers for systemd (232-25+deb9u2) ...
Setting up unscd (0.53-1+yunohost) ...
Installing new version of config file /etc/nscd.conf ...
Adding group `unscd' (GID 129) ...
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
Done.
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
Created symlink /etc/systemd/system/multi-user.target.wants/unscd.service â /lib/systemd/system/unscd.service.
Processing triggers for man-db (2.7.6.1-2) ...
Setting up php-mcrypt (1:7.0+49) ...
Setting up php-gd (1:7.0+49) ...
Setting up php7.0-intl (7.0.27-0+deb9u1) ...
Creating config file /etc/php/7.0/mods-available/intl.ini with new version
Setting up php-intl (1:7.0+49) ...
Setting up php-mysql (1:7.0+49) ...
Setting up yunohost (3.0.0~beta1.2) ...
Regenerating configuration, this might take a while...
Success! The configuration has been updated for service 'postfix'
Success! The configuration has been updated for service 'rspamd'
Warning: The configuration file '/etc/nginx/conf.d/charbowicz.fr.conf' has been manually modified and will not be updated
Success! The configuration has been updated for service 'dnsmasq'
Warning: The configuration file '/etc/fail2ban/jail.conf' has been manually modified and will not be updated
Success! The configuration has been updated for service 'dovecot'
Launching migrations..
Warning: Running migration 4 php5_to_php7_pools...
Warning: Running migration 5 postgresql_9p4_to_9p6...
Warning: Postgresql was not installed on your system. Nothing to do!
Restarting YunoHost firewall...
Setting up php-curl (1:7.0+49) ...
Setting up php-zip (1:7.0+49) ...
Setting up yunohost-admin (3.0.0~beta1) ...
Processing triggers for php7.0-fpm (7.0.27-0+deb9u1) ...
Processing triggers for systemd (232-25+deb9u2) ...
Done!