Open Media Vault - Internal 500 Error

mehmet_b_90

Lieutenant
Registriert
Aug. 2013
Beiträge
606
Schönen Mittag zusammen,

ich habe mir gestern Open Media Vault auf meinem Raspberry Pi 4 (4 GB RAM) installiert. Ich möchte es für die Datenablage nutzen und Jellyfin darauf laufen lassen. Ich arbeite mich gerade so hinein. Bis jetzt läuft es soweit. Jedoch habe ich die erste Hürde. Auf dem Dashboard werden mir Aktualisierungen angeboten, wenn ich die Anwenden möchte, bekomme ich aber eine "500 - Internal Server Error". Ich konnte nichts im Internet finden, warum der Fehler ausgelöst wird.

Das komische ist, wenn ich unter "Aktualisierungen" explizit schaue, ist laut OMV keine Aktualisierungen vorhanden.

Gruß Mehmet

1702722475217.png


1702722479173.png
 
Zuletzt bearbeitet:
  • Gefällt mir
Reaktionen: mehmet_b_90
Tanzmusikus schrieb:
Wieviel Speicherplatz ist noch frei?
Genügend

1702727555482.png


Ich schaue mir die Links von dir nachher noch genauer an.
 
  • Gefällt mir
Reaktionen: Tanzmusikus
Beim ersten verlinkten Thread hat beim TE folgendes geholfen:

Are you running a Pi?

Disable backports on omv-extras click apt clean

Leider hat es bei mir nicht geholfen.

Hier die komplette Fehlermeldung:

Code:
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color systemd-networkd 2>&1' with exit code '1': raspberrypi:
----------
          ID: unmask_systemd_networkd
    Function: service.unmasked
        Name: systemd-networkd
      Result: True
     Comment: Service systemd-networkd was already unmasked
     Started: 10:16:24.999218
    Duration: 25.482 ms
     Changes:
----------
          ID: enable_systemd_networkd
    Function: service.enabled
        Name: systemd-networkd
      Result: True
     Comment: Service systemd-networkd is already enabled, and is in the desired state
     Started: 10:16:25.025067
    Duration: 30.675 ms
     Changes:
----------
          ID: remove_systemd_networkd_defaults
    Function: file.absent
        Name: /etc/systemd/network/05-openmediavault-default.link
      Result: True
     Comment: File /etc/systemd/network/05-openmediavault-default.link is not present
     Started: 10:16:25.061471
    Duration: 1.55 ms
     Changes:
----------
          ID: unmask_systemd_resolved
    Function: service.unmasked
        Name: systemd-resolved
      Result: True
     Comment: Service systemd-resolved was already unmasked
     Started: 10:16:25.063296
    Duration: 23.387 ms
     Changes:
----------
          ID: enable_systemd_resolved
    Function: service.enabled
        Name: systemd-resolved
      Result: True
     Comment: Service systemd-resolved is already enabled, and is in the desired state
     Started: 10:16:25.087030
    Duration: 19.568 ms
     Changes:
----------
          ID: configure_etc_network_interfaces
    Function: file.managed
        Name: /etc/network/interfaces
      Result: True
     Comment: File /etc/network/interfaces is in the correct state
     Started: 10:16:25.107000
    Duration: 154.786 ms
     Changes:
----------
          ID: remove_netplan_systemd_networkd_config_files
    Function: module.run
      Result: True
     Comment: file.find: []
     Started: 10:16:25.263847
    Duration: 3.474 ms
     Changes:
              ----------
              file.find:
----------
          ID: remove_netplan_empty_systemd_networkd_config_files
    Function: module.run
      Result: True
     Comment: file.find: []
     Started: 10:16:25.267716
    Duration: 2.76 ms
     Changes:
              ----------
              file.find:
----------
          ID: remove_netplan_config_files
    Function: module.run
      Result: True
     Comment: file.find: ['/etc/netplan/10-openmediavault-default.yaml', '/etc/netplan/30-openmediavault-wlan0.yaml']
     Started: 10:16:25.270773
    Duration: 3.302 ms
     Changes:
              ----------
              file.find:
                  - /etc/netplan/10-openmediavault-default.yaml
                  - /etc/netplan/30-openmediavault-wlan0.yaml
----------
          ID: configure_netplan_default
    Function: file.managed
        Name: /etc/netplan/10-openmediavault-default.yaml
      Result: True
     Comment: File /etc/netplan/10-openmediavault-default.yaml updated
     Started: 10:16:25.274369
    Duration: 338.605 ms
     Changes:
              ----------
              diff:
                  New file
----------
          ID: configure_netplan_ethernet_eth0
    Function: file.managed
        Name: /etc/netplan/20-openmediavault-eth0.yaml
      Result: False
     Comment: Unable to manage file: Jinja error: [Errno 2] No such file or directory: '/sys/class/net/eth0/addr_assign_type'
              Traceback (most recent call last):
                File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
                  output = template.render(**decoded_context)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
                  self.environment.handle_exception()
                File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
                  raise rewrite_traceback_stack(source=source)
                File "<template>", line 6, in top-level template code
                File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 396, in call
                  return __context.call(__obj, *args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 149, in __call__
                  return self.loader.run(run_func, *args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1234, in run
                  return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1249, in _run_as
                  return _func_or_method(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3/dist-packages/salt/modules/file.py", line 3973, in read
                  with salt.utils.files.fopen(path, access_mode) as file_obj:
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3/dist-packages/salt/utils/files.py", line 393, in fopen
                  f_handle = open(*args, **kwargs)  # pylint: disable=resource-leakage
                             ^^^^^^^^^^^^^^^^^^^^^
              FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/net/eth0/addr_assign_type'

              ; line 6

              ---
              {%- set dns_config = salt['omv_conf.get']('conf.system.network.dns') -%}
              network:
                ethernets:
                  {{ interface.devicename }}:
                    match:
              {%- if salt['file.read']('/sys/class/net/' + interface.devicename + '/addr_assign_type') | int == 0 %}    <======================
                      macaddress: {{ salt['grains.get']('hwaddr_interfaces:' + interface.devicename) }}
              {%- else %}
                      name: {{ interface.devicename }}
              {%- endif %}
              {%- if interface.altmacaddress | length > 0 %}
              [...]
              ---
     Started: 10:16:25.613270
    Duration: 453.341 ms
     Changes:
----------
          ID: configure_netplan_wifi_wlan0
    Function: file.managed
        Name: /etc/netplan/30-openmediavault-wlan0.yaml
      Result: True
     Comment: File /etc/netplan/30-openmediavault-wlan0.yaml updated
     Started: 10:16:26.066945
    Duration: 420.66 ms
     Changes:
              ----------
              diff:
                  New file
----------
          ID: apply_netplan_config
    Function: cmd.run
        Name: netplan apply
      Result: True
     Comment: Command "netplan apply" run
     Started: 10:16:26.489984
    Duration: 2970.259 ms
     Changes:
              ----------
              pid:
                  9275
              retcode:
                  0
              stderr:
                  Cannot call openvswitch: ovsdb-server.service is not running.
              stdout:
----------
          ID: symlink_systemd_resolvconf
    Function: file.symlink
        Name: /etc/resolv.conf
      Result: True
     Comment: Symlink /etc/resolv.conf is present and owned by root:root
     Started: 10:16:29.460574
    Duration: 732.593 ms
     Changes:

Summary for raspberrypi
-------------
Succeeded: 13 (changed=6)
Failed:     1
-------------
Total states run:     14
Total run time:    5.180 s
[ERROR   ] Rendering exception occurred
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
    output = template.render(**decoded_context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 6, in top-level template code
  File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 396, in call
    return __context.call(__obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 149, in __call__
    return self.loader.run(run_func, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1234, in run
    return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1249, in _run_as
    return _func_or_method(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/modules/file.py", line 3973, in read
    with salt.utils.files.fopen(path, access_mode) as file_obj:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/utils/files.py", line 393, in fopen
    f_handle = open(*args, **kwargs)  # pylint: disable=resource-leakage
               ^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/net/eth0/addr_assign_type'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
    output = render_str(tmplstr, context, tmplpath)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 523, in render_jinja_tmpl
    raise SaltRenderError(
salt.exceptions.SaltRenderError: Jinja error: [Errno 2] No such file or directory: '/sys/class/net/eth0/addr_assign_type'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
    output = template.render(**decoded_context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 6, in top-level template code
  File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 396, in call
    return __context.call(__obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 149, in __call__
    return self.loader.run(run_func, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1234, in run
    return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1249, in _run_as
    return _func_or_method(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/modules/file.py", line 3973, in read
    with salt.utils.files.fopen(path, access_mode) as file_obj:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/utils/files.py", line 393, in fopen
    f_handle = open(*args, **kwargs)  # pylint: disable=resource-leakage
               ^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/net/eth0/addr_assign_type'

; line 6

---
{%- set dns_config = salt['omv_conf.get']('conf.system.network.dns') -%}
network:
  ethernets:
    {{ interface.devicename }}:
      match:
{%- if salt['file.read']('/sys/class/net/' + interface.devicename + '/addr_assign_type') | int == 0 %}    <======================
        macaddress: {{ salt['grains.get']('hwaddr_interfaces:' + interface.devicename) }}
{%- else %}
        name: {{ interface.devicename }}
{%- endif %}
{%- if interface.altmacaddress | length > 0 %}
[...]
---
[ERROR   ] Unable to manage file: Jinja error: [Errno 2] No such file or directory: '/sys/class/net/eth0/addr_assign_type'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
    output = template.render(**decoded_context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 6, in top-level template code
  File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 396, in call
    return __context.call(__obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 149, in __call__
    return self.loader.run(run_func, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1234, in run
    return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1249, in _run_as
    return _func_or_method(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/modules/file.py", line 3973, in read
    with salt.utils.files.fopen(path, access_mode) as file_obj:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/utils/files.py", line 393, in fopen
    f_handle = open(*args, **kwargs)  # pylint: disable=resource-leakage
               ^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/net/eth0/addr_assign_type'

; line 6

---
{%- set dns_config = salt['omv_conf.get']('conf.system.network.dns') -%}
network:
  ethernets:
    {{ interface.devicename }}:
      match:
{%- if salt['file.read']('/sys/class/net/' + interface.devicename + '/addr_assign_type') | int == 0 %}    <======================
        macaddress: {{ salt['grains.get']('hwaddr_interfaces:' + interface.devicename) }}
{%- else %}
        name: {{ interface.devicename }}
{%- endif %}
{%- if interface.altmacaddress | length > 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; export LANGUAGE=; omv-salt deploy run --no-color systemd-networkd 2>&1' with exit code '1': raspberrypi:
----------
          ID: unmask_systemd_networkd
    Function: service.unmasked
        Name: systemd-networkd
      Result: True
     Comment: Service systemd-networkd was already unmasked
     Started: 10:16:24.999218
    Duration: 25.482 ms
     Changes:
----------
          ID: enable_systemd_networkd
    Function: service.enabled
        Name: systemd-networkd
      Result: True
     Comment: Service systemd-networkd is already enabled, and is in the desired state
     Started: 10:16:25.025067
    Duration: 30.675 ms
     Changes:
----------
          ID: remove_systemd_networkd_defaults
    Function: file.absent
        Name: /etc/systemd/network/05-openmediavault-default.link
      Result: True
     Comment: File /etc/systemd/network/05-openmediavault-default.link is not present
     Started: 10:16:25.061471
    Duration: 1.55 ms
     Changes:
----------
          ID: unmask_systemd_resolved
    Function: service.unmasked
        Name: systemd-resolved
      Result: True
     Comment: Service systemd-resolved was already unmasked
     Started: 10:16:25.063296
    Duration: 23.387 ms
     Changes:
----------
          ID: enable_systemd_resolved
    Function: service.enabled
        Name: systemd-resolved
      Result: True
     Comment: Service systemd-resolved is already enabled, and is in the desired state
     Started: 10:16:25.087030
    Duration: 19.568 ms
     Changes:
----------
          ID: configure_etc_network_interfaces
    Function: file.managed
        Name: /etc/network/interfaces
      Result: True
     Comment: File /etc/network/interfaces is in the correct state
     Started: 10:16:25.107000
    Duration: 154.786 ms
     Changes:
----------
          ID: remove_netplan_systemd_networkd_config_files
    Function: module.run
      Result: True
     Comment: file.find: []
     Started: 10:16:25.263847
    Duration: 3.474 ms
     Changes:
              ----------
              file.find:
----------
          ID: remove_netplan_empty_systemd_networkd_config_files
    Function: module.run
      Result: True
     Comment: file.find: []
     Started: 10:16:25.267716
    Duration: 2.76 ms
     Changes:
              ----------
              file.find:
----------
          ID: remove_netplan_config_files
    Function: module.run
      Result: True
     Comment: file.find: ['/etc/netplan/10-openmediavault-default.yaml', '/etc/netplan/30-openmediavault-wlan0.yaml']
     Started: 10:16:25.270773
    Duration: 3.302 ms
     Changes:
              ----------
              file.find:
                  - /etc/netplan/10-openmediavault-default.yaml
                  - /etc/netplan/30-openmediavault-wlan0.yaml
----------
          ID: configure_netplan_default
    Function: file.managed
        Name: /etc/netplan/10-openmediavault-default.yaml
      Result: True
     Comment: File /etc/netplan/10-openmediavault-default.yaml updated
     Started: 10:16:25.274369
    Duration: 338.605 ms
     Changes:
              ----------
              diff:
                  New file
----------
          ID: configure_netplan_ethernet_eth0
    Function: file.managed
        Name: /etc/netplan/20-openmediavault-eth0.yaml
      Result: False
     Comment: Unable to manage file: Jinja error: [Errno 2] No such file or directory: '/sys/class/net/eth0/addr_assign_type'
              Traceback (most recent call last):
                File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
                  output = template.render(**decoded_context)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
                  self.environment.handle_exception()
                File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
                  raise rewrite_traceback_stack(source=source)
                File "<template>", line 6, in top-level template code
                File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 396, in call
                  return __context.call(__obj, *args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 149, in __call__
                  return self.loader.run(run_func, *args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1234, in run
                  return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1249, in _run_as
                  return _func_or_method(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3/dist-packages/salt/modules/file.py", line 3973, in read
                  with salt.utils.files.fopen(path, access_mode) as file_obj:
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/lib/python3/dist-packages/salt/utils/files.py", line 393, in fopen
                  f_handle = open(*args, **kwargs)  # pylint: disable=resource-leakage
                             ^^^^^^^^^^^^^^^^^^^^^
              FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/net/eth0/addr_assign_type'

              ; line 6

              ---
              {%- set dns_config = salt['omv_conf.get']('conf.system.network.dns') -%}
              network:
                ethernets:
                  {{ interface.devicename }}:
                    match:
              {%- if salt['file.read']('/sys/class/net/' + interface.devicename + '/addr_assign_type') | int == 0 %}    <======================
                      macaddress: {{ salt['grains.get']('hwaddr_interfaces:' + interface.devicename) }}
              {%- else %}
                      name: {{ interface.devicename }}
              {%- endif %}
              {%- if interface.altmacaddress | length > 0 %}
              [...]
              ---
     Started: 10:16:25.613270
    Duration: 453.341 ms
     Changes:
----------
          ID: configure_netplan_wifi_wlan0
    Function: file.managed
        Name: /etc/netplan/30-openmediavault-wlan0.yaml
      Result: True
     Comment: File /etc/netplan/30-openmediavault-wlan0.yaml updated
     Started: 10:16:26.066945
    Duration: 420.66 ms
     Changes:
              ----------
              diff:
                  New file
----------
          ID: apply_netplan_config
    Function: cmd.run
        Name: netplan apply
      Result: True
     Comment: Command "netplan apply" run
     Started: 10:16:26.489984
    Duration: 2970.259 ms
     Changes:
              ----------
              pid:
                  9275
              retcode:
                  0
              stderr:
                  Cannot call openvswitch: ovsdb-server.service is not running.
              stdout:
----------
          ID: symlink_systemd_resolvconf
    Function: file.symlink
        Name: /etc/resolv.conf
      Result: True
     Comment: Symlink /etc/resolv.conf is present and owned by root:root
     Started: 10:16:29.460574
    Duration: 732.593 ms
     Changes:

Summary for raspberrypi
-------------
Succeeded: 13 (changed=6)
Failed:     1
-------------
Total states run:     14
Total run time:    5.180 s
[ERROR   ] Rendering exception occurred
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
    output = template.render(**decoded_context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 6, in top-level template code
  File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 396, in call
    return __context.call(__obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 149, in __call__
    return self.loader.run(run_func, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1234, in run
    return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1249, in _run_as
    return _func_or_method(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/modules/file.py", line 3973, in read
    with salt.utils.files.fopen(path, access_mode) as file_obj:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/utils/files.py", line 393, in fopen
    f_handle = open(*args, **kwargs)  # pylint: disable=resource-leakage
               ^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/net/eth0/addr_assign_type'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
    output = render_str(tmplstr, context, tmplpath)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 523, in render_jinja_tmpl
    raise SaltRenderError(
salt.exceptions.SaltRenderError: Jinja error: [Errno 2] No such file or directory: '/sys/class/net/eth0/addr_assign_type'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
    output = template.render(**decoded_context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 6, in top-level template code
  File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 396, in call
    return __context.call(__obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 149, in __call__
    return self.loader.run(run_func, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1234, in run
    return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1249, in _run_as
    return _func_or_method(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/modules/file.py", line 3973, in read
    with salt.utils.files.fopen(path, access_mode) as file_obj:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/utils/files.py", line 393, in fopen
    f_handle = open(*args, **kwargs)  # pylint: disable=resource-leakage
               ^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/net/eth0/addr_assign_type'

; line 6

---
{%- set dns_config = salt['omv_conf.get']('conf.system.network.dns') -%}
network:
  ethernets:
    {{ interface.devicename }}:
      match:
{%- if salt['file.read']('/sys/class/net/' + interface.devicename + '/addr_assign_type') | int == 0 %}    <======================
        macaddress: {{ salt['grains.get']('hwaddr_interfaces:' + interface.devicename) }}
{%- else %}
        name: {{ interface.devicename }}
{%- endif %}
{%- if interface.altmacaddress | length > 0 %}
[...]
---
[ERROR   ] Unable to manage file: Jinja error: [Errno 2] No such file or directory: '/sys/class/net/eth0/addr_assign_type'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
    output = template.render(**decoded_context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 6, in top-level template code
  File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 396, in call
    return __context.call(__obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 149, in __call__
    return self.loader.run(run_func, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1234, in run
    return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1249, in _run_as
    return _func_or_method(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/modules/file.py", line 3973, in read
    with salt.utils.files.fopen(path, access_mode) as file_obj:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/salt/utils/files.py", line 393, in fopen
    f_handle = open(*args, **kwargs)  # pylint: disable=resource-leakage
               ^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/net/eth0/addr_assign_type'

; line 6

---
{%- set dns_config = salt['omv_conf.get']('conf.system.network.dns') -%}
network:
  ethernets:
    {{ interface.devicename }}:
      match:
{%- if salt['file.read']('/sys/class/net/' + interface.devicename + '/addr_assign_type') | int == 0 %}    <======================
        macaddress: {{ salt['grains.get']('hwaddr_interfaces:' + interface.devicename) }}
{%- else %}
        name: {{ interface.devicename }}
{%- endif %}
{%- if interface.altmacaddress | length > 0 %}
[...]
--- in /usr/share/php/openmediavault/system/process.inc:247
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(178): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges()
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod()
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(622): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}()
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(146): OMV\Rpc\ServiceAbstract->execBgProc()
#7 /usr/share/openmediavault/engined/rpc/config.inc(199): OMV\Rpc\ServiceAbstract->callMethodBg()
#8 [internal function]: Engined\Rpc\Config->applyChangesBg()
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
#11 /usr/sbin/omv-engined(535): OMV\Rpc\Rpc::call()
#12 {main}
Ergänzung ()

Wenn ich den Fehlerbericht richtig intepretiere, dann ist folgendes die Ursache:

Code:
No such file or directory: '/sys/class/net/eth0/addr_assign_type'

Dieser Fehler taucht immer wieder im Verlauf auf.
 
Zuletzt bearbeitet:
  • Gefällt mir
Reaktionen: Tanzmusikus
  1. Beim RasPi scheint LAN nicht verfügbar zu sein, dafür aber WLAN. Korrekt?
  2. Hast Du einen DNS-Server in den Netzwerkeinstellungen von OMV ausgewählt?
  3. Wird der RasPi von deinem Router (z.B. Fritz!Box) erkannt & wurde ihm eine IP zugewiesen?
 
  1. Ja der Raspberry Pi wird über WLAN betrieben, würde es gerne via Ethernet betreiben, ist aber aktuell nicht möglich.
  2. DNS-Einstellungen habe ich in OMV in der Richtung noch nichts konfiguriert. Habe bis jetzt nur die WLAN-Schnitstelle aktiviert.
  3. Ja, das funktioniert ohne Probleme, sowohl meine Fritz!Box 7590 AX erkennt ihn problemlos (habe eine feste IP-Adresse zugewiesen) und ich kann auch im Netzwerk auf ihn zugreifen, via Web GUI und SSH.
 
  1. Wo liegt das Problem bei der LAN-Verbindung?
  2. Sowohl in den Einstellungen der LAN- als auch der WLAN-Schnittstelle sollte es "DNS" geben.
    Welches Ergebnis zeigt: cat /etc/resolv.conf (!Private Daten bitte unkenntlich machen bzw. entfernen!)
    Welches Ergebnis zeigt: sudo ss -tulpen | grep -i dhc
  3. Super!
  4. Standard-Gateway prüfen. Welches Ergebnis zeigt: ip r
  5. Welches Ergebnis zeigt: dmesg | grep -i genet
 
Es hat jetzt geklappt! Ich habe unter Netzwerk -> Schnittstellen die Ethernet (eth0)-Verbindung gelöscht.

Dachte ich lösch mal die Verbindung, da es für mich im Log so aussah, als würde das System versuchen darüber eine Verbindung aufzubauen.

Danke für deine Unterstützung.
 
  • Gefällt mir
Reaktionen: Tanzmusikus
Hallo zusammen, ich würde mich gerne mal hier einklinken da ich ebenfalls ein internal 500 Error bei OMV habe.
Ich habe das update von Version 6 auf 7 gemacht. Das Update selbst lief ohne Fehler durch.
Jedoch wenn ich jetzt den gelben Banner mit ausstehender Konfigurationsänderung bestätigen will kommt der Fehler im Anhang.
Woran kann das liegen bzw. wie kann ich das beseitigen?
 

Anhänge

  • OMV.png
    OMV.png
    154,3 KB · Aufrufe: 183
Hab das Problem gefunden, musste compose löschen dann ging es.
 
Zuletzt bearbeitet:
Zurück
Oben