Sometimes I have OMV... So, here's the problem: I didn't need Plex installed anymore, so from the web control panel I first stopped the server and then uninstalled the plugin. Little problem: the web control panel has the very bad behaviour of letting apt do whatever it wants. In this case, run apt-get autoremove automatically, although packages listed there are actually sometimes still required, even if apt doesn't think so. The result is that, after uninstalling the plugin, the web control panel stopped working. This is the error I get straight away:
Error #0:
OMV\Rpc\Exception: Failed to connect to socket: No such file or directory in /usr/share/php/openmediavault/rpc/rpc.inc:140
Stack trace:
#0 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call('Services', 'getStatus', Array, Array, 3)
#1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
#2 {main}
and this is the error I get if I try to login again (after I did a reboot):
Error #0:
OMV\Rpc\Exception: Failed to connect to socket: No such file or directory in /usr/share/php/openmediavault/rpc/rpc.inc:140
Stack trace:
#0 /var/www/openmediavault/rpc/session.inc(56): OMV\Rpc\Rpc::call('UserMgmt', 'authUser', Array, Array, 2, true)
#1 [internal function]: OMVRpcServiceSession->login(Array, Array)
#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('login', Array, Array)
#4 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call('Session', 'login', Array, Array, 3)
#5 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
#6 {main}
I also tried to run omv-firstaid and select Configure web control panel, but straight after asking me which port the control panel should listen to, the script quits and in the ssh console I'm left with this error: "ERROR: [Errno 2] No such file or directory"
Now, unfortunately I didn't think about copying the list of packages that got autoremoved together with plex, because I didn't think it would cause such a big issue. I remember there was a package with "json" in the name, along with libmcrypt4, avahi and a few more. Can anybody help me to figure out this mess and get the web control panel working again? Thanks! (OMV is at latest version of 4.x)
EDIT: another thing that popped to my mind is that the plex removal process might have messed up with some php configuration, because I read some php-relatd messages while everything was uninstalling.