Hi Adam,
Thanks for your response. I had actually already tried the solution from the documentation you mentioned, and I also tried the Version Cleaner module — unfortunately, neither worked for me.
Here’s the context: Magnolia 6.2, with /server/version@active = true and /server/version@maxVersionIndex = 10. When I try to publish a page via the Pages app, I get the following error in the Docker log:
When I set /server/version@active = false, the error naturally disappears. I suspect this is due to an incorrect initial configuration of File Storage in our setup, and that we might have some inconsistencies in the JCR.
I believe the best solution would be to completely remove the version history — but I’m not sure how to safely do that.
Hi Paul,
Based on your description, it seems likely that there's a misconfiguration in your storage setup. Not sure if deleting the versions might address the root cause of the problem. To remove versions, you can use the BaseVersionManager directly, there is removeVersionHistory(Node node) method, which can be called from a Groovy script, for example. Maybe you can try to temporarily raise the max version limit.
For further investigation, it would be helpful to have the full stack trace of the error. That would give us better insight into what’s happening in your specific use case.
Best regards,
Adam