VM: Don't try to reindex! You'll end in a non working search server

virtualmachine
searchserver
crash
reindex
Tags: #<Tag:0x00007f64726ad550> #<Tag:0x00007f64726ad410> #<Tag:0x00007f64726ad2a8> #<Tag:0x00007f64726ad140>

#1

If you actually try to execute the command
bin/reindex
you will get this error:
Exception in thread "main" org.postgresql.util.PSQLException: ERROR: column w.language does not exist

Unfortunately, as a result you don’t have any search indexes anymore because this script deletes the “old” indexes before it create new ones (which fails).

Ticket with details: https://tickets.metabrainz.org/browse/MBVM-34


#2

Have you tried with the latest indexer downloaded from
http://ftp.musicbrainz.org/pub/musicbrainz/search/


#3

Using the latest version of the indexer search-indexer-ee60311.jar will successfully build the indexes.
You should also download the latest war file, rename it to ROOT.war and place it in the tomcat folder and restart tomcat.


#4

Thank you for this hint @dns_server
I’m using the latest official VM. Could you please tell me the necessary steps to get this files and put it in the exactly correct directory?