Hi David,

thx for reply. Yes all files belong to the correct user now. However, the repository is damaged, I would say, probably only website.

I hoped that there was be a way to identify the corrupt node and then manually delete the corresponding directory branch in the repository?

Is this possible?

Cheers, Chris


David Smith schrieb:
I'm not sure if it's too late for this fix, but have you thought about resetting the ownership on all the files in the repository directory? Seems to me files were created in the repository during it's time as root. Those files have to have their ownership reset to the tomcat user to be accessible.

Since you've been working with it after the event, the repository might have been permanently damaged. If resetting the ownership of repository files doesn't work I would recommend using the export tool to backup the repository as it is (all 4 repositories -- website, config, users, userroles). Then replace the default bootstrap files with your export files, clear out the repository and let magnolia bootstrap again from your backup.

--David

Christoph Breidert wrote:
Hi folks,

I have had my magnolia running successfully for almost 2 years (version 2.1).

Stupidly I corrupted one node. Accidently tomcat was started as root and I modified some node. When I saw that the process was running as root, I restarted tomcat with the apropriate user. When I further modified the same node, it was only partly published, or some of the contents in the repository was not deleted properly. However, now the node is broken, and I cannot get rid of it.

I tried, deactivating + deleting from the authoring instnance. No success, now the node is even dissapeared in the authoring instance but still in the public instance.

Then I tried deleting the node directly on the public instance. Also no success, I get some javax.jcr.ItemNotFoundException that something is missing.

So now I do not know how to get rid of the sucker. Has anyone had a similar problem? Is it possible to delete the node manually in the repository?

Help or good ideas are highly appreciated.

Cheers, Christoph



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to