EFW Support

Support => Installation Support => Topic started by: romix on Friday 12 October 2012, 10:58:09 pm



Title: Error upgrading 2.4.1 to 2.5.1
Post by: romix on Friday 12 October 2012, 10:58:09 pm
After uprading form 2.4.1 to 2.5.1 got some errors in post upgrade.

The system runs apparently good, but slow with contentfilter rules enabled.



root@ENDIAN:~ # efw-upgrade -s
Please choose the appropriate channel for your environment and hit [ENTER]:
1) Production (stable releases)
2) Development (bleeding edge)
2
Please enter your username and hit [ENTER]:
*************

+++ Channel is configured now.
+++ Call /usr/local/bin/efw-upgrade -s in order to change it.
+++ Try to upgrade efw-upgrade itself
Loading cache...
Updating cache...               ######################################## [100%]

Fetching information for 'efw-community'...

repomd.xml                      ######################################## [ 50%]

Updating cache...               ######################################## [100%]

Channels have no new packages.
Loading cache...
Updating cache...               ######################################## [100%]

Computing transaction...
No interesting upgrades available.
+++ Spawn away upgrade process.
+++ You can follow the progress by a tail output.
root@ENDIAN-DSV:~ # +++ Upgrade rpm if necessary
Loading cache...
Updating cache...               ######################################## [100%]

Computing transaction...
No interesting upgrades available.
+++ Run pre upgrade hooks
+++ Start upgrading packages
Loading cache...
Updating cache...               ######################################## [100%]

Computing transaction...
No interesting upgrades available.
+++ Run post upgrade hooks
/etc/upgrade/upgrade.d/migration:
ERROR: commands.migration.run({}):

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/endian/commands/web/controllers.py", line 108, in default
  File "/usr/lib/python2.4/site-packages/endian/core/commands.py", line 436, in call
    return method(**optionsToDict(options))
  File "/usr/lib/python2.4/site-packages/endian/migration/commands.py", line 59, in migrate
  File "/usr/lib/python2.4/site-packages/endian/migration/migration.py", line 380, in migrate
  File "/usr/lib/python2.4/site-packages/endian/migration/migration.py", line 307, in iterateScripts
  File "/usr/lib/python2.4/site-packages/endian/migration/migration.py", line 278, in pendingScripts
  File "/usr/lib/python2.4/site-packages/endian/migration/migration.py", line 101, in rpmCmp
TypeError: argument 2, item 0 must be string or None, not int