Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th November 2011, 11:00
hoenes hoenes is offline
Junior Member
 
Join Date: Nov 2011
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error updating from 3.0.3.2 to 3.0.4

When updating from 3.0.3.2 to 3.0.4 i get the this error :

--------------------------------------------------------------------------------
_____ ___________ _____ __ _ ____
|_ _/ ___| ___ \ / __ \ / _(_) /__ \
| | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ /
| | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ |
_| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \
\___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/
__/ |
|___/
--------------------------------------------------------------------------------


>> Update

Operating System: Debian 6.0 (Squeeze/Sid) or compatible

This application will update ISPConfig 3 on your server.
Checking ISPConfig database .. OK
PHP Notice: Uninitialized string offset: 0 in /tmp/ispconfig3_install/install/lib/update.lib.php on line 127
PHP Fatal error: Cannot use string offset as an array in /tmp/ispconfig3_install/install/lib/update.lib.php on line 127

any ideas on how to fix this ?
Reply With Quote
Sponsored Links
  #2  
Old 4th November 2011, 11:15
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Seems as if the updater is not able to read the server config details in the mysql database. Please check if the mysql root password in /usr/local/ispconfig/server/lib/mysql_clientdb.conf is correct.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 4th November 2011, 11:20
hoenes hoenes is offline
Junior Member
 
Join Date: Nov 2011
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The root password in mysql_clientdb.conf is correct.

I can log on mysql from console and phpmyadmin with informations from this file.
Reply With Quote
  #4  
Old 4th November 2011, 11:22
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Please login with phpmyadmin as root user, go to the ispconfig db, select all tables and choose repair as action.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 4th November 2011, 11:31
hoenes hoenes is offline
Junior Member
 
Join Date: Nov 2011
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Reparing tables in ispconfig db didn't solve the problem
Reply With Quote
  #6  
Old 4th November 2011, 19:34
speedx speedx is offline
Junior Member
 
Join Date: Nov 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Guys!

I've got the same Problem, but i'm trying to update from 3.0.1.4. I'm not sure that it is a clever idea, if i look at the wide range of versions ^^.

If i use update.php from 3.0.4 all seems to be ok...
...the script makes a backup and than it drops my database (because of updating from a too older version)

...than the function configure_database(), i think, had a problem to create a new database und the script breaks down with the message "Unable to create database"

If i try to restart the process i become this screen:
--------------------------------------------------------------------------------
_____ ___________ _____ __ _ ____
|_ _/ ___| ___ \ / __ \ / _(_) /__ \
| | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ /
| | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ |
_| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \
\___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/
__/ |
|___/
--------------------------------------------------------------------------------


>> Update

Operating System: Debian Lenny or compatible

This application will update ISPConfig 3 on your server.
mysqldump: Got error: 1049: Unknown database 'dbispconfig' when selecting the database
Checking ISPConfig database .. mysqlcheck: Got error: 1049: Unknown database 'dbispconfig' when selecting the database
OK

Fatal error: Cannot use string offset as an array in /tmp/ispconfig3_install/install/lib/update.lib.php on line 127



The script wants starting again with making a backup, but it drops the database at the first call and skips this step not to create a new database with the function configure_database().

Any ideas?

BTW: n1ce, powerfull software!
Reply With Quote
Reply

Bookmarks

Tags
3.0.3.2, 3.0.4, updating

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.4 released till General 49 15th November 2011 19:53
ISPConfig 3.0.4 Beta 1 available for download till Developers' Forum 26 4th November 2011 17:47
Problem with version 3.0.3.2 chume General 2 27th January 2011 16:33
unable to login after updating to 3.0.3.2 aldo Installation/Configuration 15 17th January 2011 17:50
ISPConfig 3.0.3.2 reporting FTP server offline. CSsab Installation/Configuration 2 14th January 2011 08:15


All times are GMT +2. The time now is 08:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.