Hi IanThanks, so to perform an upgrade to the Trunk from my 1.0.2/1.1 broken install I would do the following :-
1. Remove $ZENHOME/Products/Five 2. Check Python version3. run install.sh (I had errors here initially when the script started checking out the svn source with overriding existing files in $ZENHOME/bin)
4. zenmigrate run Cheers Richard Ian McCracken wrote:
Richard,Looks like a breakpoint accidentally got left in there...by me. Thanks for the catch. I've just fixed it, so an install should proceed normally now.If you're upgrading to the trunk, make sure that:a) You first get rid of the directory $ZENHOME/Products/Five (.pyc files left over could prevent subversion from removing it) b) You've got Python 2.4.3+. It's required by Zope 2.10.1, to which we just migrated.Ian Ian R J Thompson wrote:Incidentally, it seems some of Zenoss is running from the logfiles, but I cannot connect to the web interface, zenactions.log for example is showing these errors -2007-01-31 13:09:22 ERROR zen.ZenActions: unexpected exception Traceback (most recent call last):File "/usr/local/zenoss/Products/ZenEvents/zenactions.py", line 365, in runCycleself.mainbody()File "/usr/local/zenoss/Products/ZenEvents/zenactions.py", line 353, in mainbodyself.eventCommands(db, zem)File "/usr/local/zenoss/Products/ZenEvents/zenactions.py", line 340, in eventCommandsfor command in zem.commands(): AttributeError: commands Thanks Richard R J Thompson wrote:Hi Marc Have tried a zenmigrate run with the following results... INFO:zen.migrate:Installing BetterStandardErrorMessage INFO:zen.migrate:Installing ChangeEventClasses INFO:zen.migrate:Installing DefaultCommandTimeout INFO:zen.migrate:Installing DevicePriority INFO:zen.migrate:Installing EventCommands INFO:zen.migrate:Installing EventNewClasses INFO:zen.migrate:Installing EvtProps INFO:zen.migrate:Installing KeyPath INFO:zen.migrate:Installing MaxOIDPerRequest INFO:zen.migrate:Installing ProcParams INFO:zen.migrate:Installing RRDCpuType INFO:zen.migrate:Installing RRDMinValue2 INFO:zen.migrate:Installing ReportServer INFO:zen.migrate:Installing StatusConnectTimeout INFO:zen.migrate:Installing UserCommands INFO:zen.migrate:Database going to version Zenoss 1.2.0 INFO:zen.migrate:Installing EventClassMapping INFO:zen.migrate:Database going to version Zenoss 1.2.0 INFO:zen.migrate:Installing ZenUILayer> /usr/local/zenoss/Products/ZenWidgets/ZenTableManager.py(328)initTableManagerSkins()-> path = map(string.strip, string.split(path,',')) (Pdb) Do I need to run this before or after attempting an upgrade? Thanks Richard Marc Irlandez wrote:Richard,A migrate script for EventClassMapping was added this morning. Make sure you download and install the latest build. Then execute a zenmigrate:zenmigrate run Regards, Marc Irlandez On Jan 30, 2007, at 2:35 PM, R J Thompson wrote:HelloTrying to upgrade from 1.0.2 to 1.1 but seem to be having a few problems, have included the following from zenbuild.log:make[1]: Leaving directory `/usr/local/zenoss-1.1.0/build/winexe-0.7/source' make[1]: Entering directory `/usr/local/zenoss-1.1.0/build/winexe-0.7/source'====================================================================== The binaries are installed. You may restore the old binaries (if therewere any) using the command "make revert". You may uninstall the binariesusing the command "make uninstallbin" or "make uninstall" to uninstall binaries, man pages and shell scripts. ====================================================================== Installing bin/winexe as //usr/local/zenoss/bin/winexe ====================================================================== The binaries are installed. You may restore the old binaries (if therewere any) using the command "make revert". You may uninstall the binariesusing the command "make uninstallbin" or "make uninstall" to uninstall binaries, man pages and shell scripts. ======================================================================make[1]: Leaving directory `/usr/local/zenoss-1.1.0/build/winexe-0.7/source'creating events database using zenevent build... creating database loading schemaERROR 1235 (42000) at line 80: This version of MySQL doesn't yet support 'multiple triggers with the same action time and event for one table'loading stored procedures events database created and loaded WARNING:OFS.Application:Duplicate Product name After loading Product 'Five' from '/usr/local/zenoss/Products', I skipped the one in '/usr/local/zenoss/lib/python/Products'. 2007-01-30 19:28:33 WARNING OFS.Application Duplicate Product name After loading Product 'Five' from '/usr/local/zenoss/Products', I skipped the one in '/usr/local/zenoss/lib/python/Products'. Traceback (most recent call last):File "/usr/local/zenoss/Products/ZenModel/zenbuild.py", line 129, in ?zb = zenbuild()File "/usr/local/zenoss/Products/ZenModel/zenbuild.py", line 44, in __init__self.app = Zope2.app()File "/usr/local/zenoss/Products/ZenModel/__init__.py", line 51, in app"IpInterface",File "/usr/local/zenoss/Products/ZenModel/__init__.py", line 47, in startup"HardDisk",File "usr/local/zenoss/lib/python/Zope2/App/startup.py", line 57, in startup File "usr/local/zenoss/lib/python/DBTab/DBTab.py", line 96, in getDatabase File "usr/local/zenoss/lib/python/DBTab/DBTab.py", line 113, in _createDatabase File "usr/local/zenoss/lib/python/Zope2/Startup/datatypes.py", line 163, in open File "usr/local/zenoss/lib/python/Zope2/Startup/datatypes.py", line 160, in createDBFile "usr/local/zenoss/lib/python/ZODB/config.py", line 97, in open File "usr/local/zenoss/lib/python/ZODB/config.py", line 153, in openFile "usr/local/zenoss/lib/python/ZEO/ClientStorage.py", line 314, in __init__File "usr/local/zenoss/lib/python/ZEO/cache.py", line 112, in open File "usr/local/zenoss/lib/python/ZEO/cache.py", line 835, in scanFile "usr/local/zenoss/lib/python/ZEO/cache.py", line 121, in install File "usr/local/zenoss/lib/python/ZEO/cache.py", line 630, in fromFileValueError: corrupted record, oid Do I need to run some database migration tools first? Thanks Richard _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users_______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users_______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users_______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users_______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
