Beiträge von vobo

    Hello,
    my setup:
    Asrock J4105M motherboard, 16GB RAM, NVME 256GB system drive and LSI 9211-8i passed to OpenMediaVault set to IT mode.
    OMV seems to see drive with no problems - 2 x 3TB drives. Both had same data with EXT4 format (rsynced).
    Had problem to create share. So I wpied one drive and tried to format it under OMV.
    But I'm still stuck on create share:


    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; systemctl restart 'sharedfolders-dane1.mount' 2>&1' with exit code '4': Failed to restart sharedfolders-dane1.mount: Access deniedSee system logs and 'systemctl status sharedfolders-dane1.mount' for details. in /usr/share/php/openmediavault/system/process.inc:182Stack trace:#0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 4)#1 /usr/share/php/openmediavault/system/systemctl.inc(160): OMV\System\SystemCtl->exec('restart', NULL, false)#2 /usr/share/openmediavault/engined/module/sharedfolders.inc(66): OMV\System\SystemCtl->restart()#3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleSharedfolders->startService()#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatuskf...', '/tmp/bgoutputC0...')#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))#9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)#10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)#13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)#14 {main}


    root@openmediavault:~# systemctl status sharedfolders-dane1.mount
    ● sharedfolders-dane1.mount - Mount shared folder dane1 to /sharedfolders/dane1
    Loaded: error (Reason: Operation not permitted)
    Active: inactive (dead)
    Where: /sharedfolders/dane1
    What: /srv/dev-disk-by-label-dane1/.


    lut 13 22:01:10 openmediavault systemd[1]: sharedfolders-dane1.mount: Ca
    nnot add dependency job, ignoring: Access denied
    lut 13 22:01:31 openmediavault systemd[1]: sharedfolders-dane1.mount: Ca
    nnot add dependency job, ignoring: Access denied
    lut 13 22:09:01 openmediavault systemd[1]: sharedfolders-dane1.mount: Ca
    nnot add dependency job, ignoring: Access denied
    lut 13 22:33:46 openmediavault systemd[1]: sharedfolders-dane1.mount: Ca
    nnot add dependency job, ignoring: Access denied


    anyone have any clue how to fix it

    Is my settings correct:
    read/write to following users/system groups:
    ftp
    nobody
    nogroup
    nut
    sambashare
    owner: root (write/read/execute)
    group: users (write/read/execute)
    others (write/read/execute)
    replace (set) Replace all existing permissions
    recursive (set) Apply permissions to files and subfolders

    Yes:
    /media/54164152-a3d3-4480-9329-67034ab1e93f


    OK. When I changed calibre shared folder to:
    /media/54164152-a3d3-4480-9329-67034ab1e93f/calibre
    and clicked apply there were no errors. I can login now to web panel.


    One more question:
    If all my drives are public should I clean my mess by run chown /chmod commands on /media/* folder?
    If yes what commands?


    As always wery big thanks ryecoaaron !!!

    I did:
    touch /etc/calibre-server.conf
    apt-get clean
    apt-get update
    apt-get install openmediavault-calibre
    then updated calibre
    and now when I open calibre plugin subpage i have got that error:
    Invalid method parameter: '' does not match '/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i'


    Błąd #2002:exception 'OMVException' with message 'Invalid method parameter: '' does not match '/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i'' in /usr/share/php/openmediavault/rpcservice.inc:187Stack trace:#0 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(1159): OMVRpcServiceAbstract->validateMethodParams(Array, '{???? "type":"...')#1 [internal function]: OMVRpcServiceShareMgmt->getPath(Array, Array)#2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)#3 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getPath', Array, Array)#4 /usr/share/openmediavault/engined/rpc/calibre.inc(164): OMVRpc::exec('ShareMgmt', 'getPath', Array, Array)#5 [internal function]: OMVRpcServiceCalibre->getBookList(Array, Array)#6 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)#7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getBookList', Array, Array)#8 /usr/sbin/omv-engined(501): OMVRpc::exec('Calibre', 'getBookList', Array, Array, 1)#9 {main}


    This was when calibre plugin was not configured (switched off)


    When I wanto to set it up and switch it on and check apply I have got following error:


    Failed to execute command 'omv-mkconf calibre 2>&1': chown: zmiana właściciela `/media/54164152-a3d3-4480-9329-67034ab1e93f/./aquota.group': Operacja niedozwolona chown: zmiana właściciela `/media/54164152-a3d3-4480-9329-67034ab1e93f/./aquota.user': Operacja niedozwolona


    tranlates: chown change owner .... operation not permitted ... operation not permited


    Błąd #4000:exception 'OMVException' with message 'Failed to execute command 'omv-mkconf calibre 2>&1': chown: zmiana właściciela `/media/54164152-a3d3-4480-9329-67034ab1e93f/./aquota.group': Operacja niedozwolonachown: zmiana właściciela `/media/54164152-a3d3-4480-9329-67034ab1e93f/./aquota.user': Operacja niedozwolona' in /usr/share/openmediavault/engined/module/calibre.inc:83Stack trace:#0 /usr/share/openmediavault/engined/rpc/config.inc(180): OMVModuleCalibre->applyConfig()#1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)#2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)#3 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)#4 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)#5 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)#6 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)#7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)#8 /usr/sbin/omv-engined(501): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)#9 {main}


    I have configured calibre to use temporary hard drive (previous used with OMV 0.5 and not formated after upgrade to 1.0)

    I tried to install calibre plugin to OMV 1.0.21. There were errors at the end of installation. So I tried to uninstall it. There were errors also.
    Now system ask me to apply changer. When I click apply I have following error:


    Failed to execute command 'export LANG=C; invoke-rc.d 'calibre' stop 2>&1': /etc/init.d/calibre: 36: .: Can't open /etc/calibre-server.conf invoke-rc.d: initscript calibre, action "stop" failed.


    Error #4000:exception 'OMVException' with message 'Failed to execute command 'export LANG=C; invoke-rc.d 'calibre' stop 2>&1': /etc/init.d/calibre: 36: .: Can't open /etc/calibre-server.confinvoke-rc.d: initscript calibre, action "stop" failed.' in /usr/share/php/openmediavault/initscript.inc:176Stack trace:#0 /usr/share/php/openmediavault/initscript.inc(148): OMVSysVInitScript->invoke('stop')#1 /usr/share/php/openmediavault/initscript.inc(53): OMVSysVInitScript->stop()#2 /usr/share/openmediavault/engined/module/calibre.inc(113): OMVSysVInitScript->exec()#3 /usr/share/openmediavault/engined/rpc/config.inc(164): OMVModuleCalibre->stopService()#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)#5 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)#6 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)#7 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)#8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)#9 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)#10 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)#11 /usr/sbin/omv-engined(501): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)#12 {main}


    What I can do now?


    regars,

    In menu it still says: 1.0.7 but in plugins page it shows 0.6.22.1
    It works OK.
    Thanks for help.
    PS. Is there any chance to try OMV 1.0 Beta?
    (If it will be possibility to upgrade it to final release)
    My OMV setup is on two machines - one test and one "production"

    Hello,
    I have a little problem:
    I have OMV version 0.5.57 and by my mistake I installed OMV-extras plugin version 1.0.7 (through web upload option)
    How can I remove it to install proper version: 0.6.22.1
    Thanks for any help.

    OK. I did it.
    I changed value 0 to 1 in /etc/openmediavault/config.xml
    than run vboxwebsrv
    and it's working now.
    Ater restart working OK
    Thank you very much for your help.

    Sorry, I didn't wanted to make you upset.
    I did what you said.
    all commands, then reboot twice.
    Usually I used to use plugin page (it's blank now)
    but when I go to: http://ipofomv/virtualbox i get:
    phpVirtualBox disabled by OpenMediaVault configuration.
    can I change this somewhere in /etc/somewhere ??
    I am really appreciate your help.

    OK. When I switched on "Donald" then switch it off there is Virtualbox plugin:
    openmediavault-virtualbox 0.4.1+0~1355672972.3~1.gbp44a430
    Installation stops at the same place as before with

    Code
    An error has occured
    communication failure

    install log


    strange is that plugin number is 4.1... on plugin page and during install is 4.2.4
    still no luck

    I have reinstalled new machine with OMV version 0.4.24
    I need to use virtual machines for development, so as before I installed Virtualbox plugin (from gui/plugins page). I have only stable plugins enabled.
    But at the end I get an error:

    Code
    An error has occured
    communication failure

    installation log:

    I need help to solve the problem.
    Thanks in advance.
    Maciek