Closed throwaway961 closed 4 days ago
Migrating between filesystems with different path separators (/
and \
) is currently unsupported.
Further to this, the workaround is to manually migrate the folders
table using SQL. It will require two separate SQL statements, in your case:
UPDATE folders SET path = REPLACE(path, '\', '/');
UPDATE folders SET path = REPLACE(path, 'D:/', '/mnt/');
Backup your database before doing this! These statements have not been tested, but I have done the opposite during testing.
I'm trying to move from a Windows-based fileserver to Linux without losing all of my metadata and the generated images.
Previously, I was using the D:\private\organized\, D:\private\VR\, D:\private\unorganized\, etc. locations. Now it's the /mnt/private/organized/, /mnt/private/VR/, /mnt/private/unorganized/ location, etc. I've got my config.yml updated to have the new locations added. No permissions issues or anything, all of that is set up.
When Stash attempts to walk the directory tree, it's getting confused as all hell. It seems to be merging the two folder names into one long name or something, there's no space before the D:\ part.
File paths are getting destroyed too:
If it helps: