We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

File sync = Corrupted path detected:

How Do I?

From EE Slack's avatar
From EE Slack
185 posts
one year ago
From EE Slack's avatar From EE Slack

I’m trying to sync an image directory that has about 3500 files in it. All the other ones are smaller, and I’ve had zero issues.

I’m getting this: ExpressionEngine\Dependency\League\Flysystem\CorruptedPathDetected Caught Corrupted path detected: Gary_Guggolz_Fieldwork_Class_4271.jpg ee/vendor-build/league/flysystem/src/CorruptedPathDetected.php:14 Stack Trace: Please include when reporting this error

#0 ee/vendor-build/league/flysystem/src/Util.php(124): ExpressionEngine\Dependency\League\Flysystem\CorruptedPathDetected::forPath('Gary_Guggolz_Fi...')
#1 ee/vendor-build/league/flysystem/src/Util.php(93): ExpressionEngine\Dependency\League\Flysystem\Util::removeFunkyWhiteSpace('Gary_Guggolz_Fi...')
#2 ee/vendor-build/league/flysystem/src/Util.php(79): ExpressionEngine\Dependency\League\Flysystem\Util::normalizeRelativePath('Gary_Guggolz_Fi...')
#3 ee/ExpressionEngine/Library/Filesystem/Filesystem.php(1078): ExpressionEngine\Dependency\League\Flysystem\Util::normalizePath('Gary_Guggolz_Fi...')
#4 ee/ExpressionEngine/Library/Filesystem/Filesystem.php(705): ExpressionEngine\Library\Filesystem\Filesystem->ensurePrefixedPath('Gary_Guggolz_Fi...')
#5 ee/ExpressionEngine/Model/File/UploadDestination.php(407): ExpressionEngine\Library\Filesystem\Filesystem->isDir('Gary_Guggolz_Fi...')
#6 ee/ExpressionEngine/Controller/Files/Uploads.php(825): ExpressionEngine\Model\File\UploadDestination->getDirectoryMap()
#7 [internal function]: ExpressionEngine\Controller\Files\Uploads->sync('1')
#8 ee/ExpressionEngine/Core/Core.php(268): call_user_func_array(Array, Array)
#9 ee/ExpressionEngine/Core/Core.php(124): ExpressionEngine\Core\Core->runController(Array)
#10 ee/ExpressionEngine/Boot/boot.php(184): ExpressionEngine\Core\Core->run(Object(ExpressionEngine\Core\Request))
#11 admin.php(153): require_once('...')
#11 admin.php(153): require_once('...')

deleting the file it says has no effect. What to do?

       
From EE Slack's avatar
From EE Slack
185 posts
one year ago
From EE Slack's avatar From EE Slack

There was a group effort solving this one, suggestions included using the CLI to sync and making sure to be on the latest as a bug was fixed in 7.3.13 that looked related: https://github.com/ExpressionEngine/ExpressionEngine/issues/3743

Ultimate, the issue was the left-to-right character – – embedded in the filename. After manually chaging those, the directory was able to sync.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.