ispCP - Board - Support
Failed update from 1.0.3 > 1.0.5 (database schema) - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: Failed update from 1.0.3 > 1.0.5 (database schema) (/thread-10238.html)



Failed update from 1.0.3 > 1.0.5 (database schema) - alex - 04-04-2010 03:47 AM

Code:
# ./ispcp-update
        Welcome to ispCP '1.0.5 OMEGA' Update Dialog.
(cut)
         Stopping Services: Done
        ispCP main configuration file
         Loading old ispCP configuration file Done
         Update ispCP configuration file: Done
         Check ispCP configuration file: Done
        ispCP database
        Update ispCP database schema Failed

        FATAL: An error was occured during update process!
        Correct it and re-run this program.

        You can find help at http://isp-control.net/forum

Anyone else who has run into this problem? I had to manually start my services so the customers could resume use of their sites and emails. But the panel is offcourse closed until upgrade has been completed...

Help would be appreciated! :-(

Edit: Cleaned up the paste of error, as the format was not so great.


RE: Failed update from 1.0.3 > 1.0.5 (database schema) - alex - 04-04-2010 11:12 PM

Issue fixed. It was not due to IspCP, but rather a change in PHP and a zend module only added for PHP-CLI that wasn't properly upgraded.

/tmp/ispcp-update-database.log was very useful in fixing this error.

However, why the update script does not include any error messages and why this file is in /tmp rather than /var/log is for me a big mistery. :-)


RE: Failed update from 1.0.3 > 1.0.5 (database schema) - Nuxwin - 04-04-2010 11:21 PM

Hello my dear ispCP user ;

That my fault. I've rewritten the update-script and I've put all log file in /tmp. No worries about this issue. For the next release, I'll move these files under /var/log/ispcp. I'm curious, so can you explain me what is the PHP/zend module change exactly ?

Best Regards ;


RE: Failed update from 1.0.3 > 1.0.5 (database schema) - alex - 04-04-2010 11:26 PM

It was a manually compiled zend module called eAccelerator which i tested for some software.
http://eaccelerator.net/

Thus, when we upgraded our PHP, it didn't fly! Smile

Sounds great about the logfiles, obviously it would have made yesterday alot easier.


RE: Failed update from 1.0.3 > 1.0.5 (database schema) - Nuxwin - 04-04-2010 11:49 PM

Ha ok, I understand now. Sorry for the lost time due to the logfile path.