Internal Server Error - 500

  • I been getting "Internal Server Error - 500 , alot....when trying to make new filesystems or get Docker going , as seen below.... any insight what is wrong?



    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 compose 2>&1' with exit code '1': debian:

    ----------

    ID: /etc/systemd/system/docker.service.d/waitAllMounts.conf

    Function: file.managed

    Result: True

    Comment: File /etc/systemd/system/docker.service.d/waitAllMounts.conf is in the correct state

    Started: 20:09:10.112774

    Duration: 42.573 ms

    Changes:

    ----------

    ID: systemd_daemon_reload_docker

    Function: cmd.run

    Name: systemctl daemon-reload

    Result: True

    Comment: State was not run because none of the onchanges reqs changed

    Started: 20:09:10.156105

    Duration: 0.003 ms

    Changes:

    ----------

    ID: configure_etc_docker_dir

    Function: file.directory

    Name: /etc/docker

    Result: True

    Comment: The directory /etc/docker is in the correct state

    Started: 20:09:10.156163

    Duration: 0.782 ms

    Changes:

    ----------

    ID: /etc/docker/daemon.json

    Function: file.serialize

    Result: True

    Comment: File /etc/docker/daemon.json is in the correct state

    Started: 20:09:10.157023

    Duration: 34.977 ms

    Changes:

    ----------

    ID: docker

    Function: service.running

    Result: True

    Comment: The service docker is already running

    Started: 20:09:11.337349

    Duration: 66.925 ms

    Changes:

    ----------

    ID: create_usr_local_bin_dir

    Function: file.directory

    Name: /usr/local/bin

    Result: True

    Comment: The directory /usr/local/bin is in the correct state

    Started: 20:09:11.404948

    Duration: 2.961 ms

    Changes:

    ----------

    ID: /usr/local/bin/docker-compose

    Function: file.symlink

    Result: True

    Comment: Symlink /usr/local/bin/docker-compose is present and owned by root:root

    Started: 20:09:11.408144

    Duration: 5.812 ms

    Changes:

    ----------

    ID: configure_compose_global_env_file

    Function: file.managed

    Name: /srv/dev-disk-by-uuid-3E62C50762C4C4BD/Share/global.env

    Result: False

    Comment: Failed to change mode to 0600

    Started: 20:09:11.414204

    Duration: 159.615 ms

    Changes:

    ----------

    ID: docker_install_packages

    Function: pkg.installed

    Result: True

    Comment: All specified packages are already installed

    Started: 20:09:11.576277

    Duration: 31.731 ms

    Changes:

    ----------

    ID: docker_compose_install_packages

    Function: pkg.installed

    Result: True

    Comment: All specified packages are already installed

    Started: 20:09:11.608250

    Duration: 1.77 ms

    Changes:

    ----------

    ID: docker_purged_packages

    Function: pkg.purged

    Result: True

    Comment: None of the targeted packages are installed or partially installed

    Started: 20:09:11.610157

    Duration: 0.887 ms

    Changes:

    ----------

    ID: configure_compose_scheduled_jobs

    Function: file.managed

    Name: /etc/cron.d/omv-compose-backup

    Result: True

    Comment: File /etc/cron.d/omv-compose-backup is in the correct state

    Started: 20:09:11.611223

    Duration: 129.642 ms

    Changes:


    Summary for debian

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

    Succeeded: 11

    Failed: 1

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

    Total states run: 12

    Total run time: 477.678 ms

    [ERROR ] Failed to change mode to 0600


    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 compose 2>&1' with exit code '1': debian:

    ----------

    ID: /etc/systemd/system/docker.service.d/waitAllMounts.conf

    Function: file.managed

    Result: True

    Comment: File /etc/systemd/system/docker.service.d/waitAllMounts.conf is in the correct state

    Started: 20:09:10.112774

    Duration: 42.573 ms

    Changes:

    ----------

    ID: systemd_daemon_reload_docker

    Function: cmd.run

    Name: systemctl daemon-reload

    Result: True

    Comment: State was not run because none of the onchanges reqs changed

    Started: 20:09:10.156105

    Duration: 0.003 ms

    Changes:

    ----------

    ID: configure_etc_docker_dir

    Function: file.directory

    Name: /etc/docker

    Result: True

    Comment: The directory /etc/docker is in the correct state

    Started: 20:09:10.156163

    Duration: 0.782 ms

    Changes:

    ----------

    ID: /etc/docker/daemon.json

    Function: file.serialize

    Result: True

    Comment: File /etc/docker/daemon.json is in the correct state

    Started: 20:09:10.157023

    Duration: 34.977 ms

    Changes:

    ----------

    ID: docker

    Function: service.running

    Result: True

    Comment: The service docker is already running

    Started: 20:09:11.337349

    Duration: 66.925 ms

    Changes:

    ----------

    ID: create_usr_local_bin_dir

    Function: file.directory

    Name: /usr/local/bin

    Result: True

    Comment: The directory /usr/local/bin is in the correct state

    Started: 20:09:11.404948

    Duration: 2.961 ms

    Changes:

    ----------

    ID: /usr/local/bin/docker-compose

    Function: file.symlink

    Result: True

    Comment: Symlink /usr/local/bin/docker-compose is present and owned by root:root

    Started: 20:09:11.408144

    Duration: 5.812 ms

    Changes:

    ----------

    ID: configure_compose_global_env_file

    Function: file.managed

    Name: /srv/dev-disk-by-uuid-3E62C50762C4C4BD/Share/global.env

    Result: False

    Comment: Failed to change mode to 0600

    Started: 20:09:11.414204

    Duration: 159.615 ms

    Changes:

    ----------

    ID: docker_install_packages

    Function: pkg.installed

    Result: True

    Comment: All specified packages are already installed

    Started: 20:09:11.576277

    Duration: 31.731 ms

    Changes:

    ----------

    ID: docker_compose_install_packages

    Function: pkg.installed

    Result: True

    Comment: All specified packages are already installed

    Started: 20:09:11.608250

    Duration: 1.77 ms

    Changes:

    ----------

    ID: docker_purged_packages

    Function: pkg.purged

    Result: True

    Comment: None of the targeted packages are installed or partially installed

    Started: 20:09:11.610157

    Duration: 0.887 ms

    Changes:

    ----------

    ID: configure_compose_scheduled_jobs

    Function: file.managed

    Name: /etc/cron.d/omv-compose-backup

    Result: True

    Comment: File /etc/cron.d/omv-compose-backup is in the correct state

    Started: 20:09:11.611223

    Duration: 129.642 ms

    Changes:


    Summary for debian

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

    Succeeded: 11

    Failed: 1

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

    Total states run: 12

    Total run time: 477.678 ms

    [ERROR ] Failed to change mode to 0600 in /usr/share/php/openmediavault/system/process.inc:242

    Stack trace:

    #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()

    #1 /usr/share/openmediavault/engined/rpc/config.inc(174): 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(620): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusK6...', '/tmp/bgoutputbo...')

    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))

    #7 /usr/share/openmediavault/engined/rpc/config.inc(195): 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}

  • ryecoaaron

    Hat das Thema freigeschaltet.
    • Offizieller Beitrag

    This is a permissions issue. Existing permissions prevent the plugin from modifying this file to 600.

    /srv/dev-disk-by-uuid-3E62C50762C4C4BD/Share/global.env

    And the reason is that it is an NTFS formatted drive. Do not use that file system for any drive permanently attached to OMV. You must use a native Linux file system such as EXT4.

    NTFS is only compatible to connect a disk and make occasional copies, nothing more.

Jetzt mitmachen!

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