Beta-testing phase for YunoHost 3.0 on Debian Stretch

fr
en

#142

XMPP is completely ok for me. DKIM was not good !


#143

Hello,

Have you a tag to know if yunohost comes from a fresh install or an upgrade ?
Mastodon_ynh app have little problems with upgraded systems and not on fresh install with stretch.


#144

Not really though maybe a trick could be found … But can you elaborate on your particular issue ?


#145

Actually on all stretch mastodon upgrades i need to force re-install all ruby modules, after upgrade the change wasn’t detected.
It made upgrade much longer on stretch, not really important.
If you found a trick i’m interested in. :wink:


#146

As a general message : several fixes were pushed recently and we are now in the home stretch (“la dernière ligne droite”) :stuck_out_tongue: of this beta. You are welcome to (re-)test the migration in the coming days while we finalize a few things !


#147

Hi guys,

After removing mopidy lines (c.f. earlier), I try again the migration.

I had an issue like this :

perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = “UTF-8”,
LANG = “en_GB.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to a fallback locale (“en_GB.UTF-8”).

Which was fixed by :

locale-gen en_GB.UTF-8 UTF-8
update-locale en_GB.UTF-8 UTF-8
export LANGUAGE=en_GB.UTF-8
export LC_ALL=en_GB.UTF-8

But I have to do it at each restart.

Then, I am now blocked here (cli migration):

Error: Migration 3 migrate_to_stretch has failed with exception Your system is not fully up to date. Please perform a regular upgrade before running the migration to stretch., aborting

I have no idea what to do from there. (I have done apt-get update/dist-upgrade, as well as yunohost app upgrade.)

Bon courage pour cette dernière ligne droite !


#148

Uh so what does apt-get dist-upgrade tells ?


#149

it says :

Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
metronome
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

I read somewhere that metronome was not an issue… I am right ?


#150

Uuuh I think I understand why you ended up in that stuation, but that’s really tricky to explain…

So just doing this should fix the situation I think :

apt-mark unhold metronome
apt-get dist-upgrade

then re-try the migration :wink:


#151

@Aleks it works ! Those two lines unblock the situations :slight_smile:

Then, the migration blocked once :

Error: Migration 3 migrate_to_stretch has failed with exception [Errno 2] No such file or directory: ‘/etc/fail2ban/filter.d/yunohost.conf’, aborting

But finally, it went through after redoing a second time the migration command.

Now, I will have to do a full check up (it seems than that just nextcloud is broken but I will investigate a little bit).

Bonne journée


#152

So I finally manage to make nextcloud worked again with those 2 lines :
apt-get install php7.0-apcu -y
systemctl reload php7.0-fpm.service

Thanks again :slightly_smiling_face:


#153

Perfect migration for me (VPS at OVH).
Flawless, the only thing I had to do was changing the port from 465 to 587 on my email clients.
Even OpenVPN that was said not to be officially supporting the migration did well and without any troubles.
Thanks to all the developpers, team, testers that have worked so hard on this project.
I have a feeling that some apps (Wallabag, Nextcloud) are faster. Is that PHP7 ?


#154

Well… I don’t know why but php7.0-fpm suddenly stopped to work properly…
Here are my logs :

[22-Jun-2018 11:05:38] NOTICE: fpm is running, pid 23924
[22-Jun-2018 11:05:38] NOTICE: ready to handle connections
[22-Jun-2018 11:05:38] NOTICE: systemd monitor interval set to 10000ms
[22-Jun-2018 11:05:38] WARNING: [pool nextcloud] child 23928 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[22-Jun-2018 11:05:38] WARNING: [pool nextcloud] child 23929 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[22-Jun-2018 11:11:51] WARNING: [pool nextcloud] child 26650 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[22-Jun-2018 11:12:12] WARNING: [pool nextcloud] child 26686 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[22-Jun-2018 11:12:13] WARNING: [pool nextcloud] child 26688 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[22-Jun-2018 11:12:14] WARNING: [pool nextcloud] child 26690 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[22-Jun-2018 11:12:15] WARNING: [pool nextcloud] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 6 total children
[22-Jun-2018 11:12:15] WARNING: [pool nextcloud] child 26692 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[22-Jun-2018 11:12:17] WARNING: [pool nextcloud] child 26650, script ‘/var/www/nextcloud/index.php’ (request: “GET /index.php?ids=98021%3B98047%3B98054%3B98049%3B97894%3B97923%3B97910%3B97906&scale=2&square=1&requesttoken=7RQpI36Q4U2YRZhxxvnqOVZpBNSAi4XEvbmY2H%2FFTBE%3D%3AmEFgcy3q0iPbJK5BicCvDiQgaK7LyNOR6vDdlDT9Fjo%3D”) executing too slow (5.896067 sec), logging
[22-Jun-2018 11:12:17] WARNING: [pool nextcloud] child 23928, script ‘/var/www/nextcloud/index.php’ (request: “GET /index.php?ids=97775%3B98198%3B98176%3B98140%3B98969%3B98972&scale=2&square=1&requesttoken=7RQpI36Q4U2YRZhxxvnqOVZpBNSAi4XEvbmY2H%2FFTBE%3D%3AmEFgcy3q0iPbJK5BicCvDiQgaK7LyNOR6vDdlDT9Fjo%3D”) executing too slow (5.890250 sec), logging
[22-Jun-2018 11:12:17] NOTICE: child 26650 stopped for tracing
[22-Jun-2018 11:12:17] NOTICE: about to trace 26650
[22-Jun-2018 11:12:17] NOTICE: finished trace of 26650
[22-Jun-2018 11:12:17] NOTICE: child 23928 stopped for tracing
[22-Jun-2018 11:12:17] NOTICE: about to trace 23928
[22-Jun-2018 11:12:17] NOTICE: finished trace of 23928
[22-Jun-2018 11:12:18] WARNING: [pool nextcloud] child 26688, script ‘/var/www/nextcloud/index.php’ (request: “GET /index.php?ids=98979%3B98977%3B98982%3B97791%3B98529%3B98554%3B98549&scale=2&square=1&requesttoken=7RQpI36Q4U2YRZhxxvnqOVZpBNSAi4XEvbmY2H%2FFTBE%3D%3AmEFgcy3q0iPbJK5BicCvDiQgaK7LyNOR6vDdlDT9Fjo%3D”) executing too slow (5.654698 sec), logging
[22-Jun-2018 11:12:18] WARNING: [pool nextcloud] child 26686, script ‘/var/www/nextcloud/index.php’ (request: “GET /index.php?ids=98051%3B98057%3B98059%3B97741%3B97744%3B97743%3B97746&scale=2&square=1&requesttoken=7RQpI36Q4U2YRZhxxvnqOVZpBNSAi4XEvbmY2H%2FFTBE%3D%3AmEFgcy3q0iPbJK5BicCvDiQgaK7LyNOR6vDdlDT9Fjo%3D”) executing too slow (6.655672 sec), logging
[22-Jun-2018 11:12:18] NOTICE: child 26686 stopped for tracing
[22-Jun-2018 11:12:18] NOTICE: about to trace 26686
[22-Jun-2018 11:12:18] NOTICE: finished trace of 26686
[22-Jun-2018 11:12:18] NOTICE: child 26688 stopped for tracing
[22-Jun-2018 11:12:18] NOTICE: about to trace 26688
[22-Jun-2018 11:12:18] NOTICE: finished trace of 26688
[22-Jun-2018 11:12:20] WARNING: [pool nextcloud] child 26690, script ‘/var/www/nextcloud/index.php’ (request: “GET /index.php?ids=98938%3B98945%3B98947%3B98942%3B98924%3B98931%3B98929%3B98927&scale=2&square=1&requesttoken=7RQpI36Q4U2YRZhxxvnqOVZpBNSAi4XEvbmY2H%2FFTBE%3D%3AmEFgcy3q0iPbJK5BicCvDiQgaK7LyNOR6vDdlDT9Fjo%3D”) executing too slow (6.318530 sec), logging
[22-Jun-2018 11:12:20] NOTICE: child 26690 stopped for tracing
[22-Jun-2018 11:12:20] NOTICE: about to trace 26690
[22-Jun-2018 11:12:20] NOTICE: finished trace of 26690
[22-Jun-2018 11:13:31] WARNING: [pool nextcloud] child 26751 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[22-Jun-2018 11:21:36] WARNING: [pool rainloop] child 23935 said into stderr: “NOTICE: PHP message: PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/rainloop/app/rainloop/v/1.11.3/app/libraries/Imagine/Gd/Image.php:580) in /var/www/rainloop/app/rainloop/v/1.11.3/app/libraries/RainLoop/Actions.php on line 8686”
[22-Jun-2018 11:21:36] WARNING: [pool rainloop] child 23935 said into stderr: “NOTICE: PHP message: PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/rainloop/app/rainloop/v/1.11.3/app/libraries/Imagine/Gd/Image.php:580) in /var/www/rainloop/app/rainloop/v/1.11.3/app/libraries/RainLoop/Actions.php on line 8688”
[22-Jun-2018 11:21:36] WARNING: [pool rainloop] child 23935 said into stderr: “NOTICE: PHP message: PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/rainloop/app/rainloop/v/1.11.3/app/libraries/Imagine/Gd/Image.php:580) in /var/www/rainloop/app/rainloop/v/1.11.3/app/libraries/RainLoop/Actions.php on line 8690”
[22-Jun-2018 11:21:36] WARNING: [pool rainloop] child 23935 said into stderr: “NOTICE: PHP message: PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/rainloop/app/rainloop/v/1.11.3/app/libraries/Imagine/Gd/Image.php:580) in /var/www/rainloop/app/rainloop/v/1.11.3/app/libraries/RainLoop/Actions.php on line 8691”
[22-Jun-2018 11:47:26] NOTICE: Reloading in progress …
[22-Jun-2018 11:47:26] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.0", {"/usr/sbin/php-fpm7.0", “–nodaemonize”, “–fpm-config”, “/etc/php/7.0/fpm/php-fpm.conf”})
[22-Jun-2018 11:47:26] ERROR: [pool riot] the chdir path ‘/var/www/riot’ does not exist or is not a directory
[22-Jun-2018 11:47:26] ERROR: [pool riot] the chdir path ‘/var/www/riot’ does not exist or is not a directory
[22-Jun-2018 11:47:26] ERROR: failed to post process the configuration
[22-Jun-2018 11:47:26] ERROR: failed to post process the configuration
[22-Jun-2018 11:47:26] ERROR: FPM initialization failed
[22-Jun-2018 11:47:26] ERROR: FPM initialization failed
[22-Jun-2018 11:53:26] ERROR: [pool riot] the chdir path ‘/var/www/riot’ does not exist or is not a directory
[22-Jun-2018 11:53:26] ERROR: failed to post process the configuration
[22-Jun-2018 11:53:26] ERROR: FPM initialization failed
[22-Jun-2018 11:57:42] ERROR: [pool riot] the chdir path ‘/var/www/riot’ does not exist or is not a directory
[22-Jun-2018 11:57:42] ERROR: failed to post process the configuration
[22-Jun-2018 11:57:42] ERROR: FPM initialization failed


#155

OK solved, I had to remove an old riot.conf in /etc/php/7.0/fpm/pool.d/
Strange. I removed riot just before doing the stretch migration, something might have gone wrong.


#156

Another small issue, should be the last… Sorry !
I cannot update Nextcloud. Here is what it says :

Upgrading app nextcloud…
Warning: The backup’s archive name already exists
Warning: Backup failed, the upgrade process was aborted.
Error: Unable to upgrade nextcloud
Error: No app to upgrade


#157

Hello,
Est-ce que ce soucis a été réglé ?
J’ai fait une install aujourd’hui sur un serveur dédié sous debian 9 et je n’arrive pas du tout à accéder à l’interface d’administration.
Lorsque je me connecte, je reçois la notif “connecté” mais pas de mise à jour de la page : je reste sur la page où il faut mettre le mdp. Soit je boucle dessus, soit ça charge indéfiniment…
Dans les logs (yunohost-api.log), j’ai le même message

2018-06-22 17:40:35,871 WARNING moulinette.authenticator.ldap is_authenticated - Error during ldap authentication process: ‘NoneType’ object has no attribute ‘whoami_s’

Je n’arrive pas à savoir d’où ça vient !

Sinon quand je fais en ligne de commande, ça prend beaucoup de temps : pour ajouter un nouvel utilisateur, ça a pris 15min, je trouve ça quand même étrange :confused:

Vous auriez des idées ? Merci d’avance !


#158

Arf ben pas trop, ce problème est assez mystique et on ne sais pas trop d’où ça viens pour le moment :confused:

Est-ce que tu peux tenter si systemctl restart slapd améliore les choses ?


#159

J’ai peur d’avoir fait des mauvaises manip en installant aussi, je ne sais pas si ça peut venir de là.

Au hasard, est-ce que je n’aurai pas du toucher aux /etc/hosts et /etc/hostname ?
(un des rares trucs que j’ai fait alors que ce n’était pas dit dans la doc)


#160

Hmm tout dépends de quelle modif tu as fait exactement :wink: Mais a priori ça m’étonnerait… Perso je commencerais vraiment par tenter de redemarrer slapd…


#161

C’est ce que j’ai fait ! Sauf que là, c’est bizarre, je n’arrive même plus à accéder à mon domaine (starfish.nohost.me).

J’ai fait un

yunohost service regen-conf

J’attends de voir…