Netatalk installation went wrong. Now getting errors when trying to use apt-get purge

  • apt-get purge got me these errors


    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    openmediavault-netatalk
    The following packages will be upgraded:
    openmediavault-netatalk
    1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
    4 not fully installed or removed.
    Need to get 0 B/36.2 kB of archives.
    After this operation, 19.5 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    (Reading database ... 61642 files and directories currently installed.)
    Preparing to replace openmediavault-netatalk 1.1.2 (using .../openmediavault-netatalk_1.5_all.deb) ...
    Unpacking replacement openmediavault-netatalk ...
    /etc/monit/conf.d/openmediavault-netatalk.conf:2: Warning: Program does not exist: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-netatalk.conf:3: Warning: Program does not exist: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-filesystem.conf:3: Error: syntax error '97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0'
    dpkg: warning: subprocess old post-removal script returned error exit status 1
    dpkg: trying script from the new package instead ...
    /etc/monit/conf.d/openmediavault-netatalk.conf:2: Warning: Program does not exist: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-netatalk.conf:3: Warning: Program does not exist: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-filesystem.conf:3: Error: syntax error '97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0'
    dpkg: error processing /var/cache/apt/archives/openmediavault-netatalk_1.5_all.deb (--unpack):
    subprocess new post-removal script returned error exit status 1
    /etc/monit/conf.d/openmediavault-netatalk.conf:2: Warning: Program does not exist: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-netatalk.conf:3: Warning: Program does not exist: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-filesystem.conf:3: Error: syntax error '97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0'
    dpkg: error while cleaning up:
    subprocess new post-removal script returned error exit status 1
    Processing triggers for openmediavault ...
    Restarting engine daemon ...
    /etc/monit/conf.d/openmediavault-netatalk.conf:2: Warning: Program does not exist: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-netatalk.conf:3: Warning: Program does not exist: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-filesystem.conf:3: Error: syntax error '97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0'
    Restarting OpenMediaVault engine daemon: .omv-engined.
    Errors were encountered while processing:
    /var/cache/apt/archives/openmediavault-netatalk_1.5_all.deb
    Creating index of upgradeable packages ...
    Creating index of OpenMediaVault plugins ...
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    I am still able to install packages.


    Thank you for your help.


    Sined

    • Offizieller Beitrag

    Try:


    touch /etc/init.d/netatalk
    omv-mkconf monit
    apt-get purge openmediavault-netatalk

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • Hi ryecoaaron,


    Thank you for your prompt response.
    Touch -> OK
    omv-mkconf monit -> OK
    apt-get purge openmediavault-netatalk -> Error.


    Here is the returned error
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED:
    openmediavault-netatalk*
    0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
    5 not fully installed or removed.
    After this operation, 339 kB disk space will be freed.
    Do you want to continue [Y/n]? y
    dpkg: error processing openmediavault-netatalk (--purge):
    Package is in a very bad inconsistent state - you should
    reinstall it before attempting a removal.
    Errors were encountered while processing:
    openmediavault-netatalk
    Creating index of upgradeable packages ...
    Creating index of OpenMediaVault plugins ...
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Sined

    • Offizieller Beitrag

    apt-get install --reinstall openmediavault-netatalk
    If that doesn't error, then:
    apt-get purge openmediavault-netatalk

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • Sorry to bother you but


    apt-get install --reinstall openmediavault-netatalk -> errors


    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be upgraded:
    openmediavault-netatalk
    1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
    5 not fully installed or removed.
    Need to get 0 B/36.2 kB of archives.
    After this operation, 19.5 kB of additional disk space will be used.
    Selecting previously unselected package openmediavault-netatalk.
    (Reading database ... 61653 files and directories currently installed.)
    Preparing to replace openmediavault-netatalk 1.1.2 (using .../openmediavault-netatalk_1.5_all.deb) ...
    Unpacking replacement openmediavault-netatalk ...
    /etc/monit/conf.d/openmediavault-netatalk.conf:2: Warning: Program is not executable: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-netatalk.conf:3: Warning: Program is not executable: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-filesystem.conf:3: Error: syntax error '97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0'
    dpkg: warning: subprocess old post-removal script returned error exit status 1
    dpkg: trying script from the new package instead ...
    /etc/monit/conf.d/openmediavault-netatalk.conf:2: Warning: Program is not executable: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-netatalk.conf:3: Warning: Program is not executable: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-filesystem.conf:3: Error: syntax error '97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0'
    dpkg: error processing /var/cache/apt/archives/openmediavault-netatalk_1.5_all.deb (--unpack):
    subprocess new post-removal script returned error exit status 1
    /etc/monit/conf.d/openmediavault-netatalk.conf:2: Warning: Program is not executable: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-netatalk.conf:3: Warning: Program is not executable: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-filesystem.conf:3: Error: syntax error '97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0'
    dpkg: error while cleaning up:
    subprocess new post-removal script returned error exit status 1
    Processing triggers for openmediavault ...
    Restarting engine daemon ...
    /etc/monit/conf.d/openmediavault-netatalk.conf:2: Warning: Program is not executable: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-netatalk.conf:3: Warning: Program is not executable: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-filesystem.conf:3: Error: syntax error '97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0'
    Restarting OpenMediaVault engine daemon: .omv-engined.
    Errors were encountered while processing:
    /var/cache/apt/archives/openmediavault-netatalk_1.5_all.deb
    Creating index of upgradeable packages ...
    Creating index of OpenMediaVault plugins ...
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    apt-get purge openmediavault-netatalk -> errors


    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED:
    openmediavault-netatalk*
    0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
    5 not fully installed or removed.
    After this operation, 339 kB disk space will be freed.
    Do you want to continue [Y/n]? y
    dpkg: error processing openmediavault-netatalk (--purge):
    Package is in a very bad inconsistent state - you should
    reinstall it before attempting a removal.
    Errors were encountered while processing:
    openmediavault-netatalk
    Creating index of upgradeable packages ...
    Creating index of OpenMediaVault plugins ...
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    • Offizieller Beitrag

    I said don't purge it if there are errors in the reinstall...


    Do this again:
    apt-get install --reinstall openmediavault-netatalk


    Then:
    rm /etc/monit/conf.d/openmediavault-netatalk.conf


    Post output of:
    cat /etc/monit/conf.d/openmediavault-filesystem.conf

  • Here is the output:



    # Alert if disk space of root filesystem gets low
    check filesystem rootfs with path /
    if space usage > 97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert


    # Alert if filesystem is missing or disk space gets low
    check filesystem fs_media_7ad3053b-29ed-4285-af2d-917c53a9fb50 with path "/media/7ad3053b-29ed-4285-af2d-917c53a9fb50"
    if space usage > 97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert
    #check program mp_media_7ad3053b-29ed-4285-af2d-917c53a9fb50 with path "/bin/mountpoint -q '/media/7ad3053b-29ed-4285-af2d-917c53a9fb50'"
    # if status == 1 then alert


    # Alert if filesystem is missing or disk space gets low
    check filesystem fs_media_a209e045-9d63-4cb3-9d1e-523c525da042 with path "/media/a209e045-9d63-4cb3-9d1e-523c525da042"
    if space usage > 97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert
    #check program mp_media_a209e045-9d63-4cb3-9d1e-523c525da042 with path "/bin/mountpoint -q '/media/a209e045-9d63-4cb3-9d1e-523c525da042'"
    # if status == 1 then alert


    # Alert if filesystem is missing or disk space gets low
    check filesystem fs_media_86befe9f-eec7-4a3c-a394-44bae03f5d81 with path "/media/86befe9f-eec7-4a3c-a394-44bae03f5d81"
    if space usage > 97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert
    #check program mp_media_86befe9f-eec7-4a3c-a394-44bae03f5d81 with path "/bin/mountpoint -q '/media/86befe9f-eec7-4a3c-a394-44bae03f5d81'"
    # if status == 1 then alert


    # Alert if filesystem is missing or disk space gets low
    check filesystem fs_media_db06ffdd-f955-4b9e-bee8-349c23c9dcf2 with path "/media/db06ffdd-f955-4b9e-bee8-349c23c9dcf2"
    if space usage > 97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert
    #check program mp_media_db06ffdd-f955-4b9e-bee8-349c23c9dcf2 with path "/bin/mountpoint -q '/media/db06ffdd-f955-4b9e-bee8-349c23c9dcf2'"
    # if status == 1 then alert


    # Alert if filesystem is missing or disk space gets low
    check filesystem fs_media_b112e468-9e85-4211-9454-3732927ecd65 with path "/media/b112e468-9e85-4211-9454-3732927ecd65"
    if space usage > 97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert
    #check program mp_media_b112e468-9e85-4211-9454-3732927ecd65 with path "/bin/mountpoint -q '/media/b112e468-9e85-4211-9454-3732927ecd65'"
    # if status == 1 then alert


    # Alert if filesystem is missing or disk space gets low
    check filesystem fs_media_e191d21b-d90f-4c1f-99f3-189186f6a024 with path "/media/e191d21b-d90f-4c1f-99f3-189186f6a024"
    if space usage > 97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert
    #check program mp_media_e191d21b-d90f-4c1f-99f3-189186f6a024 with path "/bin/mountpoint -q '/media/e191d21b-d90f-4c1f-99f3-189186f6a024'"
    # if status == 1 then alert


    # Alert if filesystem is missing or disk space gets low
    check filesystem fs_media_d46ecf3f-9af7-4a5b-a4e8-8b0280255d8f with path "/media/d46ecf3f-9af7-4a5b-a4e8-8b0280255d8f"
    if space usage > 97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert
    #check program mp_media_d46ecf3f-9af7-4a5b-a4e8-8b0280255d8f with path "/bin/mountpoint -q '/media/d46ecf3f-9af7-4a5b-a4e8-8b0280255d8f'"
    # if status == 1 then alert


    # Alert if filesystem is missing or disk space gets low
    check filesystem fs_media_ca3b2b7a-d323-48ce-a1d3-bd027bb38b01 with path "/media/ca3b2b7a-d323-48ce-a1d3-bd027bb38b01"
    if space usage > 97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert
    #check program mp_media_ca3b2b7a-d323-48ce-a1d3-bd027bb38b01 with path "/bin/mountpoint -q '/media/ca3b2b7a-d323-48ce-a1d3-bd027bb38b01'"
    # if status == 1 then alert


    # Alert if filesystem is missing or disk space gets low
    check filesystem fs_media_10426388-ca65-48e7-a22c-fdc37d49ecc6 with path "/media/10426388-ca65-48e7-a22c-fdc37d49ecc6"
    if space usage > 97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert
    #check program mp_media_10426388-ca65-48e7-a22c-fdc37d49ecc6 with path "/bin/mountpoint -q '/media/10426388-ca65-48e7-a22c-fdc37d49ecc6'"
    # if status == 1 then alert


    # Alert if filesystem is missing or disk space gets low
    check filesystem fs_media_089d801c-9653-4f67-af78-8bd58c32a661 with path "/media/089d801c-9653-4f67-af78-8bd58c32a661"
    if space usage > 97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert
    #check program mp_media_089d801c-9653-4f67-af78-8bd58c32a661 with path "/bin/mountpoint -q '/media/089d801c-9653-4f67-af78-8bd58c32a661'"
    # if status == 1 then alert


    # Alert if filesystem is missing or disk space gets low
    check filesystem fs_media_af7ca1c7-6683-4f10-aea3-51126160cf6f with path "/media/af7ca1c7-6683-4f10-aea3-51126160cf6f"
    if space usage > 97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE=0% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert
    #check program mp_media_af7ca1c7-6683-4f10-aea3-51126160cf6f with path "/bin/mountpoint -q '/media/af7ca1c7-6683-4f10-aea3-51126160cf6f'"
    # if status == 1 then alert

    • Offizieller Beitrag

    Looks like someone made a bad modification...


    cat /usr/share/openmediavault/mkconf/monit.d/filesystem
    cat /etc/default/openmediavault

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • cat /usr/share/openmediavault/mkconf/monit.d/filesystem


    #!/bin/sh
    #
    # This file is part of OpenMediaVault.
    #
    # @license http://www.gnu.org/licenses/gpl.html GPL Version 3
    # @author Volker Theile <volker.theile@openmediavault.org>
    # @copyright Copyright (c) 2009-2015 Volker Theile
    #
    # OpenMediaVault is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # any later version.
    #
    # OpenMediaVault is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with OpenMediaVault. If not, see <http://www.gnu.org/licenses/>.


    set -e


    . /etc/default/openmediavault
    . /usr/share/openmediavault/scripts/helper-functions


    OMV_MONIT_SERVICE_FILESYSTEM_CONFIG=${OMV_MONIT_SERVICE_FILESYSTEM_CONFIG:-"/etc/monit/conf.d/openmediavault-filesystem.conf"}
    OMV_MONIT_SERVICE_FILESYSTEM_SPACEUSAGE=${OMV_MONIT_SERVICE_FILESYSTEM_SPACEUSAGE:-"80"}


    if [ "$(omv_config_get "//system/notification/notifications/monitfilesystems")" = "1" ]; then
    # Monitor root filesystem.
    cat <<EOF > ${OMV_MONIT_SERVICE_FILESYSTEM_CONFIG}
    # Alert if disk space of root filesystem gets low
    check filesystem rootfs with path /
    if space usage > ${OMV_MONIT_SERVICE_FILESYSTEM_SPACEUSAGE}% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert


    EOF


    # Monitor mounted filesystems.
    xmlstarlet sel -t \
    -m "//system/fstab/mntent[not(contains(opts,'bind') or contains(opts,'loop'))]" \
    -v uuid \
    -i "position() != last()" -n -b \
    -b \
    ${OMV_CONFIG_FILE} | xmlstarlet unesc |
    while read uuid; do
    # Get the mount point of the filesystem.
    dir=$(omv_config_get "//system/fstab/mntent[uuid='${uuid}']/dir")
    # Generate a unique identifier.
    fscheckname=$(echo "fs${dir}" | tr "/ " "_")
    progcheckname=$(echo "mp${dir}" | tr "/ " "_")
    cat <<EOF >> ${OMV_MONIT_SERVICE_FILESYSTEM_CONFIG}
    # Alert if filesystem is missing or disk space gets low
    check filesystem ${fscheckname} with path "${dir}"
    if space usage > ${OMV_MONIT_SERVICE_FILESYSTEM_SPACEUSAGE}% for 5 times within 15 cycles
    then alert else if succeeded for 10 cycles then alert
    #check program ${progcheckname} with path "/bin/mountpoint -q '${dir}'"
    # if status == 1 then alert


    EOF
    done
    fi


    -------------------------------------------------------------------------------------------------------------


    cat /etc/default/openmediavault


    # This file is part of OpenMediaVault.
    #
    # @license http://www.gnu.org/licenses/gpl.html GPL Version 3
    # @author Volker Theile <volker.theile@openmediavault.org>
    # @copyright Copyright (c) 2009-2014 Volker Theile
    #
    # OpenMediaVault is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # any later version.
    #
    # OpenMediaVault is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with OpenMediaVault. If not, see <http://www.gnu.org/licenses/>.


    # Default values
    OMV_CONFIG_FILE="/etc/openmediavault/config.xml"
    OMV_CONFIG_TEMPLATE_FILE="/usr/share/openmediavault/templates/config.xml"
    OMV_PRODUCTINFO_FILE="/usr/share/openmediavault/productinfo.xml"
    OMV_SCRIPTS_DIR="/usr/share/openmediavault/scripts"
    OMV_I18N_LOCALE_DIR="/usr/share/openmediavault/locale"
    OMV_MOUNT_DIR="/media"
    OMV_NFSD_EXPORT_DIR="/export"
    OMV_CACHE_DIR="/var/cache/openmediavault"
    OMV_LOG_DIR="/var/log/openmediavault"
    OMV_CERTIFICATE_DIR="/etc/ssl"
    OMV_CERTIFICATE_PREFIX="openmediavault-"
    OMV_DPKGARCHIVE_DIR="/var/cache/openmediavault/archives"
    OMV_DOCUMENTROOT_DIR="/var/www/openmediavault"
    OMV_CRONSCRIPTS_DIR="/var/lib/openmediavault/cron.d"
    OMV_CONFIGIMPORT_SCRIPTS_DIR="/usr/share/openmediavault/configimport"
    OMV_MKCONF_SCRIPTS_DIR="/usr/share/openmediavault/mkconf"
    OMV_ENGINED_DIR="/usr/share/openmediavault/engined"
    OMV_ENGINED_SO_ADDRESS="/var/lib/openmediavault/engined.sock"
    OMV_ENGINED_SO_SNDTIMEO=10
    OMV_ENGINED_SO_RCVTIMEO=180
    OMV_ENGINED_DIRTY_MODULES_FILE="/var/lib/openmediavault/dirtymodules.json"
    OMV_INITSYSTEM_SCRIPTS_DIR="/usr/share/openmediavault/initsystem"
    OMV_INITSYSTEM_FILE="/var/lib/openmediavault/initsystem.req"
    OMV_FSTAB_MNTOPS_EXT2="defaults,nofail,acl,user_xattr,noexec"
    OMV_FSTAB_MNTOPS_EXT3="defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0"
    OMV_FSTAB_MNTOPS_EXT4="defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0"
    OMV_FSTAB_MNTOPS_JFS="defaults,nofail,noexec,usrquota,grpquota"
    OMV_FSTAB_MNTOPS_XFS="defaults,nofail,noexec,usrquota,grpquota"
    OMV_FSTAB_MNTOPS_VFAT="defaults,nofail"
    OMV_FSTAB_MNTOPS_NTFS="defaults,nofail"
    OMV_FSTAB_MNTOPS_HFSPLUS="defaults,nofail,force"
    OMV_USERMGMT_DEFAULT_GROUP="users"
    OMV_RRDGRAPH_DIR="/var/lib/openmediavault/rrd"
    OMV_RRDGRAPH_ERROR_IMAGE="/usr/share/openmediavault/icons/rrd_graph_error_64.png"
    OMV_WEBGUI_FILE_OWNERGROUP_NAME="openmediavault"
    OMV_DEBUG_SCRIPT="NO"
    OMV_DEBUG_PHP="NO"
    OMV_DEBUG_EXTJS="NO"
    OMV_MONIT_SERVICE_FILESYSTEM_SPACEUSAGE=97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE="0"
    OMV_NGINX_SITE_WEBGUI_SECURITY_XFRAMEOPTIONS_ENABLE="false"

    • Offizieller Beitrag

    Change this:
    OMV_MONIT_SERVICE_FILESYSTEM_SPACEUSAGE=97OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE="0"
    to

    Code
    OMV_MONIT_SERVICE_FILESYSTEM_SPACEUSAGE=97
    OMV_NGINX_SITE_WEBGUI_SECURITY_CSP_ENABLE="0"


    Then
    omv-mkconf monit
    apt-get purge openmediavault-netatalk


    When you changed the filesystem_spaceusage to 97, you didn't hit enter at the end of the line.

    • Offizieller Beitrag

    I assume it purged ok? What are you trying to get to work? netatalk?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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 still getting an error when trying to install Netatalk


    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be upgraded:
    openmediavault-netatalk
    1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
    5 not fully installed or removed.
    Need to get 0 B/36.2 kB of archives.
    After this operation, 19.5 kB of additional disk space will be used.
    (Reading database ... 61653 files and directories currently installed.)
    Preparing to replace openmediavault-netatalk 1.1.2 (using .../openmediavault-netatalk_1.5_all.deb) ...
    Unpacking replacement openmediavault-netatalk ...
    /etc/monit/conf.d/openmediavault-netatalk.conf:2: Warning: Program is not executable: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-netatalk.conf:3: Warning: Program is not executable: '/etc/init.d/netatalk'
    Processing triggers for openmediavault ...
    Restarting engine daemon ...
    /etc/monit/conf.d/openmediavault-netatalk.conf:2: Warning: Program is not executable: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-netatalk.conf:3: Warning: Program is not executable: '/etc/init.d/netatalk'
    Stopping OpenMediaVault engine daemon: omv-engined.
    Starting OpenMediaVault engine daemon: Setting up linux-image-3.2.0-4-amd64 (3.2.68-1+deb7u1) ...
    Running depmod.
    Examining /etc/kernel/postinst.d.
    run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-4-amd64 /boot/vmlinuz-3.2.0-4-amd64
    update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
    W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
    W: mdadm: no arrays defined in configuration file.
    run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-4-amd64 /boot/vmlinuz-3.2.0-4-amd64
    run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-4-amd64 /boot/vmlinuz-3.2.0-4-amd64
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.2.0-4-amd64
    Found initrd image: /boot/initrd.img-3.2.0-4-amd64
    done
    Setting up htop (1.0.1-1) ...
    Setting up libcrack2 (2.8.19-3) ...
    Setting up netatalk (2.2.2-1) ...


    Configuration file `/etc/init.d/netatalk'
    ==> File on system created by you or by a script.
    ==> File also in package provided by package maintainer.
    What would you like to do about it ? Your options are:
    Y or I : install the package maintainer's version
    N or O : keep your currently-installed version
    D : show the differences between the versions
    Z : start a shell to examine the situation
    The default action is to keep your current version.
    *** netatalk (Y/I/N/O/D/Z) [default=N] ? y
    Installing new version of config file /etc/init.d/netatalk ...
    Setting up openmediavault-netatalk (1.5) ...
    Updating init script links and actions
    dpkg: error processing openmediavault-netatalk (--configure):
    subprocess installed post-installation script returned error exit status 102
    Processing triggers for openmediavault ...
    Restarting engine daemon ...
    /etc/monit/conf.d/openmediavault-netatalk.conf:2: Warning: Program is not executable: '/etc/init.d/netatalk'
    /etc/monit/conf.d/openmediavault-netatalk.conf:3: Warning: Program is not executable: '/etc/init.d/netatalk'
    Stopping OpenMediaVault engine daemon: omv-engined.
    Starting OpenMediaVault engine daemon: Errors were encountered while processing:
    openmediavault-netatalk
    Creating index of upgradeable packages ...
    Creating index of OpenMediaVault plugins ...
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    • Offizieller Beitrag

    chmod +x /etc/init.d/netatalk


    Then try again.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • OK I see progress but still get errors.
    If I try to create a new Apple Share I got the following errors when applying my changes:


    Error #4000:
    exception 'OMVException' with message 'Failed to execute command 'export LANG=C; update-rc.d 'netatalk' disable 2>&1': update-rc.d: error: no runlevel symlinks to modify, aborting!
    update-rc.d: using dependency based boot sequencing' in /usr/share/php/openmediavault/initscript.inc:90
    Stack trace:
    #0 /usr/share/php/openmediavault/initscript.inc(56): OMVSysVInitScript->update(true)
    #1 /usr/share/openmediavault/engined/module/afp.inc(74): OMVSysVInitScript->exec()
    #2 /usr/share/openmediavault/engined/rpc/config.inc(164): OMVModuleAFP->stopService()
    #3 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
    #4 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #5 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
    #6 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
    #7 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
    #8 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #9 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
    #10 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
    #11 {main}

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!