We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Export & Import | Forum

Nathaniel Moikabi
Nathaniel Moikabi Dec 2 '13
I've finally managed to install Oxwall at my host. Thanks to everyone here in the Oxwall support forum who made this possible. 

After successful installation, I've tried exporting my data from Wall.fm to my new Oxwall installation but the import just keep saying Wait Import for hours and Days. Cron seems to be working well, but you can test or help me test just to make sure.

The site I'm exporting from is www.chatterclub.net and the site I'm importing to http://chatterclub.net.

Alia Team
Alia Dec 2 '13
Check: http://www.oxwall.org/forum/topic/13904

1. Make sure that your CRON is up and running locally  ( http://docs.oxwall.org/install:cron)on your new Oxwall installation.

2. Have you increased  the 'maximum_execution_time' php directive value to at least 30 minutes ?

3. Log in your  control panel>>PhpMyAdmin>>find table "ow_dataimporter_import".
This tables contains data being imported. Do you see anything in the "Error" column?
Nathaniel Moikabi
Nathaniel Moikabi Dec 3 '13
The site keeps going into maintenance mode and it is not showing any error on the database.

I have attached a screenshot.  

  Capture.PNG (83.69Kb)
Alia Team
Alia Dec 4 '13
Data Importer puts your plugin under maintenance mode so that your users don't see any error if something goes wrong along the way. If import finishes successfully plugin disables maintenance mode automatically.

In your case import didn't even start.
Which cron command are you using?
Alia Team
Alia Dec 4 '13

Nathaniel, Data Importer requires Cron to be set locally. Your command should look something like:

/usr/local/bin/php /home/site/public_html/ow_cron/run.php

To find out what is your path to run.php follow instructions given at http://docs.oxwall.org/install:cron under "Run Cron Locally" section.

Nathaniel Moikabi
Nathaniel Moikabi Dec 7 '13
I tried using the command: 

/usr/local/bin/php /home/content/81/11531981/html/chatterclub/ow_cron/run.php

but it was giving an error.
I changed it to:
/web/cgi-bin/php5 "$HOME/html/chatterclub/ow_cron/run.php" 
and I'm no longer getting an error, but the data importer status is still showing "Wait Import"

The Forum post is edited by Nathaniel Moikabi Dec 7 '13
MarkieMark67 Dec 7 '13
Have you tried just wget or curl http://www.site.com/ow_cron/run.php

Sometimes the simple ways work best

The Forum post is edited by MarkieMark67 Dec 7 '13
Nathaniel Moikabi
Nathaniel Moikabi Dec 8 '13
I have tried them, wget works, curl does not. I'm able to receive Group invitations immediately when using wget http://www.site.com/ow_cron/run.php or /web/cgi-bin/php5 "$HOME/html/chatterclub/ow_cron/run.php" but the data importer still does not work. The data I'm importing is from Wall.fm which is still running on Oxwall 1.52, could that be the reason. 

I have increased the 'maximum_execution_time' php directive value to 30 minutes.

Alia Team
Alia Dec 10 '13

>>/usr/local/bin/php /home/content/81/11531981/html/chatterclub/ow_cron/run.php

but it was giving an error.

Which error did you get?

Data Importer requires Cron to be set locally via usr/local/bin.... .

Otherwise it just won't start the import.

If you are not sure that you are using a right command (/usr/local/bin/php /home/content/81/11531981/html/chatterclub/ow_cron/run.php) contact your host. Tell them that you need to run ow_cron/run.php file via php and you need to find out the right path to php. They should be able to tell you what it is.