Hello
I did this and it worked!
sudo rm /etc/systemd/network/99-default.link
sudo netplan apply
sudo omv-salt deploy run systemd-networkd
Hello
I did this and it worked!
sudo rm /etc/systemd/network/99-default.link
sudo netplan apply
sudo omv-salt deploy run systemd-networkd
Do you have any idea what it is all about?
I´m a newbie on omv and Linux so my question may have an easy answer. Thanks in advance.
I´m following the Config of omv 5 instruction and are trying to config the eth0 as described, then I save it but when I try to execute it I get an error message like this:
Konfigurationen har ändrats. Du måste tillämpa ändringarna för att de ska träda i kraft.
raspberrypi
Sida
av 1
Visar objekt 1 - 1 av 1
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 systemd-networkd 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working if not isinstance(exes, collections.Iterable):
raspberrypi:
---------- 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: 20:35:29.182370 Duration: 129.39 ms Changes:
---------- ID: remove_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 20:35:29.314421 Duration: 3.971 ms Changes: ---------- file.find:
---------- ID: remove_empty_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 20:35:29.318935 Duration: 2.749 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/20-openmediavault-eth0.yaml'] Started: 20:35:29.322211 Duration: 4.235 ms Changes: ---------- file.find: - /etc/netplan/10-openmediavault-default.yaml - /etc/netplan/20-openmediavault-eth0.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: 20:35:29.327099 Duration: 32.924 ms Changes: ---------- diff: New file mode: 0644
---------- ID: configure_netplan_ethernet_eth0 Function: file.managed Name: /etc/netplan/20-openmediavault-eth0.yaml Result: True Comment: File /etc/netplan/20-openmediavault-eth0.yaml updated Started: 20:35:29.360586 Duration: 120.073 ms Changes: ---------- diff: New file mode: 0644
---------- ID: apply_netplan_config Function: cmd.run Name: netplan apply Result: False Comment: Command "netplan apply" run Started: 20:35:29.483723 Duration: 566.131 ms Changes: ---------- pid: 16366 retcode: 1 stderr: Traceback (most recent call last): File "/usr/sbin/netplan", line 23, in <module> netplan.main() File "/usr/share/netplan/netplan/cli/core.py", line 50, in main self.run_command() File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command self.func() File "/usr/share/netplan/netplan/cli/commands/apply.py", line 43, in run self.run_command() File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command self.func() File "/usr/share/netplan/netplan/cli/commands/apply.py", line 93, in command_apply stderr=subprocess.DEVNULL) File "/usr/lib/python3.7/subprocess.py", line 347, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/lo']' returned non-zero exit status 1. stdout:
Summary for raspberrypi
------------
Succeeded: 6 (changed=6)
Failed: 1
------------
Total states run: 7
Total run time: 859.473 ms
Fel #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 systemd-networkd 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working if not isinstance(exes, collections.Iterable):
raspberrypi:
---------- 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: 20:35:29.182370 Duration: 129.39 ms Changes:
---------- ID: remove_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 20:35:29.314421 Duration: 3.971 ms Changes: ---------- file.find:
---------- ID: remove_empty_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 20:35:29.318935 Duration: 2.749 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/20-openmediavault-eth0.yaml'] Started: 20:35:29.322211 Duration: 4.235 ms Changes: ---------- file.find: - /etc/netplan/10-openmediavault-default.yaml - /etc/netplan/20-openmediavault-eth0.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: 20:35:29.327099 Duration: 32.924 ms Changes: ---------- diff: New file mode: 0644
---------- ID: configure_netplan_ethernet_eth0 Function: file.managed Name: /etc/netplan/20-openmediavault-eth0.yaml Result: True Comment: File /etc/netplan/20-openmediavault-eth0.yaml updated Started: 20:35:29.360586 Duration: 120.073 ms Changes: ---------- diff: New file mode: 0644
---------- ID: apply_netplan_config Function: cmd.run Name: netplan apply Result: False Comment: Command "netplan apply" run Started: 20:35:29.483723 Duration: 566.131 ms Changes: ---------- pid: 16366 retcode: 1 stderr: Traceback (most recent call last): File "/usr/sbin/netplan", line 23, in <module> netplan.main() File "/usr/share/netplan/netplan/cli/core.py", line 50, in main self.run_command() File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command self.func() File "/usr/share/netplan/netplan/cli/commands/apply.py", line 43, in run self.run_command() File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command self.func() File "/usr/share/netplan/netplan/cli/commands/apply.py", line 93, in command_apply stderr=subprocess.DEVNULL) File "/usr/lib/python3.7/subprocess.py", line 347, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/lo']' returned non-zero exit status 1. stdout:
Summary for raspberrypi
------------
Succeeded: 6 (changed=6)
Failed: 1
------------
Total states run: 7
Total run time: 859.473 ms 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/bgstatusnK...', '/tmp/bgoutputFB...')
#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}
Hello
I feel so stupid! That was it!
Thank you ever so much!
Hello
I have been following Techno Dads video for installing Plex on omv 4 with Docker on Raspberry 3. Excellent video by the way! Everything works fine until I get to do the thing mentioned above.
I enclose logs and screens as attachments. I hope someone has a solution. I even stopped the firewall in my router but no change!
TIA
Leslie
Thank you for your speedy reply!
What problem will I expect, slow performance, disconnections etc?
Leslie
Hello
I am installing on a Raspberry 3 and using a usb-disc with 1 Tb storage. I have used the OMV_4_Raspberry_Pi_2_3_3Plus.img.
The disc is found but as soon as I have activated SMART it vanishes.
Sometimes when I restart the disc are discovered again and can be seen in "Disks" for a short time. Below you can see what is written in the log when it disappears again.
Hope you can help me. TIA Leslie
Dec 31 17:17:01 raspberrypi CRON[2535]: (root) CMD (cd / && run-parts --report /etc/cron.hourly)
Dec 31 17:17:01 raspberrypi postfix/postsuper[2545]: fatal: scan_dir_push: open directory hold: No such file or directory
Dec 31 17:17:09 raspberrypi kernel: [ 2059.471466] usb 1-1.5: reset high-speed USB device number 4 using dwc_otg
Dec 31 17:17:10 raspberrypi kernel: [ 2059.571445] usb 1-1.5: device descriptor read/64, error -71
Dec 31 17:17:10 raspberrypi kernel: [ 2059.791417] usb 1-1.5: device descriptor read/64, error -71
Dec 31 17:17:10 raspberrypi kernel: [ 2060.011446] usb 1-1.5: reset high-speed USB device number 4 using dwc_otg
Dec 31 17:17:10 raspberrypi kernel: [ 2060.111448] usb 1-1.5: device descriptor read/64, error -71
Dec 31 17:17:10 raspberrypi kernel: [ 2060.331458] usb 1-1.5: device descriptor read/64, error -71
Dec 31 17:17:10 raspberrypi kernel: [ 2060.551455] usb 1-1.5: reset high-speed USB device number 4 using dwc_otg
Dec 31 17:17:11 raspberrypi kernel: [ 2060.991449] usb 1-1.5: device not accepting address 4, error -71
Dec 31 17:17:11 raspberrypi kernel: [ 2061.101442] usb 1-1.5: reset high-speed USB device number 4 using dwc_otg
Dec 31 17:17:11 raspberrypi kernel: [ 2061.541452] usb 1-1.5: device not accepting address 4, error -71
Dec 31 17:17:11 raspberrypi kernel: [ 2061.541876] usb 1-1.5: USB disconnect, device number 4
Dec 31 17:17:12 raspberrypi kernel: [ 2061.771438] usb 1-1.5: new high-speed USB device number 5 using dwc_otg
Dec 31 17:17:12 raspberrypi kernel: [ 2061.871443] usb 1-1.5: device descriptor read/64, error -71
Dec 31 17:17:12 raspberrypi kernel: [ 2062.091496] usb 1-1.5: device descriptor read/64, error -71
Dec 31 17:17:12 raspberrypi kernel: [ 2062.311474] usb 1-1.5: new high-speed USB device number 6 using dwc_otg
Dec 31 17:17:12 raspberrypi kernel: [ 2062.411418] usb 1-1.5: device descriptor read/64, error -71
Dec 31 17:17:13 raspberrypi kernel: [ 2062.631439] usb 1-1.5: device descriptor read/64, error -71
Dec 31 17:17:13 raspberrypi kernel: [ 2062.751627] usb 1-1-port5: attempt power cycle
Dec 31 17:17:13 raspberrypi kernel: [ 2063.411450] usb 1-1.5: new high-speed USB device number 7 using dwc_otg
Dec 31 17:17:14 raspberrypi kernel: [ 2063.851452] usb 1-1.5: device not accepting address 7, error -71
Dec 31 17:17:14 raspberrypi kernel: [ 2063.951446] usb 1-1.5: new high-speed USB device number 8 using dwc_otg
Dec 31 17:17:14 raspberrypi kernel: [ 2064.391461] usb 1-1.5: device not accepting address 8, error -71
Dec 31 17:17:14 raspberrypi kernel: [ 2064.391620] usb 1-1-port5: unable to enumerate USB device