Jump to content

Fresh Install of 702 on Ubuntu 16.04 LTS Fails with Internal Server Error


Recommended Posts

I tried installing WHMCS 7.0.2 on a fresh Ubuntu 16.04 LTS cloud server using Virtualmin.

 

Install works until pressing the "complete setup" button. Goes for about 1 minute then get the "Internal Server Error". When I rerun the installer it says "We have detected that you are currently running WHMCS Version 3.6.1. This update process will upgrade your installation to 7.0.2."

 

Have tried install many times and same result every time.

 

Everything upgraded to current on the server including all the requirements. PHP memory set to 128MB

 

Any ideas on how to get the install to work? I tried 3 different version including 7.1 and same result in each.

 

Thanks...

 

 

 

Install log:

 

[2016-12-14 21:48:30][WHMCS Installer] DEBUG: Installer bootstrapped []

[2016-12-14 21:48:33][WHMCS Installer] DEBUG: Installer bootstrapped []

[2016-12-14 21:48:33][WHMCS Installer] INFO: Previous install not detected; a fresh install will be attempted []

[2016-12-14 21:48:35][WHMCS Installer] DEBUG: Installer bootstrapped []

[2016-12-14 21:48:46][WHMCS Installer] DEBUG: Installer bootstrapped []

[2016-12-14 21:48:46][WHMCS Installer] INFO: New configuration file has been written []

[2016-12-14 21:48:46][WHMCS Installer] INFO: Applying base SQL schema []

[2016-12-14 21:49:13][WHMCS Installer] DEBUG: Installer bootstrapped []

[2016-12-14 21:49:13][WHMCS Installer] INFO: Creating initial admin account []

[2016-12-14 21:49:13][WHMCS Installer] INFO: Applying incremental updates to base install schema []

[2016-12-14 21:49:13][WHMCS Installer] INFO: Applying Updates for 3.2.1-release.1 []

[2016-12-14 21:49:13][WHMCS Installer] INFO: Removing any obsolete file and directories []

[2016-12-14 21:49:13][WHMCS Installer] INFO: Applying Updates for 3.2.2-release.1 []

[2016-12-14 21:49:13][WHMCS Installer] INFO: Removing any obsolete file and directories []

[2016-12-14 21:49:13][WHMCS Installer] INFO: Applying Updates for 3.2.3-release.1 []

[2016-12-14 21:49:13][WHMCS Installer] INFO: Removing any obsolete file and directories []

[2016-12-14 21:49:13][WHMCS Installer] INFO: Applying Updates for 3.3.0-release.1 []

[2016-12-14 21:49:21][WHMCS Installer] INFO: Removing any obsolete file and directories []

[2016-12-14 21:49:21][WHMCS Installer] INFO: Applying Updates for 3.4.0-release.1 []

[2016-12-14 21:49:25][WHMCS Installer] INFO: Removing any obsolete file and directories []

[2016-12-14 21:49:25][WHMCS Installer] INFO: Applying Updates for 3.4.1-release.1 []

[2016-12-14 21:49:26][WHMCS Installer] INFO: Removing any obsolete file and directories []

[2016-12-14 21:49:26][WHMCS Installer] INFO: Applying Updates for 3.5.0-release.1 []

[2016-12-14 21:49:29][WHMCS Installer] INFO: Removing any obsolete file and directories []

[2016-12-14 21:49:29][WHMCS Installer] INFO: Applying Updates for 3.5.1-release.1 []

[2016-12-14 21:49:29][WHMCS Installer] INFO: Removing any obsolete file and directories []

[2016-12-14 21:49:29][WHMCS Installer] INFO: Applying Updates for 3.6.0-release.1 []

[2016-12-14 21:49:31][WHMCS Installer] INFO: Removing any obsolete file and directories []

[2016-12-14 21:49:31][WHMCS Installer] INFO: Applying Updates for 3.6.1-release.1 []

[2016-12-14 21:49:32][WHMCS Installer] INFO: Removing any obsolete file and directories []

[2016-12-14 21:49:32][WHMCS Installer] INFO: Applying Updates for 3.6.2-release.1 []

 

 

apache error log

[Wed Dec 14 06:25:17.046888 2016] [mpm_prefork:notice] [pid 1525] AH00163: Apache/2.4.18 (Ubuntu) SVN/1.9.3 mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations

[Wed Dec 14 06:25:17.046939 2016] [core:notice] [pid 1525] AH00094: Command line: '/usr/sbin/apache2'

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

[Wed Dec 14 06:27:42.320133 2016] [fcgid:warn] [pid 8939] mod_fcgid: process 8953 graceful kill fail, sending SIGKILL

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

[Wed Dec 14 07:46:54.563965 2016] [fcgid:warn] [pid 8939] mod_fcgid: process 11335 graceful kill fail, sending SIGKILL

[Wed Dec 14 08:48:31.778261 2016] [fcgid:warn] [pid 8939] mod_fcgid: process 16517 graceful kill fail, sending SIGKILL

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

[Wed Dec 14 09:02:57.096897 2016] [fcgid:warn] [pid 8939] mod_fcgid: process 16956 graceful kill fail, sending SIGKILL

[Wed Dec 14 09:56:26.553068 2016] [fcgid:warn] [pid 8939] mod_fcgid: process 9013 graceful kill fail, sending SIGKILL

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

[Wed Dec 14 11:56:01.147995 2016] [fcgid:warn] [pid 8939] mod_fcgid: process 11804 graceful kill fail, sending SIGKILL

[Wed Dec 14 12:29:37.032187 2016] [fcgid:warn] [pid 8939] mod_fcgid: process 26491 graceful kill fail, sending SIGKILL

[Wed Dec 14 13:34:03.749562 2016] [mpm_prefork:notice] [pid 1525] AH00171: Graceful restart requested, doing restart

[Wed Dec 14 13:34:04.261601 2016] [so:warn] [pid 1525] AH01574: module dav_module is already loaded, skipping

[Wed Dec 14 13:34:04.361391 2016] [mpm_prefork:notice] [pid 1525] AH00163: Apache/2.4.18 (Ubuntu) SVN/1.9.3 mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations

[Wed Dec 14 13:34:04.361431 2016] [core:notice] [pid 1525] AH00094: Command line: '/usr/sbin/apache2'

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

[Wed Dec 14 21:42:41.492955 2016] [fcgid:warn] [pid 29312] mod_fcgid: process 15361 graceful kill fail, sending SIGKILL

[Wed Dec 14 21:50:03.439975 2016] [fcgid:warn] [pid 29312] mod_fcgid: process 15713 graceful kill fail, sending SIGKILL

Link to comment
Share on other sites

Ok solved it with the help of Chance at WHMCS.

 

It was a timeout issue as he thought. I adjusted the "Maximum PHP script run time" in Virtualmin (php.ini).

 

I changed that to 300 from the default of 40 and tailed the WHMCS installer log, it got farther this run but failed at the "6.0 Alpha" point.

 

I then set it to 360 and it went further again but threw out an error related to the mysql strict mode setting I had in my mysql cnf file causing a zero date error. I'm not to familar with these settings so used one suggested on the net which yielded another install failure. I adjusted that and the WHMCS install completed without error this time.

 

 

/etc/mysql/conf.d/disable_strict_mode.cnf

 

 

WORKED

[mysqld]

sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

 

 

DID NOT WORK

[mysqld]

sql_mode=IGNORE_SPACE,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated