Tried that here and it works.
I relocated a share from "\\machine\abc" "machine\xyz" after renaming an existing share.
I used the same steps as you did. The forward slashes are no problem. IMatch internally uses operating-system independent URIs with / instead of the Windows \ but that's all handled.
I could successfully relocate an entire folder hierarchy from one share to another.
IMatch expects that the folder hierarchy you relocate exists identically on the new share, all folders and files. If it cannot find folders or files, you get the error message you have mentioned. The same happens if IMatch is unable to access the folders on files on the new location. Did you check that the file system privileges are set properly? Any errors or warnings in the log file?
Quote from: Mario on March 25, 2014, 08:17:32 AM
Tried that here and it works.
I relocated a share from "\\machine\abc" "machine\xyz" after renaming an existing share.
I used the same steps as you did. The forward slashes are no problem. IMatch internally uses operating-system independent URIs with / instead of the Windows \ but that's all handled.
I could successfully relocate an entire folder hierarchy from one share to another.
IMatch expects that the folder hierarchy you relocate exists identically on the new share, all folders and files. If it cannot find folders
When you say "identically"... do you mean that if one file is missing the whole thing will fail? I hope not. Or do you mean in terms of position on the share. If the latter, then that is true here.
Quoteor files, you get the error message you have mentioned. The same happens if IMatch is unable to access the folders on files on the new location. Did you check that the file system privileges are set properly? Any errors or warnings in the log file?
Thanks for the reply.
Since you've experimented successfully with the same issue... I'm at a loss to explain the problem I have... but it apparently is a 'LOCAL' (read 'pilot') caused problem.
I have attached 4 images and the debug Log file, to try to further clarify... and possibly you will see my error or other environmental factor causing my problem.
First, concerning permissions; The share is on a usb3 attached external drive.
The attached image titled 'IM_permissions.jpg' shows that "Everyone" has "Full" control.
Further, thru a file browser, I've opened and edited a perl script on that share. Not sure if that shows much about permisisons for IM but at least my user has reader/write permissions.
In my case (as opposed to the one you describe) the files are a little bit deeper into the share. The actual share changed from:
//m2/sg-ext-2t
to
//m2/sg-ext2tb
However, in both cases the top level of Im Hierarchy starts at:
//m2/sg-ext-2t/ImagesMusic/ImageDB (old)
to
//m2/sg-ext2tb/ImagesMusic/ImagesDB (new)
Attached image ( titled IM_OldHierNewHier.jpg) Shows what IM5 shows as the missing Hierarchy and what a file browser shows of the correct hierarchy.
There may be some small changes in the files there...in the way of added file or the like, but not inthe way of what level the DB begins on. As you see, both show the top level as ImageDB.
And the absolute vast bulk of the data is identical. I assumed one could rescan to pick up possible added/removed files.
All I did to throw location off is give the share a new name (Exactly what you've done..).When I attempt to relocate. In the first dialog, I use the '[...]' button to traipse more deeply into the share to attain the above address.
However when I click ok at the correct address (//m2/sg-ex2tb/ImagesMusic/ImageDB) all that remains in the dialog is:
//m2/sg-ext2tb <== No path beyond is shown.
Two images attached... showing having traipsed to the correct address (IM_TraipseToAddr.jpg) and what happens on [OK] (IM_PostTraipse.jpg)
And when I press ok again.... it ends in the error message I posted.
[UPDATE: NOT SURE WHY ALL THE STRIKE THRU happened... must be some miss use I've done with '[]'
========================================================================
I've now conducted a new experiment and changed the share name back to the original... Im5 finds it just like before... I've ran a rescan... IM5 seems
to have found around 215 new files... processed them... and away we go...
Now to change the name once more, now that we know the trees will be identical, and see what happens .... Whoops.... I take back some of above
IM appears to be reprocessing the whole bunch. First it listed 215 of some much bigger number to be processed... I thought that meant that was all the changed files it had found.
but now I see it background processing 6,876. What does the first reading of 215 mean then? Will attache that debug log in a new message since I'm already
at the limit.
I've got 1.3 hr wait so I'll post without continuing this experiment yet.
[attachment deleted by admin]
QuoteNOT SURE WHY ALL THE STRIKE THRU happened...
Since you didn't seem to want the strick thru I edited out ALL of them.
IMatch expects the target for the relocate to by a 1:1 copy of the original structure. Relocate is designed to allow you to correct problems caused by renaming files and folders in other applications, or things like a replaced hard disk or renamed share. In all cases, IMatch maps the internal structure of the database from the old location to the new one. No files or folders can be added or removed during this process, which is why IMatch runs checks to ensure that the layout of the relocation target matches the source 1:1.
If IMatch finds files to rescan/add, the file and folder structure of the target is definitely different and relocate was right to refuse it.
Since you have no renamed the share, do a full rescan. If IMatch has completed that, you can rename it back and the relocate should report no problem.
In all screenshots IMatch shows a missing folder named "imatch" beneath "ImageDB" whereas in the explorer it is to see at the same level (outside "ImageDB).
Anyway, you are trying to relocate the share \\M2\sg-ext-2t\ itself. Relocate "ImageDB" instead - means right click this folder in IMatch, choose relocate and point it to the right folder in the new share. The share (name) will appear automagically in IMatch after that.
The missing path elements after navigating and selecting the folder within the share, is a result of what you are trying to do: IMatch jumps to the root of the volume or share.
[attachment deleted by admin]