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, 17:58:40

Author Topic: Unsuccessful update from Kloxo 6.1.12  (Read 20200 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Unsuccessful update from Kloxo 6.1.12
« on: 2012-12-28, 16:29:32 »
After updating my production server to from 6.1.12 to latest Kloxo-MR I got: Internal Server Error 500 after logging on Kloxo page and such error in logs:

PHP Fatal error:  Call to a member function isAdmin() on a non-object

Mustafa please do something with this /script/fixweb running chown -R it takes ages to complete and I can't have so many hours of downtime to rebuild all Apache config.

I have to restore 6.1.12 from backup to work normally.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unsuccessful update from Kloxo 6.1.12
« Reply #1 on: 2012-12-28, 19:02:37 »
This issue appear on Kloxo or for website?.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Unsuccessful update from Kloxo 6.1.12
« Reply #2 on: 2012-12-28, 20:08:23 »
Directly on Kloxo page after login. Sometimes I was able to login but Kloxo loaded incompletly just a few menus and all other things were left blank.

This is preety old system it was updated from 6.1.6 to 6.1.10, 6.1.11 and 6.1.12 etc.

I wasn't even able to run any website, because updater failed completly on these very long chown -R.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Unsuccessful update from Kloxo 6.1.12
« Reply #3 on: 2012-12-28, 20:10:56 »
Is there any in-place upgrade ?

Just to copy some files and run /script/fixweb to build new Apache config ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unsuccessful update from Kloxo 6.1.12
« Reply #4 on: 2012-12-28, 22:29:31 »
Original place is /usr/local/lxlabs/kloxo/files/apache and you can copy to /home/apache. And then running 'sh /script/fixweb'.

Files inside '/script/' is from '/usr/local/lxlabs/kloxo/pscript' and '/usr/local/lxlabs/kloxo/httpdocs/htmllib/script'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Unsuccessful update from Kloxo 6.1.12
« Reply #5 on: 2012-12-28, 23:19:49 »
I will try to copy my current system to a different test server and upgrade manually to Kloxo-MR then if all will be working fine I will just copy Kloxo folder and Apache configs (with changed IP's) inside.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unsuccessful update from Kloxo 6.1.12
« Reply #6 on: 2012-12-29, 10:11:50 »
Sometimes, switch webserver and or php will be fix some issue.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Unsuccessful update from Kloxo 6.1.12
« Reply #7 on: 2012-12-30, 19:23:40 »
Quote from: "MR-at-Work"
Sometimes, switch webserver and or php will be fix some issue.

I wasn't even able to do this, because Kloxo wasn't loading properly.

I'm in the middle of switching server so I will be able to report if any errors will occur.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Unsuccessful update from Kloxo 6.1.12
« Reply #8 on: 2013-01-02, 20:32:55 »
Take a look:



« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unsuccessful update from Kloxo 6.1.12
« Reply #9 on: 2013-01-02, 21:26:09 »
As I know this issue appear on early upload.

Resolve:

1. extract /usr/local/lxlabs/kloxo/file/skeleton.zip to /usr/local/lxlabs/kloxo/httpdocs/login (if didn't found ./images directory)
2. Copy  /usr/local/lxlabs/kloxo/file/default_index.php /usr/local/lxlabs/kloxo/httpdocs/login/index.php
3. Copy  /usr/local/lxlabs/kloxo/file/login_inc.php /usr/local/lxlabs/kloxo/httpdocs/login/inc.php
3. Copy  /usr/local/lxlabs/kloxo/file/login_inc2.php /usr/local/lxlabs/kloxo/httpdocs/login/inc2.php
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Unsuccessful update from Kloxo 6.1.12
« Reply #10 on: 2013-01-02, 21:29:00 »
Quote from: "MRatWork"
As I know this issue appear on early upload.

Resolve:

1. extract /usr/local/lxlabs/kloxo/file/skeleton.zip to /usr/local/lxlabs/kloxo/httpdocs/login
2. Copy  /usr/local/lxlabs/kloxo/file/default_index.php /usr/local/lxlabs/kloxo/httpdocs/login/index.php
3. Copy  /usr/local/lxlabs/kloxo/file/login_inc.php /usr/local/lxlabs/kloxo/httpdocs/login/inc.php
3. Copy  /usr/local/lxlabs/kloxo/file/login_inc2.php /usr/local/lxlabs/kloxo/httpdocs/login/inc2.php

I will try :) I'm having 1:1 image of my production system so I can work without any hurry now.

Still lphp.exe ../bin/fix/fixweb.php --nolog is running. It takes a lot of time for 2000 domains even if they contain no data at all.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Unsuccessful update from Kloxo 6.1.12
« Reply #11 on: 2013-01-02, 21:52:10 »
Login page works ok now, but after login I just got this:

« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Unsuccessful update from Kloxo 6.1.12
« Reply #12 on: 2013-01-02, 21:55:40 »
Some errors:

Code: [Select]
16:52 Jan/02/2013: Could not write the file '/usr/local/lxlabs/kloxo/httpdocs/.php.err' with permissions: 0644
16:53 Jan/02/2013: Could not write the file '/usr/local/lxlabs/kloxo/httpdocs/.php.err' with permissions: 0644
16:55 Jan/02/2013: Could not write the file '/usr/local/lxlabs/kloxo/httpdocs/.php.err' with permissions: 0644
16:55 Jan/02/2013: Could not write the file '/usr/local/lxlabs/kloxo/httpdocs/.php.err' with permissions: 0644
16:55 Jan/02/2013: Could not write the file '/usr/local/lxlabs/kloxo/httpdocs/.php.err' with permissions: 0644
16:55 Jan/02/2013: Could not write the file '/usr/local/lxlabs/kloxo/httpdocs/.php.err' with permissions: 0644
16:55 Jan/02/2013: Could not write the file '/usr/local/lxlabs/kloxo/httpdocs/.php.err' with permissions: 0644
16:55 Jan/02/2013: Could not write the file '/usr/local/lxlabs/kloxo/httpdocs/.php.err' with permissions: 0644
16:55 Jan/02/2013: Could not write the file '/usr/local/lxlabs/kloxo/httpdocs/.php.err' with permissions: 0644
16:55 Jan/02/2013: Could not write the file '/usr/local/lxlabs/kloxo/httpdocs/.php.err' with permissions: 0644
16:55 Jan/02/2013: Could not write the file '/usr/local/lxlabs/kloxo/httpdocs/.php.err' with permissions: 0644
16:55 Jan/02/2013: Could not write the file '/usr/local/lxlabs/kloxo/httpdocs/.php.err' with permissions: 0644

and some more related to language (I'm using Polish):

Code: [Select]
[02-Jan-2013 16:55:10] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/lib/oldheader.php on line 12
[02-Jan-2013 16:55:10] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/htmllib.php on line 5880
[02-Jan-2013 16:55:11] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/ajaxcore.php on line 148
[02-Jan-2013 16:55:17] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/lib/oldheader.php on line 12
[02-Jan-2013 16:55:17] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/htmllib.php on line 5880
[02-Jan-2013 16:55:18] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/ajaxcore.php on line 148
[02-Jan-2013 16:58:01] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/lib/oldheader.php on line 12
[02-Jan-2013 16:58:02] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/htmllib.php on line 5880
[02-Jan-2013 16:58:03] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/ajaxcore.php on line 148
[02-Jan-2013 16:58:03] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/htmllib.php on line 5880
[02-Jan-2013 16:58:05] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/htmllib.php on line 5880
[02-Jan-2013 16:58:07] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/htmllib.php on line 5880
[02-Jan-2013 16:58:10] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/htmllib.php on line 5880
[02-Jan-2013 16:58:14] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/htmllib.php on line 4530
[02-Jan-2013 16:58:18] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/htmllib.php on line 4530
[02-Jan-2013 17:03:06] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/lib/oldheader.php on line 12
[02-Jan-2013 17:03:07] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/htmllib.php on line 5880
[02-Jan-2013 17:03:08] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/ajaxcore.php on line 148
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Unsuccessful update from Kloxo 6.1.12
« Reply #13 on: 2013-01-03, 01:32:42 »
Please help me it's really urgent. My dedicated server is expiring on sunday and I won't be able to test this again.

I can send you my test server details if you need it.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Unsuccessful update from Kloxo 6.1.12
« Reply #14 on: 2013-01-03, 04:26:29 »
Also, one more thing:

-bash: lphp.exe: command not found

But lxphp is installed:

Quote
rpm -qi lxphp
Name        : lxphp                        Relocations: (not relocatable)
Version     : 5.2.17                            Vendor: (none)
Release     : 5.lx.el5                      Build Date: pon 24 wrz 2012 14:14:20 CEST
Install Date: pi? 28 gru 2012 00:32:57 CET      Build Host: mr2kvm.potissima.com
Group       : System Environment/Base       Source RPM: lxphp-5.2.17-5.lx.el5.src.rpm
Size        : 36310244                         License: PHP License
Signature   : (none)
URL         : http://www.lxcenter.org
Summary     : a LxCenter customized package for php
Description :
PHP 5 is a powerful apache module that adds scripting and database connection
capabilities to the apache server. This version includes the "php_cgi" binary
for suExec and stand alone php scripts too.


BuildRequires: rpmlib
BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, expat-devel
BuildRequires: gmp-devel, aspell-devel >= 0.50.0
BuildRequires: httpd-devel >= 2.0.46-1, libjpeg-devel, libpng-devel, pam-devel
BuildRequires: libstdc++-devel, openssl-devel, sqlite-devel >= 3.0.0
BuildRequires: zlib-devel, pcre-devel >= 6.6, smtpdaemon, readline-devel
BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++
BuildRequires: gdbm-devel, libc-client-devel, libmhash-devel, libmcrypt-devel
BuildRequires: mysql-devel, postgresql-devel
Obsoletes: php-dbg, php3, phpfi, stronghold-php, lxphp <= 5.2.1
Requires: libmhash

Reinstalled lxphp and it seems to be working, but /script/cleanup didn't helped.

Code: [Select]
[02-Jan-2013 23:40:33] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/mysql.so' - /usr/local/lxlabs/ext/php/lib/mysql.so: wrong ELF class: ELFCLASS32 in Unknown on line 0
[02-Jan-2013 23:40:33] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/mbstring.so' - /usr/local/lxlabs/ext/php/lib/mbstring.so: wrong ELF class: ELFCLASS32 in Unknown on line 0
[02-Jan-2013 23:40:33] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/mysql.so' - /usr/local/lxlabs/ext/php/lib/mysql.so: wrong ELF class: ELFCLASS32 in Unknown on line 0
[02-Jan-2013 23:40:33] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/mbstring.so' - /usr/local/lxlabs/ext/php/lib/mbstring.so: wrong ELF class: ELFCLASS32 in Unknown on line 0
[02-Jan-2013 23:40:34] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/mysql.so' - /usr/local/lxlabs/ext/php/lib/mysql.so: wrong ELF class: ELFCLASS32 in Unknown on line 0
[02-Jan-2013 23:40:34] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/mbstring.so' - /usr/local/lxlabs/ext/php/lib/mbstring.so: wrong ELF class: ELFCLASS32 in Unknown on line 0
[02-Jan-2013 23:40:34] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/mysql.so' - /usr/local/lxlabs/ext/php/lib/mysql.so: wrong ELF class: ELFCLASS32 in Unknown on line 0
[02-Jan-2013 23:40:34] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/mbstring.so' - /usr/local/lxlabs/ext/php/lib/mbstring.so: wrong ELF class: ELFCLASS32 in Unknown on line 0
[02-Jan-2013 23:40:34] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/mysql.so' - /usr/local/lxlabs/ext/php/lib/mysql.so: wrong ELF class: ELFCLASS32 in Unknown on line 0
[02-Jan-2013 23:40:34] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/mbstring.so' - /usr/local/lxlabs/ext/php/lib/mbstring.so: wrong ELF class: ELFCLASS32 in Unknown on line 0
[02-Jan-2013 23:40:34] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/lib/oldheader.php on line 12
[02-Jan-2013 23:40:35] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/htmllib.php on line 5880
[02-Jan-2013 23:40:35] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/mysql.so' - /usr/local/lxlabs/ext/php/lib/mysql.so: wrong ELF class: ELFCLASS32 in Unknown on line 0
[02-Jan-2013 23:40:35] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/mbstring.so' - /usr/local/lxlabs/ext/php/lib/mbstring.so: wrong ELF class: ELFCLASS32 in Unknown on line 0
[02-Jan-2013 23:40:36] PHP Fatal error:  Call to undefined function get_plural() in /usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/ajaxcore.php on line 148
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.046 seconds with 21 queries.

web stats analysis