Hello, i have next problem.
1) Add in my file docker-compose.yml
solr:
image: wodby/solr:5.5-1.0.0
environment:
SOLR_HEAP: 1024m
ports:
- "8983:8983"
2) Create core with command: docker exec -it docker_solr_1 /opt/docker-solr/scripts/solr-create-core drupal drupal8
3) By url localhost:8983 i am see admin UI for solr, but search api solr for drupal 8 can't ping this host.
I can't understand what the problem is.
Please help me)
What solr host you have specified in Drupal? It should be solr not localhost.
I did that, but I see a error on search api when a try to save with solr server config, also I have a trouble creating a core in solr admin page
asd
On 6 Feb 2017, at 21:07, Harold Sánchez Balaguera notifications@github.com wrote:
I did that, but I see a error on search api when a try to save with solr server config, also I have a trouble creating a core in solr admin page
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/wodby/docker4drupal/issues/89#issuecomment-277780386, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6zCrBXjOF6rY64n6WZydB488NSKIvMks5rZ2-FgaJpZM4L1QiM.
Vasilis Giannoulis
2SQUARE Web design & development
mobile 0030 6973344350 // skype vgiannoul
@haroldSanchezb what kind of error do you see?
Hi @PavelPrischepa
Two things:
1: I cannot create a core in the admin page of solr
2: I created a core by console inside of solr docker, but when I try to connect on my search api config in drupal, appear a error
Probably is a permission thing.
@haroldSanchezb
I cannot create a core in the admin page of solr
Yes it's a bug in Solr web UI. You should create it via cli.
I created a core by console inside of solr docker, but when I try to connect on my search api config in drupal, appear a error
How you created a new core?
Hello, i am fixed this bug.
I looked docker container ip with help command ifconfig. For me it was 172.17.0.1 i add this ip to search api server then all earned.

I have added these values in the host field: solr, 127.0.0.1 and localhost and I always get this error

what could be?
@Ruslan03492
Hello, i am fixed this bug.
I'm not sure what bug do you mean?
@haroldSanchezb
It looks like Solr module issue. Check Drupal and PHP logs and open an issue on DO if needed.
btw, a correct value of Solr hostname is solr.
New Drupal Solr image is out, you can now run actions to create new cores with Search API configs, for more details see https://github.com/wodby/drupal-solr
I used docker4drupal, and for creating new core I run the command:
docker exec -ti [conteiner-id] make core=[core-name] -f /usr/local/bin/actions.mk