Jumoo / uSync.Complete.Issues

Public Issue tracker and roadmap for uSync.Complete
https://jumoo.co.uk/usync/complete/
2 stars 1 forks source link

Images - physical files not appearing in media folder #86

Closed loriRyanp closed 3 years ago

loriRyanp commented 3 years ago

Just updated to usync 8.9 - when I am doing a sync now - the images dont seem to sync across. Having to manually copy files across. Looking in the usync config

`<?xml version="1.0" encoding="utf-8"?>

~/uSync/v8/ True False False True False False False False True True `
KevinJump commented 3 years ago

Hi,

are your images, on disk with the site, or in some remote storage (like azure blobs or s3) ? these should work, but likely a place the config might need tweaking.

loriRyanp commented 3 years ago

Hi Kevin Just in the media folder on dsik within the site Config.txt

Just seen this in the logs Could not find a part of the path 'xxxxxx\media\ksbclmfs\xxxxxxx.jpg'. But the path exists and permissions for IUSR AND app pool have been given

System.IO.DirectoryNotFoundException: Could not find a part of the path 'xxxxxx\media\ksbclmfs\xxxxxx.jpg'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Umbraco.Core.IO.PhysicalFileSystem.OpenFile(String path) in D:\a\1\s\src\Umbraco.Core\IO\PhysicalFileSystem.cs:line 210
   at Umbraco.Core.IO.ShadowWrapper.OpenFile(String path) in D:\a\1\s\src\Umbraco.Core\IO\ShadowWrapper.cs:line 165
   at Umbraco.Core.IO.FileSystemWrapper.OpenFile(String path) in D:\a\1\s\src\Umbraco.Core\IO\FileSystemWrapper.cs:line 68
   at Umbraco.Web.Media.UploadAutoFillProperties.Populate(IContentBase content, IImagingAutoFillUploadField autoFillConfig, String filepath, String culture, String segment) in D:\a\1\s\src\Umbraco.Web\Media\UploadAutoFillProperties.cs:line 68
KevinJump commented 3 years ago

:(

is the xxxxxx\media path valid for your site ?

loriRyanp commented 3 years ago

media folder is C:\xxx\Umbraco\xxx\Media is correct path. The site uses umbraco default was working fine prior to upgrading the usync.

KevinJump commented 3 years ago

Is this from a publish from one site to another (in publisher) or a sync (usync dashboard import) or an export/import (in the exporter tab)

loriRyanp commented 3 years ago

usync exporter

KevinJump commented 3 years ago

OK, can you open up the .syncpack file (its a zip file, so you should be able to open it with something like 7zip or winzip. and see if it has the media folder in it (just want to check they are being exported)

KevinJump commented 3 years ago

(feel free to email me a sample syncpack file if that is easier kevin@jumoo.co.uk)

KevinJump commented 3 years ago

Hi,

this is fixed in 8.9.1 (Just released)