Jump to content

V6 Upgrade Failure


innovot

Recommended Posts

Hello:

 

have attempted to upgrade from 5.3.14 -> 6.0.2 but unfortunately it failed. Once we had extracted the ZIP (full), copied the admin files to their custom path, and set permissions followed by going to the site we received "SQLSTATE[HY000] [2002] Connection refused". Thought this may be due to using mysql port shift but even with a NAT rule in place and removing the $db_port option it still failed.

 

Have recovered from backup and all is working again.

 

Are we missing any modules ?

 

atomic-php56-php-fpm-5.6.12-28.el7.art.x86_64

atomic-php56-php-xml-5.6.12-28.el7.art.x86_64

atomic-php56-php-gd-5.6.12-28.el7.art.x86_64

atomic-php56-php-mbstring-5.6.12-28.el7.art.x86_64

atomic-php56-php-common-5.6.12-28.el7.art.x86_64

atomic-php56-php-pdo-5.6.12-28.el7.art.x86_64

atomic-php56-php-cli-5.6.12-28.el7.art.x86_64

atomic-php56-php-5.6.12-28.el7.art.x86_64

atomic-php56-php-mysqlnd-5.6.12-28.el7.art.x86_64

atomic-php56-php-opcache-5.6.12-28.el7.art.x86_64

atomic-php56-php-soap-5.6.12-28.el7.art.x86_64

atomic-php56-php-mcrypt-5.6.12-28.el7.art.x86_64

 

PHP 5.6.12 (cli) (built: Aug 10 2015 13:41:03)

Copyright © 1997-2015 The PHP Group

Zend Engine v2.6.0, Copyright © 1998-2015 Zend Technologies

with the ionCube PHP Loader v4.7.3, Copyright © 2002-2014, by ionCube Ltd., and

with Zend OPcache v7.0.6-dev, Copyright © 1999-2015, by Zend Technologies

 

Thank you.

Edited by innovot
Link to comment
Share on other sites

if you have the time, might be worth getting a free developers license from WHMCS - that would allow you to have a separate installation to test v6 on your server.

 

if you're in a rush, you could always do a test v6 installation elsewhere on your server (perhaps using a copy of your current db) - you may need to reissue your license to use the v6, but that wouldn't affect the live v5.3 site client area.

Link to comment
Share on other sites

Thanks for the reply. I created a PHP script for connecting to the MariaDB using PDO and that works fine!

 

<?php

   $db_host = 'dbserver';
   $db_port = '3307';
   $db_username = 'whmcs';
   $db_password = 'verycomplexpassword';
   $db_name = 'whmcs01';

try {
   $conn = new PDO("mysql:host=$db_host;port=$db_port,dbname=$db_name", $db_username, $db_password);

} catch (PDOException $pe) {
   die("Could not connect to the database $dbname :" . $pe->getMessage());
}
?>

Edited by innovot
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