Data migration must be performed with Cassandra 3. After migration is completed and data is verified, upgrade to Cassandra 4.
Depending on whether you need your current Teamwork Cloud database or not, there are two different approaches you can use:
If you do not need your current Teamwork Cloud database, uninstall the old Teamwork Cloud version and install a new one as described inĀ Upgrading Teamwork Cloud.