OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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.
okello
 
Posts: 14
Joined: Sun Feb 25, 2007 7:43 am

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
asmecher
 
Posts: 8581
Joined: Wed Aug 10, 2005 12:56 pm

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.
okello
 
Posts: 14
Joined: Sun Feb 25, 2007 7:43 am

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
asmecher
 
Posts: 8581
Joined: Wed Aug 10, 2005 12:56 pm

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.
okello
 
Posts: 14
Joined: Sun Feb 25, 2007 7:43 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 2 guests