You did press safe and later apply, right?
Yes, I am sure I did press save & hit apply afterwards.
You did press safe and later apply, right?
Yes, I am sure I did press save & hit apply afterwards.
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 :
$ 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.
$ 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"
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"
Alles anzeigen
I will try to do a second install on another SDcard but I do not have a good feeling.
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.
Okay, thanks,I guess I will reinstall OMV. Are there any commands that I should use ?
just mounted the drive :
pi@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 /
pi@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
pi@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"
Alles anzeigen
pi@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"
Alles anzeigen
Do you see anything particular ?
ptitdo Could you please execute the following commands and post the output?
I will try this once the drive is mounted, thanks.
Yes. It shows, that it is not a mount point, but a normal directory,
Thanks ! I will mount the disk then. (Should take a while)
I have unmounted the drive (but still not mounted), I have the following :
pi@raspberrypi4:~ $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 2.7T 0 disk
mmcblk0 179:0 0 28.9G 0 disk
├─mmcblk0p1 179:1 0 256M 0 part /boot
└─mmcblk0p2 179:2 0 28.6G 0 part /
pi@raspberrypi4:~ $ ls -al /srv
total 24
drwxr-xr 6 root root 4096 Jan 30 15:06 .
drwxr-xr 23 root root 4096 Nov 3 09:48 ..
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
dev-disk-uuid-cda8d6a5-c751-4121-8c36-04730cf00eaa is still shown, is it normal ?
Alles anzeigenWhat you see is not on your drive, but on your SD card
In the CLI change directory in one of the folders (with "cd") and type
df . note the dot at the end.
It will show you the actual mount point of the folder.
Indeed, it is located on the boot drive (SD card).
I will try to unmount the drive then.
macom thanks for the tips ! To be honest I did this (removed the shared folders + unmount the drive and format it) but I will try again. Maybe it will work this time
Ok, I could logged as root in remotely to my PI4.
Annnnnnnd, it is here :
And my /data & /config folders...
But this is weird, the abolute path of the drive is the same as the shared folder, so why am I seeing empty folders through Samba shares ?
with lsblk :
and with ls -al /srv :
Both are unchanged (file systems and shared folders).
Might have found a way to log in remotely as root, will check this in some minutes and will let you know.
The folder with the "by" is the mountpoint of your drive. This is where you want to put the docker base path etc.
The other folder w/o the "by" has been created because you used the wrong path in the docker-compose file and when installing docker.
Well, should be like this, but does not match with the screenshot in the first (?) post where the mountpoint is shown. Maybe som thing messed up on your system sowmhow?
Well, you might be right, oddly, in file systems I havet this :
with the "by"
But the absolute path of my shared folder are without the "by"
Thanks geaves , it was already activated by default, I will check how to log as root.
did you enter root as the user
Do you know how to login as root user ?
As I am on a PI4, through the terminal I need to use "sudo su", but with WinSCP, I have no idea.
macom I noticed this also, I do not know why there is this second folder with the "by"
Thanks, I installed it, looks like FileZilla which I was using also to "navigate" to my server.
I can access to the first folder, but I can't access to the second one (Permission denied).
Main PC on Windows.
I shared it through SMB/CIFS but only to check if it was correctly installed (I am new to linux so did not know any other way to check). I deleted the share after checked it out.
Thanks, I tried both ways :
Got an error in the log while installing but it did install at the end :
Errors were encountered while processing:
docker-ce
Failed to install docker.
Try fixing install...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up docker-ce (5:20.10.2~3-0~debian-buster) ...
Successfully fixed docker install.
Installing local docker-compose 1.28.0...
Done.
Alles anzeigen
However, the issue persists, my /containers folder remains empty.
When you changed the path in the GUI for docker, did you hit save then install docker.
iirc I did it, but I can still uninstall docker and reinstall it