Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 13:46:11

Author Topic: Fatal error when upgrading  (Read 8522 times)

0 Members and 1 Guest are viewing this topic.

Offline Actual

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Fatal error when upgrading
« on: 2014-04-13, 00:24:44 »
I get Fatal error: Class 'mysqli' not found in /usr/local/lxlabs/kloxo/httpdocs/lib/php/sqlitelib.php on line 59

when I try to load http://mydomain.net:7778 or https://www.mydomain.net:7777/

have tried various yum cleanup, yum upgrade, yum update, upcp, etc. to no avail

help!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Fatal error when upgrading
« Reply #1 on: 2014-04-13, 03:36:29 »
If using 6.5.0.f, run 'yum replace mysql --replace-with=mysql55' (for Centos 6) and then run 'sh /script/cleanup'.

Better read http://forum.mratwork.com/kloxo-mr-releases-and-announcements/(update)-php-issues/
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Actual

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Fatal error when upgrading
« Reply #2 on: 2014-04-13, 13:20:23 »
I'm already on 6.5.1 and that command gives

"Error: Package 'mysql' is not installed."

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Fatal error when upgrading
« Reply #3 on: 2014-04-13, 13:32:14 »
Try 'yum clean all; yum update; sh /script/php53s-installer; sh /script/fixlxphpexe php53s; sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Actual

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Fatal error when upgrading
« Reply #4 on: 2014-04-13, 13:42:30 »
No joy. Still same error message after running that which is

'Fatal error: Class 'mysqli' not found in /usr/local/lxlabs/kloxo/httpdocs/lib/php/sqlitelib.php on line 59'


Offline Actual

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Fatal error when upgrading
« Reply #5 on: 2014-04-13, 13:43:26 »
Also, restart-all now gives:


Starting Djbdns for:
  - axfrdns    [FAILED]
  - tinydns    [FAILED]

maybe why? this worked before upgrade

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Fatal error when upgrading
« Reply #6 on: 2014-04-14, 11:32:54 »
The problem is Kloxo-MR using mysql 5.5 from CentAlt but at their latest upload their mysql already removed. The impact to php52s where still need mysql 5.5. After php52s make change needed to mysql55 (from IUS) instead mysql 5.5 (from Centalt).

To fix this issue:
Code: [Select]
yum replace mysql --replace-with=mysql55
yum update php52s
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Actual

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Fatal error when upgrading
« Reply #7 on: 2014-04-16, 22:14:36 »
command: yum replace mysql --replace-with=mysql55

gives error message:

Error: Package 'mysql' is not installed.

command: yum update php52s

gives error message:

No package php52s available.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Fatal error when upgrading
« Reply #8 on: 2014-04-16, 23:54:25 »
Run:

/script/php52s-installer

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Fatal error when upgrading
« Reply #9 on: 2014-04-17, 05:51:31 »
Update 6.5.1.b to latest version (2014041602) and then run 'sh /script/upcp' (need running upcp if update from 6.5.0).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Actual

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Fatal error when upgrading
« Reply #10 on: 2014-04-18, 15:22:48 »
All above suggestions did not work. Only solution was to wipe Kloxo-MR and re-install from scratch and then restore backup. This is not an ideal upgrade solution. A bug-free upgrade path would be great and limit downtime.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Fatal error when upgrading
« Reply #11 on: 2014-04-18, 15:52:50 »
If using latest version (6.5.0 or 6.5.1), most problem already fixed.

Doesn't need fresh install if we have a problem. Enough running 'sh /script/upcp -y' (like fresh install but with '-y'). With '-y', Kloxo-MR will be reinstall without worry data will be destroy/deleted.

Reinstall (via 'sh /script/upcp -y'), Kloxo-MR will be remove all components (like php/httpd/qmail/mysql) and then install again. Reinstall as the same as fresh install but without touch kloxo database (that mean all setting still no changed).

But, for reinstall, we need re-configure setting like select web/dns/spam server also php-branch and php-type.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Actual

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Fatal error when upgrading
« Reply #12 on: 2014-04-19, 15:28:48 »
Sounds great. If that would've worked for me, I would have been very happy. I tried all that but no good. Re-install from scratch was the only solution that worked. Thanks anyway, still a good panel even with it's current problems.

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.028 seconds with 21 queries.

web stats analysis