Hi,
If I do a
apt-get install openmediavault --reinstall
will I loose all my settings, Users, Scheduled Jobs, Shared Folders, etc etc?
Reinstall command will loose my settings?
-
- OMV 4.x
- djpollum
-
-
Better question is why are you wanting to run that command?
-
Yeah, you're right...
Long story short:
My OMV 4 on a ODROID XU4 gave to much notices that the load average was too high.
By looking at the processes I saw around an 4500 sleeping processes (most of them were 'cron').
A 'helpful friend' ran the command to kill the sleeping processes and remove anacron from the system.
This also deinstalled things like Openmediavault, OMV-Extras, Clamav, etc.
After installing those again the WebGUI gave an error by logging in
'Failed to connect to socket: No such file or directory'
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(97): OMV\Rpc\Rpc::call('Services', 'getStatus', Array, Array, 3)
#1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
#2 {main}I can only work around this if I first use SSH to run
omv-engined -f -d
I really would like this to be solved. Is it solved when this runs automatically at boot (?). Do you know how?If I try to update via the WebGUI it gives me an error
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; apt-get update 2>&1' with exit code '100': Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Hit:6 http://ppa.launchpad.net/kyle1117/ppa/ubuntu xenial InRelease Get:9 http://security.debian.org stretch/updates InRelease [94.3 kB] Hit:11 http://packages.openmediavault.org/public arrakis InRelease Ign:7 http://cdn-fastly.deb.debian.org/debian stretch InRelease Get:8 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB] Get:12 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease [91.8 kB] Hit:13 http://cdn-fastly.deb.debian.org/debian stretch Release Ign:14 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch InRelease Get:15 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release [4389 B] Hit:15 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release Hit:16 https://openmediavault.github.io/packages arrakis InRelease Ign:10 https://apt.armbian.com jessie InRelease Err:17 https://apt.armbian.com jessie Release 404 Not Found Reading package lists... E : The repository 'http://apt.armbian.com jessie Release' does no longer have a Release file. -
-
If I try to update via the WebGUI it gives me an error
Your sources still have jessie entries. You need to remove those or update them to stretch.
A 'helpful friend' ran the command to kill the sleeping processes and remove anacron from the system.
I would've just rebooted. And if omv was uninstalled, you don't need the --reinstall flag. Just install it again.
I really would like this to be solved. Is it solved when this runs automatically at boot (?). Do you know how?
systemctl enable openmediavault-engined
-
Thank you for your reply @ryecoaaron !
After more searching, these commands that helped fixing this problem:
apt-get install --reinstall openmediavault-engined
systemctl unmask openmediavault-engined
systemctl enable openmediavault-engined
systemctl restart openmediavault-engined
-
apt-get install --reinstall openmediavault-engined
This command can't work since there is no package by that name. Guessing you just reinstalled openmediavault. Glad the other commands worked though.
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!