Hi,
I am experiencing some trouble with OMV. I was in the changing the Docker-Compose "docker storage" path from the default "/var/lib/docker" to an SSD. Because I didn't want to use the long absolut path I though a Symlink would make things easier. I created a Symlink for the SSD and inserted a new path in "docker storage" (ssdm2/docker). From this point I am a bit fuzzy what I did next. Multiple tries to apply t hese setting a reverting back to the standard "/var/lib/docker" failed with errors. I then tried to install the OMV updates including "linux-image-6.1.0-0.deb11.6-amd64 6.1.15" which also didn't work.
The common part in the error messages that I saw was:
Failed to create or replace /initrd.img: Is a directory at /usr/bin/linux-update-symlinks line 72.
The complete error messages can be found below. Any help or pointers on how to solve this are welcome.
Kind regards,
TiredHornet
Error from applying settings in docker-compose:
[TO LONG TO POST HERE]. I attached everything in the text fiel below.
Error from kernel update:
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-broken --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::="--force-confold" dist-upgrade 2>&1' with exit code '100': Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be REMOVED:
linux-image-6.1.0-0.deb11.6-amd64
The following packages will be upgraded:
docker-ce docker-ce-cli docker-compose-plugin openmediavault
4 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 50.1 MB/52.5 MB of archives.
After this operation, 504 MB disk space will be freed.
Get:1 https://download.docker.com/linux/debian bullseye/stable amd64 docker-ce-cli amd64 5:25.0.0-1~debian.11~bullseye [13.7 MB]
Get:2 https://download.docker.com/linux/debian bullseye/stable amd64 docker-ce amd64 5:25.0.0-1~debian.11~bullseye [24.3 MB]
Get:3 https://download.docker.com/linux/debian bullseye/stable amd64 docker-compose-plugin amd64 2.24.1-1~debian.11~bullseye [12.1 MB]
Preconfiguring packages ...
Fetched 50.1 MB in 2s (21.3 MB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 42214 files and directories currently installed.)
Removing linux-image-6.1.0-0.deb11.6-amd64 (6.1.15-1~bpo11+1) ...
Failed to create or replace /initrd.img: Is a directory at /usr/bin/linux-update-symlinks line 72.
dpkg: error processing package linux-image-6.1.0-0.deb11.6-amd64 (--remove):
installed linux-image-6.1.0-0.deb11.6-amd64 package post-removal script subprocess returned error exit status 21
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-image-6.1.0-0.deb11.6-amd64
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1) in /usr/share/openmediavault/engined/rpc/apt.inc:226
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(620): Engined\Rpc\Apt->Engined\Rpc\{closure}('/tmp/bgstatusqs...', '/tmp/bgoutputuJ...')
#1 /usr/share/openmediavault/engined/rpc/apt.inc(229): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: Engined\Rpc\Apt->upgrade(NULL, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('upgrade', NULL, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Apt', 'upgrade', NULL, Array, 1)
#6 {main}
Alles anzeigen