confluence auto save fail
Asked by ???????:

confluence auto save function not working...

\> publish impossible :(

You can check the log but I'm not sure what that means.

confluence version : 6.15.4

```
logo System ErrorA system error has occurred ? our apologies!For immediate troubleshooting, consult our knowledge base for a solution.If you would like to receive support from Atlassian's support team, ask your Confluence administrator to create a support issue on Atlassian's support system with the following information:a description of your problem and what you were doing at the time it occurreda copy of the error and system information found belowa copy of the application logs (if possible).Your Confluence administrator can use the support request form to create a support ticket which will include this information.We will respond as promptly as possible.Thank you!Return to site homepage?Causeorg.springframework.orm.hibernate5.HibernateOptimisticLockingFailureException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1    at org.springframework.orm.hibernate5.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:283)caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1    at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:67)Stack Trace:[hide]org.springframework.orm.hibernate5.HibernateOptimisticLockingFailureException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1           at org.springframework.orm.hibernate5.Sorg.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:586)           at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:460)           at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)           at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50)           at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1389)           at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1474)           at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1441)           at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1410)           at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.lambda$findNamedQueryStringParams$6(HibernateObjectDao.java:548)           at org.springframework.orm.hibernate5.HibernateTemplate.doExecute(HibernateTemplate.java:361)           ... 424 more
```


Answers:
author: Kiran Panduga {Appfire}
body: Hi [@???????](/t5/user/viewprofilepage/user-id/3905932) ,

Few things, I would suggest to check for -

* Check whether the database used by Confluence is supported ?
* Is Collaborative Editing enabled? Try disabling it and validate whether the auto save(draft) pages work?
* Enable the Collaborative Editing and check again?
* Check on other pages/spaces ?

Thanks,

Kiran.

comments: author: ???????
body: thanks for you answer!!

check Collaborative Editing and i see message that something went wrong.

so, Collaborative Editing function is set to be suspended and reused.


Tags: cloud