Silverstripe Version: 4.1 (coming from 3.1)
After going through the upgrading process as described in the docs, there seems to be an issue with assets.
Everything else seems to be fine, /dev/build has no errors, but in the Files area all files listed show ‘File cannot be found’.
I’ve copied all files from ‘assets’ to ‘public/assets’ and left the paths in the database as they were.
Strange thing is that there is something mentioned in the docs that just doesn’t seem right, see 4.0.0 – SilverStripe Documentation
“In order to retain existing file paths in line with framework version 3 you should set the
\SilverStripe\Filesystem\Flysystem\FlysystemAssetStore.legacy_paths config to true.”
From what I can see, “SilverStripe\Filesystem\Flysystem\FlysystemAssetStore.legacy_paths” simply doesn’t exist (neither the class, nor the property).
Closest thing I could find is “SilverStripe\Assets\Flysystem\FlysystemAssetStore.legacy_filenames”, but setting this to true doesn’t fix the problem for me.