When exporting and importing sys_file records using the impexp module, the files are not copied, causing errors after import.
More generally the import/export process works pretty badly with FAL, because all storages and sys_files are stored in pid = 0, making it impossible to export just a few pages with their images. You are obliged to export the whole root.
Updated by Marc Bastian Heinrichs over 7 years ago
More generally the import/export process works pretty badly with FAL, because all storages and
sys_files are stored in pid = 0, making it impossible to export just a few pages with their
images. You are obliged to export the whole root.
you could include relations stored outside your export tree (also to sys_file records) by selecting the tables in "Include relations to tables:"
Updated by Alexander Opitz almost 7 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.
Updated by Prakash A Bhat almost 6 years ago
I tested this on a 6.2.15 setup.
We had 3 existing domains, we had to do a 4th domain, add content and do a t3d export of the branch.
Well, without any error message about the missing FAL images, Typo3 did do the import/export!
At the other end, the references to sys_file was all wrong.
On analyzing deeper, I see that during the process, the uid_local in "sys_file_reference" did not get updated, instead it tried to use the same value as in the source. Instead this should have used the latest "uid" of the sys_file on the destination.
Updated by Bernhard Eckl over 4 years ago
- TYPO3 Version changed from 6.1 to 7
- PHP Version changed from 5.3 to 7.0
It is still not possible to import files. I have an 4.6 installatioin here, I wanted to export it and import it in a 7.6 installation -> no images. So I upgraded the 4.6 system to 7.6. But export 7.6 and import to 7.6 -> no images.
No file found for given UID.
Updated by Christian Kuhn almost 4 years ago
Exporting (FAL) files works. i fiddled with ext:introduction recently and had to do this various times now in v8 and v9:
It depends on correct export configuration:
Usually, you do not want to select the sys_file* tables in "Include tables:", but instead select them in "Include relations to tables:", and DO NOT select them in "Use static relations for tables:". With this configuration, files related to for instance tt_content elements are exported, but only those, and not other files which are not connected to your main "Include tables".
Note: ext:introduction now comes with a well configured export preset in https://github.com/FriendsOfTYPO3/introduction/blob/master/Resources/Private/ImportExportPreset.sql - just import that row into DB and play around with the preset a bit.