ARTIFACTORY: How to resolve "Could Not Import Projects" Error During Migration from Self-Hosted to Cloud

ARTIFACTORY: How to resolve "Could Not Import Projects" Error During Migration from Self-Hosted to Cloud

Products
Frog_Artifactory
Content Type
Administration_Platform
AuthorFullName__c
Yuvarajan Johnpaul
articleNumber
000006396
ft:sourceType
Salesforce
FirstPublishedDate
2025-04-01T09:38:07Z
lastModifiedDate
2025-03-31
VersionNumber
1
Issue

While migrating from a self-hosted Artifactory instance to a cloud instance, users may encounter the error Could Not Import Projects at the client’s end, in association with the following exception from the Artifactory logs :
Caused by: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(1024)

This error appears in the logs when attempting to import projects while executing a transfer-config (or) transfer-config-merge.

Cause: 

The issue occurs because the project description field exceeds the 1024-character limit in the cloud database schema. If the project description is too long, the migration process will be blocked.

Solution: 

To resolve this issue:
1. Verify the length of the project descriptions in your self-hosted instance.
2. Ensure that each project description is less than 1024 characters before initiating the migration.
3. Modify project descriptions that exceed the limit and retry the migration.

This adjustment should resolve the problem and allow the migration to proceed successfully. If the issue persists, please reach out to JFrog Support.