Skip to content

Conversation

@demiankatz
Copy link
Member

It has been reported that using .deb packages to upgrade VuFind leaves behind outdated .solrj symlinks which break import following the upgrade (since SolrMarc can't find SolrJ). I imagine that there may be other scenarios that could leave these unwanted links behind after a Solr update. This PR adds logic to validate the symlinks and fix them as needed.

I did not take the time to add equivalent logic to the Windows batch file; since I'm not aware of a Windows scenario that would cause this situation, it seemed better not to overcomplicate things.

An alternate solution might be to update the .deb package script to wipe out any existing .solrj symlinks as part of the installation. That would have the advantage of not adding more processing to every import call, but the disadvantage of being a less general solution.

Feedback welcome!

@demiankatz demiankatz added this to the 11.0.1 milestone Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant