I have installed OpenKM 6.2.3 (Community Edition) on my local Linux server.
I have set up user "discta" (role CEO) to perform document management using LibreOffice on a Ubuntu client.
I have mounted the WebDAV drive localy:
When I view the files and folders in ~/okmdav, they are all user root:root with only read access to others
I can view the files and folders using Nautilus and bash
To get write access to the folders and files I change owner from root to user:
0. I can set up new documents in ~/okmdav and edit them as usual in LibreOffice. The file names all show up in OpenKM web client (Firefox 20.0)
1. I can generate different versions of a document, using the "version function" of LibreOffice and I can work with LibreOffice versions as usual: I can select the version (1, 2, 3,... , current) which I want to open. But in OpenKM web client, there is not history mentioned.
2a. After I have viewed a file using the webclient of OpenKM I only see the initial version, but not the current version or any other versions.
2b. After I have viewed a file using the webclient of OpenKM, everytime the owner changes from discta:discta to root:root. This makes it impossible to continue working in the same document in LibreOffice (no write access anymore). When I change back the user to discta:discta, the modified versions are lost, only the initial version is left.
In 1. I open the files via path ~/okmdav/
3. I also can open/save a document using the path http://192.168.1.25:8080/OpenKM/webdav directly in LibreOffice. Again the file names all show up in OpenKM web client (Firefox 20.0)
But everytime I just save the document, it generates an new version in OpenKM. So 5 times saving -> version 1.0 bot 1.5 in OpenKM.
Comment in OpenKM says: "Modified from WebDAV"
When I open this document path http://192.168.1.25:8080/OpenKM/webdav directly in LibreOffice, I can not select any other version than "current". But the "current version" is the current(latest) version.
3b. When I generate a "version" in LibreOffice, it is the same like normal saving (new minor version, same comment, only "current" version available to open)
4. After I have viewed a version in OpenKM webclient the owner in bash changed back to root but editing like 3. is still possible:
- What do I have to do, to work "the right way" with documents on my local machine using LibreOffice AND webDAV of OpenKM?
- Is it possible to control the change of version (when it occurs, minor/major version, comment) when editing a document?
Thanks for your support and kind regards
Discta
I have set up user "discta" (role CEO) to perform document management using LibreOffice on a Ubuntu client.
I have mounted the WebDAV drive localy:
Code: Select all
On my local client, I use the same user as I have set up on the server.sudo mount.davfs "http://192.168.1.25:8080/OpenKM/webdav" ~/okmdavWhen I view the files and folders in ~/okmdav, they are all user root:root with only read access to others
I can view the files and folders using Nautilus and bash
To get write access to the folders and files I change owner from root to user:
Code: Select all
When I work on files with LibreOffice I experience some unclear behaviour with the versioning and file ownershipsudo chown -R discta:discta okmdav/0. I can set up new documents in ~/okmdav and edit them as usual in LibreOffice. The file names all show up in OpenKM web client (Firefox 20.0)
1. I can generate different versions of a document, using the "version function" of LibreOffice and I can work with LibreOffice versions as usual: I can select the version (1, 2, 3,... , current) which I want to open. But in OpenKM web client, there is not history mentioned.
2a. After I have viewed a file using the webclient of OpenKM I only see the initial version, but not the current version or any other versions.
2b. After I have viewed a file using the webclient of OpenKM, everytime the owner changes from discta:discta to root:root. This makes it impossible to continue working in the same document in LibreOffice (no write access anymore). When I change back the user to discta:discta, the modified versions are lost, only the initial version is left.
In 1. I open the files via path ~/okmdav/
3. I also can open/save a document using the path http://192.168.1.25:8080/OpenKM/webdav directly in LibreOffice. Again the file names all show up in OpenKM web client (Firefox 20.0)
But everytime I just save the document, it generates an new version in OpenKM. So 5 times saving -> version 1.0 bot 1.5 in OpenKM.
Comment in OpenKM says: "Modified from WebDAV"
When I open this document path http://192.168.1.25:8080/OpenKM/webdav directly in LibreOffice, I can not select any other version than "current". But the "current version" is the current(latest) version.
3b. When I generate a "version" in LibreOffice, it is the same like normal saving (new minor version, same comment, only "current" version available to open)
4. After I have viewed a version in OpenKM webclient the owner in bash changed back to root but editing like 3. is still possible:
Code: Select all
Now my questions:-rw-rw-r-- 1 discta:discta 11883 Apr 21 10:27 document_01_B.odt
-rw-r--r-- 1 discta:discta 9687 Apr 21 10:32 document_01_C.odt
-rw-r--r-- 1 root root 15191 Apr 21 12:20 document_01_D.odt <- this one just modified
- What do I have to do, to work "the right way" with documents on my local machine using LibreOffice AND webDAV of OpenKM?
- Is it possible to control the change of version (when it occurs, minor/major version, comment) when editing a document?
Thanks for your support and kind regards
Discta
