Well, my OMV just got rot

Question - not resolved

I don't know if this is a question or a self-rant or what, here it comes.

I used OMV for some time, the tipycal combo of OMV-snapraid-mergeFS. Just to give a try to snapraid. I didn't liked it's performance so I tried to went back to a standard mdadm software raid.

I have to clear that I am not an experienced linux admin.

I disassembled the snapraid reversing the proccess of assembling it, but I forgot to remove the sharedfloders, which was mainly one for the home of the minecraft server console user.

I did a raid5, mounted, and created an FS. and then the admin page started to throw errors about the old network shares. Ready to solve them I tried to delete the shares, but I couldn't. I tried to modify them, but the page does not let me edit them.

The bad part comes when I tried to stop accessory services. I a supreme intelligent blink, I stopped MySQL, that should not have any file on this volume, and then the page shown "502. Bad gateway" (nginx)

OMG, what a cyber-kevin I feel now.

php-fpm is not showing in ps -A, neither any other php.
I tried to repair them but it says they are ok. I cannot start them manually.

Thinking about reinstalling omv. Thanks seagate-gods I am a backup guy.

Posted May 10, 2020, 12:59 PM UTC

65
usb_mouse•

If you want help you're gonna have to be a hell more specific about what is wrong , what you did and what you expect to happen.

2
tecberthOP•

Yes, you are right. Time for rant is out. let's check some nginx things. For now, I am ensuring that the php page that is running is the index.php of the openmediavaul. PHP says this.

May 10 15:54:28 serverto systemd[1]: Starting The PHP 7.0 FastCGI Process Manager...
May 10 15:54:28 serverto php-fpm7.0[10697]: [10-May-2020 15:54:28] ERROR: [pool 0dc7d5fb-f046-4a5e-ab1e-a0bd33d3d475] cannot get uid for user 'abc'
May 10 15:54:28 serverto php-fpm7.0[10697]: [10-May-2020 15:54:28] ERROR: FPM initialization failed
May 10 15:54:28 serverto systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=78/n/a
May 10 15:54:28 serverto systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager.
May 10 15:54:28 serverto systemd[1]: php7.0-fpm.service: Unit entered failed state.
May 10 15:54:28 serverto systemd[1]: php7.0-fpm.service: Failed with result 'exit-code'.
1
tecberthOP•

Yeah, the web console is back. The user 'abc' was gone, it was in an old pool that i think that i am not using, but also doesn't bother now.

1
usb_mouse•

good to hear that everything is back.

is your os on the same disk/pool as your raid? coz that's not recommended

2
tecberthOP•

No, I installed another one, just in case. I found uncomfortable to install in the raid device, so I followed the tutorials strictly.

I my mind that was all good to do in the raid. Additional warranty? Got nothin to loose. But then had problems to boot from the second raid volume and I remembered my kubuntu times, some years ago.

Then I realized that I need to use another disk. Just reinstall the OS and leave the data untouch.

1