Cannot access WebUI after fresh docker install

Good evening! I’ve just created a docker file to start running NextCloud on OMV (Raspberry) and it seems that ether the instalation has some tricky parts (but it’s running on omv ui) or it is an created user. Can anyone help? I can provide the logs, but not sure from where I should pull

The primary log file is nextcloud.log located in the Nextcloud container’s data folder. It will have some indication of the error - if Nextcloud is actually running.

It would also be helpful if you shared what installation method/guide you followed. This will help us know what you’ve already set-up and how. :slight_smile:

of course!

this was the installation method I’ve followed only things I’ve changed were the folder links to match my shared folders path OMV then notifies me of pending configuration changes and gives me the following error message: DB Tech NextCloud on Pi 4 · GitHub


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’: raspberrypi:

      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: 13:59:21.339613
Duration: 348.658 ms
 Changes:

      ID: systemd_daemon_reload_docker
Function: cmd.run
    Name: systemctl daemon-reload
  Result: True
 Comment: Command "systemctl daemon-reload" run
 Started: 13:59:21.696539
Duration: 2675.863 ms
 Changes:
          ----------
          pid:
              18367
          retcode:
              0
          stderr:
          stdout:

      ID: /etc/docker/daemon.json
Function: file.serialize
  Result: True
 Comment: File /etc/docker/daemon.json is in the correct state
 Started: 13:59:24.374482
Duration: 34.866 ms
 Changes:

      ID: docker
Function: service.running
  Result: True
 Comment: The service docker is already running
 Started: 13:59:24.635470
Duration: 210.242 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: 13:59:24.846996
Duration: 56.917 ms
 Changes:

      ID: docker_install_packages
Function: pkg.installed
  Result: True
 Comment: All specified packages are already installed
 Started: 13:59:37.083689
Duration: 384.764 ms
 Changes:

      ID: docker2_install_packages
Function: pkg.installed
  Result: True
 Comment: All specified packages are already installed
 Started: 13:59:37.469681
Duration: 106.73 ms
 Changes:

      ID: configure_compose_dir_NextCloud
Function: file.directory
    Name: /srv/dev-disk-by-uuid-647A-4DB7/Compose/NextCloud
  Result: True
 Comment: The directory /srv/dev-disk-by-uuid-647A-4DB7/Compose/NextCloud is in the correct state
 Started: 13:59:37.577256
Duration: 8.697 ms
 Changes:

      ID: configure_compose_NextCloud_file
Function: file.managed
    Name: /srv/dev-disk-by-uuid-647A-4DB7/Compose/NextCloud/NextCloud.yml
  Result: False
 Comment: Failed to change group to users; Failed to change mode to 0644
 Started: 13:59:37.586781
Duration: 80.856 ms
 Changes:

      ID: configure_compose_env_NextCloud_file
Function: file.managed
    Name: /srv/dev-disk-by-uuid-647A-4DB7/Compose/NextCloud/NextCloud.env
  Result: False
 Comment: Failed to change group to users; Failed to change mode to 0644
 Started: 13:59:37.668502
Duration: 77.903 ms
 Changes:

      ID: download_autocompose
Function: file.managed
    Name: /usr/bin/autocompose.py
  Result: True
 Comment: File /usr/bin/autocompose.py is in the correct state
 Started: 13:59:37.747443
Duration: 25.883 ms
 Changes:

Summary for raspberrypi

Succeeded: 9 (changed=1)
Failed: 2

Total states run: 11
Total run time: 4.011 s
[ERROR ] Failed to change group to users; Failed to change mode to 0644
[ERROR ] Failed to change group to users; Failed to change mode to 0644

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’: raspberrypi:

      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: 13:59:21.339613
Duration: 348.658 ms
 Changes:

      ID: systemd_daemon_reload_docker
Function: cmd.run
    Name: systemctl daemon-reload
  Result: True
 Comment: Command "systemctl daemon-reload" run
 Started: 13:59:21.696539
Duration: 2675.863 ms
 Changes:
          ----------
          pid:
              18367
          retcode:
              0
          stderr:
          stdout:

      ID: /etc/docker/daemon.json
Function: file.serialize
  Result: True
 Comment: File /etc/docker/daemon.json is in the correct state
 Started: 13:59:24.374482
Duration: 34.866 ms
 Changes:

      ID: docker
Function: service.running
  Result: True
 Comment: The service docker is already running
 Started: 13:59:24.635470
Duration: 210.242 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: 13:59:24.846996
Duration: 56.917 ms
 Changes:

      ID: docker_install_packages
Function: pkg.installed
  Result: True
 Comment: All specified packages are already installed
 Started: 13:59:37.083689
Duration: 384.764 ms
 Changes:

      ID: docker2_install_packages
Function: pkg.installed
  Result: True
 Comment: All specified packages are already installed
 Started: 13:59:37.469681
Duration: 106.73 ms
 Changes:

      ID: configure_compose_dir_NextCloud
Function: file.directory
    Name: /srv/dev-disk-by-uuid-647A-4DB7/Compose/NextCloud
  Result: True
 Comment: The directory /srv/dev-disk-by-uuid-647A-4DB7/Compose/NextCloud is in the correct state
 Started: 13:59:37.577256
Duration: 8.697 ms
 Changes:

      ID: configure_compose_NextCloud_file
Function: file.managed
    Name: /srv/dev-disk-by-uuid-647A-4DB7/Compose/NextCloud/NextCloud.yml
  Result: False
 Comment: Failed to change group to users; Failed to change mode to 0644
 Started: 13:59:37.586781
Duration: 80.856 ms
 Changes:

      ID: configure_compose_env_NextCloud_file
Function: file.managed
    Name: /srv/dev-disk-by-uuid-647A-4DB7/Compose/NextCloud/NextCloud.env
  Result: False
 Comment: Failed to change group to users; Failed to change mode to 0644
 Started: 13:59:37.668502
Duration: 77.903 ms
 Changes:

      ID: download_autocompose
Function: file.managed
    Name: /usr/bin/autocompose.py
  Result: True
 Comment: File /usr/bin/autocompose.py is in the correct state
 Started: 13:59:37.747443
Duration: 25.883 ms
 Changes:

Summary for raspberrypi

Succeeded: 9 (changed=1)
Failed: 2

Total states run: 11
Total run time: 4.011 s
[ERROR ] Failed to change group to users; Failed to change mode to 0644
[ERROR ] Failed to change group to users; Failed to change mode to 0644 in /usr/share/php/openmediavault/system/process.inc:220
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(619): OMV\Rpc\ServiceAbstract->OMV\Rpc{closure}(‘/tmp/bgstatusvg…’, ‘/tmp/bgoutputUI…’)
#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}

1 Like

Unfortunately that looks like an OMV specific error. It’s not a NC or general container one. If I had to guess: you’ve got a permissions problem somewhere. The errors indicate OMV is struggling to change file ownership and permissions when it goes to start the NC stack/container.

Probably worth a trip to OMV’s forums since it is so specific.