06-30-2020 09:04 AM
@angelborroy Dear sir i am using your github link:https://github.com/Alfresco/alfresco-docker-installer for installing the alfresco 6.1.
Steps I have invloved:
1- Installed --> node.js -->version=v12.3.1
2-Installed --> npm install -g yo -->version=3.1.1
3-Installed --> docker -->version --->19.03.8, build afacb8b
4-Installed-->docker-compose --> version 1.25.5, build 8a1c60f6
5-After that i run the command -->npm install --global generator-alfresco-docker-installer
I got result on terminal
C:\Users\admin>npm install --global generator-alfresco-docker-installer
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
+ generator-alfresco-docker-installer@0.1.9
updated 1 package in 28.035s
6-After that i created a folder docker-compose
And i go to the location docker-compose and run the command--> yo alfresco-docker-installer
Output on terminal:
C:\Users\admin\docker-compose>yo alfresco-docker-installer
C:\Users\admin\AppData\Roaming\npm\node_modules\yo\node_modules\execa\index.js:347
throw err;
^
Error: Command failed: powershell (Get-CimInstance -ClassName Win32_OperatingSystem).caption
'powershell' is not recognized as an internal or external command,
operable program or batch file.
at makeError (C:\Users\admin\AppData\Roaming\npm\node_modules\yo\node_modules\execa\index.js:174:9)
at Function.module.exports.sync (C:\Users\admin\AppData\Roaming\npm\node_modules\yo\node_modules\execa\index.js:338:15)
at windowsRelease (C:\Users\admin\AppData\Roaming\npm\node_modules\yo\node_modules\windows-release\index.js:39:19)
at osName (C:\Users\admin\AppData\Roaming\npm\node_modules\yo\node_modules\os-name\index.js:39:18)
at new Insight (C:\Users\admin\AppData\Roaming\npm\node_modules\yo\node_modules\insight\lib\index.js:37:13)
at Object.<anonymous> (C:\Users\admin\AppData\Roaming\npm\node_modules\yo\lib\cli.js:54:17)
at Module._compile (internal/modules/cjs/loader.js:774:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
at Module.load (internal/modules/cjs/loader.js:641:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12) {
code: 1,
stdout: '',
stderr: "'powershell' is not recognized as an internal or " +
'external command,\r' +
'\noperable program or batch file.\r' +
'\n',
failed: true,
signal: null,
cmd: 'powershell (Get-CimInstance -ClassName Win32_OperatingSystem).caption',
timedOut: false
}
Where i am doing the mistake please let me know i am trying to install 6.1 i reffered your Youtube video also please help me.
Regards
Aakash
06-30-2020 09:34 AM
This looks like a node.js problem.
Similar question was replied at this thread: https://github.com/apache/cordova-cli/issues/434
07-01-2020 02:24 AM
Thanks that problem solved but a new problem came while installation.
postgres_1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
postgres_1 |
postgres_1 | waiting for server to shut down...2020-07-01 05:24:20.540 UTC [37] LOG: received fast shutdown request
postgres_1 | .2020-07-01 05:24:20.601 UTC [37] LOG: aborting any active transactions
postgres_1 | 2020-07-01 05:24:20.608 UTC [37] LOG: worker process: logical replication launcher (PID 44) exited with exit code 1
postgres_1 | 2020-07-01 05:24:20.608 UTC [39] LOG: shutting down
postgres_1 | 2020-07-01 05:24:21.509 UTC [37] LOG: database system is shut down
postgres_1 | done
postgres_1 | server stopped
postgres_1 |
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
postgres_1 | 2020-07-01 05:24:21.618 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2020-07-01 05:24:21.618 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2020-07-01 05:24:21.776 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2020-07-01 05:24:22.004 UTC [1] LOG: redirecting log output to logging collector process
postgres_1 | 2020-07-01 05:24:22.004 UTC [1] HINT: Future log output will appear in directory "/var/log/postgresql".
solr6_1 | 2020-07-01 05:25:00.252 WARN (Thread-12) [ x:alfresco] o.a.s.h.c.AlfrescoSolrClusteringComponent No default engine for document clustering.
solr6_1 | 2020-07-01 05:25:01.877 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 | 2020-07-01 05:25:06.875 WARN (Thread-12) [ x:alfresco] o.a.s.h.c.AlfrescoSolrClusteringComponent No default engine for document clustering.
alfresco_1 | 01-Jul-2020 05:25:16.158 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.
alfresco_1 | 2020-07-01 05:25:38,003 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V4.2-metadata-query-indexes
alfresco_1 | 2020-07-01 05:25:38,012 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.1-metadata-query-indexes
alfresco_1 | 2020-07-01 05:25:38,014 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.2-remove-jbpm-tables-from-db
alfresco_1 | 2020-07-01 05:25:38,721 INFO [alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbcostgresql://postgres:5432/alfresco' with user 'alfresco'.
alfresco_1 | 2020-07-01 05:25:38,722 INFO [alfresco.repo.admin] [localhost-startStop-1] Connected to database PostgreSQL version 10.1
proxy_1 | 172.18.0.1 - - [01/Jul/2020:05:32:34 +0000] "GET /alfresco HTTP/1.1" 301 169 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
proxy_1 | 2020/07/01 05:33:42 [error] 6#6: *2 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.18.0.1, server: , request: "GET /alfresco/ HTTP/1.1", upstream: "http://172.18.0.3:8080/alfresco/", host: "localhost"
proxy_1 | 172.18.0.1 - - [01/Jul/2020:05:33:42 +0000] "GET /alfresco/ HTTP/1.1" 504 569 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
content-app_1 | 172.18.0.7 - - [01/Jul/2020:05:34:11 +0000] "GET /favicon.ico HTTP/1.0" 200 2104 "http://localhost/alfresco/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
proxy_1 | 172.18.0.1 - - [01/Jul/2020:05:34:27 +0000] "GET /favicon.ico HTTP/1.1" 200 2104 "http://localhost/alfresco/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
proxy_1 | 2020/07/01 05:51:07 [error] 6#6: *6 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.18.0.1, server: , request: "GET /alfresco/ HTTP/1.1", upstream: "http://172.18.0.3:8080/alfresco/", host: "localhost"
proxy_1 | 172.18.0.1 - - [01/Jul/2020:05:51:07 +0000] "GET /alfresco/ HTTP/1.1" 504 569 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
content-app_1 | 172.18.0.7 - - [01/Jul/2020:05:51:29 +0000] "GET /favicon.ico HTTP/1.0" 200 2104 "http://localhost/alfresco/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
proxy_1 | 172.18.0.1 - - [01/Jul/2020:05:51:34 +0000] "GET /favicon.ico HTTP/1.1" 200 2104 "http://localhost/alfresco/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
This error is coming repeatedely. And while opening the localhost/alfresco 504 Gateway Time Out nginx/1.18.0.
And how to check either it is installed and everything working fine.
@angelborroy sir please help.
07-01-2020 03:12 AM
https://github.com/Alfresco/alfresco-docker-installer#docker-volumes
07-01-2020 06:11 AM
Can u elaborate as i am using Windows 10 pro for installing the 6.1 version.
07-01-2020 07:07 AM
@angelborroy sir my docker-compose.yml file is as below:
# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose
version: "2"
services:
alfresco:
build:
context: ./alfresco
args:
ALFRESCO_TAG: ${ALFRESCO_CE_TAG}
DB: postgres
API_EXPLORER_TAG: ${API_EXPLORER_TAG}
mem_limit: 3392m
environment:
JAVA_OPTS : '
-Ddb.username=alfresco
-Ddb.password=alfresco
-Ddb.driver=org.postgresql.Driver
-Ddb.url=jdbcostgresql://postgres:5432/alfresco
-Dsolr.host=solr6
-Dsolr.secureComms=none
-Dsolr.baseUrl=/solr
-Dindex.subsystem.name=solr6
-Dalfresco.host=localhost
-Dalfresco.port=80
-Dshare.host=localhost
-Dshare.port=80
-Daos.baseUrlOverwrite=http://localhost/alfresco/aos
-Ddeployment.method=DOCKER_COMPOSE
-Dcsrf.filter.enabled=false
-Dalfresco.restApi.basicAuthScheme=true
-Dmessaging.subsystem.autoStart=false
-Dauthentication.protection.enabled=false
-XX:+UseG1GC -XX:+UseStringDeduplication
-Xms2880m -Xmx2880m
'
volumes:
- alf-repo-data:/usr/local/tomcat/alf_data
- alf-repo-logs:/usr/local/tomcat/logs
solr6:
build:
context: ./search
args:
SEARCH_TAG: $SEARCH_CE_TAG
SOLR_HOSTNAME: solr6
ALFRESCO_HOSTNAME: alfresco
ALFRESCO_COMMS: none
CROSS_LOCALE: "false"
mem_limit: 1696m
environment:
#Solr needs to know how to register itself with Alfresco
SOLR_ALFRESCO_HOST: "alfresco"
SOLR_ALFRESCO_PORT: "8080"
#Alfresco needs to know how to call solr
SOLR_SOLR_HOST: "solr6"
SOLR_SOLR_PORT: "8983"
#Create the default alfresco and archive cores
SOLR_CREATE_ALFRESCO_DEFAULTS: "alfresco,archive"
SOLR_JAVA_MEM: "-Xms1440m -Xmx1440m"
SOLR_OPTS: "
-XX:NewSize=592m
-XX:MaxNewSize=592m
"
volumes:
- solr-data:/opt/alfresco-search-services/data
share:
build:
context: ./share
args:
SHARE_TAG: ${SHARE_TAG}
mem_limit: 848m
environment:
REPO_HOST: "alfresco"
REPO_PORT: "8080"
JAVA_OPTS: "
-Xms720m -Xmx720m
-Dalfresco.context=alfresco
-Dalfresco.protocol=http
"
volumes:
- alf-share-logs:/usr/local/tomcat/logs
postgres:
image: postgres:${POSTGRES_TAG}
mem_limit: 848m
environment:
- POSTGRES_PASSWORD=alfresco
- POSTGRES_USER=alfresco
- POSTGRES_DB=alfresco
command: "
postgres
-c max_connections=200
-c logging_collector=on
-c log_min_messages=LOG
-c log_directory=/var/log/postgresql"
ports:
- 5432:5432
volumes:
- postgres-data:/var/lib/postgresql/data
- postgres-logs:/var/log/postgresql
content-app:
image: alfresco/alfresco-content-app:${ACA_TAG}
mem_limit: 256m
depends_on:
- alfresco
# HTTP proxy to provide HTTP Default port access to services
# SOLR API and SOLR Web Console are protected to avoid unauthenticated access
proxy:
image: nginx:stable-alpine
mem_limit: 128m
depends_on:
- alfresco
- solr6
- share
- content-app
volumes:
- ./config/nginx.conf:/etc/nginx/nginx.conf
- ./config/nginx.htpasswd:/etc/nginx/conf.d/nginx.htpasswd
- ./config/cert/localhost.cer:/etc/nginx/localhost.cer
- ./config/cert/localhost.key:/etc/nginx/localhost.key
ports:
- 80:80
volumes:
alf-repo-data:
alf-repo-logs:
alf-share-logs:
postgres-data:
postgres-logs:
solr-data:
On terminal i am getting repeated error:
-metadata-query-indexes
alfresco_1 | 2020-07-01 05:25:38,012 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.1-metadata-query-indexes
alfresco_1 | 2020-07-01 05:25:38,014 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.2-remove-jbpm-tables-from-db
alfresco_1 | 2020-07-01 05:25:38,721 INFO [alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbcostgresql://postgres:5432/alfresco' with user 'alfresco'.
alfresco_1 | 2020-07-01 05:25:38,722 INFO [alfresco.repo.admin] [localhost-startStop-1] Connected to database PostgreSQL version 10.1
proxy_1 | 172.18.0.1 - - [01/Jul/2020:05:32:34 +0000] "GET /alfresco HTTP/1.1" 301 169 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
proxy_1 | 2020/07/01 05:33:42 [error] 6#6: *2 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.18.0.1, server: , request: "GET /alfresco/ HTTP/1.1", upstream: "http://172.18.0.3:8080/alfresco/", host: "localhost"
proxy_1 | 172.18.0.1 - - [01/Jul/2020:05:33:42 +0000] "GET /alfresco/ HTTP/1.1" 504 569 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
content-app_1 | 172.18.0.7 - - [01/Jul/2020:05:34:11 +0000] "GET /favicon.ico HTTP/1.0" 200 2104 "http://localhost/alfresco/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
proxy_1 | 172.18.0.1 - - [01/Jul/2020:05:34:27 +0000] "GET /favicon.ico HTTP/1.1" 200 2104 "http://localhost/alfresco/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
proxy_1 | 2020/07/01 05:51:07 [error] 6#6: *6 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.18.0.1, server: , request: "GET /alfresco/ HTTP/1.1", upstream: "http://172.18.0.3:8080/alfresco/", host: "localhost"
proxy_1 | 172.18.0.1 - - [01/Jul/2020:05:51:07 +0000] "GET /alfresco/ HTTP/1.1" 504 569 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
content-app_1 | 172.18.0.7 - - [01/Jul/2020:05:51:29 +0000] "GET /favicon.ico HTTP/1.0" 200 2104 "http://localhost/alfresco/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
proxy_1 | 172.18.0.1 - - [01/Jul/2020:05:51:34 +0000] "GET /favicon.ico HTTP/1.1" 200 2104 "http://localhost/alfresco/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
proxy_1 | 2020/07/01 09:37:23 [error] 6#6: *9 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.18.0.1, server: , request: "GET /share/page/ HTTP/1.1", upstream: "http://172.18.0.2:8080/share/page/", host: "127.0.0.1"
proxy_1 | 172.18.0.1 - - [01/Jul/2020:09:37:23 +0000] "GET /share/page/ HTTP/1.1" 504 569 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
content-app_1 | 172.18.0.7 - - [01/Jul/2020:09:38:06 +0000] "GET /favicon.ico HTTP/1.0" 200 2104 "http://127.0.0.1/share/page/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
proxy_1 | 172.18.0.1 - - [01/Jul/2020:09:38:30 +0000] "GET /favicon.ico HTTP/1.1" 200 2104 "http://127.0.0.1/share/page/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
Either i am missing something or what i should change .Please help me sir.
07-01-2020 08:47 AM
Could you share a screenshot as in the terminal errors are a lot easier to read
07-03-2020 01:33 AM
solr6_1 | 2020-07-02 12:18:00.001 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@272a179c_Worker-24) [ ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - alfresco
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:430)
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:215)
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 | 2020-07-02 12:18:00.002 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@272a179c_Worker-20) [ ] 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:430)
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:166)
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:215)
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 | 2020-07-02 12:18:00.002 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@272a179c_Worker-35) [ ] o.a.s.t.AbstractTracker Tracking failed for ModelTracker - alfresco
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:430)
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1179)
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:215)
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 | 2020-07-02 12:18:22.575 WARN (org.alfresco.solr.AlfrescoCoreAdminHandler@272a179c_Worker-5) [ ] o.a.s.t.AbstractTracker Tracking communication timed out for AclTracker - archive
solr6_1 | 2020-07-02 12:18:22.585 WARN (org.alfresco.solr.AlfrescoCoreAdminHandler@272a179c_Worker-38) [ ] o.a.s.t.AbstractTracker Tracking communication timed out for ModelTracker - alfresco
solr6_1 | 2020-07-02 12:18:22.616 WARN (org.alfresco.solr.AlfrescoCoreAdminHandler@272a179c_Worker-32) [ ] o.a.s.t.AbstractTracker Tracking communication timed out for AclTracker - alfresco
solr6_1 | 2020-07-02 12:18:42.532 WARN (org.alfresco.solr.AlfrescoCoreAdminHandler@272a179c_Worker-27) [ ] o.a.s.t.AbstractTracker Tracking communication timed out for ModelTracker - alfresco
solr6_1 | 2020-07-02 12:18:42.542 WARN (org.alfresco.solr.AlfrescoCoreAdminHandler@272a179c_Worker-2) [ ] o.a.s.t.AbstractTracker Tracking communication timed out for AclTracker - archive
solr6_1 | 2020-07-02 12:18:42.571 WARN (org.alfresco.solr.AlfrescoCoreAdminHandler@272a179c_Worker-28) [ ] o.a.s.t.AbstractTracker Tracking communication timed out for AclTracker - alfresco
solr6_1 | 2020-07-02 12:18:50.893 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@272a179c_Worker-40) [ ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - alfresco
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:430)
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:166)
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:215)
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 | 2020-07-02 12:18:50.893 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@272a179c_Worker-6) [ ] 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:430)
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:166)
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:215)
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 | 2020-07-02 12:18:50.893 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@272a179c_Worker-17) [ ] o.a.s.t.AbstractTracker Tracking failed for ModelTracker - alfresco
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:430)
solr6_1 | at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1179)
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:215)
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)
07-03-2020 07:42 AM
That looks like solr can't access ACS...
Look through the logs if the repository container has any issues
Hope this will help
06-30-2020 09:58 AM
Could be that you are missing an environment variable
I found that answere here: https://stackoverflow.com/questions/29778121/powershell-is-not-recognized-as-an-internal-or-external...
Explore our Alfresco products with the links below. Use labels to filter content by product module.