You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-12-23 11:40:28

s0p4L1n
Member
Registered: 2022-12-22
Posts: 2

Database schema differ for table glpi_notimportedemails, can't update

Hello, we want updating our GLPI from version 9.4.6 to 10.0.5.

OS: Centos 7 updated
PHP: 7.4.33
mysql: Ver 15.1 Distrib 10.3.37-MariaDB

When I check the update command, it tells me that the database table should be DEFAULT CHARSET without COLLATE, but how to do it ? Or maybe it means something else ?

php bin/console db:check
Le schéma diffère pour la table "glpi_notimportedemails".
--- Schéma de base de données attendu
+++ Schéma de base de données actuel
@@ @@
   PRIMARY KEY (`id`),
   KEY `mailcollectors_id` (`mailcollectors_id`),
   KEY `users_id` (`users_id`)
-) DEFAULT CHARSET=latin1
+) COLLATE=latin1_swedish_ci DEFAULT CHARSET=latin1

I meet all requirement for GLPI update but it failed, could you help me ?
Thank you

Offline

#2 2023-01-03 13:17:42

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Database schema differ for table glpi_notimportedemails, can't update

In 9.4.6, all tables should be using utf8 charset and utf_unicode_ci collation. In 10.0.5, tables can use the same charset and collation but it is recommended to convert them after the upgrade to GLPI 10.0.X using the "glpi:migration:utf8mb4" CLI command.

The schema check done with "bin/console db:check" is just a recommendation in case there are fields that are missing or otherwise don't match. If the charset and collation are all that are different, it should be OK to attempt an update (backup your database first, as always). If the update itself fails (without doing the schema check), please let us know what error you are getting.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB