You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy improvements to extractors troubleshooting (#315)
After setting up extractors yet again, I clarified the troubleshooting section in the docs for concision and correctness. Ex: saving the page is sufficient (in application.conf) instead of a full Clowder restart.
Co-authored-by: Luigi Marini <[email protected]>
Copy file name to clipboardExpand all lines: doc/src/sphinx/userguide/installing_clowder.rst
+23-12Lines changed: 23 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -198,7 +198,7 @@ for details.), we must tell Clowder which ports the services are using.
198
198
199
199
localhost:27017 -- "It looks like you're trying to access MongoDB" Success!
200
200
localhost:15672 -- should see RabbitMQ login screen (no need to login tho!)
201
-
localhost:9200 -- Should see a json file with "name" : "Machine Teen"
201
+
localhost:9200 -- Should see a json file with "name" : "Machine Teen" (Note this is optional! Clowder can function fine without Elasticsearch)
202
202
203
203
Done! Now keep that running, and next let’s build Clowder from source 👇
204
204
@@ -441,12 +441,13 @@ Use the default extractors
441
441
============================
442
442
443
443
444
-
The default extractors offer simple quality of life improvements for image, video, pdf, and audio file previews while browsing Clowder.
444
+
The default extractors offer simple quality of life improvements for image, video, pdf, and audio file previews while browsing Clowder. Extractors also offer powerful capabilities for manipulating your data in Clowder, see `PyClowder <https://github.com/clowder-framework/pyclowder>`__ for additional capabilities, including running machine learning training on your data stored in Clowder.
445
445
446
-
Enable them by starting Clowder with the extractors file ``docker-compose.extractors.yml``:
446
+
Enable the default Extractors:
447
447
448
448
.. code:: bash
449
-
449
+
450
+
# start Clowder with extractor support
450
451
docker-compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.extractors.yml up -d
451
452
452
453
Or run NCSA GeoServer for viewing and editing geospacial data via ``docker-compose.geoserver.yml``:
@@ -456,27 +457,37 @@ Or run NCSA GeoServer for viewing and editing geospacial data via ``docker-compo
456
457
* extractor-geotiff-preview
457
458
* extractor-geotiff-metadata
458
459
460
+
.. code:: bash
461
+
462
+
# start Clowder with default extractors, and GeoServer extractors
Learn more about `GeoServer <https://wiki.ncsa.illinois.edu/display/NCSASoftware/GeoServer+Focus+Group+Final+Report>`__ and `read the documentation <https://wiki.ncsa.illinois.edu/display/MM/Documentation>`__.
460
466
461
467
Troubleshooting extractors
462
468
---------------------------
463
-
Networking issues: Error "connection refused."
464
-
This is caused by the docker containers not being able to connect to each other.
469
+
First, make sure you include the extractors when starting Docker! See ``docker-compose.extractors.yml`` in :ref:`the section above <_defaultExtractors>`.
470
+
471
+
If running the extractor results in a ``"Failed to establish a new connection: [Errno 111] Connection refused"``, this is a Docker networking issue. Containers must be able to talk to each other (Clowder talking to RabbitMQ).
472
+
473
+
To resolve, open ``clowder/conf/application.conf`` search for and set the RabbitMQ message queue URL:
474
+
475
+
.. code:: yml
465
476
466
-
1. In ``conf/application.conf`` edit the rabbitmq (message queue) URL to: ``clowder.rabbitmq.clowderurl="http://host.docker.internal:9000"``
0 commit comments