Migrate from OJS 1.x to OJS 2.x

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
okello
Posts: 14
Joined: Sun Feb 25, 2007 7:43 am
Contact:

Migrate from OJS 1.x to OJS 2.x

Postby okello » Sat Sep 22, 2007 1:40 am

Hallo.
I've been trying to use the migrate tool included in OJS 2.1.1. I first installed the OJS 2.1.1 as per instructions in the manual. The installation went to completion successfully. I've been running OJS 1.1.5. According the OJS Manual I cannot upgrade my OJS 1.1.5 installation diretly to OJS 2.x. However, there are a number of issues, users and subscriptions I need to import into the new OJS installation. Whenever I run the migrate tool,an error is generated about a non-existent db.php file. The error generated is:

------------------------------------------------------------------------------------------------------------
Importing failed to complete successfully:

* Failed to load /../../../../../<my ojs 1.1.5 directory>/include/db.php

--------------------------------------------------------------------------------------------------------------

Please assist.
Thank you in advance.

asmecher
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm
Contact:

Re: Migrate from OJS 1.x to OJS 2.x

Postby asmecher » Sat Sep 22, 2007 9:04 am

Hi okello,

Are you providing the correct path to your 1.x installation when running the migration tool? OJS 2.x needs to know where include/db.php exists in the 1.x installation in order to read the database connection information. If you're using relative paths, try using absolute paths instead.

Regards,
Alec Smecher
Public Knowledge Project Team

okello
Posts: 14
Joined: Sun Feb 25, 2007 7:43 am
Contact:

Re: Migrate from OJS 1.x to OJS 2.x

Postby okello » Sun Sep 23, 2007 1:48 am

Thanks alot for the reply.

I actually specified the absolute path. And, in the includes/ folder, there's no file named db.php. The database connection settings are in config.inc.php. What am I supposed to do in such a case?

Please help. Thanks in advance.

asmecher
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm
Contact:

Re: Migrate from OJS 1.x to OJS 2.x

Postby asmecher » Sun Sep 23, 2007 9:11 am

Hi okello,

Ah -- that means that the 1.x installation is too old to be migrated directly to OJS 2.x. You'll have to upgrade to the last 1.x version first, then go to 2.x from there.

Regards,
Alec Smecher
Public Knowledge Project Team

okello
Posts: 14
Joined: Sun Feb 25, 2007 7:43 am
Contact:

Re: Migrate from OJS 1.x to OJS 2.x

Postby okello » Sun Sep 23, 2007 9:21 pm

Thanks Alec.
I'm trying it out.


Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests