Skip to content

how to load metadata blocks and adjust Solr in Docker#11204

Merged
ofahimIQSS merged 6 commits intodevelopfrom
11004-docker-block-solr
Mar 20, 2025
Merged

how to load metadata blocks and adjust Solr in Docker#11204
ofahimIQSS merged 6 commits intodevelopfrom
11004-docker-block-solr

Conversation

@pdurbin
Copy link
Copy Markdown
Member

@pdurbin pdurbin commented Jan 31, 2025

What this PR does / why we need it:

In the tutorial for running Dataverse in Docker, this PR explains how to load a metadata block and update the fields in Solr.

Which issue(s) this PR closes:

Special notes for your reviewer:

None.

Suggestions on how to test this:

Follow the docs.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

No.

Is there a release notes update needed for this change?:

Yes, included.

Additional documentation:

Preview at https://dataverse-guide--11204.org.readthedocs.build/en/11204/container/running/demo.html#additional-metadata-blocks

@pdurbin pdurbin added Component: Containers Anything related to cloudy Dataverse, shipped in containers. Size: 3 A percentage of a sprint. 2.1 hours. FY25 Sprint 16 FY25 Sprint 16 (2025-01-29 - 2025-02-12) labels Jan 31, 2025
Copy link
Copy Markdown
Contributor

@stevenwinship stevenwinship left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested the steps in the doc with no issues

@stevenwinship stevenwinship removed their assignment Feb 21, 2025
@cmbz cmbz added this to the 6.7 milestone Feb 26, 2025
@cmbz cmbz added the FY25 Sprint 18 FY25 Sprint 18 (2025-02-26 - 2025-03-12) label Feb 27, 2025

Update your Solr schema with the following command:

``curl http://localhost:8080/api/admin/index/solr/schema | docker run -i --rm -v ./docker-dev-volumes/solr/data:/var/solr gdcc/configbaker:unstable update-fields.sh /var/solr/data/collection1/conf/schema.xml``
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider removing the unstable Docker tag to emphasize that this approach is compatible with other image versions as well.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@johannes-darms I like this idea but currently we don't push a "latest" tag, which means you get an error like this if you leave off the tag:

% docker run gdcc/configbaker
Unable to find image 'gdcc/configbaker:latest' locally
docker: Error response from daemon: failed to resolve reference "docker.io/gdcc/configbaker:latest": docker.io/gdcc/configbaker:latest: not found.

I'll try to remember to circle back to this once we start pushing a "latest" tag. We'll probably work on this as part of this issue:

@pdurbin pdurbin moved this from Ready for QA ⏩ to In Progress 💻 in IQSS Dataverse Project Mar 12, 2025
@pdurbin pdurbin self-assigned this Mar 12, 2025
@cmbz cmbz added the FY25 Sprint 19 FY25 Sprint 19 (2025-03-12 - 2025-03-26) label Mar 12, 2025
@pdurbin pdurbin moved this from In Progress 💻 to Ready for QA ⏩ in IQSS Dataverse Project Mar 19, 2025
@pdurbin pdurbin removed their assignment Mar 19, 2025
Comment thread doc/sphinx-guides/source/container/running/demo.rst Outdated
@ofahimIQSS ofahimIQSS self-assigned this Mar 19, 2025
@ofahimIQSS ofahimIQSS moved this from Ready for QA ⏩ to QA ✅ in IQSS Dataverse Project Mar 19, 2025
Co-authored-by: Omer Fahim <mfahim11427@gmail.com>
@ofahimIQSS
Copy link
Copy Markdown
Contributor

No issues found - merging

@ofahimIQSS
Copy link
Copy Markdown
Contributor

spoke to soon, please resolve the merge conflict :)

Conflicts:
doc/sphinx-guides/source/container/running/demo.rst
@pdurbin
Copy link
Copy Markdown
Member Author

pdurbin commented Mar 20, 2025

Sure, resolved.

@ofahimIQSS
Copy link
Copy Markdown
Contributor

merging, no issues found

@ofahimIQSS ofahimIQSS merged commit 5d288c3 into develop Mar 20, 2025
8 checks passed
@github-project-automation github-project-automation Bot moved this from QA ✅ to Merged 🚀 in IQSS Dataverse Project Mar 20, 2025
@ofahimIQSS ofahimIQSS deleted the 11004-docker-block-solr branch March 20, 2025 18:10
@ofahimIQSS ofahimIQSS removed their assignment Mar 20, 2025
@scolapasta scolapasta moved this from Merged 🚀 to Done 🧹 in IQSS Dataverse Project Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Containers Anything related to cloudy Dataverse, shipped in containers. FY25 Sprint 16 FY25 Sprint 16 (2025-01-29 - 2025-02-12) FY25 Sprint 17 FY25 Sprint 17 (2025-02-12 - 2025-02-26) FY25 Sprint 18 FY25 Sprint 18 (2025-02-26 - 2025-03-12) FY25 Sprint 19 FY25 Sprint 19 (2025-03-12 - 2025-03-26) Size: 3 A percentage of a sprint. 2.1 hours.

Projects

Status: Done 🧹

Development

Successfully merging this pull request may close these issues.

document enabling or updating a metadata block (tsv) and Solr in Dockerized dev env

6 participants