
7th October 2010, 18:13
|
|
Senior Member
|
|
Join Date: Jun 2008
Posts: 169
Thanks: 15
Thanked 9 Times in 9 Posts
|
|
so far so good with Fedora 13 and ispconfig_update.sh.
Thank you and great work!
|

8th October 2010, 01:21
|
|
Member
|
|
Join Date: Mar 2010
Location: PL
Posts: 39
Thanks: 11
Thanked 6 Times in 4 Posts
|
|
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.
|

8th October 2010, 09:53
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
@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.
|

8th October 2010, 11:45
|
|
Member
|
|
Join Date: Mar 2010
Location: PL
Posts: 39
Thanks: 11
Thanked 6 Times in 4 Posts
|
|
Quote:
Originally Posted by till
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.
|

9th October 2010, 11:18
|
|
Junior Member
|
|
Join Date: Jul 2010
Posts: 15
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Just upgraded on Ubuntu 10.04. Works fine  Thanks all community
|

9th October 2010, 12:10
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
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.
|

9th October 2010, 12:28
|
|
Junior Member
|
|
Join Date: Jul 2010
Posts: 15
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
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?
|

9th October 2010, 12:51
|
|
Moderator
|
|
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,252
Thanks: 208
Thanked 642 Times in 291 Posts
|
|
@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
BB-Hosting | Quality Web Hosting since 2005
|

9th October 2010, 12:51
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Quote:
Originally Posted by mesut
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
|
|
The Following User Says Thank You to till For This Useful Post:
|
mesut (9th October 2010)
|

9th October 2010, 12:53
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Quote:
Originally Posted by Hans
@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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 19:09.
|
|
Recent comments
17 hours 48 min ago
22 hours 53 min ago
1 day 3 hours ago
1 day 5 hours ago
1 day 19 hours ago
1 day 19 hours ago
2 days 20 min ago
2 days 7 hours ago
2 days 7 hours ago
2 days 9 hours ago