cancel
Showing results for 
Search instead for 
Did you mean: 

Ensure that the 'dir.root' property is pointing to the correct data location.

rguduri
Champ in-the-making
Champ in-the-making

After restarting the server where alfresco application got installed it stopped functioning. Ensured everything is fine with the tomcat and postgres but the issue didn't resolve, throwing CONTENT INTEGRITY ERROR. Attached the log file for the same. Version am using is 4.2.c. This application has been functioning from last couple of years without any problem and restarted the server where this application deployed several times in past also, but used to function without any issue. I did back up very long time ago, so I have to loose much of data if I go back and replace with my last backup.

From the community got to know that this integrity error occurs when there is inconsistency between databse and alf_data content, but am sure that except restarting the server did nothing. And  also followed the suggestion of similar instances i.e, changing the property index.recovery.mode to all modes i.e., FULL, AUTO, NONE but no resolution. Please suggest where to look for ?

1 ACCEPTED ANSWER

mehe
Elite Collaborator
Elite Collaborator

Have you looked into /opt/alfresco-4.2.c/alf_data/contentstore ?

There should be some "Year" directories, beginning with the year of your installation until now.

If you have directories and files in there, you can check the consistency by comparing the content Urls in the DB table alf_content_url with the files in your content store.

If your are lucky, the missing files are in your old content store backup - most likely the system files are - and you can migrate (copy) the old and new contenstore.

View answer in original post

13 REPLIES 13

mehe
Elite Collaborator
Elite Collaborator

Have you looked into /opt/alfresco-4.2.c/alf_data/contentstore ?

There should be some "Year" directories, beginning with the year of your installation until now.

If you have directories and files in there, you can check the consistency by comparing the content Urls in the DB table alf_content_url with the files in your content store.

If your are lucky, the missing files are in your old content store backup - most likely the system files are - and you can migrate (copy) the old and new contenstore.

rguduri
Champ in-the-making
Champ in-the-making

Cheers Martin, awesome. Gone through with the entries in database and found one of the year missing from alf_data. After putting everything in place, working like charm. Thanks again.

mehe
Elite Collaborator
Elite Collaborator

I had a working-session with ‌ last week, which improved my understanding of the content store/db organization, so thanks to him Smiley Happy

cesarista
World-Class Innovator
World-Class Innovator

Some situations related with this problem may be:

- The mounted point for alf_data or contentstore was lost.

- alf_data directory was moved incorrectly.

- A backup was recovered incorrectly.

- A non coordinated backup was recovered.

- Permissions under alf_data/contentstore changed (not completelty sure..)

Regards.

--C.

harshadar
Champ in-the-making
Champ in-the-making

I lost my mounting location 

Now I am trying to mount to another location

But server is not getting up

cristinamr
World-Class Innovator
World-Class Innovator

Please @harshadar be more specific: describe your steps, attach logs, etc... So we can help you better.

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc

harshadar
Champ in-the-making
Champ in-the-making

My mounting point was lost so now trying to point to other location by making change in property file but getting the same error and server is not getting up Can you please give me some insights

@harshadar as @cristinamr requested, please provide specifics when asking queries so forum can respond. Please provide what mount point was used, what was the property and its path, how did you loose the mount point, what new property you are adding with error logs etc.

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

rocklee44
Champ in-the-making
Champ in-the-making

Hello guys,

I have similar issue , this is my Alfresco ECM production environment :

OS : Centos 6.4

Alfresco community 5.0.b (installed all in one step - alfresco-community-5.0.b-installer-linux-x64.bin) at /opt/alfresco-5.0.b

Database : mysql-server-5.1.73-8.el6_8.x86_64

/opt/alfresco-5.0.b/tomcat/shared/classes/alfresco-global.properties

dir.root=/opt/alfresco-5.0.b/alf_data
dir.contentstore=/opt/contentstore

The production is running normally.
Backup steps :

- mysqldump database "alfresco"

- backup all directories /opt/alfresco-5.0.b and /opt/contentstore .

I tried to clone my ECM by copying "/opt/alfresco-5.0.b" and mysql db (not include "/opt/contentstore" because it is too big) to another server.

I just want to check if my backup can be restored (losing contentstore data is acceptable).

But my clone ECM doesn't work, I cannot login to ECM after starting and error log has:

Jan 05, 2018 8:44:19 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextLoaderListener
org.alfresco.error.AlfrescoRuntimeException: 00050001 Ensure that the 'dir.root' property is pointing to the correct data location

2018-01-05 08:44:29,902  ERROR [solr.tracker.AbstractTracker] [SolrTrackerScheduler_Worker-2] Tracking failed
 org.alfresco.error.AlfrescoRuntimeException: 00050001 GetModelsDiff return status is 404

I followed this article : Performing a full reindex with Solr | Alfresco Documentation to rebuild solr4 index but it still not work.
Can anyone give me some advices, thank you very much.