The hosted versions of Known provide tools for exporting and importing your application to an XML file similar to the WordPress exporter. That said, it wasn’t working for me. I was trying to use the WP importer Known provides to import the export from Known to no avail.
To begin with, I installed Known in the directory where I wanted it to live with our Installatron application installer.
Next, using my favorite text editor I made sure to do a find and replace in the SQL export file, replacing all the instances of the old URL with the new one.
After that I saved the export file. From there I went to phpMyAdmin and drop all the tables of the Known instance I just installed.
Dropping all tables of installed Known in phpMYAdmin
After that, I imported the SQL file that I had just done the find and replace on. One of the issues I ran into immediately after this was that the SQL database I imported had blobs (this is a technical database term!) with all the content, but they were unreadable by the application in the form they had been exported. In this event, I had to do a custom export of the database I just imported:
Custom export option
For this custom export you need to make sure the “Dump binary columns in hexadecimal notation” is unchecked. This was the issue I ran into.
Make sure the “Dump binary columns in hexadecimal notation” is unchecked
After this you would drop the database tables again and reimport the SQL file and all should be good. The final step for me was uploading the zipped uploads folder to the Uploads directory and extracting it in File Manager. Also, be sure to rename the directory you uploaded from the previous directory to the new directory. For example, raretrack.withknown.com becomes raretrack.uk.
Rename URL of uploaded files in the Uploads directory. After that, your site should be working seamlessly.