OpenMediaVault-Plugin-Developers / installScript

script that installs omv-extras and openmediavault if not installed already.
1.1k stars 207 forks source link

Fail to enable wetty plugin #89

Closed mrfoxie closed 2 years ago

mrfoxie commented 2 years ago

I tried to install wetty plug-in and it was successfully install, but after that when I tried to enable it it gave me this error

Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color wetty 2>&1' with exit code '1': datacenter:
----------
          ID: create_wetty_container_systemd_unit_file
    Function: file.managed
        Name: /etc/systemd/system/container-wetty.service
      Result: True
     Comment: File /etc/systemd/system/container-wetty.service is in the correct state
     Started: 15:56:04.713216
    Duration: 117.995 ms
     Changes:
----------
          ID: wetty_systemctl_daemon_reload
    Function: module.run
      Result: True
     Comment: service.systemctl_reload: True
     Started: 15:56:04.833495
    Duration: 717.839 ms
     Changes:
              ----------
              service.systemctl_reload:
                  True
----------
          ID: start_wetty_service
    Function: service.running
        Name: container-wetty
      Result: False
     Comment: Job for container-wetty.service failed because the control process exited with error code.
              See "systemctl status container-wetty.service" and "journalctl -xe" for details.
     Started: 15:56:05.556517
    Duration: 12268.992 ms
     Changes:

Summary for datacenter
------------
Succeeded: 2 (changed=1)
Failed:    1
------------
Total states run:     3
Total run time:  13.105 s

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; export LANGUAGE=; omv-salt deploy run --no-color wetty 2>&1' with exit code '1': datacenter:
----------
          ID: create_wetty_container_systemd_unit_file
    Function: file.managed
        Name: /etc/systemd/system/container-wetty.service
      Result: True
     Comment: File /etc/systemd/system/container-wetty.service is in the correct state
     Started: 15:56:04.713216
    Duration: 117.995 ms
     Changes:
----------
          ID: wetty_systemctl_daemon_reload
    Function: module.run
      Result: True
     Comment: service.systemctl_reload: True
     Started: 15:56:04.833495
    Duration: 717.839 ms
     Changes:
              ----------
              service.systemctl_reload:
                  True
----------
          ID: start_wetty_service
    Function: service.running
        Name: container-wetty
      Result: False
     Comment: Job for container-wetty.service failed because the control process exited with error code.
              See "systemctl status container-wetty.service" and "journalctl -xe" for details.
     Started: 15:56:05.556517
    Duration: 12268.992 ms
     Changes:

Summary for datacenter
------------
Succeeded: 2 (changed=1)
Failed:    1
------------
Total states run:     3
Total run time:  13.105 s in /usr/share/php/openmediavault/system/process.inc:197
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(170): 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/bgstatusEi...', '/tmp/bgoutput4x...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(192): 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}

here is the screenshot of it Screenshot_20220324-153007_Brave

ryecoaaron commented 2 years ago

This issue belongs here - https://github.com/openmediavault/openmediavault/issues - but I would post on the forum first since it seems like an issue with your system not the plugin.

mrfoxie commented 2 years ago

Thank you brother