following the guide https://github.com/forscht/ddrive/#migrate-from-v3-to-v4 i saved the v3 metadata into old_data.json but had to force encoding to utf-8 because it had two "replacement symbols" at the beginning (FF FF in hex), but thats not the point
when i run migrate.js it immediately says "Migration Done" without anything actually being done. i have done some diagnostics (console.log() everywhere) and here are the results (all in order):
following the guide https://github.com/forscht/ddrive/#migrate-from-v3-to-v4 i saved the v3 metadata into old_data.json but had to force encoding to utf-8 because it had two "replacement symbols" at the beginning (FF FF in hex), but thats not the point when i run migrate.js it immediately says "Migration Done" without anything actually being done. i have done some diagnostics (
console.log()
everywhere) and here are the results (all in order):ddrive v3 still works p.s. i have already ran ddrive v4 once and postgres database was already created and now there's metadata on it
some more info:
docker engine v24.0.2
edit: metadata json itself doesnt seem to be corrupted, require() and destructuring into files and directories work fine