XF 2.1 The directory data does not contain the expected contents.

Đoàn Hoàng Nam

Active member
I have copy my old data and internal_data by one of these command

Bash:
rsync -avz /home/abc.com/public_html/internal_data /home/beta.abc.com/public_html/internal_data
rsync -avz /home/abc.com/public_html/data /home/beta.abc.com/public_html/data
or

Bash:
cp -a /home/abc.com/public_html/internal_data /home/beta.abc.com/public_html/internal_data
cp -a /home/abc.com/public_html/data /home/beta.abc.com/public_html/data

I have check all file copied but after fill all information to http://beta.abc.com/admin.php?import/config I receive "The directory data does not contain the expected contents."
 
w
Why are you coping directory contents if you are doing an import?

The importer does that automatically as part of the process.
what about these field
199513
my mistake
it should be

Bash:
rsync -avz /home/abc.com/public_html/internal_data /home/beta.abc.com/public_html

rsync -avz /home/abc.com/public_html/data /home/beta.abc.com/public_html

but i found anther problem all attachment will be broken after import
 
do have done it but it after all attachhment were broken
Hi, can you explain exactly what you mean by "broken"?
Do the files have 0 in size? Are they with the right size but corrupt?
Have you already tried the "xenforo-requirements-test" file?
Could it be that a PHP-GD library is not well configured? (in case of corrupted images)
 
Back
Top Bottom