@scooter
Many thanks for investigating this.
Indeed, I just found the time to test it as well. Skipping the adjustment of oc_storages
table indeed works. The new data directory is added to the table automatically. Comments and file tags are preserved, thus file cache is (still) valid.
The steps within OT do still work and properly the cleaner method, as there will be no obsolete entry left, but indeed the manual MySQL table edit might be a reason for one to hesitate using ‘Solution 1’, for me it’s the only argument for ‘Solution 2’ actually .
@JasonBayton @tflidd
Did you hear something of this, is this new since Nextcloud 13? Couldn’t find something in the changelogs or github commits.
This indeed would mark most of OT as obsolete. I would shrink it to just one single solution:
maintenance --on
cp -a /old /new
config.php 'datadirectory'
maintenance --off
But verification/official statement would be nice .