Just tested this on my own system and can confirm it does work the mount point and the absolute path are the same!!
Docker not installing in custom folder + empty /config folder after creating containers
-
- OMV 5.x
- gelöst
- ptitdo
-
-
ptitdo Could you please execute the following commands and post the output?
I will try this once the drive is mounted, thanks.
-
just mounted the drive :
Codepi@raspberrypi4:~ $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 2.7T 0 disk └─sda1 8:1 0 2.7T 0 part /srv/dev-disk-uuid-a29c7e85-b031-410d-881f-2aa5c4037011 mmcblk0 179:0 0 28.9G 0 disk ├─mmcblk0p1 179:1 0 256M 0 part /boot └─mmcblk0p2 179:2 0 28.6G 0 part /
Codepi@raspberrypi4:~ $ ls -al /srv total 28 drwxr-xr 7 root root 4096 Jan 30 15:39 . drwxr-xr 23 root root 4096 Nov 3 09:48 .. drwxr-xr 3 root root 4096 Jan 30 15:39 dev-disk-uuid-a29c7e85-b031-410d-881f-2aa5c4037011 drwx--x--x 5 root root 4096 Jan 27 15:45 dev-disk-uuid-cda8d6a5-c751-4121-8c36-04730cf00eaa drwxr-xr 2 ftp nogroup 4096 Nov 3 09:49 ftp drwxr-xr-x 3 root root 4096 Jan 22 15:30 pillar drwxr-xr 5 root root 4096 Jan 22 15:30 salt
Code
Alles anzeigenpi@raspberrypi4:~ $ omv-confdbadm read --prettify conf.system.filesystem.mountpoint Traceback (most recent call last): File "/usr/sbin/omv-confdbadm", line 76, in <module> sys.exit(main()) File "/usr/sbin/omv-confdbadm", line 72, in main return cmd_inst.execute(*sys.argv) File "/usr/share/openmediavault/confdbadm/commands.d/read.py", line 73, in execute objs = db.get(cmd_args.id, cmd_args.uuid) 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 723, in execute elements = self._execute_xpath() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 408, in _execute_xpath root_element = self._get_root_element() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 399, in _get_root_element self._load() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 378, in _load self._root_element = lxml.etree.parse(self._database_file) File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/etc/openmediavault/config.xml': failed to load external entity "/etc/openmediavault/confi g.xml"
Code
Alles anzeigenpi@raspberrypi4:~ $ omv-confdbadm read --prettify conf.system.sharedfolder Traceback (most recent call last): File "/usr/sbin/omv-confdbadm", line 76, in <module> sys.exit(main()) File "/usr/sbin/omv-confdbadm", line 72, in main return cmd_inst.execute(*sys.argv) File "/usr/share/openmediavault/confdbadm/commands.d/read.py", line 73, in execute objs = db.get(cmd_args.id, cmd_args.uuid) 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 723, in execute elements = self._execute_xpath() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 408, in _execute_xpath root_element = self._get_root_element() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 399, in _get_root_element self._load() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 378, in _load self._root_element = lxml.etree.parse(self._database_file) File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/etc/openmediavault/config.xml': failed to load external entity "/etc/openmediavault/config.xml"
Do you see anything particular ?
-
To me it looks like your system is in a bad state because the database /etc/openmediavault/config.xml can not be loaded.
-
Okay, thanks,I guess I will reinstall OMV. Are there any commands that I should use ?
-
I would do a fresh install including test of the SD card
-
I would do a fresh install including test of the SD card
Okay, thanks everyone for your help. Really appreciate it !
I will try to do a fresh install in the coming days, I will keep you posted.
-
macom
Hat das Label OMV 5.x hinzugefügt. -
macom
Hat das Label gelöst hinzugefügt. -
After doing a clean install and following the instructions from this link https://wiki.omv-extras.org/do…talling_omv5_raspberry_pi to the letter (+ format of the SDcard, verification of the PI Lite OS, verification of the SD card), I still have the same output after executing the below commands :
Code$ omv-confdbadm read --prettify conf.system.filesystem.mountpoint $ omv-confdbadm read --prettify conf.system.sharedfolder
I mounted the drive and then created a shared folder before trying the above commands.
Code
Alles anzeigen$ omv-confdbadm read --prettify conf.system.filesystem.mountpoint Traceback (most recent call last): File "/usr/sbin/omv-confdbadm", line 76, in <module> sys.exit(main()) File "/usr/sbin/omv-confdbadm", line 72, in main return cmd_inst.execute(*sys.argv) File "/usr/share/openmediavault/confdbadm/commands.d/read.py", line 73, in execute objs = db.get(cmd_args.id, cmd_args.uuid) 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 723, in execute elements = self._execute_xpath() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 408, in _execute_xpath root_element = self._get_root_element() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 399, in _get_root_element self._load() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 378, in _load self._root_element = lxml.etree.parse(self._database_file) File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/etc/openmediavault/config.xml': failed to load external entity "/etc/openmediavault/config.xml"
Code
Alles anzeigen$ omv-confdbadm read --prettify conf.system.sharedfolder Traceback (most recent call last): File "/usr/sbin/omv-confdbadm", line 76, in <module> sys.exit(main()) File "/usr/sbin/omv-confdbadm", line 72, in main return cmd_inst.execute(*sys.argv) File "/usr/share/openmediavault/confdbadm/commands.d/read.py", line 73, in execute objs = db.get(cmd_args.id, cmd_args.uuid) 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 723, in execute elements = self._execute_xpath() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 408, in _execute_xpath root_element = self._get_root_element() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 399, in _get_root_element self._load() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 378, in _load self._root_element = lxml.etree.parse(self._database_file) File "src/lxml/etree.pyx", line 3435, in lxml.etree.parse File "src/lxml/parser.pxi", line 1840, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1866, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1770, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1163, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 638, in lxml.etree._raiseParseError OSError: Error reading file '/etc/openmediavault/config.xml': failed to load external entity "/etc/openmediavault/config.xml"
I will try to do a second install on another SDcard but I do not have a good feeling.
-
I mounted the drive and then created a shared folder before trying the above commands.
You did press safe and later apply, right?
-
You did press safe and later apply, right?
Yes, I am sure I did press save & hit apply afterwards.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!