Posts by SuiSin

    "Take a step back and think, what data is stored on the os disk.

    - OMV config -> You can take a copy od /etc/openmediavault/config.xml to suoort your memory, what was installed.

    - docker -root (if you did not move it to some other place) can be backed up easily if you used portainer oder docker-compose to define your stacks.

    - /etc/password -> list of users and their home directories

    - /etc/group -> list of groups


    You data will not be affected by a clean install, only ownership of files may change if you create users in a different order from what you did before, but this can be fixed from the cli."


    Found a Comment from yourself on another posting and just wanted to confirm some of this to possibly ease into a new fresh install.

    -----------------------------------------

    Does this include Raid setup etc?

    I'm more than willing to fresh install, long as i don't loose said info User ownership etc eliminating the stress of everything loosing everything.
    For fast tracking a install with said config files etc as above is there a proper way to accomplish this with minimal risk with relative ease of install to OMV6

    Might have backup of OMV4 not 100% though. will check.

    For 4-5.0 and distro updated to debain 10.12 I'm Not sure where it's accessible from, sftp or the specific .log will just sys.log, dpkg.logm or user.log do?


    i know there is a current error log from the web panel but not the Gui since Nginx is dead atm.

    cockpit is only accessible some how there is a log there too.

    root@ :~# omv-confdbadm populate

    Traceback (most recent call last):

    File "/usr/sbin/omv-confdbadm", line 76, in <module>

    sys.exit(main())

    File "/usr/sbin/omv-confdbadm", line 72, in main

    return cmd_inst.execute(*sys.argv)

    File "/usr/share/openmediavault/confdbadm/commands.d/exists.py", line 55, in execute

    return 0 if db.exists(cmd_args.id, filter) else 1

    File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 164, in exists

    query.execute()

    File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 697, in execute

    self._response = self._elements_to_object(elements)

    File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 472, in _elements_to_object

    obj.set_dict(self._element_to_dict(element), False)

    File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 208, in set_dict

    self.set(key, value, validate)

    File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 182, in set

    self.assert_exists(name)

    File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 154, in assert_exists

    % (name, self.model.id)

    openmediavault.exceptions.AssertException: The property 'options' does not exist in the model 'conf.system.network.interface'.

    Setting up openmediavault (5.6.26-1) ...

    Creating users/groups ...

    Updating local package archive ...

    Updating service units ...

    systemd-journald.service is a disabled or a static unit, not starting it.

    Creating configuration database ...

    ERROR: Failed to create the default configuration: "The environment variable 'OMV_CONFIG_FILE' does not exist in '/etc/default/openmediavault'"

    Traceback (most recent call last):

    File "/usr/share/openmediavault/confdbadm/commands.d/create.py", line 65, in execute

    self.create_backup()

    File "/usr/lib/python3/dist-packages/openmediavault/confdbadm.py", line 72, in create_backup

    config_path = openmediavault.getenv("OMV_CONFIG_FILE")

    File "/usr/lib/python3/dist-packages/openmediavault/__init__.py", line 49, in getenv

    return openmediavault.settings.Environment.get_str(key, default)

    File "/usr/lib/python3/dist-packages/openmediavault/settings.py", line 124, in get_str

    env_var = Environment._get(key, default)

    File "/usr/lib/python3/dist-packages/openmediavault/settings.py", line 113, in _get

    % (key, DEFAULT_FILE)

    KeyError: "The environment variable 'OMV_CONFIG_FILE' does not exist in '/etc/default/openmediavault'"


    During handling of the above exception, another exception occurred:


    Traceback (most recent call last):

    File "/usr/share/openmediavault/confdbadm/commands.d/create.py", line 85, in execute

    self.rollback_changes()

    File "/usr/lib/python3/dist-packages/openmediavault/confdbadm.py", line 108, in rollback_changes

    raise RuntimeError("No configuration backup exists.")

    RuntimeError: No configuration backup exists.


    During handling of the above exception, another exception occurred:


    Traceback (most recent call last):

    File "/usr/sbin/omv-confdbadm", line 76, in <module>

    sys.exit(main())

    File "/usr/sbin/omv-confdbadm", line 72, in main

    return cmd_inst.execute(*sys.argv)

    File "/usr/share/openmediavault/confdbadm/commands.d/create.py", line 88, in execute

    self.unlink_backup()

    File "/usr/lib/python3/dist-packages/openmediavault/confdbadm.py", line 91, in unlink_backup

    raise RuntimeError("No configuration backup exists.")

    RuntimeError: No configuration backup exists.

    dpkg: error processing package openmediavault (--configure):

    installed openmediavault package post-installation script subprocess returned error exit status 1

    Errors were encountered while processing:

    openmediavault

    E: Sub-process /usr/bin/dpkg returned an error code (1)