Getting an error migrating wordpress site on Litespeed

November 6, 2019 193 views
WordPress Apache

Hi, I’ve installed openlitespeed droplet and have a wordpress website. Now when I try to migrate a wordpress sql database it’s giving me an error.

I was able to use the same and migrate on another droplet with apache. The wordpress plugin I’m using to migrate is called updraftplus.

It gives me this error on screen when I try to restore the old site.
updraftsendcommand: error: error ()

Looks like the server is refusing to connect to the plugin. Any help is appreciated.

I’m unable to go the usual route of exporting the DB because the other host is unable to export and times out. The DB is 3GB.

A few lines from the error log.

2019-11-05 04:39:59.015603  NOTICE  sendKillCmdToWatchdog: 'extappkill:19635:-3:0'.
2019-11-05 04:39:59.100390  NOTICE  [19450] Cmd from child: [extappkill:19635:-3:0]
2019-11-05 14:33:55.483048  NOTICE  [162....-1#wordpress] [STDERR] PHP Fatal error: Maximum execution time of 240 seconds exceeded in /var/www/html/wp-content/plugins/updraftplus/class-updraftplus.php on line 4459
2019-11-05 15:17:07.677845  ERROR   [T0 void EvtcbQue::run()] called with pObj 0x22e77e0 pObj->m_pSession NULL not allowed! SKIPPING
2019-11-05 15:19:30.030763  ERROR   [T0 void EvtcbQue::run()] called with pObj 0x22e77a0 pObj->m_pSession NULL not allowed! SKIPPING
4 Answers

Hello, @notslow

You can try to increase the Maximum execution time in the php.ini file or request the support team of the other host to export the backup manually and send it over it you. If this is possible it will be the easiest way to get the database. The database size is not small at all and issues like this are expected, but still you can try increasing the execution time and see if you’re able to export the database.

Let us know how it goes.

Regards,
Alex

Hi,

The default Maximum execution time in the php.ini(/usr/local/lsws/lsphp73/etc/php/7.3/litespeed/php.ini) is 360. Not sure where did the 240 s came from. Any way, you can update it to a larger number a try and do killall lsphpnew to restart PHP.

Best,
Eric

Tried all that and it did not work. I tried cyberpanel and that would not even allow me to upload a plugin due to max upload limits. I just don’t know how to make it work on Litespeed.

I tried this guide for cyberpanel and that didn’t work.
https://cyberpanel.net/docs/4-change-upload-limit-for-phpmyadmin/

Hi @notslow,

It’s hard to diagnosis the issue without more information like PHP info page.

Please report the issue to support@litespeedtech.com with this post link appended and someone will help you to check the issue from there.

You can also direct message me @eric on LiteSpeed Community via Slack

Best,
Eric

Have another answer? Share your knowledge.