Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File activity and version not updated #57

Closed
enboig opened this issue May 31, 2017 · 10 comments
Closed

File activity and version not updated #57

enboig opened this issue May 31, 2017 · 10 comments

Comments

@enboig
Copy link

enboig commented May 31, 2017

I created a docker image, it worked but it wasn't saving "versions" nor updating last edit time after editing the file. I have tried changing docker params (following #55) without luck. I create the container using:

docker run --name onlof5 -i -t -d -p 8443:443 -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data onlyoffice/documentserver

I have my certs in /app/onlyoffice/DocumentServer/data/certs

@enboig
Copy link
Author

enboig commented May 31, 2017

Ok, more info about my test:

  1. I created a docx file.
  2. I edit the file.
  3. I share it with another user
  4. Second user edit the document using onlyoffice online

What happens:

  • File is edited
  • File editing time is updatee
  • File is synchronized by owner client
  • No new version of file is created
  • No activity is recorded

Expected:

  • File activity changes recorded
  • New version of file saved

@enboig enboig changed the title Cannot connect to docker image File activity and version not updated May 31, 2017
@agolybev
Copy link
Contributor

Hello, @enboig
Where are you open the documents? Is this NextCloud or ONLYOFFICE Community server?

@enboig
Copy link
Author

enboig commented May 31, 2017

They are in nextcloud; I create them in the web

@enboig
Copy link
Author

enboig commented May 31, 2017

I tested with an unshared document and activity isn't recorded; just the first edit is recorded. Could there be a limit at how many changes are recorder for a short time (I tried logging out and in and activity isn't recorded)?
I edited an old file (2 days...) and the activity is recorded. I will wait some time to make further changes at files to see if they are recorded.

@agolybev
Copy link
Contributor

There are no limits to changes count in document per time. But you get reminder when you close page If your changes have not been sent to the documentserver.
I think the error happened when documentserver send the edited document to the NextCloud server.
Could you provide document server logs so that I can check it?
It's located in /var/log/onlyoffice/documentserver/docservice directory inside the documentserver container.
You can map that folder with -v option on container run or copy it to host filesystem with docker cp command.

@enboig
Copy link
Author

enboig commented Jun 1, 2017

I enter the docker machine after editing a file and the log is:

root@b4bb48c1b99b:/var/log/onlyoffice/documentserver/docservice# cat out.log 
[2017-06-01 13:28:45.820] [WARN] nodeJS - update cluster with 1 workers
[2017-06-01 13:28:45.838] [WARN] nodeJS - worker 470 started.
[2017-06-01 13:28:45.841] [WARN] nodeJS - update cluster with 1 workers
[2017-06-01 13:28:46.316] [WARN] nodeJS - Express server starting...
[2017-06-01 13:28:48.003] [WARN] nodeJS - Express server listening on port 8000 in production-linux mode

No new logs after opening editor and modifying a file.
When editing a file owned by my user, on "top right" there is a link named "Go to Documents"; if the file is shared by another user, this link is missing, jo I have to close tab of click to "files app" from nextcloud to exit onlyoffice (don't know if this is related).

"But" if I comment a file (which add a new activity) I own, "change activity" is recorded.
So I think there are two problems:

  1. fast editing just records the first activity change.
  2. editing shared with me files don't record activity changes

@enboig
Copy link
Author

enboig commented Jun 1, 2017

I checked creating a shared txt file between two users, and activity changes are recorded when editing file (user1, user2, user1, user2....); so it don't appear to be a nextcloud problem. (editing twice with same user only creates one activity)

@ibnpetr
Copy link
Contributor

ibnpetr commented Jun 5, 2017

Expected:
File activity changes recorded
New version of file saved

Thanks a lot for the detailed description, current version doesn't track the activities/version made by other users. We will do our best to add this option in the next version of the ownCloud/Nextcloud ONLYOFFICE integration app.

@enboig
Copy link
Author

enboig commented Jun 5, 2017

Can I help you in any way to accelerate this feature?

@JohnPerkin
Copy link

The issue is already opened in onlyoffice-owncloud repository ONLYOFFICE/onlyoffice-owncloud#27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants