Hey, I have sadly corrupted my OMV installation I believe.
I had some issue with the smartmontools package, so I just wanted to remove and install it again, sadly I didn't expect it to remove critical OMV stuff, this is the delete log:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
acl beep bsdmainutils btrfs-progs collectd collectd-core cpufrequtils cron-apt dctrl-tools dmeventd f2fs-tools fontconfig gdisk hdparm jfsutils jq libaio1 libatasmart4 libavahi-client3 libcairo2 libcpufreq0 libcups2 libdatrie1
libdbi1 libdevmapper-event1.02.1 libgraphite2-3 libharfbuzz0b libinih1 libjq1 libjs-jquery libjs-sphinxdoc libjs-underscore libldb2 liblvm2cmd2.03 liblzo2-2 libnetplan0 libnorm1 libnss-myhostname libonig5 libossp-uuid16
libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpgm-5.3-0 libpixman-1-0 librrd8 libsodium23 libtdb1 libthai-data libthai0 liburing1 libxcb-render0 libxcb-shm0 libxrender1 libzmq5 lvm2 mdadm ncal netplan.io nfs-kernel-server
php-bcmath php-cgi php-common php-fpm php-mbstring php-pam php-xml php-yaml php7.4-bcmath php7.4-cgi php7.4-cli php7.4-common php7.4-fpm php7.4-json php7.4-mbstring php7.4-opcache php7.4-readline php7.4-xml python3-cached-property
python3-click python3-colorama python3-dateutil python3-dbus python3-dialog python3-dnspython python3-jinja2 python3-ldb python3-lxml python3-markupsafe python3-msgpack python3-natsort python3-netifaces python3-polib python3-psutil
python3-pycryptodome python3-pyudev python3-samba python3-systemd python3-talloc python3-tdb python3-yaml python3-zmq quota quotatool rrdcached rrdtool salt-common salt-minion samba samba-common samba-common-bin samba-libs
samba-vfs-modules sdparm sshpass tdb-tools uuid wsdd xfsprogs xmlstarlet
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
openmediavault openmediavault-flashmemory openmediavault-omvextrasorg smartmontools
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
(Reading database ... 50091 files and directories currently installed.)
Removing openmediavault-omvextrasorg (6.1.1) ...
Removing openmediavault-flashmemory (6.2) ...
Alles anzeigen
I figured right away that I probably screwed something, and as expected OMV failed to work afterwards.
I have managed to manually install all the deleted stuff, then when I tried to login I got an error from rpc.php, initially when opening the web page:
message
:
"Session not authenticated."
trace
:
"OMV\\HttpErrorException: Session not authenticated. in /usr/share/php/openmediavault/session.inc:146\nStack trace:\n#0 /usr/share/php/openmediavault/rpc/proxy/json.inc(81): OMV\\Session->validateAuthentication()\n#1 /var/www/openmediavault/rpc.php(45): OMV\\Rpc\\Proxy\\Json->handle()\n#2 {main}"
response
:
null
When I tried to login it didn't work. It started working again after I executed omv-engined -d -f
I tried to have it running automatically, but it's not working, so in order for me to actually be able to log into OMV, I need to first execute that(even with the command, the above error still shows on the login page, but after logging in I see no errors on network and everything seems to load ok.
My question is what should be the following steps? Is there any way to repair OMV? Should I completely uninstall OMV? Personally it feels like things are close to being as usual, just need to solve the rpc.php error on login page and solve the omv-engined -d -f not running automatically.
Any ideas? I don't really want to lose all my OS changes.
Thanks!