Hi,
I have omv6 installed and had docker and portainer installed so I could run Plex on it.
Was all working perfectly for months but suddenly today Plex messed up and could not access the library at all.
I tried to remove Docker / Portainer so I could try to do a 'clean' install but instead I have ended up with a messed up system. I have unchecked 'Enable' for both Docker and Portainer but when I try to apply the changes it fails (error below). When I try to 'undo/discard' changes it also fails.
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 omvextras 2>&1' with exit code '1': debian:
----------
ID: remove_apt_list_omvextras
Function: file.absent
Name: /etc/apt/sources.list.d/omvextras.list
Result: True
Comment: Removed file /etc/apt/sources.list.d/omvextras.list
Started: 23:31:59.044017
Duration: 1.289 ms
Changes:
----------
removed:
/etc/apt/sources.list.d/omvextras.list
----------
ID: deb [arch=amd64] https://openmediavault-plugin-developers.github.io/packages/debian shaitan main
Function: pkgrepo.managed
Result: False
Comment: Failed to configure repo 'deb [arch=amd64] https://openmediavault-plugin-developers.github.io/packages/debian shaitan main': Error: [Errno -2] Name or service not known reading https://openmediavault-plugin-developers.github.io/packages/debian/omvextras2026.asc
Started: 23:31:59.046454
Duration: 377.975 ms
Changes:
----------
ID: deb https://openmediavault-plugin-developers.github.io/packages/debian shaitan-testing main
Function: pkgrepo.managed
Result: True
Comment: Configured package repo 'deb https://openmediavault-plugin-developers.github.io/packages/debian shaitan-testing main'
Started: 23:31:59.424672
Duration: 1383.993 ms
Changes:
----------
repo:
deb https://openmediavault-plugin-developers.github.io/packages/debian shaitan-testing main
----------
ID: configure_apt_pref_omvextras
Function: file.managed
Name: /etc/apt/preferences.d/omvextras.pref
Result: True
Comment: File /etc/apt/preferences.d/omvextras.pref is in the correct state
Started: 23:32:00.808960
Duration: 19.488 ms
Changes:
----------
ID: deb [arch=amd64] https://download.docker.com/linux/debian bullseye stable
Function: pkgrepo.managed
Result: False
Comment: Failed to configure repo 'deb [arch=amd64] https://download.docker.com/linux/debian bullseye stable': Error: [Errno -2] Name or service not known reading https://download.docker.com/linux/debian/gpg
Started: 23:32:00.828688
Duration: 344.294 ms
Changes:
----------
ID: refresh_database_apt
Function: module.run
Result: True
Comment: pkg.refresh_db: Success
Started: 23:32:01.174314
Duration: 650.214 ms
Changes:
----------
pkg.refresh_db:
----------
file:/var/cache/openmediavault/archives InRelease:
False
file:/var/cache/openmediavault/archives Packages:
True
file:/var/cache/openmediavault/archives Release:
False
file:/var/cache/openmediavault/archives Translation-en:
False
http://deb.debian.org/debian bullseye InRelease:
False
http://deb.debian.org/debian bullseye-updates InRelease:
False
http://httpredir.debian.org/debian bullseye-backports InRelease:
False
http://packages.openmediavault.org/public shaitan InRelease:
False
http://security.debian.org/debian-security bullseye-security InRelease:
False
https://openmediavault-plugin-developers.github.io/packages/debian shaitan-testing InRelease:
False
https://openmediavault.github.io/packages shaitan InRelease:
False
----------
ID: docker_remove_packages
Function: pkg.purged
Result: True
Comment: All specified packages are already absent
Started: 23:32:03.731192
Duration: 58.433 ms
Changes:
Summary for debian
------------
Succeeded: 5 (changed=3)
Failed: 2
------------
Total states run: 7
Total run time: 2.836 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 omvextras 2>&1' with exit code '1': debian:
----------
ID: remove_apt_list_omvextras
Function: file.absent
Name: /etc/apt/sources.list.d/omvextras.list
Result: True
Comment: Removed file /etc/apt/sources.list.d/omvextras.list
Started: 23:31:59.044017
Duration: 1.289 ms
Changes:
----------
removed:
/etc/apt/sources.list.d/omvextras.list
----------
ID: deb [arch=amd64] https://openmediavault-plugin-developers.github.io/packages/debian shaitan main
Function: pkgrepo.managed
Result: False
Comment: Failed to configure repo 'deb [arch=amd64] https://openmediavault-plugin-developers.github.io/packages/debian shaitan main': Error: [Errno -2] Name or service not known reading https://openmediavault-plugin-developers.github.io/packages/debian/omvextras2026.asc
Started: 23:31:59.046454
Duration: 377.975 ms
Changes:
----------
ID: deb https://openmediavault-plugin-developers.github.io/packages/debian shaitan-testing main
Function: pkgrepo.managed
Result: True
Comment: Configured package repo 'deb https://openmediavault-plugin-developers.github.io/packages/debian shaitan-testing main'
Started: 23:31:59.424672
Duration: 1383.993 ms
Changes:
----------
repo:
deb https://openmediavault-plugin-developers.github.io/packages/debian shaitan-testing main
----------
ID: configure_apt_pref_omvextras
Function: file.managed
Name: /etc/apt/preferences.d/omvextras.pref
Result: True
Comment: File /etc/apt/preferences.d/omvextras.pref is in the correct state
Started: 23:32:00.808960
Duration: 19.488 ms
Changes:
----------
ID: deb [arch=amd64] https://download.docker.com/linux/debian bullseye stable
Function: pkgrepo.managed
Result: False
Comment: Failed to configure repo 'deb [arch=amd64] https://download.docker.com/linux/debian bullseye stable': Error: [Errno -2] Name or service not known reading https://download.docker.com/linux/debian/gpg
Started: 23:32:00.828688
Duration: 344.294 ms
Changes:
----------
ID: refresh_database_apt
Function: module.run
Result: True
Comment: pkg.refresh_db: Success
Started: 23:32:01.174314
Duration: 650.214 ms
Changes:
----------
pkg.refresh_db:
----------
file:/var/cache/openmediavault/archives InRelease:
False
file:/var/cache/openmediavault/archives Packages:
True
file:/var/cache/openmediavault/archives Release:
False
file:/var/cache/openmediavault/archives Translation-en:
False
http://deb.debian.org/debian bullseye InRelease:
False
http://deb.debian.org/debian bullseye-updates InRelease:
False
http://httpredir.debian.org/debian bullseye-backports InRelease:
False
http://packages.openmediavault.org/public shaitan InRelease:
False
http://security.debian.org/debian-security bullseye-security InRelease:
False
https://openmediavault-plugin-developers.github.io/packages/debian shaitan-testing InRelease:
False
https://openmediavault.github.io/packages shaitan InRelease:
False
----------
ID: docker_remove_packages
Function: pkg.purged
Result: True
Comment: All specified packages are already absent
Started: 23:32:03.731192
Duration: 58.433 ms
Changes:
Summary for debian
------------
Succeeded: 5 (changed=3)
Failed: 2
------------
Total states run: 7
Total run time: 2.836 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/bgstatusQF...', '/tmp/bgoutputah...')
#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}
Alles anzeigen
If I look at Docker - it shows the Enable unchecked but then also says Status: Not Installed
Version: n/a
It 'seems' that the system has removed it, but within the GUI it doesn't seem to realize this fully so I'm now trapped in limbo and cannot remove it and cannot install it.
Appreciate any help of how I can clean this up and remove the installed Docker fully (with no left over data/config) along with Portainer and then do a 'clean' install.
Please help