System: Debian Wheezy, OKM 6.3.1 (upgraded from 6.3.0)
For backup purposes, I have mounted okm_root read-only to a directory with davfs2 on Debian Wheezy. I am backing up this directory, in my case it is called /var/import/localhost/okm_root.
For some reason, most files in this directory are readable and get backed up while a few are not. I am unable to find out what causes some files to be unreadable. I have double-checked for file corruption, file ownership and access rights and they seem to be ok.
I. e., the taxonomy root contains a folder hierarchy like Ablage/2013/MLS/2013-11-08/
Consequently, it is not backed up - rsync breaks with error "no data (5)".
This is the relevant section from catalina.log:
Wondered if anybody had an idea what's going wrong here?
Edit: loads of typos
For backup purposes, I have mounted okm_root read-only to a directory with davfs2 on Debian Wheezy. I am backing up this directory, in my case it is called /var/import/localhost/okm_root.
For some reason, most files in this directory are readable and get backed up while a few are not. I am unable to find out what causes some files to be unreadable. I have double-checked for file corruption, file ownership and access rights and they seem to be ok.
I. e., the taxonomy root contains a folder hierarchy like Ablage/2013/MLS/2013-11-08/
Code: Select all
All files in this folder are accessible from OKM, I can perform any operation with them. But I am getting errors when accessing them on the filesystem level. Listing them with
# cat /etc/mtab|grep dav
https://localhost/OpenKM/webdav/ /var/import/localhost fuse rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,max_read=16384 0 0
Code: Select all
shows the files with ownership root/root and rights 644, as they are supposed to be.
# ls -l /var/import/localhost/okm_root/Ablage/2013/MLS/2013-11-08
Code: Select all
One file is for some reason not readable, I cannot copy it:
# ls -l /var/import/localhost/okm_root/Ablage/2013/MLS/2013-11-08
insgesamt 1779
-rw-r--r-- 1 root root 337101 Nov 8 2013 2013-11-08_19-16-16.gpx
-rw-r--r-- 1 root root 186293 Nov 26 2013 2013-11-08 Fahrtbericht.pdf
-rw-r--r-- 1 root root 3114 Nov 9 2013 2013-11-08 FB.docx
-rw-r--r-- 1 root root 155763 Nov 9 2013 2013-11-08 FB.pdf
-rw-r--r-- 1 root root 239649 Nov 9 2013 2013-11-09 00 44 48.png
-rw-r--r-- 1 root root 138 Jan 28 2015 5-447921
-rw-r--r-- 1 root root 21502 Jan 28 2015 6-gelandet 20 54
-rw-r--r-- 1 root root 438095 Jan 28 2015 7-Neues Dokument 11 - Scanned by CamScanner
-rw-r--r-- 1 root root 437240 Nov 20 2013 NeuesDokument11.pdf
Code: Select all
(cannot read: input/output error)# cp NeuesDokument11.pdf /temp
cp: „NeuesDokument11.pdf“ kann nicht zum Lesen geöffnet werden: Eingabe-/Ausgabefehler
Consequently, it is not backed up - rsync breaks with error "no data (5)".
This is the relevant section from catalina.log:
Code: Select all
I have a lot of files in the whole root that are unaccessible on the file system level, although they appear to be fine from within OKM. So far, I cannot see an obvious pattern why most of the files are being readable and a few are not.2016-10-31 14:37:29,114 [http-bio-127.0.0.1-8080-exec-308] INFO com.bradmcevoy.http.HttpManager- GET :: http://127.0.0.1:8080/OpenKM/webdav/okm_root/Ablage/2013/MLS/2013-11-08/NeuesDokument11.pdf - http://127.0.0.1:8080/OpenKM/webdav/okm_root/Ablage/2013/MLS/2013-11-08/NeuesDokument11.pdf
Wondered if anybody had an idea what's going wrong here?
Edit: loads of typos