Alfresco is throwing some errors about `dir.root`, please help!

cancel
Showing results for 
Search instead for 
Did you mean: 
fabrice7
Partner

Alfresco is throwing some errors about `dir.root`, please help!

Jump to solution

Hello,

Alfresco is throwing some errors:

2020-08-21 16:35:34,952  ERROR [repo.admin.ConfigurationChecker] [localhost-startStop-1] CONTENT INTEGRITY ERROR: System content not found in content store: 'store://2020/8/20/7/20/97cb49fb-b548-4f42-9216-678c79fa544f.bin'
2020-08-21 16:35:34,952  ERROR [repo.admin.ConfigurationChecker] [localhost-startStop-1] Ensure that the 'dir.root' property './alf_data' is pointing to the correct data location.

I want to use the default data location: /usr/local/tomcat/alf_data

Should I add a `-Ddir.root=/usr/local/tomcat/alf_data` to `JAVA_OPTS`?

I am using Alfresco Repository CE 6.3.0; it is running inside ECS and I am building my own Docker images based off this one:

https://hub.docker.com/r/alfresco/alfresco-content-repository-community

The JAVA_OPTS look like this:

                -Ddb.driver=org.mariadb.jdbc.Driver
                -Dindex.subsystem.name=noindex
                -Dalfresco.host=acs-repository.${Project}.lan
                -Dalfresco.port=443
                -Dalfresco.protocol=https
                -Daos.baseUrlOverwrite=https://acs-repository.${Project}.lan:443/alfresco/aos
                -Dmessaging.broker.connections.max=8
                -Dmessaging.broker.url="failover:(${Amazonmq.Outputs.OpenwireEndpoints})"
                -Dcsrf.filter.enabled=false
                -Djodconverter.enabled=false
                -Djodconverter.officeHome=null
                -Xms3500m
                -Xmx3500m
                -Dlocal.transform.service.enabled=false
                -Dtransform.service.enabled=false
                -Dlegacy.transform.service.enabled=false
                -DsyncService.mode=OFF
                -Dsync.mode=OFF
                -Dsync.pullJob.enabled=false
                -Dsync.pushJob.enabled=false
                -Dsystem.usages.enabled=false
                -Dsystem.usages.clearBatchSize=0
                -Dactivities.feed.notifier.enabled=false
                -Dactivities.feed.cleaner.enabled=false
                -Dactivities.post.cleaner.enabled=false
                -Dactivities.feed.generator.enabled=false
                -Dactivities.post.lookup.enabled=false
                -Dreplication.enabled=false
                -Dtransferservice.receiver.enabled=false
                -Dsystem.thumbnail.generate=false

Thanks a lot for any help!

1 Solution

Accepted Solutions
fabrice7
Partner

Re: Alfresco is throwing some errors about `dir.root`, please help!

Jump to solution

Hi @kaynezhang ,

I think for some reason the content of `alf_data` and the DB went out of sync. I deleted all the tables in the DB and now I can't see the error anymore.

Thank you anyway for your help!

View solution in original post

4 Replies
EddieMay
Alfresco Employee

Re: Alfresco is throwing some errors about `dir.root`, please help!

Jump to solution

Hi @fabrice7 

Don't you normally put this in alfresco-global.properties?

HTH,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
fabrice7
Partner

Re: Alfresco is throwing some errors about `dir.root`, please help!

Jump to solution

Hi @EddieMay ,

I am very new to Alfrsco... I would need a bit of hand holding...

Also, I didn't mention it because I didn't think it was relevant, but I am mounting an EFS volume on /usr/local/tomcat/alf_data

Cheers,

  Fabrice

kaynezhang
Advanced

Re: Alfresco is throwing some errors about `dir.root`, please help!

Jump to solution

First you should configure dir.root in alfresco-global.properties,for example

dir.root=/usr/local/tomcat/alf_data


Second ,you should define volume mapping in your docker-compose.yml

volumes:
- /**/***/alfresco/data:/usr/local/tomcat/alf_data
fabrice7
Partner

Re: Alfresco is throwing some errors about `dir.root`, please help!

Jump to solution

Hi @kaynezhang ,

I think for some reason the content of `alf_data` and the DB went out of sync. I deleted all the tables in the DB and now I can't see the error anymore.

Thank you anyway for your help!