no network after fresh install

  • i have fallowed the guide, its installing 5.5.7-1. i can access up till it reboots to set up dhcp, then it errors out and after reboot there is no network , i am using a pi3b+ but have confirmation the same is happening with the pi4



    Adding pi user to ssh group ...

    removed '/etc/systemd/network/99-default.link'

    Removing network-manager and dhcpcd5 ...

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    Package 'network-manager' is not installed, so not removed

    The following packages will be REMOVED:

    dhcpcd5* raspberrypi-net-mods*

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

    After this operation, 391 kB disk space will be freed.

    (Reading database ... 59004 files and directories currently installed.)

    Removing raspberrypi-net-mods (1.3.0) ...

    Removing dhcpcd5 (1:8.1.2-1+rpt1) ...

    Processing triggers for man-db (2.8.5-2) ...

    (Reading database ... 58973 files and directories currently installed.)

    Purging configuration files for dhcpcd5 (1:8.1.2-1+rpt1) ...

    Purging configuration files for raspberrypi-net-mods (1.3.0) ...

    Processing triggers for systemd (241-7~deb10u4+rpi1) ...

    Enable and start systemd-resolved ...

    Unblocking wifi with rfkill ...

    Adding eth0 to openmedivault database ...

    IP address may change and you could lose connection if running this script via ssh.

    raspberrypi:

    Data failed to compile:

    ----------

    Rendering SLS 'base:omv.deploy.systemd-networkd.20ethernet' failed: Jinja error: slaves: The value '' doesn't mch the pattern '^(((eth|venet|wlan)\d+|(en|veth|wl)\S+|(bond)\d+)(\.\d+)?,)*((eth|venet|wlan)\d+|(en|veth|wl)\S+|(bd)\d+)(\.\d+)?$'.

    Traceback (most recent call last):

    File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 400, 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 20, in top-level template code

    File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 82, in get_by_filter

    objs = db.get_by_filter(id_, openmediavault.config.DatabaseFilter(filter_), **kwargs)

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

    query.execute()

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

    self._response = self._elements_to_object(elements)

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

    obj.validate()

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

    self.model.validate(self.get_dict())

    File "/usr/lib/python3/dist-packages/openmediavault/config/datamodel.py", line 200, in validate

    self.schema.validate(data)

    File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 170, in validate

    self._validate_type(value, schema, name)

    File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 224, in _validate_type

    raise last_exception

    File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 195, in _validate_type

    self._validate_object(value, schema, name)

    File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 300, in _validate_object

    self._check_properties(value, schema, name)

    File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 508, in _check_properties

    self._validate_type(value[propk], propv, path)

    File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 224, in _validate_type

    raise last_exception

    File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 204, in _validate_type

    self._validate_string(value, schema, name)

    File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 275, in _validate_string

    self._check_pattern(value, schema, name)

    File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 385, in _check_pattern

    % (value, schema['pattern']),

    openmediavault.json.schema.SchemaValidationException: slaves: The value '' doesn't match the pattern '^(((eth|venetlan)\d+|(en|veth|wl)\S+|(bond)\d+)(\.\d+)?,)*((eth|venet|wlan)\d+|(en|veth|wl)\S+|(bond)\d+)(\.\d+)?$'.


    ; line 20


    ---

    [...]

    # GNU General Public License for more details.

    #

    # You should have received a copy of the GNU General Public License

    # along with OpenMediaVault. If not, see <http://www.gnu.org/licenses/>.


    {% set interfaces = salt['omv_conf.get_by_filter']( <======================

    'conf.system.network.interface',

    {'operator': 'stringEquals', 'arg0': 'type', 'arg1': 'ethernet'}) %}


    {% for interface in interfaces %}


    [...]

    ---

    Network setup for DHCP. Reboo

  • i am also getting that same error when I attempt to change my network config. Even just changing the nickname for an existing adapter:


    The configuration has been changed. You must apply the changes in order for them to take effect.



    Page

    of 1

    Displaying items 1 - 2 of 2


    An error has occured

    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 hosts 2>&1' with exit code '1': debian: Data failed to compile:
    ---------- Rendering SLS 'base:omv.deploy.hosts.10default' failed: Jinja error: slaves: The value '' doesn't match the pattern '^(((eth|venet|wlan)\d+|(en|veth|wl)\S+|(bond)\d+)(\.\d+)?,)*((eth|venet|wlan)\d+|(en|veth|wl)\S+|(bond)\d+)(\.\d+)?$'.
    Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 400, 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 23, 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 473, in _elements_to_object obj.validate() File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 235, in validate self.model.validate(self.get_dict()) File "/usr/lib/python3/dist-packages/openmediavault/config/datamodel.py", line 200, in validate self.schema.validate(data) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 170, in validate self._validate_type(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 224, in _validate_type raise last_exception File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 195, in _validate_type self._validate_object(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 300, in _validate_object self._check_properties(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 508, in _check_properties self._validate_type(value[propk], propv, path) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 224, in _validate_type raise last_exception File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 204, in _validate_type self._validate_string(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 275, in _validate_string self._check_pattern(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 385, in _check_pattern % (value, schema['pattern']),
    openmediavault.json.schema.SchemaValidationException: slaves: The value '' doesn't match the pattern '^(((eth|venet|wlan)\d+|(en|veth|wl)\S+|(bond)\d+)(\.\d+)?,)*((eth|venet|wlan)\d+|(en|veth|wl)\S+|(bond)\d+)(\.\d+)?$'.

    ; line 23

    ---
    [...]
    # along with OpenMediaVault. If not, see <http://www.gnu.org/licenses/>.

    # Documentation/Howto:
    # http://www.debian.org/doc/manu…#_the_hostname_resolution

    {% set interfaces_config = salt['omv_conf.get']('conf.system.network.interface') %} <======================
    {% set dns_config = salt['omv_conf.get']('conf.system.network.dns') %}
    {% set fqdn = dns_config.hostname %}
    {% set alias = "" %}
    {% if dns_config.domainname %}
    {% set fqdn = [dns_config.hostname, dns_config.domainname] | join('.') %}
    [...]
    --- in /usr/share/php/openmediavault/system/process.inc:182
    Stack trace:
    #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): 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/bgstatusEd...', '/tmp/bgoutputVw...')
    #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}

  • votdev

    Added the Label resolved
  • votdev

    Added the Label OMV 5.x

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!