Projet

Général

Profil

Demande #5022

Mettre à jour Matomo vers 4.2.0

Ajouté par Christian P. Momon il y a plus de 3 ans. Mis à jour il y a environ 3 ans.

Statut:
Fermé
Priorité:
Normale
Assigné à:
Catégorie:
-
Version cible:
Début:
09/05/2020
Echéance:
% réalisé:

100%

Temps estimé:
Difficulté:
2 Facile

Description

Icinga prévient :

WARNING : new version available, installed is 3.14.1, last is 4.0.5.

Demande : mettre à jour Matomo.


Demandes liées

Copié depuis Admins - Demande #4468: Mettre à jour Matomo vers 3.14.0Fermé09/05/2020

Actions

Historique

#1

Mis à jour par Christian P. Momon il y a plus de 3 ans

  • Copié depuis Demande #4468: Mettre à jour Matomo vers 3.14.0 ajouté
#2

Mis à jour par Quentin Gibeaux il y a plus de 3 ans

  • Assigné à mis à Romain H.
  • Version cible changé de Décembre 2020 à Janvier 2021
#3

Mis à jour par Quentin Gibeaux il y a environ 3 ans

  • Version cible changé de Janvier 2021 à Février 2021
#4

Mis à jour par Quentin Gibeaux il y a environ 3 ans

  • Version cible changé de Février 2021 à Mars 2021
#5

Mis à jour par Romain H. il y a environ 3 ans

  • Sujet changé de Mettre à jour Matomo vers 4.0.5 à Mettre à jour Matomo vers 4.2.0
  • Statut changé de Nouveau à Résolu

Actions effectuées :

  • clic dans l'interface pour lancer la mise à jour ;
  • lecture du message sur la nécessité de mettre à jour la base de données ;
  • lancement de la commande :
    sudo -u www-data php /var/www/statistiques.april.org/piwik/console core:update
  • apparition de l'erreur suivante :
    [X] Critical Error during the update process:
    
        * /var/www/statistiques.april.org/piwik/core/Updates/4.0.0-b1.php:
        Error trying to execute the migration 'ALTER TABLE `piwik_log_visit` ADD COLUMN `visitor_seconds_since_first` INT(11) UNSIGNED NULL, ADD COLUMN `visitor_seconds_since_order` INT(11) UNSIGNED NULL, ADD COLUMN `visitor_seconds_since_last` INT(11) UNSIGNED NULL, ADD COLUMN `profilable` TINYINT(1) NULL;'.
        The error was: SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
    
        The above is the core error message. It should help explain the cause, but if you require further help please:
    
        * Check the [ Matomo FAQ ] which explains most common errors during update. 
        * Ask your system administrator - they may be able to help you with the error which is most likely related to your server or MySQL setup.
    
        If you are an advanced user and encounter an error in the database upgrade:
    
        * identify and correct the source of the problem (e.g., memory_limit or max_execution_time)
        * execute the remaining queries in the update that failed
        * manually update the `option` table in your Matomo database, setting the value of version_core to the version of the failed update
        * re-run the updater (through the browser or command-line) to continue with the remaining updates
        * report the problem (and solution) so that Matomo can be improved
    ERROR [2021-02-25 22:09:03] 23633  Uncaught exception: /var/www/statistiques.april.org/piwik/plugins/CoreUpdater/Commands/Update.php(255): Matomo could not be updated! See above for more information.
    Matomo could not be updated! See above for more information.
  • exécution de la commande suggérée dans la doc de Matomo :
    ALTER TABLE piwik_log_visit ROW_FORMAT=DYNAMIC;
    puis à nouveau appel de la commande précédente.
  • l'interface d'administration affiche un avertissement concernant la présence de fichiers en trop, suppression avec les commandes suivantes :
    cd /var/www/statistiques.april.org/piwik/
    rm misc/others/ExamplePiwikTracker.php
    rm misc/others/uninstall-delete-piwik-directory.php
    rm -rf libs/bower_components
    
#6

Mis à jour par Romain H. il y a environ 3 ans

  • Statut changé de Résolu à En cours de traitement

La sonde icinga de vérification des maj de Matomo ne fonctionne plus avec cette nouvelle version.

#7

Mis à jour par Romain H. il y a environ 3 ans

  • Statut changé de En cours de traitement à Résolu

Le script se perdait avec l'apparition d'une nouvelle variable apparue dans la nouvelle version (MAJOR_VERSION en plus de VERSION).
J'ai modifié le script pour qu'il prenne la bonne variable.

#8

Mis à jour par Quentin Gibeaux il y a environ 3 ans

  • Statut changé de Résolu à Fermé

Formats disponibles : Atom PDF