Open klfman opened 1 year ago
The line in synco that throws the error is:
resourceFilesIndex["Resources/"+resourceSha1[0:1]+"/"+resourceSha1[1:2]+"/"+resourceSha1[2:3]+"/"+resourceSha1[3:4]+"/"+resourceSha1]
Could this be related to a breaking change in Neos 5.0 where the hash path segments in the pubic resource folder were reorganized?
https://docs.neos.io/api/upgrade-instructions/4/upgrade-instructions-4-3-5-0
section Settings subdivideHashPathSegment and relativeSymlinks enabled by default
The project is running Neos 7.0, but flow configuration:show
shows that subdivideHashPathSegment: false
is set in my project.
Looking at Neos/Flow/ResourceManagement/Target/FileSystemTarget.php there is a respective example that makes me think that:
"c/8/2/8/c828d0f88ce197be1aff7cc2e5e86b1244241ac6/MyPicture.jpg" (if subdivideHashPathSegment is on) or "c828d0f88ce197be1aff7cc2e5e86b1244241ac6/MyPicture.jpg" (if it's off)
@klfman I uess you are right :) Thanks, we can add support for it :)
curl https://sandstorm.github.io/synco/serve | sh -s -
just works, but when I try and download all files withcurl https://sandstorm.github.io/synco/serve | sh -s - --all
, the application crashes with a runtime error: