Migration 3.5 vers 4.3

  • john56
  • Topic Author
  • Senior Member
  • Senior Member
More
2 months 3 weeks ago #5431 by john56
Migration 3.5 vers 4.3 was created by john56
Bonjour, est ce que qqun a finalement pu migrer ses données de la version 3.5 vers la 4.3 ?
Au moins le paramétrage, les domaines/ressources et les utilisateurs ?  ou encore mieux une migration complète ?
Merci.

Please Log in or Create an account to join the conversation.

  • Yan
  • Developpeur GRR
  • Developpeur GRR
More
2 months 3 weeks ago #5433 by Yan
Replied by Yan on topic Migration 3.5 vers 4.3
Bonjour,
vous êtes toujours en échec sur cette migration ?
Pouvez-vous décrire les écueils sur lesquels vous avez buté avec cette dernière version ?
Cordialement,
YN

Please Log in or Create an account to join the conversation.

  • john56
  • Topic Author
  • Senior Member
  • Senior Member
More
2 months 3 weeks ago - 2 months 3 weeks ago #5436 by john56
Replied by john56 on topic Migration 3.5 vers 4.3
Bonjour, voici les erreurs :

Mise à jour de la base de donnéesATTENTION : Votre base de données ne semble pas être à jour. Numéro de version de la base de données : 3.5.1
Cliquez sur le bouton suivant pour effectuer la mise à jour vers la version 0400004 Résultat de la mise à jour < GRR 43.5.1 => 3.5.1Mise à jour jusqu'à la version 3.5.1:
Ok !Résultat de la mise à jour GRR 4 et +4000 => 0400004Mise à jour jusqu'à la version 4.0.0 :
Erreur (non critique) sur la requête : INSERT INTO grr_setting (`NAME`, `VALUE`) VALUES ('display_beneficiaire', '0') (1062 : Duplicate entry 'display_beneficiaire' for key 'PRIMARY')
Erreur (non critique) sur la requête : INSERT INTO grr_setting (`NAME`, `VALUE`) VALUES ('display_type', '1') (1062 : Duplicate entry 'display_type' for key 'PRIMARY')
Mise à jour jusqu'à la version 4.1.0 :
Ok !
Mise à jour jusqu'à la version 4.2.0 :
Erreur sur la requête : CREATE TABLE grr_utilisateurs_demandes (`idutilisateursdemandes` bigint(20) NOT NULL AUTO_INCREMENT, `nom` varchar(30) NOT NULL, `prenom` varchar(30) NOT NULL, `email` varchar(100) NOT NULL, `telephone` varchar(20) NOT NULL, `mdp` varchar(184) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `commentaire` text NOT NULL, `datedemande` date NOT NULL, `etat` tinyint(1) NOT NULL DEFAULT 0, `gestionnaire` varchar(40) NOT NULL DEFAULT '', `datechoix` date DEFAULT NULL, PRIMARY KEY (`idutilisateursdemandes`)) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; (1050 : Table 'grr_utilisateurs_demandes' already exists)
Erreur sur la requête : CREATE TABLE grr_utilisateurs_demandes (`idutilisateursdemandes` bigint(20) NOT NULL AUTO_INCREMENT, `nom` varchar(30) NOT NULL, `prenom` varchar(30) NOT NULL, `email` varchar(100) NOT NULL, `telephone` varchar(20) NOT NULL, `mdp` varchar(184) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `commentaire` text NOT NULL, `datedemande` date NOT NULL, `etat` tinyint(1) NOT NULL DEFAULT 0, `gestionnaire` varchar(40) NOT NULL DEFAULT '', `datechoix` date DEFAULT NULL, PRIMARY KEY (`idutilisateursdemandes`)) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; (1050 : Table 'grr_utilisateurs_demandes' already exists)
Mise à jour jusqu'à la version 4.3.0 :
Ok !
Attachments:
Last edit: 2 months 3 weeks ago by john56.

Please Log in or Create an account to join the conversation.

  • Yan
  • Developpeur GRR
  • Developpeur GRR
More
2 months 3 weeks ago #5439 by Yan
Replied by Yan on topic Migration 3.5 vers 4.3
Bonjour,
ces erreurs ne sont pas critiques, elles ne devraient pas entraver la mise à jour de la base de la version 3.5 vers la 4.3.
Merci pour le signalement, je corrige cela de suite.
Cordialement,
YN

Please Log in or Create an account to join the conversation.

  • john56
  • Topic Author
  • Senior Member
  • Senior Member
More
2 months 1 week ago #5446 by john56
Replied by john56 on topic Migration 3.5 vers 4.3
Ok Merci.

Numéro de version GRR fichier :  : 4.3.1 - Release-v4.3.1
Numéro de version GRR BDD :  : 0400004
Système d'exploitation :  : Linux p5812.phpnet.org 5.15.0-82-generic #91-Ubuntu SMP Mon Aug 14 14:14:14 UTC 2023 x86_64
Version PHP : 8.3.0
Base de données :  : mysql => 10.6.17-MariaDB-1:10.6.17+maria~deb11-log
Time : 1708586255
Timezone : Europe/Paris

 

1/ Au survol d'une réservation, il n'y a plus le descriptif mais le numéro de réservation
2/ Il y a cet avertissement quand je supprime une réservation. 

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4486

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/reservations2/include/functions.inc.php on line 4486

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4486

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/reservations2/include/functions.inc.php on line 4486

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4486

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/reservations2/include/functions.inc.php on line 4486

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4486

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/reservations2/include/functions.inc.php on line 4486

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4486

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/reservations2/include/functions.inc.php on line 4486

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4486

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/reservations2/include/functions.inc.php on line 4486

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4486

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/reservations2/include/functions.inc.php on line 4486

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4494

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4513

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4515

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4516

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4517

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4518

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4520

Warning: Trying to access array offset on int in /home/www/reservations2/include/functions.inc.php on line 4521

Please Log in or Create an account to join the conversation.

  • Yan
  • Developpeur GRR
  • Developpeur GRR
More
2 months 1 week ago #5447 by Yan
Replied by Yan on topic Migration 3.5 vers 4.3
Bonjour,
merci pour votre retour.
Sur le point 1, c'est une modification de la version 4.3.1. Si cela ne vous plait pas, il faudrait le dire dans un message spécifique pour rendre votre demande plus visible.
Sur le point 2, je n'ai pas cette erreur avec php 8.2.4. Est-ce que la version de php est en cause ?
Cordialement,
YN

Please Log in or Create an account to join the conversation.

  • john56
  • Topic Author
  • Senior Member
  • Senior Member
More
2 months 1 week ago #5449 by john56
Replied by john56 on topic Migration 3.5 vers 4.3
Ok je ne savais pas pour le point 1. Merci.
Pour le point 2, même résultat avec Version PHP : 8.2.13.

Please Log in or Create an account to join the conversation.

Moderators: Yan