Hi,

> Would it be possible to substitute every "home::<username>" with the
> corresponding "local::/path/to/data..." ?. 
Yes but it's better to change numeric_id instead.
Please keep in mind that "home::$userId" is the new and correct id
format and the old one isn't and will be deprecated in the future.
The migration code that failed for you is what converts the "local::"
format to "home::".

> 
>> If you only delete the oc_storages entry you should be able to find 
>> the old "numeric_id" from your old SQL dump.
>> Then change the "numeric_id" in oc_storages of the "home::" entry to
>> be the same as the one from the old SQL dump. This will rewirte 
>> "home::" to use the oc_filecache entries that have shares associated.
> I did a "occ files:cleanup" after correcting the "local::" entries.
> 
>> Quick hint about joining in case you need it: select * from 
>> oc_storages s, oc_filecache fc where s.numeric_id = fc.storage
> 
> This select shows 90698 rows? A "find . -name "*" | wc" in the 
> <data> directory gives 45306 entries.
This is just a hint in case you want to look at your data (add WHERE
statements where needed), no need to type it in directly.

Cheers,

Vincent

_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to