HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Update fail (http://www.howtoforge.com/forums/showthread.php?t=55293)

estebanmora 7th December 2011 15:52

Update fail
 
Hi,

I tried to update ISPConfig 3 last night asking the web interface to do the job. I found this morning that the interface wasn't working, although the sites were working (i think that the cron jobs crashed). So I tried to update using the shell. When I type ispconfig_update.sh a copy of ISPConfig 3 is downloaded, a lot of files decompressed but the installation crashes saying:

>> Update

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

PHP Notice: Undefined variable: conf in /tmp/ispconfig3_install/install/update.php on line 76

If I try to update using php -q update.php I receive the same error. I tried to uninstall it but nothing happens.

Please, help!

till 8th December 2011 08:50

Please see here for instructions to rebuild the system after a failed update:

http://www.howtoforge.com/forums/sho...50&postcount=6

estebanmora 8th December 2011 15:15

Dind't work!
 
The failed upgrade caused problems with the mysqld deamon. Mysql was unable to load, so I ended up installing a new server with ISPConfig 3.0.3. I will never try to update it again. :-(

till 8th December 2011 15:42

The ispconfig update does not change anything in the mysql configuration files,so if mysql failed to load, then this was caused by something else. Maybe you installed somelinux system updates too?

Beside that, why did you use the experimental update function in the interface (which is marked as use for your own risk) instead of using the recommended and mature shell update script as described in the update instructions and ispconfig release notes? The ispconfig update instructions also describe that you shall do a backup of several folders before you update so that you caould easily revert to the old version which you seemed to not have done.

http://www.faqforge.com/linux/contro...e-ispconfig-3/

estebanmora 8th December 2011 15:51

Where does it says that 3.0.4 is an experimental release? My working copy of ISPConfig 3.0.3 make me know that there is an update and I proceed. Don't worry, lesson learned. Never update!

till 8th December 2011 15:59

Quote:

Where does it says that 3.0.4 is an experimental release?
Not 3.0.4 is experimental, the interface update button is experimental.

Quote:

My working copy of ISPConfig 3.0.3 make me know that there is an update and I proceed
Correct,and it forwarded you to the ispconfig page where the release notes are posted and these release notes instructed you to run:

ispconfig_update.sh

as root user on the shell.

Quote:

Don't worry, lesson learned. Never update!
Might be better: lesson lerned, read the update instructions before you update a software. Why do you think that we publish release notes which contain specific update instructions for every release? A server comtrol panel is a complex software with a lot of dependencies and we inform the users in the release notes on how to update to that release and what to obey when doing the update.

estebanmora 8th December 2011 16:10

When I noticed that the web interface screw-up the whole interface I checked the sites and they were working fine. So I try to update using the shell interface as root and and an error appears with the $conf variable. Then I noticed that the mysql deamon was damaged.

till 8th December 2011 16:20

Quote:

So I try to update using the shell interface as root and and an error appears with the $conf variable.
The reason for that error message was the failed update before. The ispconfig configuration file was empty so that the shell script could not find the details of the ispconfig system and stopped to ensure that the system is not damaged more. I posted you the link above on how to recover that. A fresh install was not required.

Quote:

Then I noticed that the mysql deamon was damaged.
This was not caused by the ispconfig update, as ispconfig uses mysql, but is does not configure it. If mysql does not start, then you can finf the reason for that eith.er in the syslog file or mysql log file.


All times are GMT +2. The time now is 13:59.

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