XF 2.0 Importing from 2.0 to 2.0: "The directory does not contain the expected contents."

jatkoaika

Member
I'm doing an import from XF2.0 to another 2.0 installation. When I insert /var/www/source_forum/data as the data directory and /var/www/source_forum/internal_data as the internal data directory, I get "The directory /var/www/source_forum/data does not contain the expected contents." error.

What am I supposed to put in there?
 
We check for a few things to make sure it is a valid data directory. Notably, we check for avatars and attachments sub-directories. Do both of those exist under that data directory? If not and you have no avatars or attachments, you could manually create them. If they do exist, then double check the paths are pointing to what you expect; that's really the only reason that error would happen.
 
Really, the answer is no different to what Mike already said.

Have you specified the paths to the correct directories? Does the data directory contain both an avatars and attachments directory? If not, can you create them, and does the error change or go away?
 
We check for a few things to make sure it is a valid data directory. Notably, we check for avatars and attachments sub-directories. Do both of those exist under that data directory? If not and you have no avatars or attachments, you could manually create them. If they do exist, then double check the paths are pointing to what you expect; that's really the only reason that error would happen.
What if all attachments and avata data are lost? In this case may someone only report text data from MySQL database?
 
Back
Top Bottom