Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 7th October 2010, 18:13
Turbanator Turbanator is offline
Senior Member
 
Join Date: Jun 2008
Posts: 218
Thanks: 22
Thanked 16 Times in 16 Posts
Default

so far so good with Fedora 13 and ispconfig_update.sh.


Thank you and great work!
Reply With Quote
Sponsored Links
  #12  
Old 8th October 2010, 01:21
Nicram Nicram is offline
Member
 
Join Date: Mar 2010
Location: PL
Posts: 59
Thanks: 21
Thanked 9 Times in 7 Posts
Send a message via ICQ to Nicram Send a message via AIM to Nicram Send a message via Yahoo to Nicram Send a message via Skype™ to Nicram
Default

CentOS 5.5 here and some error occurs when trying to update with ispconfig_update.sh :

Code:
>> Update

Operating System: CentOS 5 or compatible

This application will update ISPConfig 3 on your server.
PHP Fatal error:  Cannot use string offset as an array in /tmp/ispconfig3_install/install/lib/update.lib.php on line 98
I also would liek to suggest something.
When i try to update at first there was error about corrupted log database (err 145 or something like that).
So then i find some post to use "repair" for all isp config database (all entries) and... it cleared my database nicely :S
Well i then checked the mysql dump made by backup but the file had only about 200KB so there was no all data inside.
I think because of errors in databas eor something.
Well i had some backup done month ago so i put the database back from this month, made update (to 3.0.2.2. again bcoz 3.0.3 still do not want ti upgrade even with manual instructions with error above). And well few email accounts etc. i had to recreate. No problem. Also i had to rereate some websites. And it do it correctly while there 1 thing.
It do not fix the symlinks like ~mydomain.name.com. They are still going into old directories with old files.
Maybe there is some way of fixing this in future version to rebuil this if the vhost with same name is made and this symlink is alreade made.
Mmm that's all

Last edited by Nicram; 8th October 2010 at 03:17.
Reply With Quote
  #13  
Old 8th October 2010, 09:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

@Nicram: The error message you got is related to the broken database on your server. It mappens when the server table is mising or incomplete. Regarding the websites, every website has to be created in a unique directory which is defined by the auto increment values, so directories can not be reused as this information is stored in the database version that you had before you restored the backup.

The ispconfig installer already checks the size of the database dump to try to prevent the problem. But it can not know how the exact size will be for your install, so we can check only that the database dump must have at least the size of all tables that are there for a new ispconfig install.

The release notes explian how to take a manual backup before you run the update, you should do this the next time before you update. But this is also not a 100% protection for broken databases as you might not see if your db is broken at that time.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #14  
Old 8th October 2010, 11:45
Nicram Nicram is offline
Member
 
Join Date: Mar 2010
Location: PL
Posts: 59
Thanks: 21
Thanked 9 Times in 7 Posts
Send a message via ICQ to Nicram Send a message via AIM to Nicram Send a message via Yahoo to Nicram Send a message via Skype™ to Nicram
Default

Quote:
Originally Posted by till View Post
The release notes explian how to take a manual backup before you run the update, you should do this the next time before you update. But this is also not a 100% protection for broken databases as you might not see if your db is broken at that time.
Well i did backup, but it was broken also, i didn't know there is database problem, i didnt noticed it, maybe because ISPConfig worked just fine. Well, i think iw ill have to make some automatic backup each day, it should be best option for future.

Thanks for problem explaination.

OK another try for update. Last night i back to 3.0.2.2 with old database and now...
Code:
>> Update

Operating System: CentOS 5 or compatible

This application will update ISPConfig 3 on your server.
Starting full database update.
Reconfigure Permissions in master database? (yes,no) [no]: yes

PHP Notice:  Undefined variable: hosts in /tmp/ispconfig3_install/install/lib/installer_base.lib.php on line 323
Reconfigure Services? (yes,no) [yes]:
Configuring Postfix
Configuring Jailkit
Configuring SASL
Configuring PAM
Configuring Courier
Configuring Spamassassin
Configuring Amavisd
Configuring Getmail
Configuring Pureftpd
Configuring BIND
Configuring Apache
Configuring vlogger
Configuring Apps vhost
Configuring Database
Configuring Firewall
Updating ISPConfig
ISPConfig Port [8080]:

Create new ISPConfig SSL certificate (y,n) [n]:

Reconfigure Crontab? (yes,no) [yes]:

Updating Crontab
Restarting services ...
Stopping MySQL:                                            [  OK  ]
Starting MySQL:                                            [  OK  ]
Shutting down postfix:                                     [  OK  ]
Starting postfix:                                          [  OK  ]
Stopping saslauthd:                                        [  OK  ]
Starting saslauthd:                                        [  OK  ]
Shutting down Mail Virus Scanner (amavisd):                [  OK  ]
  The value of variable $myhostname is "hosting", but should have been
  a fully qualified domain name; perhaps uname(3) did not provide such.
  You must explicitly assign a FQDN of this host to variable $myhostname
  in amavisd.conf, or fix what uname(3) provides as a host's network name!
Starting Mail Virus Scanner (amavisd):                     [FAILED]
Stopping Clam AntiVirus Daemon:                            [  OK  ]
Starting Clam AntiVirus Daemon:                            [  OK  ]
Stopping Courier authentication services: authdaemond
Starting Courier authentication services: authdaemond
Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
Starting Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping pure-ftpd:                                        [  OK  ]
Starting pure-ftpd:                                        [  OK  ]
Update finished.
PHP Notice: Undefined variable: hosts in /tmp/ispconfig3_install/install/lib/installer_base.lib.php on line 323 is interesting. Last day when doing update to 3.0.2.2 there was no any such msg

Oh and he removed my handly added $myhostname form amavisd.conf. Is it what he should do when updating? He also changed my config for ClamAV connection (i mean socket where it should be, i will check if he also changed clamav config files).

Last edited by Nicram; 8th October 2010 at 12:29.
Reply With Quote
  #15  
Old 9th October 2010, 11:18
mesut mesut is offline
Junior Member
 
Join Date: Jul 2010
Posts: 15
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Just upgraded on Ubuntu 10.04. Works fine Thanks all community
Reply With Quote
  #16  
Old 9th October 2010, 12:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

Quote:
Oh and he removed my handly added $myhostname form amavisd.conf. Is it what he should do when updating?
Yes, thats intended as the updater installs the correct config files for ispconfig. Setting the hostname in amavisd.conf is not nescessary if the server is installed correctly. If you had to change it there then this indicates that your server has no fqdn. You should check that the hostname is configured correctly in centos so that the commands:

hostname

and hostname -f

show the correct fully qualified domain name of the server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #17  
Old 9th October 2010, 12:28
mesut mesut is offline
Junior Member
 
Join Date: Jul 2010
Posts: 15
Thanks: 3
Thanked 0 Times in 0 Posts
Default

In my ISPCron log these errors found:

Code:
PHP Deprecated: Function call_user_method() is deprecated in /usr/local/ispconfig/server/lib/classes/modules.inc.php on line 248
PHP Deprecated: Function call_user_method() is deprecated in /usr/local/ispconfig/server/lib/classes/plugins.inc.php on line 119
PHP Deprecated: Function call_user_method() is deprecated in /usr/local/ispconfig/server/lib/classes/plugins.inc.php on line 119
PHP Deprecated: Function call_user_method() is deprecated in /usr/local/ispconfig/server/lib/classes/services.inc.php on line 57
Can this couse any error?
Reply With Quote
  #18  
Old 9th October 2010, 12:51
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Default

@Till,
Within ISPConfig 3.0.3, when i want to see the Website harddisk quota, i can not see the stats. I mean there are no values under "Used space" "Soft limit" "Hard limit" but only the character "B".

What does this mean?
__________________
Hans

MrHostman | Master in managed hosting
Reply With Quote
  #19  
Old 9th October 2010, 12:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

Quote:
Originally Posted by mesut View Post
In my ISPCron log these errors found:

Code:
PHP Deprecated: Function call_user_method() is deprecated in /usr/local/ispconfig/server/lib/classes/modules.inc.php on line 248
PHP Deprecated: Function call_user_method() is deprecated in /usr/local/ispconfig/server/lib/classes/plugins.inc.php on line 119
PHP Deprecated: Function call_user_method() is deprecated in /usr/local/ispconfig/server/lib/classes/plugins.inc.php on line 119
PHP Deprecated: Function call_user_method() is deprecated in /usr/local/ispconfig/server/lib/classes/services.inc.php on line 57
Can this couse any error?
No, thats ok. This is just a notice from php for developers that this function might get disabled in a future version. You should reconfigure your php.ini to show only warnings and errors and not depreceted notices by chnaging the error lovel to:

error_reporting = E_ALL & ~E_NOTICE
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
mesut (9th October 2010)
  #20  
Old 9th October 2010, 12:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
 
Default

Quote:
Originally Posted by Hans View Post
@Till,
Within ISPConfig 3.0.3, when i want to see the Website harddisk quota, i can not see the stats. I mean there are no values under "Used space" "Soft limit" "Hard limit" but only the character "B".

What does this mean?
This means that vlogger on the webserver is not writing any usage stats into the ispconfig database. If the webserver is a slave server, then it might be a database permission issue.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

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.3 Beta 1 ready for testing till Developers' Forum 57 10th January 2011 14:25
ISPConfig 3.0.2.2 released till General 45 5th September 2010 17:58
ISPConfig 3.0.1 released till General 36 29th March 2009 14:30
ISPConfig 3.0.0.6 Beta released till General 38 21st September 2008 19:15
ISPConfig 2.3.3-dev released till General 10 12th March 2008 21:08


All times are GMT +2. The time now is 12:25.


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