Help: Just did apt purge php7.0*

    • OMV 4.x
    • Help: Just did apt purge php7.0*

      Pastebin TextHello,

      for Nextcloud I had to install php 7.2. Everything worked fine. Then I purged php 7.0 with following command:

      Source Code

      1. apt purge php7.0*

      OMV is no more available, it's gone. nginx:
      403 Forbidden

      How can I restore my OMV installation? ?(

      Here is the console output:
      Pastebin Copy


      Cheers
      Christian

      The post was edited 1 time, last by floppy ().

    • floppy wrote:

      OMV is no more available, it's gone. nginx:
      This is why you should use nextcloud in docker.
      omv 5.1.2 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.1.9
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Thanks for the reply.
      I did a apt-get install --reinstall openmediavault. After that I tried omv-initsystem with the following result:

      Source Code

      1. Traceback (most recent call last):
      2. File "/usr/sbin/omv-confdbadm", line 74, in <module>
      3. sys.exit(main())
      4. File "/usr/sbin/omv-confdbadm", line 70, in main
      5. return cmd_inst.execute(*sys.argv)
      6. File "/usr/share/openmediavault/confdbadm/commands.d/exists.py", line 54, in execute
      7. return 0 if db.exists(cmd_args.id, filter) else 1
      8. File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 158, in exists
      9. query.execute()
      10. File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 670, in execute
      11. self._response = self._elements_to_object(elements)
      12. File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 454, in _elements_to_object
      13. obj.set_dict(self._element_to_dict(element), False)
      14. File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 206, in set_dict
      15. self.set(key, value, validate)
      16. File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 184, in set
      17. value = self.model.property_convert(name, value)
      18. File "/usr/lib/python3/dist-packages/openmediavault/config/datamodel.py", line 320, in property_convert
      19. result = int(value)
      20. ValueError: invalid literal for int() with base 10: ''
      21. PHP Fatal error: Uncaught Error: Call to undefined function mb_strtolower() in /usr/share/php/openmediavault/autoloader.inc:28
      22. Stack trace:
      23. #0 [internal function]: {closure}('OMV\\System\\Stor...')
      24. #1 -(3): spl_autoload_call('OMV\\System\\Stor...')
      25. #2 {main}
      26. thrown in /usr/share/php/openmediavault/autoloader.inc on line 28
      27. /usr/share/openmediavault/mkconf/mdadm: 99: [: ARRAY: unexpected operator
      Display All


      nginx is running and listening to my old configured https port 444 but says: 502 Bad gateway.

      I tried omv-firstaid to change the port, with the result:

      Source Code

      1. ERROR: Failed to connect /var/lib/openmediavault/engined.sock: [Errno 2] No such file or directory

      My checks:

      Source Code

      1. The configuration status file is valid.
      2. All RRD database files are valid.

      I have no idea what to do.