Progress! That got vufind running, but now am getting a "solr index is offline" error. Here's the debug info, I'll see what I can do in the meantime.


[533] /usr/share/pear/PEAR.php
[163] /usr/local/catalog/web/sys/Solr.php
[151] /usr/local/catalog/web/sys/ConnectionManager.php
[94] /usr/local/catalog/web/sys/SearchObject/Solr.php
[59] /usr/local/catalog/web/sys/SearchObject/Factory.php
[120] /usr/local/catalog/web/sys/Interface.php
[72] /usr/local/catalog/web/index.php

On Fri, Sep 28, 2012 at 1:24 PM, Demian Katz <> wrote:
Assuming your PEAR libraries are all installed correctly, it sounds like you need to edit php.ini and add /usr/share/pear to the include_path directive there.

- Demian

From: Nathan Tallman []
Sent: Friday, September 28, 2012 1:10 PM
To: Demian Katz
Cc: vufind-tech
Subject: Re: [VuFind-Tech] Migration

I've tried hardcoding the path (/usr/share/pear/PEAR.php) to PEAR.php in index.php, but get the same error...


On Fri, Sep 28, 2012 at 1:04 PM, Nathan Tallman <> wrote:
Ahhh, I was checking Jetty logs for trouble. Should have thought to look at Apache. It seems to point to a PEAR issue...

PHP Fatal error:  require_once(): Failed opening required 'PEAR.php' (include_path='.:') in /usr/local/catalog/web/index.php on line 43


On Fri, Sep 28, 2012 at 12:48 PM, Demian Katz <> wrote:
Have you looked at the Apache error logs to see exactly what is causing the 500 error?  That's probably the best place to start.

- Demian

From: Nathan Tallman []
Sent: Friday, September 28, 2012 12:44 PM
To: vufind-tech
Subject: Re: [VuFind-Tech] Migration

I've started the migration and I've run into a snag...

The first time round, I installed dependencies, copied the vufind folder, and set the appropriate permissions, links, etc. (basically ran through all the steps on Install on Fedora, up to #9) and things seemed to be working okay. Then I thought I would need to run the install script and things went south. Ever since running the install script, I get a 500 server error. I've wiped the vufind folder twice and repeated the steps that got me success in the first place, but the 500 error persists. All the apache/vufind links are correct and in place, I'm not sure what's happening.

Can anyone help trouble shoot?


P.S. Migrating the database right now, but it was working sans database in the beginning...

On Mon, Sep 17, 2012 at 1:44 PM, Demian Katz <> wrote:

It’s a feature you can set up in the Solr configuration:


- Demian


From: Nathan Tallman []
Sent: Monday, September 17, 2012 1:35 PM
To: Demian Katz
Cc: Filipe MS Bento (UA); vufind-tech
Subject: Re: [VuFind-Tech] Migration


Thanks Demian. Is "automatic index synchronization" just cron'ing the ftp transfer of the new index or is it something else?




On Mon, Sep 17, 2012 at 9:56 AM, Demian Katz <> wrote:

A couple of additional notes:


1.)    Just to emphasize what Filipe said, don’t forget to dump and reimport your MySQL database if there is anything important in there (user accounts, tags, favorites, change tracker data, etc.)

2.)    Moving Solr directories from server to server works quite well… but you can also set up automatic index synchronization if this is something you need to do frequently.


- Demian


From: Nathan Tallman []
Sent: Saturday, September 15, 2012 9:25 AM
To: Filipe MS Bento (UA); vufind-tech
Subject: Re: [VuFind-Tech] Migration


Thanks Filipe! I thought this would be the case. Good news!



On Fri, Sep 14, 2012 at 4:38 PM, Filipe MS Bento (UA) <> wrote:

Hi, Natham!


I've done that and even went further as migrating a /vufind folder (tar cvfz of it) from a Ubuntu 10.04 LTS to a CentOS 6 (adjusting the necessary permissions and ownership and make correct link of VuFind into Apache), restored the mysql dump and started up just fine (with all the dependencies installed [different flavors between OS]). And the other way around to, I remembered now.



So yes I would say yes to both questions, and for sure the second one: I've done backups of it (/solr/biblio/index/*) and restored them in another machine with the same schema (/solr/biblio/conf/schema.xml) and it runned just fine (6 millions records just as a reference of the numbers involved).


Hope not saying something that is not true in all possible scenarios... well, that is something no one can guaranties, I suppose (like everything in real, daily life).


Hei, I've done that with ALEPH (migration from v18.01 to v20.01), and if you have it, you know how much can go wrong if everything is not well parametrized. So, well... you have to know exactly what you are doing and the consequences of each step and how to fix any possible problems as they arise.


All the best and have a nice weekend,






Filipe Manuel S. Bento  |


A book that shall be really a reference to all of us (has a lot of VuFind related entries):
Library Automation and OPAC 2.0: Information Access and Services in the 2.0 Landscape
(read it for free: request your free 60-day e-book exam copy)

Computer Science Specialist | Long Term LOA (Leave of Absence) from the University of Aveiro, Portugal

Electronic & Telecommunication Engineering (5 yrs degree, UA) * MSc in Electronic Information Management (U.Sheffield, UK)

European Space Agency [ESA] Industrial Placement (IRS / ESRIN – European Space Research Institute, Frascati [Rome], Italy)

ICPD Doctorate Candidate (UA | U.Porto) * PhD Researcher (UA/CETAC.Media), grant by FCT - Portuguese Foundation for Science and Technology

President/Chair of Steering Committee (Portuguese Ex Libris Users’ National Association, hosted by Portuguese Parliament's Library, Palácio de S. Bento, Lisbon,  


On Fri, Sep 14, 2012 at 7:52 PM, Nathan Tallman <> wrote:

I'm looking at migrating our production server in a few weeks. Assuming all the dependencies are installed, file permissions changed, symbolic links created, etc., can I simple copy the vufind folder from one machine to another?


In a similar vein, can I generate an index (website index via VUFIND-454) on a development machine and copy the solr core (vufind/solr/website) to the production machine to update the index on the production machine?


Thanks and have a great weekend!




Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.;262219671;13503038;y?
Vufind-tech mailing list