Mariadb error in OMV7

  • Having next error after OMV 7 update:


  • votdev

    Approved the thread.
    • Official Post

    I don't recommend adding repos to OMV's host system. If you need mariadb, I recommend running it in docker.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I'm already using mariadb in docker and don't know why omv needs it. Without updating the repo, I was unable to do apt update/upgrade in either the GUI or the cli.

    • Official Post

    I'm already using mariadb in docker and don't know why omv needs it.

    OMV does not need mariadb, if it is installed on the system it is because you have installed it directly or some other package that you have installed. If you don't need it, I would uninstall mariadb from the system and delete that repository.

  • Ok, apt list --installed shows

    Code
    mariadb-common/unknown,unknown,now 1:11.4.2+maria~deb12 all [installed,automatic]

    aptitude why mariadb-common

    Code
    i   openmediavault Depends     collectd
    i A collectd       Recommends  libmariadb3 (>= 3.0.0)
    i A libmariadb3    Depends     mariadb-common
    • Official Post

    I just checked three OMV systems that I have installed and none of them have any package related to mariadb, logically all of them have the collectd package.

    How did you install OMV?

  • I used an OMV 6 ISO and migrated with omv-release-upgrade.

    Code
    apt show collectd
    
    Package: collectd
    Version: 5.12.0-14
    Priority: optional
    Section: utils
    Maintainer: Collectd Packaging Team <team+collectd@tracker.debian.org>
    Installed-Size: 161 kB
    Depends: collectd-core (>= 5.12.0-14), collectd-core (<< 5.12.0-14.1~), libc6 (>= 2.34), librrd8 (>= 1.3.0)
    Recommends: intel-cmt-cat (>= 4.5.0), libabsl20220623 (>= 0~20220623.0-1), libatasmart4 (>= 0.13), libbson-1.0-0 (>= 1.23.1), libcurl3-gnutls (>= 7.16.2), libdbi1 (>= 0.9.0), libesmtp6 (>= 1.1.0), libgcc-s1 (>= 3.0), libgcrypt20 (>= 1.10.0), libglib2.0-0 (>= 2.12.0), libgps28 (>= 3.3), libgrpc++1.51 (>= 1.51.1), libgrpc29 (>= 1.51.1), libhiredis0.14 (>= 0.14.0), libi2c0 (>= 4.0), libip4tc2 (>= 1.8.3), libip6tc2 (>= 1.8.3), libjansson4 (>= 2.14), libldap-2.5-0 (>= 2.5.4), liblua5.3-0, libmariadb3 (>= 3.0.0), libmemcached11 (>= 1.1.3), libmicrohttpd12 (>= 0.9.50), libmnl0 (>= 1.0.3-4~), libmodbus5 (>= 3.0.2), libmongoc-1.0-0 (>= 1.23.1), libmosquitto1 (>= 1.2), libnotify4 (>= 0.7.0), libopenipmi0 (>= 2.0.33), liboping0 (>= 0.3.2), libpcap0.8 (>= 1.0.0), libperl5.36 (>= 5.36.0), libpq5, libprotobuf-c1 (>= 1.0.1), libprotobuf32 (>= 3.21.12), libpython3.11 (>= 3.11.0), libqpid-proton11, librabbitmq4 (>= 0.8.0), librdkafka1 (>= 0.9.1), libriemann-client0 (>= 1.10.0), librrd8 (>= 1.4~rc2), librte-eal23 (>= 22.11), librte-ethdev23 (>= 22.11), libsensors5 (>= 1:3.5.0), libsnmp40 (>= 5.9.3+dfsg), libssl3 (>= 3.0.0), libstdc++6 (>= 11), libudev1 (>= 183), libupsclient6 (>= 2.8.0), libvarnishapi3 (>= 7.1.0), libvirt0 (>= 1.2.11~rc1), libxenmisc4.17 (>= 4.17.0+24-g2f8851c37f), libxml2 (>= 2.7.4), libyajl2 (>= 2.0.4), default-jre-headless
    • Official Post

    mariadb-common is not the mariadb server. It is just config files.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • My bad.

    Code
    aptitude why mariadb-server
    i   openmediavault       Depends    collectd
    i A collectd             Depends    collectd-core (< 5.12.0-14.1~)
    i A collectd-core        Suggests   default-mysql-server
    p   default-mysql-server Depends    mariadb-server
    Code
    Package: collectd-core
    Version: 5.12.0-14
    Priority: optional
    Section: utils
    Source: collectd
    Maintainer: Collectd Packaging Team <team+collectd@tracker.debian.org>
    Installed-Size: 5 687 kB
    Depends: libc6 (>= 2.34), libcap2 (>= 1:2.10), debconf (>= 0.5) | debconf-2.0, lsb-base
    Recommends: perl, rrdtool
    Suggests: collectd-dev, librrds-perl, liburi-perl, libhtml-parser-perl, libregexp-common-perl, libconfig-general-perl, httpd-cgi, apache2, apcupsd, bind9, ceph, chrony, default-mysql-server, gpsd, iptables, ipvsadm, lm-sensors, mbmon, memcached, nginx, notification-daemon, nut, openvpn, olsrd, pdns-server, postgresql, redis-server, slapd, time-daemon, varnish, zookeeper, intel-cmt-cat (>= 4.5.0), libabsl20220623 (>= 0~20220623.0-1), libatasmart4 (>= 0.13), libbson-1.0-0 (>= 1.23.1), libcurl3-gnutls (>= 7.16.2), libdbi1 (>= 0.9.0), libesmtp6 (>= 1.1.0), libgcc-s1 (>= 3.0), libgcrypt20 (>= 1.10.0), libglib2.0-0 (>= 2.12.0), libgps28 (>= 3.3), libgrpc++1.51 (>= 1.51.1), libgrpc29 (>= 1.51.1), libhiredis0.14 (>= 0.14.0), libi2c0 (>= 4.0), libip4tc2 (>= 1.8.3), libip6tc2 (>= 1.8.3), libjansson4 (>= 2.14), libldap-2.5-0 (>= 2.5.4), liblua5.3-0, libmariadb3 (>= 3.0.0), libmemcached11 (>= 1.1.3), libmicrohttpd12 (>= 0.9.50), libmnl0 (>= 1.0.3-4~), libmodbus5 (>= 3.0.2), libmongoc-1.0-0 (>= 1.23.1), libmosquitto1 (>= 1.2), libnotify4 (>= 0.7.0), libopenipmi0 (>= 2.0.33), liboping0 (>= 0.3.2), libpcap0.8 (>= 1.0.0), libperl5.36 (>= 5.36.0), libpq5, libprotobuf-c1 (>= 1.0.1), libprotobuf32 (>= 3.21.12), libpython3.11 (>= 3.11.0), libqpid-proton11, librabbitmq4 (>= 0.8.0), librdkafka1 (>= 0.9.1), libriemann-client0 (>= 1.10.0), librrd8 (>= 1.4~rc2), librte-eal23 (>= 22.11), librte-ethdev23 (>= 22.11), libsensors5 (>= 1:3.5.0), libsnmp40 (>= 5.9.3+dfsg), libssl3 (>= 3.0.0), libstdc++6 (>= 11), libudev1 (>= 183), libupsclient6 (>= 2.8.0), libvarnishapi3 (>= 7.1.0), libvirt0 (>= 1.2.11~rc1), libxenmisc4.17 (>= 4.17.0+24-g2f8851c37f), libxml2 (>= 2.7.4), libyajl2 (>= 2.0.4), default-jre-headless
    • Official Post

    OMV shouldn't be installing suggested packages if you use the iso and the install script adds the --no-install-recommends flag. Not sure why you have it on your system.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    What is the best sollution for me now? Use autoremove for collectd?

    If you remove collectd, you will remove OMV. You should just be able to remove default-mysql-server and mariadb-server. Just make sure it isn't removing collectd.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    that won't do anything since the package is already installed. You will have to manually remove packages.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!