I’ve decided to move Nextcloud from the tarball install I have been using to Nextcloud AIO running in Docker.
I have both running at the same time, and I am moving my files from one server to the other using my Mac, version 34.0 of the Mac Desktop client, and Finder. I am using File Provider.
Both versions of NextCloud are running 33.0.6.
To migrate files, I simply right-click to download locally, and then I drag them into another Finder window for the AIO instance. This deletes the files from my old Nextcloud instance and copies them onto the new one.
Well, after spending an hour doing this last night, now both servers show a red X in the client with the message “Some files could not be synced. See below for errors.” When I look at the list of files that were synced below, I don’t have any errors.
I see one error in the logs:
`DbalExceptionAn exception occurred while executing a query: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint “previews_file_uniq_idx” DETAIL: Key (file_id, width, height, mimetype_id, cropped, version_id)=(189, 1024, 1024, 12, f, -1) already exists.`