Closed Amazingzzl closed 1 year ago
system ubuntu 20
Docker version 23.0.4
acs 7.3
new error 2023-04-19 07:19:26.888 WARN (Thread-12) [ x:alfresco] o.a.s.c.Config XML parse warning in "solrres:/solrconfig.xml", line 1858, 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'
Your help is much needed, thanks
May you attach your detailed configuration so we can reproduce the issue in our side?
thanks for your reply
total used free shared buff/cache available
Mem: 31Gi 5.9Gi 19Gi 21Mi 6.3Gi 24Gi
version: "2"
services: alfresco: build: context: ./alfresco args: ALFRESCO_TAG: ${ALFRESCO_CE_TAG} DB: postgres SOLR_COMMS: secret mem_limit: 7488m depends_on:
./logs/alfresco:/usr/local/tomcat/logs
transform-core-aio: image: alfresco/alfresco-transform-core-aio:${TRANSFORM_ENGINE_TAG} mem_limit: 2048m environment: JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80 -Dserver.tomcat.threads.max=12 -Dserver.tomcat.threads.min=4 -Dlogging.level.org.alfresco.transform.common.TransformerDebug=ERROR "
share: build: context: ./share args: SHARE_TAG: ${SHARE_TAG} SERVER_NAME: ${SERVER_NAME} mem_limit: 1872m environment: REPO_HOST: "alfresco" REPO_PORT: "8080" CSRF_FILTER_REFERER: "https://localhost:8443/.*" CSRF_FILTER_ORIGIN: "https://localhost:8443" JAVA_OPTS: " -Xms1744m -Xmx1744m -Dalfresco.context=alfresco -Dalfresco.protocol=https -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80 " volumes:
./logs/share:/usr/local/tomcat/logs
postgres: image: postgres:${POSTGRES_TAG} mem_limit: 1872m environment:
./logs/postgres:/var/log/postgresql
solr6: build: context: ./search args: SEARCH_TAG: ${SEARCH_CE_TAG} SOLR_HOSTNAME: solr6 ALFRESCO_HOSTNAME: alfresco ALFRESCO_COMMS: secret CROSS_LOCALE: "true" DISABLE_CONTENT_INDEXING: "false" mem_limit: 3744m environment:
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: "-Xms3488m -Xmx3488m"
SOLR_OPTS: "
-XX:NewSize=1616m
-XX:MaxNewSize=1616m
-Dalfresco.secureComms.secret=rqb6wn80l5a
"
volumes:
./data/solr-data:/opt/alfresco-search-services/data
activemq: image: alfresco/alfresco-activemq:${ACTIVEMQ_TAG} mem_limit: 1g ports:
./data/activemq-data:/opt/activemq/data
content-app: image: alfresco/alfresco-content-app:${ACA_TAG} mem_limit: 256m environment: APP_BASE_SHARE_URL: "http://${SERVER_NAME}:8443/#/preview/s" depends_on:
alfresco
proxy: image: nginx:stable-alpine mem_limit: 128m depends_on:
################
root@acs# ll config/ total 20 drwxr-x--- 3 admin users 4096 Apr 19 07:16 ./ drwxr-x--- 8 admin users 4096 Apr 19 07:16 ../ drwxr-x--- 2 admin users 4096 Apr 19 07:52 cert/ -rw-r----- 1 admin users 2172 Apr 19 07:16 nginx.conf -rw-r----- 1 admin users 20 Apr 19 07:16 nginx.htpasswd root@acs# ll data/ total 24 drwxr-x--- 6 root root 4096 Apr 19 07:16 ./ drwxr-x--- 8 admin users 4096 Apr 19 07:16 ../ drwxr-x--- 3 33031 root 4096 Apr 19 07:19 activemq-data/ drwxr-x--- 4 33000 root 4096 Apr 19 07:20 alf-repo-data/ drwx------ 19 systemd-coredump root 4096 Apr 19 08:10 postgres-data/ drwxr-x--- 5 33007 root 4096 Apr 19 07:19 solr-data/ root@acs# ll logs/ total 20 drwxr-x--- 5 root root 4096 Apr 19 07:19 ./ drwxr-x--- 8 admin users 4096 Apr 19 07:16 ../ drwxr-x--- 2 33000 root 4096 Apr 19 07:19 alfresco/ drwxr-x--- 2 systemd-coredump root 4096 Apr 19 08:10 postgres/ drwxr-xr-x 2 root root 4096 Apr 19 07:19 share/
The configuration seems to be working as expected.
Did you apply required permissions for mounted volume folders? As described in https://github.com/Alfresco/alfresco-docker-installer#docker-volumes
yes i m setup permissions
root@acs# ll config/ total 20 drwxr-x--- 3 admin users 4096 Apr 19 07:16 ./ drwxr-x--- 8 admin users 4096 Apr 19 07:16 ../ drwxr-x--- 2 admin users 4096 Apr 19 07:52 cert/ -rw-r----- 1 admin users 2172 Apr 19 07:16 nginx.conf -rw-r----- 1 admin users 20 Apr 19 07:16 nginx.htpasswd root@acs# ll data/ total 24 drwxr-x--- 6 root root 4096 Apr 19 07:16 ./ drwxr-x--- 8 admin users 4096 Apr 19 07:16 ../ drwxr-x--- 3 33031 root 4096 Apr 19 07:19 activemq-data/ drwxr-x--- 4 33000 root 4096 Apr 19 07:20 alf-repo-data/ drwx------ 19 systemd-coredump root 4096 Apr 19 08:10 postgres-data/ drwxr-x--- 5 33007 root 4096 Apr 19 07:19 solr-data/ root@acs# ll logs/ total 20 drwxr-x--- 5 root root 4096 Apr 19 07:19 ./ drwxr-x--- 8 admin users 4096 Apr 19 07:16 ../ drwxr-x--- 2 33000 root 4096 Apr 19 07:19 alfresco/ drwxr-x--- 2 systemd-coredump root 4096 Apr 19 08:10 postgres/ drwxr-xr-x 2 root root 4096 Apr 19 07:19 share/
Can you include also the content of the ".env" file?
ALFRESCO_CE_TAG=7.3.1 SEARCH_CE_TAG=2.0.6 SHARE_TAG=7.3.1 ACA_TAG=3.1.0 POSTGRES_TAG=14.4 MARIADB_TAG=10.5 TRANSFORM_ENGINE_TAG=3.0.0 ACTIVEMQ_TAG=5.17.1-jre11-rockylinux8
SERVER_NAME=xxx
That seems a problem related to Ubuntu 20, may you use a different release (like 22.04?)
ok i will create redhat 8 , continue to update later
Hi I still see similar errors when I change OS Red Hat Enterprise Linux release 8.6
2023-04-19 14:36:28.374 WARN (Thread-12) [ x:alfresco] o.a.s.c.Config XML parse warning in "solrres:/solrconfig.xml", line 1858, 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'
2023-04-19 14:36:28.430 WARN (Thread-12) [ x:alfresco] o.a.s.c.Config Beginning with Solr 5.5,
I think ERROR has something to do with this -----> https://github.com/Alfresco/SearchServices/pull/407
The error you linked is a WARNING message, that has no impact on running SOLR.
I've reproduced the error and it seems related with SOLR_JAVA_MEM
settings. This only happens when using Linux, since it works from Mac and Windows.
In your Docker Compose template, change this setting:
SOLR_JAVA_MEM: "-Xms3488m -Xmx3488m"
by this one:
SOLR_JAVA_MEM: "-Xms2995m -Xmx2995m"
I'll release a new version of alfresco-docker-installer tool to adjust this setting to a lower value when generating the template.
Thanks for your feedback.
Thanks for your help,solr 6 does return to normal。 ^-^
[0.003s][warning][pagesize] UseLargePages disabled, no large pages configured and available on the system. 2023-04-18 09:32:17.838 INFO (main) [ ] o.e.j.s.Server jetty-9.3.30.v20211001, build timestamp: 2021-10-01T15:51:54Z, git hash: 148ea770504ad315b7936c5737e462879680042b 2023-04-18 09:32:20.151 INFO (main) [ ] o.a.s.s.SolrDispatchFilter Welcome to Apache Solr? version 6.6.5-patched.11 67b7042d8e2134a87c2ef6e663b1fb0cc0c2d454 - pzurek - 2022-11-28 14:45:37 2023-04-18 09:32:20.161 INFO (main) [ ] o.a.s.s.SolrDispatchFilter / | | | Starting in standalone mode on port 8983 2023-04-18 09:32:20.161 INFO (main) [ ] o.a.s.s.SolrDispatchFilter _ \/ \ | '| Install dir: /opt/alfresco-search-services/solr 2023-04-18 09:32:20.176 INFO (main) [ ] o.a.s.s.SolrDispatchFilter |_/_/|| Start time: 2023-04-18T09:32:20.165027973Z 2023-04-18 09:32:25.435 WARN (coreLoadExecutor-6-thread-2) [ x:alfresco] o.a.s.c.Config XML parse warning in "solrres:/solrconfig.xml", line 1858, 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' 2023-04-18 09:32:25.436 WARN (coreLoadExecutor-6-thread-1) [ x:archive] o.a.s.c.Config XML parse warning in "solrres:/solrconfig.xml", line 1858, 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' 2023-04-18 09:32:25.772 INFO (main) [ ] o.e.j.s.Server Started @12532ms 2023-04-18 09:32:25.888 WARN (coreLoadExecutor-6-thread-1) [ x:archive] o.a.s.c.Config You should not use LATEST as luceneMatchVersion property: if you use this setting, and then Solr upgrades to a newer release of Lucene, sizable changes may happen. If precise back compatibility is important then you should instead explicitly specify an actual Lucene version. 2023-04-18 09:32:26.149 WARN (coreLoadExecutor-6-thread-2) [ x:alfresco] o.a.s.c.Config Beginning with Solr 5.5, is deprecated, use instead.
2023-04-18 09:32:26.153 WARN (coreLoadExecutor-6-thread-1) [ x:archive] o.a.s.c.Config Beginning with Solr 5.5, is deprecated, use instead.
2023-04-18 09:32:28.334 WARN (coreLoadExecutor-6-thread-2) [ 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.
2023-04-18 09:32:28.366 WARN (coreLoadExecutor-6-thread-2) [ x:alfresco] o.a.s.c.SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.SynonymFilterFactory]. Please consult documentation how to replace it accordingly.
2023-04-18 09:32:29.370 WARN (coreLoadExecutor-6-thread-2) [ x:alfresco] o.a.s.s.IndexSchema Field content@s__ @ is not multivalued and destination for multiple copyFields (8)
2023-04-18 09:32:29.370 WARN (coreLoadExecutor-6-thread-2) [ x:alfresco] o.a.s.s.IndexSchema Field content@s__lt@ is not multivalued and destination for multiple copyFields (8)
2023-04-18 09:32:29.371 WARN (coreLoadExecutor-6-thread-2) [ x:alfresco] o.a.s.s.IndexSchema Field text@ssort@* is not multivalued and destination for multiple copyFields (8)
2023-04-18 09:32:29.371 WARN (coreLoadExecutor-6-thread-2) [ x:alfresco] o.a.s.s.IndexSchema Field text@s__@ is not multivalued and destination for multiple copyFields (16)
2023-04-18 09:32:29.371 WARN (coreLoadExecutor-6-thread-2) [ x:alfresco] o.a.s.s.IndexSchema Field content@s_l@ is not multivalued and destination for multiple copyFields (8)
2023-04-18 09:32:29.371 WARN (coreLoadExecutor-6-thread-2) [ x:alfresco] o.a.s.s.IndexSchema Field text@sl_@ is not multivalued and destination for multiple copyFields (16)
2023-04-18 09:32:29.371 WARN (coreLoadExecutor-6-thread-2) [ x:alfresco] o.a.s.s.IndexSchema Field text@s__lt@ is not multivalued and destination for multiple copyFields (16)
2023-04-18 09:32:29.371 WARN (coreLoadExecutor-6-thread-2) [ x:alfresco] o.a.s.s.IndexSchema Field text@s_t@ is not multivalued and destination for multiple copyFields (8)
2023-04-18 09:32:29.371 WARN (coreLoadExecutor-6-thread-2) [ x:alfresco] o.a.s.s.IndexSchema Field content@s___t@ is not multivalued and destination for multiple copyFields (4)
2023-04-18 09:32:29.375 WARN (coreLoadExecutor-6-thread-1) [ x:archive] o.a.s.s.IndexSchema Field content@s__@* is not multivalued and destination for multiple copyFields (8)
2023-04-18 09:32:29.392 WARN (coreLoadExecutor-6-thread-1) [ x:archive] o.a.s.s.IndexSchema Field content@slt@ is not multivalued and destination for multiple copyFields (8)
2023-04-18 09:32:29.392 WARN (coreLoadExecutor-6-thread-1) [ x:archive] o.a.s.s.IndexSchema Field text@s__sort@ is not multivalued and destination for multiple copyFields (8)
2023-04-18 09:32:29.393 WARN (coreLoadExecutor-6-thread-1) [ x:archive] o.a.s.s.IndexSchema Field text@s__@* is not multivalued and destination for multiple copyFields (16)
2023-04-18 09:32:29.393 WARN (coreLoadExecutor-6-thread-1) [ x:archive] o.a.s.s.IndexSchema Field content@sl_@ is not multivalued and destination for multiple copyFields (8)
2023-04-18 09:32:29.393 WARN (coreLoadExecutor-6-thread-1) [ x:archive] o.a.s.s.IndexSchema Field text@s_l@ is not multivalued and destination for multiple copyFields (16)
2023-04-18 09:32:29.394 WARN (coreLoadExecutor-6-thread-1) [ x:archive] o.a.s.s.IndexSchema Field text@slt@ is not multivalued and destination for multiple copyFields (16)
2023-04-18 09:32:29.394 WARN (coreLoadExecutor-6-thread-1) [ x:archive] o.a.s.s.IndexSchema Field text@s___t@ is not multivalued and destination for multiple copyFields (8)
2023-04-18 09:32:29.394 WARN (coreLoadExecutor-6-thread-1) [ x:archive] o.a.s.s.IndexSchema Field content@s_t@* is not multivalued and destination for multiple copyFields (4)
2023-04-18 09:32:33.100 WARN (coreLoadExecutor-6-thread-2) [ x:alfresco] o.a.s.h.c.ClusteringComponent No default engine for document clustering.
2023-04-18 09:32:33.106 WARN (coreLoadExecutor-6-thread-1) [ x:archive] o.a.s.h.c.ClusteringComponent No default engine for document clustering.
/opt/alfresco-search-services/solr/bin/search_config_setup.sh: line 134: 11 Killed bash -c "$@"