Topic: Setting up server. Some pages don't return results..

Hi.

I am trying to set up a server to duplicate the musicbrainz. I followed these directions: https://github.com/metabrainz/musicbrai … er/INSTALL

However, when I go to run it running a query like this:

http://server/ws/2/release/?release-group=8a01217e-6947-3927-a39b-6691104694f1

Does not return anything, however when run on the musicbrainz server it does. But running this:

http://server/ws/2/release/99a96bf6-8166-3b7c-97ed-ea525f13ec65

works.

Why is this?

Re: Setting up server. Some pages don't return results..

Do you have your search server setup correctly? See DBDefs::SEARCH_SERVER, I think.

Re: Setting up server. Some pages don't return results..

I have a similar problem. In my case, both commands
http://localhost:5000/release/5d9a5a55-e75f-4282-906b-1141f94f1885
http://localhost:5000/ws/2/release/5d9a5a55-e75f-4282-906b-1141f94f1885
does return informations, the first as a nice result HTML page, the second returns as XML.

But if I enter the text "Madonna" on http://localhost:5000/ as artist search string, I don't get results. I get a nice MusicBrainz page including this "error":

Search Error
Sorry, but your query "(query)" did not match any artists. Please check you used the correct spelling. Sometimes searching for fewer or different words may also help.
For assistance in writing effective advanced search queries, read the syntax documentation. 

If I would know the MBID for Madonna, I could enter
http://localhost:5000/artist/79239441-bfd5-4981-a70c-55c3f15c1287
in the browser and I would get the desired result.

What I'm doing wrong, that the search for text like "Madonna" doesn't work?

@acid2:
My entries in DBDefs.pm

sub WEB_SERVER                { "localhost" }
sub LUCENE_SERVER             { "localhost" }

server.xml for tomcat6

...
    <Executor name="tomcatThreadPool" namePrefix="catalina-exec-" 
        maxThreads="150" minSpareThreads="4" />
...
    <Connector port="80" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443"
               URIEncoding="UTF-8"
               executor="tomcatThreadPool"/>

Re: Setting up server. Some pages don't return results..

Which instructions did you use to set up the search server? Are there errors in the logs of the MB server or the search server? There's not really enough information here for anyone to help you.

Do you really need your own search server, or is using musicbrainz.org's sufficient? It's not trivial to set up your own search server, get it to build/rebuild indexes etc. FWIW, the standard virtual server comes configured to point to musicbrainz.org's search server.

Re: Setting up server. Some pages don't return results..

Instructions: http://bugs.musicbrainz.org/browser/sea … unk/README
The "error" is not from a log file, it returns instead of the result:
http://img59.imageshack.us/img59/7419/searcherrorlocalhost.th.png.

I would like to learn more about Lucene Search Server and MusicBrainz Server. A lot of skilled people write README's and INSTALL.md - therefore I can't believe that I'm such a n00b not capable to read and understand this instructions :(

What should I do get it working with text search too?

Re: Setting up server. Some pages don't return results..

I release that error is from the web result. But have you looked in the log files to find the root cause? Systems don't generally publish their error root causes to public websites; but they generally do have information inside the logs.

Re: Setting up server. Some pages don't return results..

Could you please tell me, where I have to look for the relevant log files?