Beiträge von fbarcelo

    I've experienced simmilar issues than when trying to remove/update my samba shares (Actually I want to remove all of them to allow me disable the corresponding sharing folders and start to cleate them again cause they are not working very well)


    When I tried to excecute those commands gets this results, seems than 1 and 2 are ok but run prepare had an error output


    # salt-call --local saltutil.clear_cache

    local:

    True

    # salt-call saltutil.sync_modules

    local:

    # omv-salt stage run prepare

    raspberrypi:

    Data failed to compile:

    ----------

    No matching sls found for 'omv.stage.prepare' in env 'base'



    Did you have any idea?

    I've readed also about an issue with sharing root folders and diskstats plugins So I've tried to remove both but also receiving an error message



    Just in case for more context, this is the error message received when try to remove any folder

    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color avahi 2>&1' with exit code '100': ERROR: The state 'avahi' does not exist

    Error #0:
    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color avahi 2>&1' with exit code '100': ERROR: The state 'avahi' does not exist in /usr/share/php/openmediavault/system/process.inc:195
    Stack trace:
    #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
    #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
    #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusAG...', '/tmp/bgoutputoH...')
    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
    #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
    #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
    #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
    #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
    #12 {main}



    And this is the one received when trying to remove the plugins


    Reading package lists...

    Building dependency tree...

    Reading state information...

    The following packages will be REMOVED:

    openmediavault-diskstats

    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.

    1 not fully installed or removed.

    After this operation, 114 kB disk space will be freed.

    (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 ... 151639 files and directories currently installed.)

    Removing openmediavault-diskstats (5.1.1-1) ...

    ERROR: The state 'collectd' does not exist

    dpkg: error processing package openmediavault-diskstats (--remove):

    installed openmediavault-diskstats package post-removal script subprocess returned error exit status 100

    Errors were encountered while processing:

    openmediavault-diskstats


    Any clue will help

    Thanks in advance