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.

SOLVED can't delete empty share

Featured Replies

  • Community Expert

I have a share called 'apps' that used to contain some plugins, but now its empty.  looking in the share from windows it appears empty.  but from share in GUI it says share contains data

 

when i use the terminal to look in the directory, it says there is something called 'Media@'

 

don't know what this is?

 

any advice?

 

Edited by grither

use midnight commander, crusader, or similar to delete everything in the file (including the hidden files)

  • Author
  • Community Expert

yep worked thanks

 

edit.  so that worked on one share, now i'm trying to get rid of a share called plexapp (used to have plex installed there a long time ago)

 

MC is reporting that it cannot delete.  ran new permissions against that share but no change

 

 

Capture.PNG

Edited by grither

3 hours ago, grither said:

yep worked thanks

 

edit.  so that worked on one share, now i'm trying to get rid of a share called plexapp (used to have plex installed there a long time ago)

 

MC is reporting that it cannot delete.  ran new permissions against that share but no change

 

 

Capture.PNG

try the following: rename the directory and delete or move it to /tmp and it will go away when the server reboots. I'm sure there is a "correct" way, but this usually works for me.

  • Author
  • Community Expert

can rename but still not delete.  how do i move to /tmp with MC?

 

  • Author
  • Community Expert

bump for help?

 

To MOVE a directory in MC you use the F6 key.  Just navigate one side to the /tmp directory like suggested and then navigate the other side to the directory you want to move.  Highlight the directory to move and press F6.

  • Author
  • Community Expert

thanks.  tried that but get same error message that can't move directory, not empty.  weird

 

  • Community Expert

Try again after stopping any plex related dockers

  • Author
  • Community Expert

thanks for the suggestion, stopped plex, but same error trying to delete or move

  • Community Expert
35 minutes ago, grither said:

thanks for the suggestion, stopped plex, but same error trying to delete or move

You have something using that folder, reboot stop all docker/VMs and try again

  • Author
  • Community Expert

so weird.  rebooted with autostart off for dockers (confirmed off).  no VM's.  only plugins installed are   community applications, fix common problems, and controlIR

 

getting same error message whether i try to delete or move.  I did notice this odd bundle file within the deep level of folders... not sure if its the problem or not

 

any other ways to see if something is using this set of folders?

 

Capture.PNG.2d0b2681ead9f6d4f5bd0df97a9b4846.PNG

  • Author
  • Community Expert

wonder if i should boot unraid in safe mode and see if i can delete then?

 

  • Community Expert

You can try, but the result will probably be the same, you can also run a filesystem check in case there's corruption.

  • Author
  • Community Expert

hi sorry to be so helpless, but how do i run a filesystem check?

 

  • Community Expert
22 minutes ago, grither said:

hi sorry to be so helpless, but how do i run a filesystem check?

 

Click on the drive in the Main tab and that will bring up a dialog that allows you to run the check as one of the items on the dialog.

  • Author
  • Community Expert

hi there, ran a file system check and it did come up with some errors. even references plex.  probably related!

 

going to try and re-run using repair option

 

 

Capture.PNG

Edited by grither

  • Author
  • Community Expert

 

re ran with the repair option and got the below results... needless to say, still can't delete!  any other suggestions??  looks like that unresolved reference might be the problem

 

 

Capture2.thumb.PNG.db8f59a1f39f5af1d30ddbcd6b78a97f.PNG

  • Author
  • Community Expert

thanks, running mover now.  since i'm not technically replacing it, once everything is moved off, I will stop array, deselect the cache drive, start array, and the option to format the new drive will appear?  or do i then select the drive as the cache?  guess i'm wondering if it will prompt me to format or not.   also what filesystem should i select?

 

  • Community Expert

Once the data is on the array, stop it, and assuming it's a single cache device, click on it and change the cache filesystem to xfs, start the array and you'll have the option to format, you can then leave it as xfs if you don't have plans to create a cache pool or change back to btrfs and format again.

  • Author
  • Community Expert

mover is taking quite a while, I think I have 50gb in my plex library, so its just a ton of small files.... will prob take most of the day

 

dumb question?  once data is moved to array, and I reformat the cache drive, can I reinstall and start the dockers before I copy all the data back from the array to the cache drive?  in other words can I use the dockers while mover is bringing data back from the array to the cache

 

might have a family revolt if plex is down for two days!

  • Community Expert
2 minutes ago, grither said:

once data is moved to array, and I reformat the cache drive, can I reinstall and start the dockers before I copy all the data back from the array to the cache drive?  in other words can I use the dockers while mover is bringing data back from the array to the cache

No, docker needs to be disable until all files are on cache again, if you have many small files it would be much faster moving them manually, e.g., with midnight commander (mc on the console), move from /mnt/cache to /mnt/disk#

  • Author
  • Community Expert

ok, everything was copied to array.  reformatted to xfs.  set appdata and plexapp shares to use cache disk- prefer.   invoked mover.  will have to wait quite a while for it to finish, then i'll enable dockers, then check to see that i can delete the garbage files in the plexapp share.

 

will report back

  • Author
  • Community Expert

thanks for your help, mission accomplished.  mover finished, i re-enabled docker, reinstalled dockers from templates.  then, tried to delete files in my plexapp share, and worked no problem. 

 

Thanks again!

 

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.