The upgrade to 1.10 failed here because of private SSL certificates:

aegir.example.com:/home/anarcat# apt-get install
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.
2 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Paramétrage de aegir-hostmaster (1.10) ...
Aegir frontend (@hostmaster) site detected in /var/aegir/hostmaster-6.x-1.9
upgrading the frontend from /var/aegir/hostmaster-6.x-1.9 to /var/aegir/hostmaster-6.x-1.10

This command will operate the following changes in your system:

1. verify the server and the hostmaster site (provision-verify)
2. verify the new platform (which will download it if missing)
3. stop the queue (hosting-pause)
4. attempt a migration to the new platform (provision-migrate)
5. start the queue (hosting-resume)

We are making the following assumptions:
 * you have read UPGRADE.txt
 * you are executing this script as your "aegir" user

Do you really want to proceed with the upgrade? (y/n): y
failed to generate SSL key in                                        [error]
<em>/var/aegir/config/ssl.d/example.com/openssl.key</em>
failed to generate self-signed certificate in                        [error]
<em>/var/aegir/config/ssl.d/example.com/openssl.crt</em>
dpkg : erreur de traitement de aegir-hostmaster (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
dpkg : des problèmes de dépendances empêchent la configuration de aegir :
 aegir dépend de aegir-hostmaster (>= 1.10) ; cependant :
 Le paquet aegir-hostmaster n'est pas encore configuré.
dpkg : erreur de traitement de aegir (--configure) :
 problèmes de dépendances - laissé non configuré
configured to not write apport reports
                                      configured to not write apport reports
                                                                            Des erreurs ont été rencontrées pendant l'exécution :
 aegir-hostmaster
 aegir
E: Sub-process /usr/bin/dpkg returned an error code (1)

The problem is that those certificates are symlinks to root-owned certificates, which are not publicly readable, which is fine because Apache starts and read them as root, but php's file_exists() freaks out on them. Crap.

Comments

anarcat’s picture

the problem is that file_exists() fails if it can't read the target of the symlink, which is incredibly stupid, but hey, who am i to criticize php...

anarcat’s picture

Status: Active » Fixed

fixed in 1.x in d5c4c17 and in 2.x in 750dc67.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.