Closed infinite-dao closed 3 years ago
alfresco service is not reaching solr6 service.
You removed following line from default docker-compose.yml
file in alfresco service section:
-Dsolr.secureComms=none
If you add that, everything will work as expected.
I suggest you to start with provided configuration and test your changes incrementally in order to find out what's wrong.
You removed following line from default docker-compose.yml file in alfresco service section:
-Dsolr.secureComms=none
ups yes true, I made a backup before as docker-compose.yml.install
and found the following missing in comparison to the above docker-compose.yml
that was running the test server, so I added again:
-Dsolr.port=8983
-Dsolr.secureComms=none
-Dsolr.baseUrl=/solr
… and the connection refused messages are gone for now.
Perhaps a new issue but I still have difficulties to log in to the solr web console at https://custom-server-name.org/solr
. Questions to this:
https://custom-server-name.org/solr
?config/nginx.htpasswd
the documentation describes it as the password to protect the access to Solr Web Console, so I tried to log in http(s)://localhost/solr (wrong password or user name) or https://custom-server-name.org/solr without success, I tried admin with pw admin or as user admin and other combinations for passwords, no successThank you for your comments
The password for solr is provided in
By default is admin/admin
Solr Web Console doesn't have by default user administration, so it's protected in this Docker Compose by using HTTP Basic Auth.
This blog post describe the different communication scenarios between Alfresco and SOLR: https://hub.alfresco.com/t5/alfresco-content-services-blog/alfresco-6-1-is-coming-with-mutual-tls-authentication-by-default/ba-p/287905
The one provided by this Docker Compose is "SOLR and Alfresco communicating with HTTP and services protected by Web Proxy (secure)"
The password for solr is provided in
- ./config/nginx.htpasswd:/etc/nginx/conf.d/nginx.htpasswd
By default is admin/admin
yes I know, but I did not get in with password admin. I found out this password setting in nginx.htpasswd
must be formatted e.g. like so:
admin:$apr1$94LKbA3l$fawCs80fVfXNG.IMlazEl1
… to enable user admin with password admin; this above password setting was generated from the command line tool htpasswd
for instance. See https://github.com/aborroy/acs-proxy/issues/3. Once I changed that value in nginx.htpasswd
1 …
admin:YWG41BPzVAkN6 -> admin:$apr1$94LKbA3l$fawCs80fVfXNG.IMlazEl1
… I could log in as expected with password admin ;-)
Of course for production one should change the password later to whatever secure password is needed.
Footnote 1: you can execute htpasswd nginx.htpasswd admin
(which corresponds to htpasswd passwdfile username
, if there is an identical user already it would update his password, further details in man htpasswd
)
It’s difficult for me to get CE 6.2 running without errors on a server deployed Alfresco (not local on localhost but on a server; it is still a fresh installation). I tried CE 7.0 but I do not get it running with logging in (https://github.com/Alfresco/alfresco-docker-installer/issues/69).
In my CE 6.2 installation I see two main issues:
alfresco-docker-compose_alfresco_1
=>'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js'
is not there)Questions to 1.)
docker-compose.yml
) ?Questions to 2.)
ALFRESCO_CE_TAG
recommended from the 6.2.*?docker-compose.yml
files supported from official Alfresco documentation eventually if we find no solution hereThank you for your help solving this issue!
docker-compose.yml
.env
filedocker-compose.yml
filealfresco.log