Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Not a directory

Featured Replies

I am unable to move or copy multiple different media files from my downloads folder. These files are downloaded by SABnzbd and then moved by Radarr.

 

Radarr gives this error.

Quote

Couldn't import movie /downloads/nzb/completed/movies/title.mkv: Not a directory

 

File Manager gives this error.

Quote

rsync: [generator] recv_generator: failed to stat "/mnt/user/media/movies/title/title.mkv": Not a directory (20)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.4.1]

 

Terminal using the mv command give this.

Quote

mv: cannot stat '/mnt/user/media/movies/title/title.mkv': Not a directory

 

Not every download is giving this error. Some are actually being moved and processed correctly. But, more are giving this error than those that are not. I downloaded 28 files in the last 24 hours and only 4 were processed successfully. The remaining files are giving the errors above, but are showing in the downloads folder. I also tried downloading one of the files using File Manager and Winscp, but both timed out before completing.

 

I ran the New Permissions command under Tools, but still getting the same errors.

 

I am running version 7.0.1. The cache is ZFS and the array is XFS.

 

I have the files being downloaded to the downloads share which is cache only. They should then get moved to the media share, which is cache > array.

 

Not sure what else to try.

  • Community Expert
8 minutes ago, Eddie Seelke said:

These files are downloaded by SABnzbd and then moved by Radarr.

You should be asking these questions in the Support threads for these two Dockers.  (To find the Support thread, go to   DOCKER     then left-click on the Docker icon and look for the Support in the drop-down list.) 

  • Author
23 minutes ago, Frank1940 said:

You should be asking these questions in the Support threads for these two Dockers.  (To find the Support thread, go to   DOCKER     then left-click on the Docker icon and look for the Support in the drop-down list.) 

 

This is not a docker issue. It's a filesystem issue. Is this not the correct thread for that?

  • Community Expert

You should realize that all Docker containers are like a VM running in a sandbox.  They have no direct access to the Unraid file system until a mapping from the Docker container file system is made to a directory on the Unraid File system.  Below is a typical example of such a mapping:

 

image.thumb.png.2df780c297a79a2067330f13cf78d594.png

 

The 'Container Path' is the path in the container.   The 'Host Path' is the path on the Unraid file system.

  • Author
Just now, Frank1940 said:

You should realize that all Docker containers are like a VM running in a sandbox.  They have no direct access to the Unraid file system until a mapping from the Docker container file system is made to a directory on the Unraid File system. 

 

I understand this, but if it was a container issue, why am I getting the above errors outside of the containers? If you look, I can't move a file using unRAID's File Manager or in the terminal.

  • Community Expert
1 hour ago, Eddie Seelke said:

" /mnt/user/media/movies/title /title.mkv": Not a directory (20)

 

First thing, This (title.mkv) is not a directory.  It is a file!

 

Second thing.  Open the GUI Terminal (The  image.png.9a08e039adec54d0e6acd99afbb283f8.png icon on the right side of the GUI toolbar)  and enter the following command: 

ls -al /mnt/user/media/movies/title

 

You should get a listing of files in the 'title' directory on the Unraid file system .  If not, your path is not valid.  (Linux is case sensitive so capitalization is important!!!)

  • Author

It shows the single file in the folder and I can cd into the folder this file is in. Same for all others that I am having this same issue with.

Quote

-rw-rw-rw- 1 nobody users 24G Jan 17  2021 title.mkv

 

The folder that the file is in has the following permissions.

Quote

drwxrwxrwx 1 nobody users  3 Mar 27 23:20 

 

  • Author

Also, forgot to mention. I can rename the file, but not copy or move from this folder.

  • Community Expert
8 hours ago, Eddie Seelke said:

 

The folder that the file is in has the following permissions.

Quote

drwxrwxrwx 1 nobody users  3 Mar 27 23:20 

 

 

8 hours ago, Eddie Seelke said:

Also, forgot to mention. I can rename the file, but not copy or move from this folder.

 

And what are the permissions on the parent Directory of this directory?

 

And exactly what program are you using when you have all of these failures and what OS is it running under? 

 

(Understand that you have two Docker containers, Unraid Linux OS and possibly a client accessing these files that could be using Windows, MacOS or Linux?  we really need to know all of the parameters involved.  Not just that you have a problem trying to do something.)

Edited by Frank1940

  • Author
22 minutes ago, Frank1940 said:

And what are the permissions on the parent Directory of this directory?

 

They are all the same. As I said above, I ran the New Permissions command under tools, which set all the permissions the same.

 

22 minutes ago, Frank1940 said:

And exactly what program are you using when you have all of these failures and what OS is it running under? 

 

I would assume it's linux. I am using File Manager and terminal, which means I am running these commands directly on the unRAID server.

 

22 minutes ago, Frank1940 said:

(Understand that you have two Docker containers, Unraid Linux OS and possibly a client accessing these files that could be using Windows, MacOS or Linux?  we really need to know all of the parameters involved.  Not just that you have a problem trying to do something.)

 

I am not using any other client or OS, other than the browser or Putty for accessing terminal. No other OS is trying to access any files. I have also disabled the VM and Docker services while trying to troubleshoot. 

 

My only guess is that it has something to do with ZFS.

  • Community Expert

Attach your Diagnostics file to your next post.

 

Then get a screenshot of the File Manager and one of the failure notice and post them with the diagnostics file.  Paste the screenshots directly into the post rather than attaching them as a file.  . 

Edited by Frank1940

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.