Advertisement

Migrating generates an error with the database Topic is solved

Need help upgrading your Joomla! website or converting to Joomla! 4.x?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
DominikReber
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Dec 03, 2024 10:17 am

Migrating generates an error with the database

Post by DominikReber » Tue Dec 03, 2024 10:23 am

Hello.
I am trying to migrate our (old) joomla installation from 3 to 4 (and then 5).
We have a lot of plugins/components, I did deactivate them all before updating.

While updating I get an error and this is the log:

Code: Select all

2024-12-03T10:02:01+00:00	INFO 37.203.250.49	update	Start of SQL updates.
2024-12-03T10:02:01+00:00	INFO 37.203.250.49	update	The current database version (schema) is 3.10.7-2022-03-18.
2024-12-03T10:02:01+00:00	INFO 37.203.250.49	update	Abfrage von Datei „4.0.0-2018-03-05“. Abfrage: „ALTER TABLE `#__extensions` DROP COLUMN `system_data` ;“.
2024-12-03T10:02:01+00:00	INFO 37.203.250.49	update	Abfrage von Datei „4.0.0-2018-03-05“. Abfrage: „INSERT INTO `#__extensions` (`name`, `type`, `element`, `folder`, `client_id`, `“.
2024-12-03T10:02:01+00:00	INFO 37.203.250.49	update	JInstaller: :Install: SQL-Fehler Field 'extra_params' doesn't have a default value
2024-12-03T10:02:01+00:00	INFO 37.203.250.49	update	End of SQL updates - INCOMPLETE.
page itself shows the
500 - Whoops, looks like something went wrong.

While searching the web I got the hint to recreate the _extension-table, which I did. but then I get an error that other (like _workflow) tables do not exist - think because the migration did not complete.

I have backups so no problem but does anyone know what to do?

Thanks

Dominik

Advertisement
DominikReber
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Dec 03, 2024 10:17 am

Re: Migrating generates an error with the database

Post by DominikReber » Tue Dec 03, 2024 12:28 pm

This was the warning I got at the end of the migration:

Code: Select all

Warnung
JInstaller: :Install: SQL-Fehler Field 'extra_params' doesn't have a default value
×
danger
Table 'mydatabase.2020_history' doesn't exist
Table 'mydatabase.2020_workflows' doesn't exist
Table 'mydatabase.2020_workflow_stages' doesn't exist
Table 'mydatabase.2020_workflow_transitions' doesn't exist
Table 'mydatabase.2020_mail_templates' doesn't exist
Table 'mydatabase.2020_guidedtours' doesn't exist
Table 'mydatabase.2020_user_mfa' doesn't exist

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31497
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Migrating generates an error with the database

Post by Per Yngve Berg » Tue Dec 03, 2024 1:51 pm

Have you run System->Database->Repair?

DominikReber
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Dec 03, 2024 10:17 am

Re: Migrating generates an error with the database

Post by DominikReber » Tue Dec 03, 2024 2:04 pm

Hi and thanks for your answer.

No, but I have set the default value of extra_params in _extensions and _modules to "NULL" before upgrading and that did fix it!

Advertisement

Post Reply

Return to “Migrating and Upgrading to Joomla! 4.x”