JoomGalleryfriends / JG4-dev

Development repository for JoomGallery v4.x
GNU General Public License v3.0
10 stars 6 forks source link

[Jg3ToJg4] Data too long for column 'queue' #208

Closed buschmann23 closed 1 month ago

buschmann23 commented 4 months ago

I am trying to migrate a JG3 installation with 15,793 images in 295 categories. Migrating the categories worked, but when pressing Start migration for the images, nothing happens. The log file shows the following error:

2024-03-07T16:18:46+00:00       ERROR 127.0.0.1 com_joomgallery Data too long for column 'queue' at row 1

The JG3 installation is on the same Joomla instance and I followed the instructions from the YouTube video on how to migrate.

Web server: Apache 2.4.58 PHP: 8.2.16 MariaDB: 11.2.3

eumel1602 commented 4 months ago

Hallo ! Danke für deine Meldung. Diesen Fehler haben wir in der letzten Versammlung besprochen. Ist also bestätigt. es gibt eine Begrenzung an Zeichen in dem verantwortlichen Feld in der DB-Tabelle. Bei mir stoppt es bei irgendwas über 5000 Bilder... wenn du die Möglichkeit hast, test bitte nochmal mit weniger Bildern. das hilft auch... Welche Joomla version nutzt du?

buschmann23 commented 4 months ago

Upps, ja, die Joomla-Version hatte ich vergessen: 4.4.3

Kann ich die Menge der zu importierenden Bilder irgendwo begrenzen oder müsste ich zum Testen ein neue Instanz mit weniger Bildern anlegen?

MrMusic commented 4 months ago

If you are familiar with phpMyAdmin you can try to change the type of the following columns in the table #__joomgallery_migration: Column queue from text -> longtext Column successful from text -> longtext Column failed from text -> longtext You can then test the migration again with a large number of images.

DE: Wenn du dich mit phpMyAdmin etwas auskennst, kannst du versuchen in der Tabelle #__joomgallery_migration den Typ folgender Spalten zu ändern: Spalte queue von text -> longtext Spalte successful von text -> longtext Spalte failed von text -> longtext Anschließend kannst du die Migration mit sehr vielen Bildern testen.

buschmann23 commented 4 months ago

👍🏻 Changing the column types from text to longtext fixed it.

imperialo commented 3 months ago

👍🏻 Top, auch mir hat das das Problem behoben :) Vielen Dank.. nun heisst es warten^^

Screenshot 2024-03-13 230058

MrMusic commented 3 months ago

I have created a pull request to fix this problem: https://github.com/JoomGalleryfriends/JG4-dev/pull/214