• Document partial lost. Bug?

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #8422  by kazevil
 
Hi all :D
We are currently using OpenKM 4.1 (with File System storage) and facing since few days a strange issue.

While trying to open some documents, my users get the following error:
Code: OKM-004001
Message: Error opening input stream of /opt/OpenKM-4.1_JBoss-4.2.3.GA/repository/repository/datastore/c6/d2/ff/c6d2ff6f6b2321909ed734b757175fc4fe348f5b: /opt/OpenKM-4.1_JBoss-4.2.3.GA/repository/repository/datastore/c6/d2/ff/c6d2ff6f6b2321909ed734b757175fc4fe348f5b (No such file or directory)
This is even for the document user. However is I log in as okmAdmin, I can still open it. Better I can make a check out / check in of the document and then is solve the issue.

Did anybody already faced this kind of issue? Is it a bug?

Thanks for your help

Cheers

Kaz :mrgreen:
 #8427  by pavila
 
Are you sure the file /opt/OpenKM-4.1_JBoss-4.2.3.GA/repository/repository/datastore/c6/d2/ff/c6d2ff6f6b2321909ed734b757175fc4fe348f5b exists ? Maybe your filesystem was corrupted because harddisk failure or uncontrolled system power off.
 #8492  by kazevil
 
Hi pavila,

sorry for my late answer, but I had to wait to face this issue again.

SO here is detailled status.

I got again the following error while trying to download a file (even with the okmAdmin account)
Application error
Code: OKM-004001
Message: Error opening input stream of /opt/OpenKM-4.1_JBoss-4.2.3.GA/repository/repository/datastore/5d/9c/75/5d9c750675465d29b543c4c999e4a82abd274cc2: /opt/OpenKM-4.1_JBoss-4.2.3.GA/repository/repository/datastore/5d/9c/75/5d9c750675465d29b543c4c999e4a82abd274cc2 (No such file or directory)
Date: Sun Jan 30 15:11:45 CET 2011
Looking on the file system, I don't find a folder 9c under /opt/OpenKM-4.1_JBoss-4.2.3.GA/repository/repository/datastore/5d/
Code: Select all
[dbiapp@vmprodapp1 5d]$ pwd
/opt/OpenKM-4.1_JBoss-4.2.3.GA/repository/repository/datastore/5d
[dbiapp@vmprodapp1 5d]$ ls
09  77  c3  df  e9
if I try a search on the file name, I haven't any result:

[dbiapp@vmprodapp1 repository]$ pwd
/opt/OpenKM-4.1_JBoss-4.2.3.GA/repository/repository
[dbiapp@vmprodapp1 repository]$ find . -name "5d9c750675465d29b543c4c999e4a82abd274cc2"

So it looks like the file has really been lost!!

I made a FIle System check on my repository File System and everything looks fine:
Code: Select all
[root@vmprodapp1 ~]# fsck.ext3 /dev/vgapp/lvapp 
e2fsck 1.39 (29-May-2006)
/dev/vgapp/lvapp: clean, 2807/21708800 files, 926022/43386880 blocks
Any idea? This is becoming quite critical for us :shock:

Thanks

Kaz :mrgreen:
 #8512  by pavila
 
If this file lost was due to a uncontrolled system power off, checking the filesystem does not give any info. Maybe the file had a problem and the orphan i-nodes were deleted. I can't say more without a depth server analysis. If you make an important use of OpenKM I recommend you to contact us (http://www.openkm.com/Contact/) for professional support. We make the installation, certify it and make sure all is working fine.
 #13950  by dsc68
 
I have the same issue. We have lost access to a significant number of documents in our repository. We are currently running 5.1.9 and have recently upgraded from 5.1.8-2

On investigation it appears that the UUIDs in the database no longer match the UUIDs that were used to save the file in the repository.

For example, a file in the repository with the UUID of 7ee551f33460cbcc898fe91e41176b33b735119b has a UUID in the database of 21367a7b-3bf9-4c63-8ab9-1b607dbfeb59
 #13961  by pavila
 
We have no detected this kind of issues in our installations. This kind of missing files is typical of a filesystem corruption due to a hardware failure or a abrupt server shutdown due to power failure.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.