09-16-2020 10:32 AM
I choose the option of installing with docker compose
but when I execute the command docker-compose up in powershell (windows 10)
I got this error :
2020-09-16 14:21:30.052 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@988246e_Worker-40) [ ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - archive
solr6_1 | java.net.UnknownHostException: alfresco
solr6_1 | at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:220)
solr6_1 | at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
solr6_1 | at java.base/java.net.Socket.connect(Socket.java:591)
solr6_1 | at java.base/java.net.Socket.connect(Socket.java:540)
solr6_1 | at java.base/java.net.Socket.<init>(Socket.java:436)
solr6_1 | at java.base/java.net.Socket.<init>(Socket.java:288)
solr6_1 | at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
solr6_1 | at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
solr6_1 | at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
solr6_1 | at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
solr6_1 | at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
solr6_1 | at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
solr6_1 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
solr6_1 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
solr6_1 | at org.alfresco.httpclient.AbstractHttpClient.executeMethod(AbstractHttpClient.java:135)
solr6_1 | at org.alfresco.httpclient.AbstractHttpClient.sendRemoteRequest(AbstractHttpClient.java:111)
solr6_1 | at org.alfresco.httpclient.HttpClientFactory$DefaultHttpClient.sendRequest(HttpClientFactory.java:432)
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:166)
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)
I use the docker for first time and I need to test alfresco
thanks
09-16-2020 11:06 AM
You alfresco didn't start up correctly ,please paste your docker-compose.yml here.
09-16-2020 03:58 PM
Addtionally, try running "docker ps" command and see whether alfresco service is up and running ? Mostly like alfresco service crashed for some reason. Try investigating the logs and see what happens or share the logs and details requested by @kaynezhang here.
One more hint, i have seen alfresco service crashing more often due to memory issues. How much memory you have allocated to docker desktop? At least 8GB of memory is required for running all the services. If you suspect that the alfresco service crashed due to memory issue or you did not allocated enough memory already, then update the memory allocation and try running all the services.
Check resources section on this doc on how to change/update resources: https://docs.docker.com/docker-for-windows/
Also try "docker stats" comand and inspect the memory usage by each service and update the memory accordingly.
Some additional details can be found here as well:
Explore our Alfresco products with the links below. Use labels to filter content by product module.