Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Problem

When doing a migration, you get the following error:

Query could not be executed: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'gr_data' at row 1insert into gatewayresources (gr_node, gr_type, gr_gatewayid, gr_guid, gr_name, gr_folderid, gr_version, gr_seen, gr_url, gr_enabled, gr_hash, gr_data, gr_moduleSha256) values (:gr_node, :gr_type, :gr_gatewayid, :gr_guid, :gr_name, :gr_folderid, :gr_version, :gr_seen, :gr_url, :gr_enabled, :gr_hash, :gr_data, :gr_moduleSha256)

Solution

  1. Connect to the MySQL database AAGM is using

  2. Change the type of the field gr_data in table gatewayresources from varchar to

...

  1. MEDIUMTEXT

Tip

This issue is fixed in Version 2022.1.3

...

Release Notes 2022.1.3