# MEDIA_UPLOADS_MOVE_REFUSED

`nextly media move-uploads` refused to start, because moving the files as things stand could lose one or leave them unserved.

## Cause

`nextly media move-uploads` refused to start, because moving the files as things stand could lose one or leave them unserved.

The move checks before it copies anything, and refuses when:

* the app has no route serving `/uploads/...` from outside `public/` (`src/app/uploads/[...path]/route.ts`);
* `public/uploads` is a mounted disk of its own, such as a Docker volume, which the files would leave;
* the two folders are one folder under two names, or one is inside the other;
* the destination has less free space than the files need;
* another move is running.

Nothing was moved or changed. The Why line names each reason.

## Fix

* Do what the Why line says: add the uploads route, mount the volume at `.nextly/uploads` (or `.nextly/`), free some space, or wait for the other move to finish.
* Check with `nextly media move-uploads --dry-run`, then run `nextly media move-uploads`.
* To keep uploads in `public/uploads` instead, set the local storage's `basePath` to it. See [Media & Storage](https://nextlyhq.com/docs/guides/media-storage.md#moving-uploads-out-of-public-on-an-existing-site).

## Example

```text
✗ Nothing was moved: the move cannot start as things stand.
  Why:  public/uploads is a mounted disk of its own. Files moved off it are no longer on that disk. Mount it at .nextly/uploads instead (or copy its files there), or keep this folder by setting the local storage's basePath to it.
  Next: Fix what the Why line names, check with `nextly media move-uploads --dry-run`, then run `nextly media move-uploads`.
  Docs: https://nextlyhq.com/docs/cli/errors/media-uploads-move-refused  (MEDIA_UPLOADS_MOVE_REFUSED)
```
