Beiträge von JEJE66

    Code
    Good evening everyone,
    
    i updated my omv 5 to omv6, everything went fine it works fine.
    only small problem is that it sees 2 updates but does not install them, on omv 5 I had cockpit with a virtual machine, with omv 6 it works well but I no longer see the docker tab in omv 6
    
    thanks for the answers.

    when run omv-upadte from cli


    i have a errors


    root@OMV:~# omv-update

    Err:1 http://deb.debian.org/debian buster InRelease

    Could not resolve 'deb.debian.org'

    Err:2 http://deb.debian.org/debian buster-updates InRelease

    Could not resolve 'deb.debian.org'

    Err:3 http://security.debian.org/debian-security buster/updates InRelease

    Could not resolve 'security.debian.org'

    Err:4 https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease

    Could not resolve 'dl.bintray.com'

    Err:5 https://dl.bintray.com/openmed…in-developers/usul-extras buster InRelease

    Could not resolve 'dl.bintray.com'

    Err:6 https://download.docker.com/linux/debian buster InRelease

    Could not resolve 'download.docker.com'

    Err:7 http://linux.teamviewer.com/deb stable InRelease

    Could not resolve 'linux.teamviewer.com'

    Err:8 http://httpredir.debian.org/debian buster-backports InRelease

    Could not resolve 'httpredir.debian.org'

    Get:9 file:/var/cache/openmediavault/archives InRelease

    Ign:9 file:/var/cache/openmediavault/archives InRelease

    Err:10 http://packages.openmediavault.org/public usul InRelease

    Could not resolve 'packages.openmediavault.org'

    Err:11 https://openmediavault.github.io/packages usul InRelease

    Could not resolve 'openmediavault.github.io'

    Get:12 file:/var/cache/openmediavault/archives Release

    Ign:12 file:/var/cache/openmediavault/archives Release

    Get:13 file:/var/cache/openmediavault/archives Packages

    Ign:13 file:/var/cache/openmediavault/archives Packages

    Get:14 file:/var/cache/openmediavault/archives Translation-en

    Ign:14 file:/var/cache/openmediavault/archives Translation-en

    Get:13 file:/var/cache/openmediavault/archives Packages

    Ign:13 file:/var/cache/openmediavault/archives Packages

    Get:14 file:/var/cache/openmediavault/archives Translation-en

    Ign:14 file:/var/cache/openmediavault/archives Translation-en

    Get:13 file:/var/cache/openmediavault/archives Packages

    Ign:13 file:/var/cache/openmediavault/archives Packages

    Get:14 file:/var/cache/openmediavault/archives Translation-en

    Ign:14 file:/var/cache/openmediavault/archives Translation-en

    Get:13 file:/var/cache/openmediavault/archives Packages

    Ign:13 file:/var/cache/openmediavault/archives Packages

    Get:14 file:/var/cache/openmediavault/archives Translation-en

    Ign:14 file:/var/cache/openmediavault/archives Translation-en

    Get:13 file:/var/cache/openmediavault/archives Packages

    Ign:13 file:/var/cache/openmediavault/archives Packages

    Get:14 file:/var/cache/openmediavault/archives Translation-en

    Ign:14 file:/var/cache/openmediavault/archives Translation-en

    Get:13 file:/var/cache/openmediavault/archives Packages

    Ign:13 file:/var/cache/openmediavault/archives Packages

    Get:14 file:/var/cache/openmediavault/archives Translation-en

    Ign:14 file:/var/cache/openmediavault/archives Translation-en

    Get:13 file:/var/cache/openmediavault/archives Packages

    Get:14 file:/var/cache/openmediavault/archives Translation-en

    Ign:14 file:/var/cache/openmediavault/archives Translation-en

    Reading package lists... Done

    W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Could not resolve 'deb.debian.org'

    W: Failed to fetch http://security.debian.org/deb…/buster/updates/InRelease Could not resolve 'security.debian.org'

    W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Could not resolve 'deb.debian.org'

    W: Failed to fetch https://dl.bintray.com/openmed…ul/dists/buster/InRelease Could not resolve 'dl.bintray.com'

    W: Failed to fetch https://download.docker.com/li…an/dists/buster/InRelease Could not resolve 'download.docker.com'

    W: Failed to fetch http://linux.teamviewer.com/deb/dists/stable/InRelease Could not resolve 'linux.teamviewer.com'

    W: Failed to fetch https://dl.bintray.com/openmed…as/dists/buster/InRelease Could not resolve 'dl.bintray.com'

    W: Failed to fetch http://httpredir.debian.org/de…uster-backports/InRelease Could not resolve 'httpredir.debian.org'

    W: Failed to fetch http://packages.openmediavault…blic/dists/usul/InRelease Could not resolve 'packages.openmediavault.org'

    W: Failed to fetch https://openmediavault.github.…ages/dists/usul/InRelease Could not resolve 'openmediavault.github.io'

    W: Some index files failed to download. They have been ignored, or old ones used instead.

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    Calculating upgrade... Done

    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    root@OMV:~#

    YESSSSSSSSSSSS it's ok!!!


    thank you very much!!!!


    root@openmediavault:~# omv-confdbadm migrate conf 5.2.0

    Running migration conf_5.2.0

    Running migration conf_5.5.0

    Running migration conf_5.5.3

    WARNING: The node 'clients' already exists at XPath '/config/system/time/ntp'



    just one error when wanting to reactivate SMB now I have this message "The DNS hostname is limited to 15 characters when using SMB / CIFS. "

    Good morning all,


    When I open my OMV5 interface, without doing anything I have the top banner message want you to save the changes
    if I click on yes, I have this error message below, if I put no nothing happens.
    i disabled all smb, nfs ssh etc services and wanted to uncheck all the services checked in notification, and i still get the same error message when i click yes, i can't edit.
    I can't even enter my email.


    then I wanted to reactivate the services, nfs ok, ssh ok, but ftp I can not always get this error message when I want to save the settings and on smb when wanting to reactivate now I have this message "The DNS hostname is limited to 15 characters when using SMB / CIFS. "
    i went to omv-fistaid i did cleanweb, clean apt and cleanlocal, but i still have the problem.

    thanks for your advices






    Erreur #0:
    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; omv-salt deploy run --no-color monit 2>&1' with exit code '1': debian: Data failed to compile:
    ---------- Rendering SLS 'base:omv.deploy.monit.default' failed: Jinja error: tls: Invalid value '0', allowed values are 'none, ssl, starttls, auto'.
    Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 498, in render_jinja_tmpl output = template.render(**decoded_context) File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in render return original_render(self, *args, **kwargs) File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render return self.environment.handle_exception(exc_info, True) File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in handle_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise raise value.with_traceback(tb) File "<template>", line 37, in top-level template code File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 39, in get objs = db.get(id_, identifier) File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 85, in get query.execute() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 724, in execute self._response = self._elements_to_object(elements) File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 485, in _elements_to_object result.validate() File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 236, in validate self.model.validate(self.get_dict()) File "/usr/lib/python3/dist-packages/openmediavault/config/datamodel.py", line 202, in validate self.schema.validate(data) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 175, in validate self._validate_type(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 229, in _validate_type raise last_exception File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 200, in _validate_type self._validate_object(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 305, in _validate_object self._check_properties(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 519, in _check_properties self._validate_type(value[propk], propv, path) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 229, in _validate_type raise last_exception File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 209, in _validate_type self._validate_string(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 284, in _validate_string self._check_enum(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 475, in _check_enum % (valuev, ", ".join(map(str, schema['enum']))),
    openmediavault.json.schema.SchemaValidationException: tls: Invalid value '0', allowed values are 'none, ssl, starttls, auto'.

    ; line 37

    ---
    [...]
    # http://www.debianadmin.com/mon…-servers-using-monit.html
    # http://www.uibk.ac.at/zid/systeme/linux/monit.html
    # http://wiki.ubuntuusers.de/Monit
    # http://viktorpetersson.com/201…-and-postgresql-on-ubuntu

    {% set email_config = salt['omv_conf.get']('conf.system.notification.email') %} <======================

    configure_default_monit: file.managed: - name: "/etc/default/monit" - contents:
    [...]
    --- in /usr/share/php/openmediavault/system/process.inc:182
    Stack trace:
    #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
    #1 /usr/share/openmediavault/engined/rpc/config.inc(167): 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/bgstatusLq...', '/tmp/bgoutputAe...')
    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
    #7 /usr/share/openmediavault/engined/rpc/config.inc(189): 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}

    Code
    when I press apply when he offers to open a session here is the error message.



    Error #0:
    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; omv-salt deploy run --no-color monit 2>&1' with exit code '1': debian: Data failed to compile:
    ---------- Rendering SLS 'base:omv.deploy.monit.default' failed: Jinja error: tls: Invalid value '0', allowed values are 'none, ssl, starttls, auto'.
    Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 498, in render_jinja_tmpl output = template.render(**decoded_context) File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in render return original_render(self, *args, **kwargs) File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render return self.environment.handle_exception(exc_info, True) File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in handle_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise raise value.with_traceback(tb) File "<template>", line 37, in top-level template code File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 39, in get objs = db.get(id_, identifier) File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 85, in get query.execute() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 724, in execute self._response = self._elements_to_object(elements) File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 485, in _elements_to_object result.validate() File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 236, in validate self.model.validate(self.get_dict()) File "/usr/lib/python3/dist-packages/openmediavault/config/datamodel.py", line 202, in validate self.schema.validate(data) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 175, in validate self._validate_type(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 229, in _validate_type raise last_exception File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 200, in _validate_type self._validate_object(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 305, in _validate_object self._check_properties(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 519, in _check_properties self._validate_type(value[propk], propv, path) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 229, in _validate_type raise last_exception File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 209, in _validate_type self._validate_string(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 284, in _validate_string self._check_enum(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 475, in _check_enum % (valuev, ", ".join(map(str, schema['enum']))),
    openmediavault.json.schema.SchemaValidationException: tls: Invalid value '0', allowed values are 'none, ssl, starttls, auto'.

    ; line 37

    ---
    [...]
    # http://www.debianadmin.com/mon…-servers-using-monit.html
    # http://www.uibk.ac.at/zid/systeme/linux/monit.html
    # http://wiki.ubuntuusers.de/Monit
    # http://viktorpetersson.com/201…-and-postgresql-on-ubuntu

    {% set email_config = salt['omv_conf.get']('conf.system.notification.email') %} <======================

    configure_default_monit: file.managed: - name: "/etc/default/monit" - contents:
    [...]
    --- in /usr/share/php/openmediavault/system/process.inc:182
    Stack trace:
    #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
    #1 /usr/share/openmediavault/engined/rpc/config.inc(167): 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/bgstatush5...', '/tmp/bgoutput5f...')
    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
    #7 /usr/share/openmediavault/engined/rpc/config.inc(189): 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}

    I will put version 4, version 5 not suitable for me, on the 5 no afp nor virtualbox and the smb / cifs works really not well with my mackbook pro, it is wiser for me to put the V4 in hoping that they will not drop version 4 support

    Thank you for your answer I advanced, in debian under cokpit I chose imported and chose the path where it is installed on my server, but I have this message "Creation of VM Jeedom failed
    error: failed to connect to the hypervisorerror: Cannot recv data: Connection reset by peerError setting up logfile: Could not create directory /home/jeedom/.cache/virt-manager: [Errno 13] Permission denied: '/home/jeedom'ERROR authentication failed: access denied by policy"




    it may be a problem of rights?

    Hi all,I had omv4 for a long time everything worked fine except it was fully planted a few days ago, the boot was corrupt,I thought my ssd on what was the bone, I tested it then formatted it is ok, I took the opportunity to install omv 5.0.5 I found my datas, my raid1 everything is ok,I installed omv extras, but I have not found the plugin virtualbox, before omv4 I l I had installed with debian9 and jeedom (home automation solution) everything was ok,under omv5 I found my virtualbox folder with debian9 and jeedom but I can not launch it from omv5 I saw post on cokpit that can replace it but do not know how I can restart my Dedian9 virtualization is possible?thank you for your answers

    Hello everyone,



    I found the cause of the problem !!!
    It is the key usb ave iso that install not well omv 3.xxx
    I put the iso on another usb key and made the installation, and the first time it worked, all the services work very well.
    To all those who have problems with the services, already look at your usb
    keys if they are good otherwise do the test with other key ...

    Hello everyone,



    Sorry for my English I'm on translation



    I have an HP H54L server I had omv2.xxx that worked fine, afp, nfs, ftp etc ..
    I have 3 hdd storage 2 to each and 1 hdd 250go for the system
    I have a clean install of omv 3.0.79 with usb key
    I am in the galley since I have smb cifs, ftp, nfs which does not work, I tried full of settings on user rights nothing to do
    The service afp is ok on my imac it normally works the ssh service is also ok
    I have seen messages on SMB CIFS problems on version 3.0.79 is this what version does not work? I did the updates nothing to do the services still do not work, i have last version 3.0.81 erasmus
    Thank you for your answers