Beiträge von SaSsL77

    Hi,


    try to give the user or group the right to execute. I think this right is needed to see the contents of the directories. Hope I don't tell anything wrong, but I think I read it in a different context.


    greetings

    Hello community


    I have a problem deleting a "shared folder" on my OMV5 5.4.5.-1. The folder is not referenced but when I try to delete it I get the following error message.


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; salt-call --local --retcode-passthrough --no-color state.apply omv.task 2>&1' with exit code '2': [ERROR ] {'out': 'highstate', 'ret': {'debian': {}}}
    [ERROR ] {'out': 'highstate', 'ret': {'debian': {}}}
    [ERROR ] {'out': 'highstate', 'ret': {'debian': {}}}
    [ERROR ] {'out': 'highstate', 'ret': {'debian': {}}}
    [ERROR ] {'out': 'highstate', 'ret': {'debian': {'test_|-deploy_task_nop_|-deploy_task_nop_|-nop': {'name': 'deploy_task_nop', 'changes': {}, 'result': True, 'comment': 'Success!', '__sls__': 'omv.task.deploy', '__run_num__': 0, 'start_time': '07:14:32.294191', 'duration': 0.275, '__id__': 'deploy_task_nop'}, 'salt_|-deploy_task_0_|-deploy_task_0_|-state': {'name': 'deploy_task_0', 'changes': {'out': 'highstate', 'ret': {'debian': {}}}, 'comment': 'Run failed on minions: debian', 'result': False, '__sls__': 'omv.task.deploy', '__run_num__': 1, 'start_time': '07:14:32.295077', 'duration': 89.387, '__id__': 'deploy_task_0'}, 'salt_|-deploy_task_1_|-deploy_task_1_|-state': {'name': 'deploy_task_1', 'changes': {'out': 'highstate', 'ret': {'debian': {}}}, 'comment': 'Run failed on minions: debian', 'result': False, '__sls__': 'omv.task.deploy', '__run_num__': 2, 'start_time': '07:14:32.384561', 'duration': 87.819, '__id__': 'deploy_task_1'}, 'salt_|-deploy_task_2_|-deploy_task_2_|-state': {'name': 'deploy_task_2', 'changes': {'out': 'highstate', 'ret': {'debian': {}}}, 'comment': 'Run failed on minions: debian', 'result': False, '__sls__': 'omv.task.deploy', '__run_num__': 3, 'start_time': '07:14:32.472478', 'duration': 87.596, '__id__': 'deploy_task_2'}, 'salt_|-deploy_task_3_|-deploy_task_3_|-state': {'name': 'deploy_task_3', 'changes': {'out': 'highstate', 'ret': {'debian': {}}}, 'comment': 'Run failed on minions: debian', 'result': False, '__sls__': 'omv.task.deploy', '__run_num__': 4, 'start_time': '07:14:32.560172', 'duration': 86.339, '__id__': 'deploy_task_3'}}}}
    [WARNING ] /usr/lib/python3/dist-packages/salt/states/file.py:294: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterable, Mapping, defaultdict

    local:
    ---------- ID: deploy_all_tasks Function: salt.state Result: False Comment: Run failed on minions: debian Started: 07:14:32.247325 Duration: 403.845 ms Changes: debian: ---------- ID: deploy_task_nop Function: test.nop Result: True Comment: Success! Started: 07:14:32.294191 Duration: 0.275 ms Changes: ---------- ID: deploy_task_0 Function: salt.state Result: False Comment: Run failed on minions: debian Started: 07:14:32.295077 Duration: 89.387 ms Changes: debian:
    Summary for debian ----------- Succeeded: 0 Failed: 0 ----------- Total states run: 0 Total run time: 0.000 ms ---------- ID: deploy_task_1 Function: salt.state Result: False Comment: Run failed on minions: debian Started: 07:14:32.384561 Duration: 87.819 ms Changes: debian:
    Summary for debian ----------- Succeeded: 0 Failed: 0 ----------- Total states run: 0 Total run time: 0.000 ms ---------- ID: deploy_task_2 Function: salt.state Result: False Comment: Run failed on minions: debian Started: 07:14:32.472478 Duration: 87.596 ms Changes: debian:
    Summary for debian ----------- Succeeded: 0 Failed: 0 ----------- Total states run: 0 Total run time: 0.000 ms ---------- ID: deploy_task_3 Function: salt.state Result: False Comment: Run failed on minions: debian Started: 07:14:32.560172 Duration: 86.339 ms Changes: debian:
    Summary for debian ----------- Succeeded: 0 Failed: 0 ----------- Total states run: 0 Total run time: 0.000 ms
    Summary for debian ------------ Succeeded: 1 Failed: 4 ------------ Total states run: 5 Total run time: 351.416 ms
    ---------- ID: cleanup_tasks Function: file.managed Name: /srv/pillar/omv/tasks.sls Result: False Comment: One or more requisite failed: omv.task.default.deploy_all_tasks Started: 07:14:32.653519 Duration: 0.004 ms Changes:

    Summary for local
    ------------
    Succeeded: 0
    Failed: 2
    ------------
    Total states run: 2
    Total run time: 403.849 ms


    Details:


    Fehler #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; salt-call --local --retcode-passthrough --no-color state.apply omv.task 2>&1' with exit code '2': [ERROR ] {'out': 'highstate', 'ret': {'debian': {}}}
    [ERROR ] {'out': 'highstate', 'ret': {'debian': {}}}
    [ERROR ] {'out': 'highstate', 'ret': {'debian': {}}}
    [ERROR ] {'out': 'highstate', 'ret': {'debian': {}}}
    [ERROR ] {'out': 'highstate', 'ret': {'debian': {'test_|-deploy_task_nop_|-deploy_task_nop_|-nop': {'name': 'deploy_task_nop', 'changes': {}, 'result': True, 'comment': 'Success!', '__sls__': 'omv.task.deploy', '__run_num__': 0, 'start_time': '07:14:32.294191', 'duration': 0.275, '__id__': 'deploy_task_nop'}, 'salt_|-deploy_task_0_|-deploy_task_0_|-state': {'name': 'deploy_task_0', 'changes': {'out': 'highstate', 'ret': {'debian': {}}}, 'comment': 'Run failed on minions: debian', 'result': False, '__sls__': 'omv.task.deploy', '__run_num__': 1, 'start_time': '07:14:32.295077', 'duration': 89.387, '__id__': 'deploy_task_0'}, 'salt_|-deploy_task_1_|-deploy_task_1_|-state': {'name': 'deploy_task_1', 'changes': {'out': 'highstate', 'ret': {'debian': {}}}, 'comment': 'Run failed on minions: debian', 'result': False, '__sls__': 'omv.task.deploy', '__run_num__': 2, 'start_time': '07:14:32.384561', 'duration': 87.819, '__id__': 'deploy_task_1'}, 'salt_|-deploy_task_2_|-deploy_task_2_|-state': {'name': 'deploy_task_2', 'changes': {'out': 'highstate', 'ret': {'debian': {}}}, 'comment': 'Run failed on minions: debian', 'result': False, '__sls__': 'omv.task.deploy', '__run_num__': 3, 'start_time': '07:14:32.472478', 'duration': 87.596, '__id__': 'deploy_task_2'}, 'salt_|-deploy_task_3_|-deploy_task_3_|-state': {'name': 'deploy_task_3', 'changes': {'out': 'highstate', 'ret': {'debian': {}}}, 'comment': 'Run failed on minions: debian', 'result': False, '__sls__': 'omv.task.deploy', '__run_num__': 4, 'start_time': '07:14:32.560172', 'duration': 86.339, '__id__': 'deploy_task_3'}}}}
    [WARNING ] /usr/lib/python3/dist-packages/salt/states/file.py:294: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterable, Mapping, defaultdict

    local:
    ---------- ID: deploy_all_tasks Function: salt.state Result: False Comment: Run failed on minions: debian Started: 07:14:32.247325 Duration: 403.845 ms Changes: debian: ---------- ID: deploy_task_nop Function: test.nop Result: True Comment: Success! Started: 07:14:32.294191 Duration: 0.275 ms Changes: ---------- ID: deploy_task_0 Function: salt.state Result: False Comment: Run failed on minions: debian Started: 07:14:32.295077 Duration: 89.387 ms Changes: debian:
    Summary for debian ----------- Succeeded: 0 Failed: 0 ----------- Total states run: 0 Total run time: 0.000 ms ---------- ID: deploy_task_1 Function: salt.state Result: False Comment: Run failed on minions: debian Started: 07:14:32.384561 Duration: 87.819 ms Changes: debian:
    Summary for debian ----------- Succeeded: 0 Failed: 0 ----------- Total states run: 0 Total run time: 0.000 ms ---------- ID: deploy_task_2 Function: salt.state Result: False Comment: Run failed on minions: debian Started: 07:14:32.472478 Duration: 87.596 ms Changes: debian:
    Summary for debian ----------- Succeeded: 0 Failed: 0 ----------- Total states run: 0 Total run time: 0.000 ms ---------- ID: deploy_task_3 Function: salt.state Result: False Comment: Run failed on minions: debian Started: 07:14:32.560172 Duration: 86.339 ms Changes: debian:
    Summary for debian ----------- Succeeded: 0 Failed: 0 ----------- Total states run: 0 Total run time: 0.000 ms
    Summary for debian ------------ Succeeded: 1 Failed: 4 ------------ Total states run: 5 Total run time: 351.416 ms
    ---------- ID: cleanup_tasks Function: file.managed Name: /srv/pillar/omv/tasks.sls Result: False Comment: One or more requisite failed: omv.task.default.deploy_all_tasks Started: 07:14:32.653519 Duration: 0.004 ms Changes:

    Summary for local
    ------------
    Succeeded: 0
    Failed: 2
    ------------
    Total states run: 2
    Total run time: 403.849 ms in /usr/share/php/openmediavault/system/process.inc:182
    Stack trace:
    #0 /usr/share/openmediavault/engined/module/task.inc(35): OMV\System\Process->execute()
    #1 /usr/share/openmediavault/engined/rpc/config.inc(167): Engined\Module\Task->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/bgstatuseV...', '/tmp/bgoutputAs...')
    #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}


    Does somebody has any idea?


    greetings

    Hello Volker,


    I am very sorry, but my knowledge is far from sufficient to make any changes in the github etc. I'm just starting with OMV and I'm very impressed with your work and I'm also very grateful. I only had one personal request and searched for a long time to find the appropriate file and just wanted to share my solution / idea.


    greetings

    Hi,


    I've come a little further. I did a bonding / broadcast on the OMV5 server with the dual nic. Now the two servers can communicate with each other.


    Unfortunately I still have the problem that I only get from the Win10 PC to the OMV5 server with the Dual Nic but no further to the backup server.


    It is also not possible to ping the Win10 PC from either server.


    Would be grateful for any help!


    greetings

    Hello community,


    I have a little problem and hope for Euro help.


    I have the following network configuration:


    Win10 PC:

    1 gb Nic: 192.168.178.150

    10 gb Nic: 192.168.179.150


    OMV5 server:

    1 gb Nic: 192.168.178.50

    10 gb Dualport Nic: 192.168.179.50 and 192.168.179.51


    OMV5 Backup Server:

    1 gb Nic: 192.168.178.60

    10 gb Nic: 192.168.179.60


    the 1 GB network is my standard network and the 10 GB network should only be used for data transfer between the 3 computers.


    I can now ping the OMV server from the Win10 PC to IP ... 179.50 and ... 179.51. and Samba on this way is also running with 10gb speed :)


    But I cannot ping to the backup server and the ping from the server to the backup server and vice versa does not work.


    Also I cannot ping from omv5 Server to Win10 PC ... Here I can not understand why it goes in one direction and not in the other? :huh:


    All computers are wired with DAC cables. So from Win10 PC to port 1 of the OMV5 server and from port 2 of the OMV5 server to the OMV5 backup server.


    I hope I could explain my problem plausibly and hope for your help!


    greetings

    Hello,


    after a long search I have now found the solution myself. For everybody who's interested:


    edit the following file:


    /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc


    almost at the end of the file there is the function getTitle () in which the <title> tag of the page is fetched. Here you can make changes so I have e.g. the lines


    $ title = sprintf ("% s% s", $ prd-> getName (), gettext ("control panel"));


    $ title = sprintf ("% s -% s", $ title, $ fqdn);


    commented out and the line


    $ title = $ fqdn;


    inserted.


    As a result, the page in the browser only has the name of the server as <title>. :)


    greetings