With Debain 9 and OMV 4 is all fine, so I will use this and wait OMV 5 is offcial
Beiträge von Doomv
-
-
@nas:~# file -i /srv/pillar/omv/default.sls
/srv/pillar/omv/default.sls: cannot open `/srv/pillar/omv/default.sls' (No such file or directory)Perhaps I will test all this with an Ubuntu perhaps this is working. Next I would try to install OMV4 on the NUC I believe the problem is the NUC
-
Output:
@nas:~# file /usr/share/openmediavault/confdb/populate.d/20hostname.sh
/usr/share/openmediavault/confdb/populate.d/20hostname.sh: POSIX shell script, ASCII text executable -
Code
Alles anzeigen[ERROR ] An un-handled exception was caught by salt's global exception handler: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte Traceback (most recent call last): File "/usr/bin/salt-call", line 11, in <module> salt_call() File "/usr/lib/python3/dist-packages/salt/scripts.py", line 431, in salt_call client.run() File "/usr/lib/python3/dist-packages/salt/cli/call.py", line 47, in run caller = salt.cli.caller.Caller.factory(self.config) File "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 80, in factory return ZeroMQCaller(opts, **kwargs) File "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 332, in __init__ super(ZeroMQCaller, self).__init__(opts) File "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 106, in __init__ self.minion = salt.minion.SMinion(opts) File "/usr/lib/python3/dist-packages/salt/minion.py", line 842, in __init__ opts['grains'] = salt.loader.grains(opts) File "/usr/lib/python3/dist-packages/salt/loader.py", line 784, in grains ret = funcs[key]() File "/usr/lib/python3/dist-packages/salt/grains/core.py", line 2086, in os_data grains.update(_hw_data(grains)) File "/usr/lib/python3/dist-packages/salt/grains/core.py", line 2522, in _hw_data grains[key] = salt.utils.stringutils.to_unicode(ifile.read().strip(), errors='replace') File "/usr/lib/python3.7/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte Traceback (most recent call last): File "/usr/bin/salt-call", line 11, in <module> salt_call() File "/usr/lib/python3/dist-packages/salt/scripts.py", line 431, in salt_call client.run() File "/usr/lib/python3/dist-packages/salt/cli/call.py", line 47, in run caller = salt.cli.caller.Caller.factory(self.config) File "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 80, in factory return ZeroMQCaller(opts, **kwargs) File "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 332, in __init__ super(ZeroMQCaller, self).__init__(opts) File "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 106, in __init__ self.minion = salt.minion.SMinion(opts) File "/usr/lib/python3/dist-packages/salt/minion.py", line 842, in __init__ opts['grains'] = salt.loader.grains(opts) File "/usr/lib/python3/dist-packages/salt/loader.py", line 784, in grains ret = funcs[key]() File "/usr/lib/python3/dist-packages/salt/grains/core.py", line 2086, in os_data grains.update(_hw_data(grains)) File "/usr/lib/python3/dist-packages/salt/grains/core.py", line 2522, in _hw_data grains[key] = salt.utils.stringutils.to_unicode(ifile.read().strip(), errors='replace') File "/usr/lib/python3.7/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte usage: omv-confdbadm update [-h] id data omv-confdbadm update: error: argument data: No valid JSON.
-
-
So I reinstalled Debian 10 with GUI . Checkmarked SSH and Systemtools
Partition:
/etc
/home
/var
/tmpThan via Windows CMD and SSH I Copy&Paste the first Codeblock from your OMV 5 Guide directky to CMD.
Than I created a file and c&p the second block in it and than I run it ./omv.shCode
Alles anzeigen# This file is part of OpenMediaVault. # # @license http://www.gnu.org/licenses/gpl.html GPL Version 3 # @author Volker Theile <volker.theile@openmediavault.org> # @copyright Copyright (c) 2009-2019 Volker Theile # # OpenMediaVault is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # any later version. # # OpenMediaVault is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # 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/>. # Global default values. Please restart the openmediavault-engined systemd # service to take changes into affect. OMV_CONFIG_FILE="/etc/openmediavault/config.xml" OMV_CONFIG_TEMPLATE_FILE="/usr/share/openmediavault/templates/config.xml" OMV_PRODUCTINFO_FILE="/usr/share/openmediavault/productinfo.xml" OMV_SCRIPTS_DIR="/usr/share/openmediavault/scripts" OMV_DATAMODELS_DIR="/usr/share/openmediavault/datamodels" OMV_I18N_LOCALE_DIR="/usr/share/openmediavault/locale" OMV_MOUNT_DIR="/srv" OMV_SHAREDFOLDERS_DIR="/sharedfolders" OMV_NFSD_EXPORT_DIR="/export" OMV_CACHE_DIR="/var/cache/openmediavault" OMV_LOG_DIR="/var/log/openmediavault" OMV_SSL_CERTIFICATE_DIR="/etc/ssl" OMV_SSL_CERTIFICATE_PREFIX="openmediavault-" OMV_SSH_KEYS_DIR="/etc/ssh" OMV_SSH_KEY_PREFIX="openmediavault-" OMV_DPKGARCHIVE_DIR="/var/cache/openmediavault/archives" OMV_DOCUMENTROOT_DIR="/var/www/openmediavault" OMV_CRONSCRIPTS_DIR="/var/lib/openmediavault/cron.d" OMV_CONFIGIMPORT_SCRIPTS_DIR="/usr/share/openmediavault/configimport" OMV_SALT_SCRIPTS_DEPLOY_DIR="/srv/salt/omv/deploy" OMV_ENGINED_DIR="/usr/share/openmediavault/engined" OMV_ENGINED_SO_ADDRESS="/var/lib/openmediavault/engined.sock" OMV_ENGINED_SO_OWNERGROUP_NAME="openmediavault-engined" OMV_ENGINED_SO_SNDTIMEO=10 OMV_ENGINED_SO_RCVTIMEO=180 OMV_ENGINED_DIRTY_MODULES_FILE="/var/lib/openmediavault/dirtymodules.json" OMV_INITDB_SCRIPTS_DIR="/usr/share/openmediavault/initsystem" OMV_INITDB_FILE="/var/lib/openmediavault/initsystem.req" OMV_USERMGMT_DEFAULT_GROUP="users" OMV_RRDGRAPH_DIR="/var/lib/openmediavault/rrd" OMV_RRDGRAPH_ERROR_IMAGE="/usr/share/openmediavault/icons/rrd_graph_error_64.png" OMV_WEBGUI_FILE_OWNERGROUP_NAME="openmediavault-webgui" OMV_CONFIGOBJECT_NEW_UUID="fa4b1c66-ef79-11e5-87a0-0002b3a176b4" OMV_DEBUG_SCRIPT="NO" OMV_DEBUG_PHP="NO" OMV_DEBUG_EXTJS="NO"
Code
Alles anzeigen# This file is part of OpenMediaVault. # # @license http://www.gnu.org/licenses/gpl.html GPL Version 3 # @author Volker Theile <volker.theile@openmediavault.org> # @copyright Copyright (c) 2009-2019 Volker Theile # # OpenMediaVault is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # any later version. # # OpenMediaVault is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # 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/>. # Sync runners from salt://_runners to the master. sync_runners: salt.runner: - name: saltutil.sync_runners # Sync execution modules from salt://_modules to the master. sync_modules: salt.runner: - name: saltutil.sync_modules # Create openmediavault pillar data. populate_pillar: salt.runner: - name: omv.populate_pillar run_state_sync: salt.state: - tgt: '*' - tgt_type: compound - sls: omv.sync - failhard: True
-
Sorry for long abstenence some new PCs for friends are more important. I will reinstall Debian and OMV in a correct way step by step, so I can post it here.
@macom
yes the network still works. ping to http://www.google.de, ssh and web GUI. -
I have the same Problem on a
Intel NUC DN2820FYKI installed Debian 10 with netinst nd only SSH and Standard System Tools
Than I used this Guide but with usul of course.
Here I got the error
apt-get install openmediavaultCode
Alles anzeigen+----[SHA256]-----+ Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-beep-up.service → /lib/systemd/system/openmediavault-beep-up.service. Created symlink /etc/systemd/system/reboot.target.wants/openmediavault-beep-down.service → /lib/systemd/system/openmediavault-beep-down.service. Created symlink /etc/systemd/system/halt.target.wants/openmediavault-beep-down.service → /lib/systemd/system/openmediavault-beep-down.service. Created symlink /etc/systemd/system/poweroff.target.wants/openmediavault-beep-down.service → /lib/systemd/system/openmediavault-beep-down.service. Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-cleanup-monit.service → /lib/systemd/system/openmediavault-cleanup-monit.service. Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-cleanup-php.service → /lib/systemd/system/openmediavault-cleanup-php.service. Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-engined.service → /lib/systemd/system/openmediavault-engined.service. Created symlink /etc/systemd/system/getty.target.wants/openmediavault-issue.service → /lib/systemd/system/openmediavault-issue.service. Creating configuration database ... Setting up Salt environment ... [ERROR ] An un-handled exception was caught by salt's global exception handler: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte Traceback (most recent call last): File "/usr/bin/salt-call", line 11, in <module> salt_call() File "/usr/lib/python3/dist-packages/salt/scripts.py", line 431, in salt_call client.run() File "/usr/lib/python3/dist-packages/salt/cli/call.py", line 47, in run caller = salt.cli.caller.Caller.factory(self.config) File "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 80, in factory return ZeroMQCaller(opts, **kwargs) File "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 332, in __init__ super(ZeroMQCaller, self).__init__(opts) File "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 106, in __init__ self.minion = salt.minion.SMinion(opts) File "/usr/lib/python3/dist-packages/salt/minion.py", line 842, in __init__ opts['grains'] = salt.loader.grains(opts) File "/usr/lib/python3/dist-packages/salt/loader.py", line 784, in grains ret = funcs[key]() File "/usr/lib/python3/dist-packages/salt/grains/core.py", line 2086, in os_data grains.update(_hw_data(grains)) File "/usr/lib/python3/dist-packages/salt/grains/core.py", line 2522, in _hw_data grains[key] = salt.utils.stringutils.to_unicode(ifile.read().strip(), errors='replace') File "/usr/lib/python3.7/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte Traceback (most recent call last): File "/usr/bin/salt-call", line 11, in <module> salt_call() File "/usr/lib/python3/dist-packages/salt/scripts.py", line 431, in salt_call client.run() File "/usr/lib/python3/dist-packages/salt/cli/call.py", line 47, in run caller = salt.cli.caller.Caller.factory(self.config) File "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 80, in factory return ZeroMQCaller(opts, **kwargs) File "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 332, in __init__ super(ZeroMQCaller, self).__init__(opts) File "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 106, in __init__ self.minion = salt.minion.SMinion(opts) File "/usr/lib/python3/dist-packages/salt/minion.py", line 842, in __init__ opts['grains'] = salt.loader.grains(opts) File "/usr/lib/python3/dist-packages/salt/loader.py", line 784, in grains ret = funcs[key]() File "/usr/lib/python3/dist-packages/salt/grains/core.py", line 2086, in os_data grains.update(_hw_data(grains)) File "/usr/lib/python3/dist-packages/salt/grains/core.py", line 2522, in _hw_data grains[key] = salt.utils.stringutils.to_unicode(ifile.read().strip(), errors='replace') File "/usr/lib/python3.7/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte dpkg: Fehler beim Bearbeiten des Paketes openmediavault (--configure): »installiertes openmediavault-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück Trigger für libc-bin (2.28-10) werden verarbeitet ... Trigger für rsyslog (8.1901.0-1) werden verarbeitet ... Trigger für systemd (241-7~deb10u2) werden verarbeitet ... Trigger für man-db (2.8.5-2) werden verarbeitet ... Trigger für ca-certificates (20190110) werden verarbeitet ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. done. Trigger für dbus (1.12.16-1) werden verarbeitet ... Trigger für mime-support (3.62) werden verarbeitet ... Trigger für initramfs-tools (0.133+deb10u1) werden verarbeitet ... update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8402-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-3.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169 Trigger für libgdk-pixbuf2.0-0:amd64 (2.38.1+dfsg-1) werden verarbeitet ... Fehler traten auf beim Bearbeiten von: openmediavault E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried also the omv5.iso but there I can install omv run the web gui but cant save changes i made. Also the update after the installation failed with an error(no log here)