Error during update/installation/removing of plugins

    • Resolved
    • OMV 3.x (GIT/testing)

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Error during update/installation/removing of plugins

      Hello,
      something has messed up with the update/installation/removal process of plugins.

      Source Code

      1. Reading package lists...
      2. Building dependency tree...
      3. Reading state information...
      4. The following extra packages will be installed:
      5. syncthing
      6. The following NEW packages will be installed:
      7. openmediavault-syncthing syncthing
      8. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
      9. 1 not fully installed or removed.
      10. Need to get 6174 kB of archives.
      11. After this operation, 15.1 MB of additional disk space will be used.
      12. Get:1 http://apt.syncthing.net/ syncthing/release syncthing amd64 0.14.23 [6152 kB]
      13. Get:2 https://dl.bintray.com/openmediavault-plugin-developers/erasmus-sync/ jessie/main openmediavault-syncthing all 3.8 [22.4 kB]
      14. Fetched 6174 kB in 1s (5173 kB/s)
      15. Selecting previously unselected package syncthing.
      16. (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 95404 files and directories currently installed.)
      17. Preparing to unpack .../syncthing_0.14.23_amd64.deb ...
      18. Unpacking syncthing (0.14.23) ...
      19. Selecting previously unselected package openmediavault-syncthing.
      20. Preparing to unpack .../openmediavault-syncthing_3.8_all.deb ...
      21. Unpacking openmediavault-syncthing (3.8) ...
      22. Processing triggers for man-db (2.7.0.2-5) ...
      23. Processing triggers for systemd (215-17+deb8u6) ...
      24. Setting up openmediavault (3.0.62) ...
      25. Updating configuration database ...
      26. ERROR: Failed to create the default configuration: 'module' object has no attribute 'exits'
      27. Traceback (most recent call last):
      28. File "/usr/share/openmediavault/confdbadm/commands.d/create.py", line 58, in execute
      29. self.mkBackup()
      30. File "/usr/lib/python3/dist-packages/openmediavault/confdbadm.py", line 68, in mkBackup
      31. if not os.path.exits(config_path):
      32. AttributeError: 'module' object has no attribute 'exits'
      33. During handling of the above exception, another exception occurred:
      34. Traceback (most recent call last):
      35. File "/usr/share/openmediavault/confdbadm/commands.d/create.py", line 75, in execute
      36. self.rollbackChanges()
      37. File "/usr/lib/python3/dist-packages/openmediavault/confdbadm.py", line 91, in rollbackChanges
      38. raise RuntimeError("No configuration backup exists")
      39. RuntimeError: No configuration backup exists
      40. During handling of the above exception, another exception occurred:
      41. Traceback (most recent call last):
      42. File "/usr/sbin/omv-confdbadm", line 74, in <module>
      43. sys.exit(main())
      44. File "/usr/sbin/omv-confdbadm", line 71, in main
      45. return cmd_inst.execute(*cmd_args)
      46. File "/usr/share/openmediavault/confdbadm/commands.d/create.py", line 78, in execute
      47. self.unlinkBackup()
      48. File "/usr/lib/python3/dist-packages/openmediavault/confdbadm.py", line 80, in unlinkBackup
      49. raise RuntimeError("No configuration backup exists")
      50. RuntimeError: No configuration backup exists
      51. dpkg: error processing package openmediavault (--configure):
      52. subprocess installed post-installation script returned error exit status 1
      53. Setting up syncthing (0.14.23) ...
      54. dpkg: dependency problems prevent configuration of openmediavault-syncthing:
      55. openmediavault-syncthing depends on openmediavault (>= 3.0.40); however:
      56. Package openmediavault is not configured yet.
      57. dpkg: error processing package openmediavault-syncthing (--configure):
      58. dependency problems - leaving unconfigured
      59. Errors were encountered while processing:
      60. openmediavault
      61. openmediavault-syncthing
      Display All

      It happens with installation of any plugin.
      Thank you guys for any help.
    • Please reinstall the openmediavault package before.

      $ apt-get update
      $ apt-get install --reinstall openmediavault

      This is necessary to get the patched 3.0.62 package which will fix the error which prevents you to uninstall the plugin.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Thanks for the support, but it still hasn`t solved the problem

      apt-get install --reinstall openmediavault finished with internal error

      Source Code

      1. root@openmediavault:~# apt-get update
      2. Ign file: InRelease
      3. Ign file: Release.gpg
      4. Ign file: Release
      5. Ign file: Translation-en_US
      6. Ign file: Translation-en
      7. Ign http://ftp.sk.debian.org jessie InRelease
      8. Hit http://security.debian.org jessie/updates InRelease
      9. Hit http://apt.syncthing.net syncthing InRelease
      10. Hit http://download.mono-project.com wheezy InRelease
      11. ....
      12. Get:73 https://dl.bintray.com jessie/main Translation-en
      13. Ign https://dl.bintray.com jessie/main Translation-en
      14. Get:74 https://dl.bintray.com jessie/main Translation-en_US
      15. Ign https://dl.bintray.com jessie/main Translation-en_US
      16. Get:75 https://dl.bintray.com jessie/main Translation-en
      17. Ign https://dl.bintray.com jessie/main Translation-en
      18. Fetched 128 kB in 10s (12.6 kB/s)
      19. Reading package lists... Done
      20. root@openmediavault:~#
      21. root@openmediavault:~#
      22. root@openmediavault:~# apt-get install --reinstall openmediavault
      23. Reading package lists... Done
      24. Building dependency tree
      25. Reading state information... Done
      26. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
      27. 2 not fully installed or removed.
      28. After this operation, 0 B of additional disk space will be used.
      29. E: Internal Error, No file name for openmediavault:amd64
      30. root@openmediavault:~#
      Display All
      any idea?
    • wget http://packages.openmediavault.org/public/pool/main/o/openmediavault/openmediavault_3.0.62_all.deb
      wget http://omv-extras.org/omvextras3.deb
      dpkg -i openmediavault_3.0.62_all.deb omvextras3.deb
      apt-get -f install (may not need this line)
      omv-aptclean
      omv 3.0.67 erasmus | 64 bit | 4.9 backport kernel | omvextrasorg 3.4.24
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!
    • Users Online 1

      1 Guest