Hi
I updated OMV today and followed upgrade procedure here
omv6:omv6_plugins:docker_compose [omv-extras.org]
But when I click on "up" I have the following error message:
Code
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=; docker-compose --file '/compose//portainer/portainer.yml' --env-file '/compose//portainer/portainer.env' up -d 2>&1': The Compose file '/compose//portainer/portainer.yml' is invalid because:
volumes.portainer-data value Additional properties are not allowed ('name' was unexpected)
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=; docker-compose --file '/compose//portainer/portainer.yml' --env-file '/compose//portainer/portainer.env' up -d 2>&1': The Compose file '/compose//portainer/portainer.yml' is invalid because:
volumes.portainer-data value Additional properties are not allowed ('name' was unexpected) in /usr/share/openmediavault/engined/rpc/compose.inc:420
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(619): OMVRpcServiceCompose->{closure}('/tmp/bgstatusi4...', '/tmp/bgoutputYm...')
#1 /usr/share/openmediavault/engined/rpc/compose.inc(423): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: OMVRpcServiceCompose->doCommand(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('doCommand', Array, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Compose', 'doCommand', Array, Array, 1)
#6 {main}
Alles anzeigen
How can I fix this?
I removed old portainer so I can no longer access it, all my other containers are still working fine.
EDIT: I clicked "Reinstall Docker" in the plugin, now it's working!