Hi Icinga list,

I tried upgrading Icinga and Icinga-Web from 1.7.0 to 1.8.0, but
Icinga-Web isn't working anymore after the upgrade.

A few words on how I did the upgrade:

* compiled Icinga and Icinga-Web on our RHEL 6 x86_64 compile server
(used SPECs shipped with icinga and icinga-web tarballs)
* stopped Icinga and ido2db
* yum update
* Upgraded Icinga DB using the following script:
mysql-upgrade-1.8.0.sql
* Upgraded Icinga-Web DB:
mysql_v1-7-0_to_v1-7-1.sql
mysql_v1-7-1_to_v1-7-2.sql
mysql_v1-7-2_to_v1-8-0.sql
* cleared cached with clearcache.sh
* Cleared cookies in Firefox and Chromium

Upgrade of RPMs and databases worked fine without errors.

Icinga-Web database:
mysql> select * from nsm_db_version;
+----+-------------------+---------------------+---------------------+
| id | version           | modified            | created             |
+----+-------------------+---------------------+---------------------+
|  1 | icinga-web/v1.8.0 | 2012-10-29 16:13:00 | 2012-10-29 16:13:00 |
+----+-------------------+---------------------+---------------------+
1 row in set (0.00 sec)



Icinga is working as expected after starting Icinga and ido2db, but
Icinga-Web gives me the following error:


=== Message ===
Compilation of configuration file 
'/usr/share/icinga-web/app/config/factories.xml' failed for the following 
reason(s):

Configuration file "/usr/share/icinga-web/app/config/factories.xml" specifies 
unknown class "AppKitTranslationManager" for entry "translation_manager"

=== Stacktrace ===
#0 /usr/share/icinga-web/lib/agavi/src/config/AgaviConfigCache.class.php(94): 
AgaviConfigCache::executeHandler('/usr/share/icin...', 'web', Array)
#1 /usr/share/icinga-web/lib/agavi/src/config/AgaviConfigCache.class.php(243): 
AgaviConfigCache::callHandler('/usr/share/icin...', '/usr/share/icin...', 
'/var/cache/icin...', 'web')
#2 
/var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(384):
 AgaviConfigCache::checkConfig('/usr/share/icin...', 'web')
#3 
/var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(3549):
 AgaviContext->initialize()
#4 
/var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(370):
 AppKitAgaviContext->initialize()
#5 /usr/share/icinga-web/pub/index.php(49): AgaviContext::getInstance('web')
#6 {main}


In factories.xml I see the following entry:
<translation_manager class="AppKitTranslationManager" />

Searching for AppKitTranslationManager returns:
root@icinga:/usr/share/icinga-web# grep 'AppKitTranslationManager' * -R
app/modules/AppKit/config/autoload.xml:        <autoload 
name="AppKitTranslationManager">%core.module_dir%/AppKit/lib/translator/AppKitTranslationManager.class.php</autoload>
app/modules/AppKit/lib/translator/AppKitTranslationManager.class.php:class 
AppKitTranslationManager extends AgaviTranslationManager {
app/config/factories.xml:        <translation_manager 
class="AppKitTranslationManager" />


So in my opinion this class does exist...

Please let me know if you need futher information.
Thanks a lot!


Icinga-Versions after upgrade:
# rpm -qa | grep icinga
icinga-web-1.8.0-1.el6.noarch
icinga-idoutils-libdbi-mysql-1.8.1-1.el6.x86_64
icinga-1.8.1-1.el6.x86_64
icinga-doc-1.8.1-1.el6.x86_64
icinga-web-module-pnp-1.8.0-1.el6.noarch
icinga-gui-1.8.1-1.el6.x86_64


-- 
Mit freundlichen Grüßen

DI (FH) René Koch
Senior Solution Architect

============================================
ovido gmbh - "Das Linux Systemhaus"
Brünner Straße 163, A-1210 Wien

Phone:   +43 720 / 530 670
Mobile:  +43 660 / 512 21 31
E-Mail:  r.k...@ovido.at
============================================




------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to