can't login in Alfresco when Deployed using Docker Compose (the release tag 3.0.0)

cancel
Showing results for 
Search instead for 
Did you mean: 
jpbuttet
Active Member II

can't login in Alfresco when Deployed using Docker Compose (the release tag 3.0.0)

Jump to solution

Dear Alfresco users,

 

When deployed according https://docs.alfresco.com/community/tasks/deploy-docker-compose.html

share login isn't possible with release tag 3.0.0( http://localhost:8080/share) .. see logs.

I've checked that all container run.

Surprisingly, with the same hardware, share login is okay with release tag 2.2.0

Any idea ?

 

Thanks

Jean-Pierre Buttet

 

Logs when tag 3.0.0 is deployed:

libreoffice_1 | 2019-11-18 09:26:02.636 INFO 1 --- [ main] org.alfresco.transformer.Application : Starting application components... Done
share_1 | 18-Nov-2019 09:26:06.984 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
solr6_1 | 2019-11-18 09:26:08.385 WARN (Thread-12) [ x:alfresco] o.a.s.c.Config XML parse warning in "solrres:/solrconfig.xml", line 1919, column 88: Include operation failed, reverting to fallback. Resource error reading file as XML (href='solrconfig_insight.xml'). Reason: Can't find resource 'solrconfig_insight.xml' in classpath or '/opt/alfresco-search-services/solrhome/alfresco'
solr6_1 | 2019-11-18 09:26:09.238 WARN (Thread-12) [ x:alfresco] o.a.s.c.SolrResourceLoader Solr loaded a deprecated plugin/analysis class [org.apache.solr.analysis.WordDelimiterFilterFactory]. Please consult documentation how to replace it accordingly.
solr6_1 | 2019-11-18 09:26:09.251 WARN (Thread-12) [ x:alfresco] o.a.s.c.SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.SynonymFilterFactory]. Please consult documentation how to replace it accordingly.
solr6_1 | 2019-11-18 09:26:10.929 WARN (Thread-12) [ x:alfresco] o.a.s.h.c.AlfrescoSolrClusteringComponent No default engine for document clustering.
solr6_1 | 2019-11-18 09:26:11.135 WARN (Thread-12) [ x:alfresco] o.a.s.c.Config XML parse warning in "solrres:/solrconfig.xml", line 1919, column 88: Include operation failed, reverting to fallback. Resource error reading file as XML (href='solrconfig_insight.xml'). Reason: Can't find resource 'solrconfig_insight.xml' in classpath or '/opt/alfresco-search-services/solrhome/archive'
solr6_1 | 2019-11-18 09:26:11.748 WARN (searcherExecutor-7-thread-1-processing-x:alfresco) [ x:alfresco] o.a.s.c.SolrContentStore /opt/alfresco-search-services/contentstore will be used as a default path if solr.content.dir property is not defined
solr6_1 | 2019-11-18 09:26:11.809 WARN (Thread-12) [ x:alfresco] o.a.s.h.c.AlfrescoSolrClusteringComponent No default engine for document clustering.
solr6_1 | 2019-11-18 09:26:11.840 WARN (searcherExecutor-21-thread-1-processing-x:alfresco) [ x:alfresco] o.a.s.c.SolrContentStore /opt/alfresco-search-services/contentstore will be used as a default path if solr.content.dir property is not defined
solr6_1 | 2019-11-18 09:26:12.018 ERROR (searcherExecutor-7-thread-1-processing-x:alfresco) [ x:alfresco] o.a.s.t.AbstractTracker Model tracking failed for core: alfresco
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10180000 alfresco GetModelsDiff return status is 404
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1194)
solr6_1 | at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:291)
solr6_1 | at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:249)
solr6_1 | at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTracker.java:271)
solr6_1 | at org.alfresco.solr.lifecycle.SolrCoreLoadRegistration.registerForCore(SolrCoreLoadRegistration.java:107)
solr6_1 | at org.alfresco.solr.lifecycle.SolrCoreLoadListener.newSearcher(SolrCoreLoadListener.java:44)
solr6_1 | at org.apache.solr.core.SolrCore.lambda$getSearcher$15(SolrCore.java:2249)
solr6_1 | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
solr6_1 | at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
solr6_1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
solr6_1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
solr6_1 | at java.base/java.lang.Thread.run(Thread.java:834)
share_1 | 2019-11-18 09:26:16,987 INFO [config.packaging.ModulePackageManager] [localhost-startStop-1] Found 1 module package(s)
share_1 | 2019-11-18 09:26:16,989 INFO [config.packaging.ModulePackageManager] [localhost-startStop-1] Alfresco / Google Docs Share Module, 3.1.0, The Share side artifacts of the Alfresco / Google Docs Integration.
share_1 |
share_1 | 2019-11-18 09:26:18,273 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
share_1 | 2019-11-18 09:26:18,283 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
share_1 | 2019-11-18 09:26:18,284 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
share_1 | 2019-11-18 09:26:18,285 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
solr6_1 | 2019-11-18 09:26:20.076 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@faa3fed_Worker-1) [ ] o.a.s.t.AbstractTracker Tracking failed for ModelTracker - alfresco
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10180001 alfresco GetModelsDiff return status is 404
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1194)
solr6_1 | at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:291)
solr6_1 | at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:249)
solr6_1 | at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:209)
solr6_1 | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1 | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1 | 2019-11-18 09:26:20.087 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@faa3fed_Worker-2) [ ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - alfresco
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10180003 api/solr/aclchangesets return status:404
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:326)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:303)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1 | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1 | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1 | 2019-11-18 09:26:20.087 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@faa3fed_Worker-3) [ ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - archive
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10180002 api/solr/aclchangesets return status:404
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:326)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:303)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1 | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1 | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
share_1 | 2019-11-18 09:26:27,020 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 393 Web Scripts (+0 failed), 411 URLs
share_1 | 2019-11-18 09:26:27,030 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 8 Package Description Documents (+0 failed)
share_1 | 2019-11-18 09:26:27,031 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed)
share_1 | 2019-11-18 09:26:27,196 INFO [extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Surf Container Web Script Container (in 8902.757ms)
share_1 | 2019-11-18 09:26:27,323 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
share_1 | 2019-11-18 09:26:27,325 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
share_1 | 18-Nov-2019 09:26:28.273 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/share] has finished in [40,415] ms
share_1 | 18-Nov-2019 09:26:28.280 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
share_1 | 18-Nov-2019 09:26:28.295 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
share_1 | 18-Nov-2019 09:26:28.300 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 40817 ms
solr6_1 | 2019-11-18 09:26:30.018 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@faa3fed_Worker-13) [ ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - archive
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10180005 api/solr/aclchangesets return status:404
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.getSomeAclChangeSets(AclTracker.java:427)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.trackAclChangeSets(AclTracker.java:655)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:307)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1 | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1 | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1 | 2019-11-18 09:26:30.018 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@faa3fed_Worker-12) [ ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - alfresco
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10180004 api/solr/aclchangesets return status:404
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.getSomeAclChangeSets(AclTracker.java:427)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.trackAclChangeSets(AclTracker.java:655)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:307)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1 | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1 | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1 | 2019-11-18 09:26:30.045 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@faa3fed_Worker-22) [ ] o.a.s.t.AbstractTracker Tracking failed for ModelTracker - alfresco
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10180006 alfresco GetModelsDiff return status is 404
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1194)
solr6_1 | at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:291)
solr6_1 | at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:249)
solr6_1 | at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:209)
solr6_1 | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1 | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1 | 2019-11-18 09:26:40.012 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@faa3fed_Worker-24) [ ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - archive
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10180007 api/solr/aclchangesets return status:404
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:326)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:303)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1 | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1 | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1 | 2019-11-18 09:26:40.013 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@faa3fed_Worker-23) [ ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - alfresco
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10180008 api/solr/aclchangesets return status:404
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:326)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:303)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1 | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1 | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1 | 2019-11-18 09:26:40.031 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@faa3fed_Worker-33) [ ] o.a.s.t.AbstractTracker Tracking failed for ModelTracker - alfresco
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10180009 alfresco GetModelsDiff return status is 404
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1194)
solr6_1 | at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:291)
solr6_1 | at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:249)
solr6_1 | at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:209)
solr6_1 | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1 | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1 | 2019-11-18 09:26:50.011 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@faa3fed_Worker-35) [ ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - archive
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10180010 api/solr/aclchangesets return status:404
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.getSomeAclChangeSets(AclTracker.java:427)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.trackAclChangeSets(AclTracker.java:655)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:307)
solr6_1 | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1 | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1 | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1 | 2019-11-18 09:26:50.011 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@faa3fed_Worker-34) [ ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - alfresco
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10180011 api/solr/aclchangesets return status:404

 

 

1 Solution

Accepted Solutions
jpbuttet
Active Member II

Re: can't login in Alfresco when Deployed using Docker Compose (the release tag 3.0.0)

Jump to solution

Hello,

 

Thank you for your reply. I was painful, probably to my lack of knoledge.

I fnally used the excellent installer wirtten by Angel Borry. It took me 10 minutes in oder to install all the tools used by the installer and fire Alfresco. 6.1

It's a joy to use such a tool:

https://github.com/Alfresco/alfresco-docker-installer

Moreover it's well documented.

..  all the files have been automatically generated and configured, included the very impressive modules that can be selected with the tool, for exemple the Order of the Bee Support Tools.

 

I can now focus on testing/tuning/using

Thank you all :-)

 

View solution in original post

14 Replies

Re: can't login in Alfresco when Deployed using Docker Compose (the release tag 3.0.0)

Jump to solution

I followed the instructions and it started fine for me.

Try using following command when starting docker:

docker-compose up --build --force-recreate

Software Engineer in Alfresco Search Team.
jpbuttet
Active Member II

Re: can't login in Alfresco when Deployed using Docker Compose (the release tag 3.0.0)

Jump to solution

Hello angelborroy

Thank you for you reply.

I just checked again with the startup command that you suggested and I don't know why I don't get the same results than you get. Still not possible de login. According logs something looks like wrong with solr6, don't you think  ?

Full Alfresco startup log:

AlfrescoStartupLogs 

Best regards.

Jean-Pierre

Re: can't login in Alfresco when Deployed using Docker Compose (the release tag 3.0.0)

Jump to solution

The error you are seeing happens when SOLR cannot communicate with Alfresco Repository.

Probably a previous error in the log is reporting why Alfresco Repository is not starting right.

Software Engineer in Alfresco Search Team.
Moderator
Moderator

Re: can't login in Alfresco when Deployed using Docker Compose (the release tag 3.0.0)

Jump to solution

Can't tell from the log for sure, its partial log. but seems alfresco repo did not start up properly and solr is trying connect to it resulting the logs you have shared. As angel  mentioned, check the log which may be reporting the exact error. 

Additionally, you can run following command and see if all the services are running:

docker-compose ps 

It would result this kind of output if all the services are up and running:

I had seen similar type of issue when i started with docker (using docker for windows). I did not allocate sufficient memory so my alfresco repo did not startup properly. See if you can investigate in this area as well.

jpbuttet
Active Member II

Re: can't login in Alfresco when Deployed using Docker Compose (the release tag 3.0.0)

Jump to solution

Hello,

Thank you for your reply.

 

I run Ubuntu 16.04.6 LTS on HPE Proliant 380P Gen8   with 2 x XEON CPU E5-2660 v2 @ 2.20GHz and 6GB RAM

I didn't find how to allocate more memory for Docker for Linux OS.

AS I wrote, a fresh installed 3.0.0 tag doesn't work but the 2.2.0 tag works out of the box and login is possible.

 

Moreover I did following before to restart:

Updated Ubuntu

Updated Docker

Allocated more memory in docker-compose.yml

... without success.

Any help is welcome.

 

Thanks in advance.

 

All containers look fine:

jean-pierre@persei:~/test/acs-community-deployment/docker-compose$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1ddfb94ba623 alfresco/acs-community-ngnix:1.0.0 "/entrypoint.sh" 11 minutes ago Up 11 minutes 80/tcp, 0.0.0.0:8080->8080/tcp docker-compose_proxy_1
e6fbe112b3b3 alfresco/alfresco-share:6.2.0-RC4 "/usr/local/tomcat/s…" 11 minutes ago Up 11 minutes 8000/tcp, 8080/tcp docker-compose_share_1
486a7a9dadf6 postgres:11.4 "docker-entrypoint.s…" 11 minutes ago Up 11 minutes 0.0.0.0:5432->5432/tcp docker-compose_postgres_1
ba20e1a5506c alfresco/alfresco-activemq:5.15.8 "/bin/sh -c '${ACTIV…" 11 minutes ago Up 11 minutes 0.0.0.0:5672->5672/tcp, 0.0.0.0:8161->8161/tcp, 0.0.0.0:61613->61613/tcp, 0.0.0.0:61616->61616/tcp docker-compose_activemq_1
a66eed56df69 alfresco/alfresco-search-services:1.4.0 "/bin/sh -c '$DIST_D…" 11 minutes ago Up 11 minutes 0.0.0.0:8083->8983/tcp docker-compose_solr6_1
e5722027a202 alfresco/alfresco-libreoffice:2.1.0-RC3 "/bin/sh -c 'java $J…" 11 minutes ago Up 11 minutes 0.0.0.0:8092->8090/tcp docker-compose_libreoffice_1
ae5a00feeced alfresco/alfresco-transform-misc:2.1.0-RC3 "/bin/sh -c 'java $J…" 11 minutes ago Up 11 minutes 0.0.0.0:8094->8090/tcp docker-compose_transform-misc_1
b4ee0d9cc4f4 alfresco/alfresco-pdf-renderer:2.1.0-RC3 "/bin/sh -c 'java $J…" 11 minutes ago Up 11 minutes 0.0.0.0:8090->8090/tcp docker-compose_alfresco-pdf-renderer_1
85179144afb3 alfresco/alfresco-content-repository-community:6.2.0-ea "catalina.sh run -se…" 11 minutes ago Up 11 minutes 8080/tcp docker-compose_alfresco_1
7a9ca5406f45 alfresco/alfresco-tika:2.1.0-RC3 "/bin/sh -c 'java $J…" 11 minutes ago Up 11 minutes 0.0.0.0:8093->8090/tcp docker-compose_tika_1
1ccc2b9e9eac alfresco/alfresco-imagemagick:2.1.0-RC3 "/bin/sh -c 'java $J…" 11 minutes ago Up 11 minutes 0.0.0.0:8091->8090/tcp docker-compose_imagemagick_1

 

Please find hereafter the output of this command:

docker-compose down && docker-compose up --build --force-recreate -d && docker-compose logs -f | grep error

 

output :

jean-pierre@persei:~/test/acs-community-deployment/docker-compose$ docker-compose down && docker-compose up --build --force-recreate -d && docker-compose logs -f | grep error
Stopping docker-compose_proxy_1 ... done
Stopping docker-compose_activemq_1 ... done
Stopping docker-compose_solr6_1 ... done
Stopping docker-compose_tika_1 ... done
Stopping docker-compose_postgres_1 ... done
Stopping docker-compose_share_1 ... done
Stopping docker-compose_libreoffice_1 ... done
Stopping docker-compose_alfresco_1 ... done
Stopping docker-compose_alfresco-pdf-renderer_1 ... done
Stopping docker-compose_imagemagick_1 ... done
Stopping docker-compose_transform-misc_1 ... done
Removing docker-compose_proxy_1 ... done
Removing docker-compose_activemq_1 ... done
Removing docker-compose_solr6_1 ... done
Removing docker-compose_tika_1 ... done
Removing docker-compose_postgres_1 ... done
Removing docker-compose_share_1 ... done
Removing docker-compose_libreoffice_1 ... done
Removing docker-compose_alfresco_1 ... done
Removing docker-compose_alfresco-pdf-renderer_1 ... done
Removing docker-compose_imagemagick_1 ... done
Removing docker-compose_transform-misc_1 ... done
Removing network docker-compose_default
Creating network "docker-compose_default" with the default driver
Creating docker-compose_tika_1 ... done
Creating docker-compose_imagemagick_1 ... done
Creating docker-compose_alfresco_1 ... done
Creating docker-compose_alfresco-pdf-renderer_1 ... done
Creating docker-compose_transform-misc_1 ... done
Creating docker-compose_libreoffice_1 ... done
Creating docker-compose_solr6_1 ... done
Creating docker-compose_postgres_1 ... done
Creating docker-compose_share_1 ... done
Creating docker-compose_activemq_1 ... done
Creating docker-compose_proxy_1 ... done
solr6_1 | 2019-11-19 15:47:27.306 WARN (Thread-12) [ x:alfresco] o.a.s.c.Config XML parse warning in "solrres:/solrconfig.xml", line 1919, column 88: Include operation failed, reverting to fallback. Resource error reading file as XML (href='solrconfig_insight.xml'). Reason: Can't find resource 'solrconfig_insight.xml' in classpath or '/opt/alfresco-search-services/solrhome/alfresco'
solr6_1 | 2019-11-19 15:47:30.233 WARN (Thread-12) [ x:alfresco] o.a.s.c.Config XML parse warning in "solrres:/solrconfig.xml", line 1919, column 88: Include operation failed, reverting to fallback. Resource error reading file as XML (href='solrconfig_insight.xml'). Reason: Can't find resource 'solrconfig_insight.xml' in classpath or '/opt/alfresco-search-services/solrhome/archive'
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10190000 alfresco GetModelsDiff return status is 404
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10190001 api/solr/aclchangesets return status:404
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10190002 api/solr/aclchangesets return status:404
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10190003 alfresco GetModelsDiff return status is 404
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10190004 api/solr/aclchangesets return status:404
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10190005 api/solr/aclchangesets return status:404
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10190006 alfresco GetModelsDiff return status is 404
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10190007 api/solr/aclchangesets return status:404
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10190008 api/solr/aclchangesets return status:404
solr6_1 | org.alfresco.error.AlfrescoRuntimeException: 10190009 alfresco GetModelsDiff return status is 404

 

jpbuttet
Active Member II

Re: can't login in Alfresco when Deployed using Docker Compose (the release tag 3.0.0)

Jump to solution

just a typ:

2 x XEON CPU E5-2660 v2 @ 2.20GHz and 64GB RAM and not 6GB, of course..

Moderator
Moderator

Re: can't login in Alfresco when Deployed using Docker Compose (the release tag 3.0.0)

Jump to solution

This error (org.alfresco.error.AlfrescoRuntimeException: 10190009 alfresco GetModelsDiff return status is 404) comes when there is any issue with alfresco and solr connection ideally. In most cases when alfresco repo is not working properly. 

As per your previous comment all services are up, can you try accessing repository alone using : localhost:8080/alfresco and see if you get to it. 

Can you also run below command and see how much memory is being assigned to repository: ideally 4 gb should be there to start with. 

docker stats

You would see something like this output:

docker-stats.PNG

I have not used ubuntu version of docker, this link may be helpful: https://hostadvice.com/how-to/how-to-limit-a-docker-containers-resources-on-ubuntu-18-04/

 

jpbuttet
Active Member II

Re: can't login in Alfresco when Deployed using Docker Compose (the release tag 3.0.0)

Jump to solution

Hello,

 

Thanks for your reply.

Still not possible de login in Alfresco tag 3.0.0.

All containers run

 

Not possible to access http://192.168.123.52:8080   browser says:

 

Etat HTTP 404 – Not Found


Type Rapport d''état

message Not found

description La ressource demandée n''est pas disponible.


Apache Tomcat/8.5.43

 

 

Docker stats look like fine:

CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
0ebca5cadb12 docker-compose_proxy_1 0.00% 8.852MiB / 128MiB 6.92% 3.35MB / 3.38MB 0B / 0B 3
874672394f24 docker-compose_libreoffice_1 0.29% 303.3MiB / 1GiB 29.62% 1.04kB / 0B 0B / 410kB 39
9af9ad80a898 docker-compose_alfresco-pdf-renderer_1 0.38% 273.4MiB / 1GiB 26.70% 1.22kB / 0B 0B / 0B 30
c1edee46d904 docker-compose_share_1 1.67% 574.2MiB / 1GiB 56.08% 786kB / 3.37MB 0B / 197kB 45
d99976a1b23b docker-compose_solr6_1 8.55% 593.7MiB / 2GiB 28.99% 347kB / 85.5kB 0B / 418kB 94
9b41e09c04e7 docker-compose_activemq_1 0.71% 302MiB / 1GiB 29.49% 1.22kB / 164B 0B / 7.63MB 84
3e34dedbdba2 docker-compose_alfresco_1 1.26% 122.5MiB / 1.465GiB 8.17% 235kB / 936kB 0B / 0B 44
ec19c9775614 docker-compose_postgres_1 0.00% 29.18MiB / 512MiB 5.70% 1.13kB / 0B 8.19kB / 107MB 7
8271d1e3d74e docker-compose_imagemagick_1 0.23% 285.2MiB / 1GiB 27.85% 1.47kB / 0B 0B / 0B 30
e92b987ac3ce docker-compose_transform-misc_1 0.35% 303MiB / 1GiB 29.59% 1.04kB / 0B 0B / 0B 28
f97100bc352a docker-compose_tika_1 0.41% 300.8MiB / 1GiB 29.38% 1.13kB / 0B 0B / 0B 28
adaf11d13fe8 hfsql_srv_HFSQL_DOCKER_1 0.01% 6.203MiB / 62.88GiB 0.01% 18.7kB / 86.1kB 541kB / 0B 29

 

No idea how to go ahead.. :-(

 

 

 

Moderator
Moderator

Re: can't login in Alfresco when Deployed using Docker Compose (the release tag 3.0.0)

Jump to solution

If proxy service is returning 404 that means repo is not working properly, And you already mentioned that you are able to get share login page.

As per stats:

3e34dedbdba2 docker-compose_alfresco_1 1.26% 122.5MiB / 1.465GiB 8.17% 235kB / 936kB 0B / 0B 44

Repo has been assigned to use max 1.4GIB memory. Could you set it to at least 4GB and see if that helps.