MEDIA_UPLOADS_MOVE_UNFINISHED
`nextly media move-uploads` left some files where they were, because a different file has the same name at their new place or they changed while they were copied.
Cause
nextly media move-uploads left some files where they were, because a different file has the same name at their new place or they changed while they were copied.
The move never replaces a file and never deletes an original it has not checked. A file whose name is already taken at its new place by different bytes, by a link, or by a copy that changed while it was made is left where it was, beside the other one. Every other file was moved. Both copies of each named file are kept, and every address keeps answering.
Fix
- For each file the Why line names, compare the two copies: the one in
public/uploadsand the one in.nextly/uploads. - Keep the one you want, and delete the other.
- Run
nextly media move-uploadsagain. It moves only what is left.
Example
✗ 1 file(s) were not moved; both copies of each are kept.
Why: 2025/02/two-versions.pdf: a different file has that name in .nextly/uploads, or it changed while it was copied.
Next: Keep the copy you want of each file, delete the other, and run `nextly media move-uploads` again.
Docs: https://nextlyhq.com/docs/cli/errors/media-uploads-move-unfinished (MEDIA_UPLOADS_MOVE_UNFINISHED)