There's a bit of backstory to this issue. I'm going to give a short description of the issue and troubleshooting below then give the history that I think is pertinent to what may be causing the issue (but I don't know how to solve).
The issue I'm having is that SMB shares are not accessible and when I try to add a share I an error when attempting to apply the config changes (I will reply to this thread with the error...it says my post is too long when I try to include it).
What I have tried:
- Remove all shares and re-add (The error appears when I attempt to re-add). I also attempted a reboot between removal and re-add.
- Stop samba and start samba.
- Review config.xml and clean up some invalid file systems (see my backstory below for why these existed). Note I retried 1 and 2 above after this
- All of the various repair utilitiesin omv-firstaid
- An assortment of "other" things that I no longer remember (sorry).
Backstory:
I had an issue with drive enclosures not reporting the actual drive serial. This caused issues recognizing drives. I applied a fix in rules.d that worked, mostly. It would (periodically) switch up the drive assignments as well as "lose" the serial assignment and would take 2-3 reboots to be fixed. eventually I found an official page about this exact issue that had a different rules.d fix that was more stable. Unfortunately, this rules.d fix changed up my drive assignments etc. After making the change I ended up with multiple invalid filesystem entries and new filesystem entries for the new drive assignments.
This obviously caused issues saving config.xml in general. I went through and cleaned up config.xml and openmediavault-filesystem.conf so that the only entries present are the valid entries. Once this was done I was able to start saving config changes in general. It was after this that I realized that SMB was broken and that I can't make smb-specific config changes.
At this point I think the above backstory is what caused the issue but I'm at a loss for how to solve it and was hoping someone could help me out with that.