Hello everyone,
I'm the new owner of an Odroid HC2, which I intend to use with Openmediavault. I'm seeking help here because I'm not familiar with all of this, when it's working, it's great, when it's not, I don't have the knowledge to understand the errors listed below
- First, I installed everything needed following this : Installing OMV5 on Raspberry PI's, Armbian SBC's, & i386 32-bit platforms
- Then, I made the first configuration following the instructions there
- Everything was working fine in my local network.
- With the help of a local association, I moved the Odroid HC2 to a dedicated datacenter, plugged in directly to internet, with a static IP.
- I tried to modify the network configuration within OMV to put my static IP, but then, we couldn't access the Odroid HC2, and we couldn't ping it either.
- So we decided to create a manual configuration file for networkmanager, by filling it like these :
Code
Alles anzeigenauto eth0 iface eth0 inet static pre-up /sbin/ip link set $IFACE up pre-up /sbin/ip route add xxx.xxx.xxx.xxx dev $IFACE address <Public IP>/32 gateway xxx.xxx.xxx.xxx iface eth0 inet6 static address <Public IPv6>/56 gateway xxx.xxx.xxx.xxx accept_ra 0 autoconf 0 dad-attempts 0
- And it worked ! The Odroid HC2 is connected and I can use it with the public IP.
- But then, I wanted to update the system, install plugins and change some settings.
- When I update, I get an error but I didn't think of copying logs back then since it seems to be working.
- When I want to install plugins, I get this :
Code
Alles anzeigenE: Failed to fetch http://deb.debian.org/debian/pool/main/g/game-music-emu/libgme0_0.6.2-1_armhf.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/m/mpg123/libmpg123-0_1.25.10-2_armhf.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/libv/libvorbis/libvorbisfile3_1.3.6-2_armhf.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/libo/libopenmpt/libopenmpt0_0.4.3-1+deb10u1_armhf.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/libs/libssh/libssh-gcrypt-4_0.8.7-1+deb10u1_armhf.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/f/ffmpeg/libavformat58_4.1.6-1~deb10u1_armhf.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/libe/libexif/libexif12_0.6.21-5.1+deb10u5_armhf.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/f/flac/libflac8_1.3.2-3_armhf.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/libi/libid3tag/libid3tag0_0.15.1b-14_armhf.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/m/minidlna/minidlna_1.2.1+dfsg-2+deb10u2_armhf.deb Could not resolve 'deb.debian.org' E: Failed to fetch https://openmediavault-plugin-developers.github.io/packages/debian/pool/main/o/openmediavault-minidlna/openmediavault-minidlna_5.0.5_all.deb Could not resolve 'openmediavault-plugin-developers.github.io' E: Aborting install. <<< *************************************
- When I try to modify a setting, then apply it (Big yellow button up ahead) :
Code
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 cronapt 2>&1' with exit code '1': Traceback (most recent call last):
File "/sbin/omv-salt", line 151, in <module>
sys.exit(main())
File "/sbin/omv-salt", line 147, in main
cli()
File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/sbin/omv-salt", line 134, in deploy_run
result = caller.cmd("state.orchestrate", names)
File "/usr/lib/python3/dist-packages/salt/client/__init__.py", line 2122, in cmd
return self.sminion.functions[fun](*args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/modules/state.py", line 368, in orchestrate
pillarenv=pillarenv,
File "/usr/lib/python3/dist-packages/salt/runners/state.py", line 129, in orchestrate
orchestration_jid=orchestration_jid,
File "/usr/lib/python3/dist-packages/salt/modules/state.py", line 1351, in sls
initial_pillar=_get_initial_pillar(opts),
File "/usr/lib/python3/dist-packages/salt/state.py", line 4579, in __init__
self.client = salt.fileclient.get_file_client(self.opts)
File "/usr/lib/python3/dist-packages/salt/fileclient.py", line 61, in get_file_client
)(opts)
File "/usr/lib/python3/dist-packages/salt/fileclient.py", line 1468, in __init__
self.channel = salt.fileserver.FSChan(opts)
File "/usr/lib/python3/dist-packages/salt/fileserver/__init__.py", line 871, in __init__
self.fs.update()
File "/usr/lib/python3/dist-packages/salt/fileserver/__init__.py", line 486, in update
self.servers[fstr](**kwargs)
File "/usr/lib/python3/dist-packages/salt/fileserver/roots.py", line 168, in update
line = salt.utils.stringutils.to_unicode(line)
File "/usr/lib/python3/dist-packages/salt/utils/stringutils.py", line 147, in to_unicode
return _normalize(to_str(s, encoding, errors))
File "/usr/lib/python3/dist-packages/salt/utils/stringutils.py", line 104, in to_str
raise exc # pylint: disable=raising-bad-type
File "/usr/lib/python3/dist-packages/salt/utils/stringutils.py", line 97, in to_str
return _normalize(s.decode(enc, errors))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x81 in position 3476: invalid start byte in /usr/share/php/openmediavault/system/process.inc:195
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/bgstatusP3...', '/tmp/bgoutputaI...')
#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}
Alles anzeigen
Tell me if you need anything to help, I will try my best to provide more informations with my understandings.
Thanks for your answers !