Hello @georgbhm ,
The error occurs when trying to add a foreign key constraint named fk_process_manager_uuid to the table os_update_process_manager_command_c.
The error message states that there's no unique key present in the referenced table os_update_process_manager for the column uuid.
There's a high chance the os_update_process_manager table doesn't have a unique constraint on the uuid column. To fix this, you can directly execute an SQL query on the new Jamf Pro server.
ALTER TABLE `os_update_process_manager`
ADD CONSTRAINT UNIQUE (`uuid`);
Important Note Back up your Jamf Pro database before running any SQL queries. This ensures you can revert to a previous state if something goes wrong. It's recommended to perform this on a test environment first to avoid impacting your production setup.
I am facing the same problem, albeit migration from a windows server to redhat 9.
Trying to alter the table returns the following error, any ideas what I could try next?
ERROR 1072 (42000): Key column 'uuid' doesn't exist in table