But also note that when following Solution 1, the doubled entry is avoided by this step:
update oc_storages set id='local::/new/path/to/data/' where id='local::/path/to/data/';
But aside from that obviously, having a look into this database table generally makes sense from time to time, when heavily changing data dir and/or external storages.