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
You alfresco didn't start up correctly ,please paste your docker-compose.yml here.
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:
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.