Iâll try to help; please forgive any typos, nowhere near a computer at the moment -
The first thing Iâd do is to check the integrity of the storage location - if youâre on btrfs, something like âbtrfs scrub start -d /mnt/cacheâ. The â-dâ option gives per-device stats at the end of the scrub, and once it completes, itâll give an exit code of either 0 if itâs âall clearâ, or 1-3 if it finds something/has issues.
Also, what are your volume mounts like for the container? Did you directly map â/mnt/cache/â, or did you use something like â/mnt/user//â? Is this a âcache onlyâ directory, or do you have mover enabled for it?
Having enabled server-side encryption really limits your recovery options, restricting you to only the tools available within NC. Iâd first want to verify weâre using the same NC image, that it didnât get updated for some reason. Are you using anything to auto update containers?
Check to see when the image was updated last (âdocker image listâ command, look at the âCREATEDâ line). If this lines up with when you set up the container 4 months ago, youâre clear on this part at least. Otherwise, rolling back the container might be helpful.
What are you using for your database? Are you able to manually browse the database (using sqlite3/pgadmin/adminer/etc)?
A couple spitball ideas that might be helpful:
- Issue a filesystem scan from NC - â./occ files:scan-app-dataâ and â./occ files:scan --allâ
- Run a repair - â./occ maintenance:repairâ
Based on the fact that your .ocdata file up and disappeared though, Iâm not holding out hope that the data is recoverable, especially with encryption enabled⌠Nothing to do with unraid IMO (unless maybe you did some manual mover stuff, which could bork it up), but more likely an issue with either the filesystem or the drives hosting it.
I know itâs been mentioned earlier, and I donât want to seem like Iâm kicking you while youâre down or anything, but at the very least, a backup shouldâve been taken prior to enabling encryption so you at least had one point in time where the data could be worked with outside of the NC ecosystem in order to help enable a recovery op⌠I sincerely hope youâre able to get the data back, but if not, please do keep this in mind in the future.