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.

Unable to delete corrupted files in appdata folder

Featured Replies

Hey all,

Relatively new to self hosting.
After upgrading to 7.2.3, I had Jellyfin and a couple Arr containers break (corrupted db as far as I could tell). Unfortunately I hadn't backed anything up, and I learned my lesson there.
Either way, I'm trying to clean up in the aftermath, but I've found that the appdata folder for jellyfin can't be deleted. (attempting to install a clean version, from a different repo).
Worst case scenario, I can probably just abandon these files, but I like clean folders where I can manage to have them.

Here's what I've tried so far:

  • Attempted to use CA Cleanup Appdata plugin.

  • Attempted to remove via terminal (rm -rf), and I got "rm: cannot remove... ...invalid argument"

  • Attempted to use MC to manually locate and remove corrupt files, and I get "cannot stat... ...invalid argument (22)"

  • Started the array in maintenance and ran both a read-check and a ntfsfix_ status check, and both came back without any issues.

    • Mounting volume... OK

      Processing of $MFT and $MFTMirr completed successfully.

      Checking the alternate boot sector... OK

      NTFS volume version is 3.1.

      NTFS partition /dev/md1p1 was processed successfully.

    • read-check - 0 errors

In MC, and via exported files in my network, all the folders appear blank, but if I use MC to go into the disk1 appdata instead of the appdata under user, I can see corrupt files. See screenshot I've attached.

Any insights you can offer would be much appreciated!

chrome_NjljXcKVdl.png

chrome_OvusnzyqOy.png

Solved by trurl

  • Community Expert

Why are you using ntfs? ntfs in the array is a new feature and the docs don't say anything about fixing corruption on ntfs.

Click on the disk to get to its page post a screenshot.

  • Author

Oh, that's weird, I thought when I was setting stuff up, I just left it default, but idk why it would have defaulted to that. Maybe I was following some random tutorial or something.

I think I'll just move off the media to my desktop, backup my functioning containers, and reformat to XFS. I don't have so much on there yet that it'll be that much more effort.
Any tips or tricks for any of that process?

  • Community Expert

If the disk was already ntfs when you put it in Unraid, it would have taken it like that with what ever contents it had, since you don't have parity.

Was the disk previously used?

  • Author

Yeah, it was part of a used workstation tower I picked up for cheap to mess around with stuff, so it would have already been set up for windows.

  • Community Expert
  • Solution
12 hours ago, Zaiquiri said:

already been set up for windows.

So in addition to NTFS, it probably has multiple partitions. And Unraid was only accessing one of the partitions so you were also missing space.

13 hours ago, Zaiquiri said:

reformat to XFS

You must Erase the partitions before reformatting. You should see that option on the same disk page where you choose its filesystem.

  • Author

I appreciate the help!

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.