Project

General

Profile

Tâche #31488

Scénario #30986: Implémenter l'Upgrade Auto 2.7.2 → 2.8.0

apache2 ne démarre pas après Upgrade en 2.8.0

Added by Joël Cuissinat 9 months ago. Updated 8 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
01/04/2021
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

https://dev-eole.ac-dijon.fr/jenkins/job/2.8.0/job/test-upgradeauto-scribe-272-2.8.0-amd64/20/console

15:18:27             MONITOR: diagnose -T
15:18:27             *** Test du module scribe version 2.8.0 (scribe 00000001) ***
15:18:27             Attention, serveur opérationnel mais des services ne sont pas démarrés :
15:18:27             apache2.service loaded failed

root@scribe:~# systemctl status apache2.service 
● apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/apache2.service.d
             └─override.conf
     Active: failed (Result: exit-code) since Mon 2021-01-04 15:32:06 CET; 3min 26s ago
       Docs: https://httpd.apache.org/docs/2.4/

janv. 04 15:32:06 scribe systemd[1]: Starting The Apache HTTP Server...
janv. 04 15:32:06 scribe apachectl[10071]: apache2: Syntax error on line 142 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php7.2.load: Cannot load /usr/lib/apache2/modules/l>
janv. 04 15:32:06 scribe apachectl[10065]: Action 'start' failed.
janv. 04 15:32:06 scribe apachectl[10065]: The Apache error log may have more information.
janv. 04 15:32:06 scribe systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
janv. 04 15:32:06 scribe systemd[1]: apache2.service: Failed with result 'exit-code'.
janv. 04 15:32:06 scribe systemd[1]: Failed to start The Apache HTTP Server.

Associated revisions

Revision 8d57bdef (diff)
Added by Benjamin Bohard 8 months ago

Purge des fichiers de configuration php 7.2

Ref #31488

Revision 3f888a1f (diff)
Added by Joël Cuissinat 8 months ago

Correction et nettoyage du script post_upgrade/10-apache

Ref: #31488

History

#1 Updated by Joël Cuissinat 9 months ago

La commande suivante permet de résoudre le problème :

apt remove --purge libapache2-mod-php7.2

Après l'upgrade, de nombreux paquets PHP 7.2 sont toujours en statut RC, je pense que c'est un sujet à traiter :

root@scribe:~# dpkg -l php* | grep rc
||/ Nom                   Version                                    Architecture Description
rc  php7.2-cli            7.2.24-0ubuntu0.18.04.7                    amd64        command-line interpreter for the PHP scripting language
rc  php7.2-common         7.2.24-0ubuntu0.18.04.7                    amd64        documentation, examples and common module for PHP
rc  php7.2-gd             7.2.24-0ubuntu0.18.04.7                    amd64        GD module for PHP
rc  php7.2-imap           7.2.24-0ubuntu0.18.04.7                    amd64        IMAP module for PHP
rc  php7.2-intl           7.2.24-0ubuntu0.18.04.7                    amd64        Internationalisation module for PHP
rc  php7.2-json           7.2.24-0ubuntu0.18.04.7                    amd64        JSON module for PHP
rc  php7.2-ldap           7.2.24-0ubuntu0.18.04.7                    amd64        LDAP module for PHP
rc  php7.2-mbstring       7.2.24-0ubuntu0.18.04.7                    amd64        MBSTRING module for PHP
rc  php7.2-mysql          7.2.24-0ubuntu0.18.04.7                    amd64        MySQL module for PHP
rc  php7.2-opcache        7.2.24-0ubuntu0.18.04.7                    amd64        Zend OpCache module for PHP
rc  php7.2-readline       7.2.24-0ubuntu0.18.04.7                    amd64        readline module for PHP
rc  php7.2-sqlite3        7.2.24-0ubuntu0.18.04.7                    amd64        SQLite3 module for PHP
rc  php7.2-xml            7.2.24-0ubuntu0.18.04.7                    amd64        DOM, SimpleXML, WDDX, XML, and XSL module for PHP

#2 Updated by Benjamin Bohard 8 months ago

  • Status changed from Nouveau to En cours

#3 Updated by Emmanuel GARETTE 8 months ago

  • Assigned To set to Benjamin Bohard
  • % Done changed from 0 to 100

OK sur le dernier test :

            MONITOR: diagnose -T
            *** Test du module scribe version 2.8.0 (scribe 00000001) ***

#4 Updated by Emmanuel GARETTE 8 months ago

  • Status changed from En cours to Résolu

#5 Updated by Joël Cuissinat 8 months ago

11:10:26             *** Services Web
11:10:26             .                         Web => Ok

#6 Updated by Joël Cuissinat 8 months ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Also available in: Atom PDF