Hi Ferran,

It looks very much like you have created your own upgrade script using inveniocfg --upgrade-create-standard-recipe? If this was not intentional, you can simply remove the file modules/miscutil/modules/miscutil/lib/upgrades/invenio_2012_11_23_rename_me.py. If you did indeed wanted to make your own upgrade script, then you should 1) rename invenio_2012_11_23_rename_me.py to e.g. uab_2012_11_23_<anothername here>.py and 2) edit the file, and the variable "depends_on" to either an empty list if this is your first upgrade, or alternatively, the name of your previous upgrade.

Please see http://invenio-software.org/wiki/Development/Modules/InvenioUpgrader for a tutorial on how to write and run upgrade.

Cheers,
Lars

On 22/04/13 09:32, Ferran Jorba wrote:
Hello,

I'm upgrading right now http://traces.uab.cat/, strictly following my
written notes from my successful test installation, but I'm stucked in
the upgrade step.  After the make && make install &&
~/invenio/bin/inveniocfg --update-all, that's what I'm getting:

  $ ~/invenio/bin/inveniocfg --upgrade
  >>> WARNING: the md5 module is deprecated; use hashlib instead
  >>> ERROR: Upgrade invenio_2012_11_23_rename_me depends on an unknown upgrade 
CHANGE_ME
  >>> Please check log file for further information:
  less /home/traces/invenio/var/log/invenio_upgrader.log

  $ cat /home/traces/invenio/var/log/invenio_upgrader.log
  traces@homs:~/invenio$ cat /home/traces/invenio/var/log/invenio_upgrader.log
*  2013-04-22 08:57:32,857 WARNING  the md5 module is deprecated; use hashlib 
instead
*  2013-04-22 08:57:32,943 ERROR    Upgrade invenio_2012_11_23_rename_me 
depends on an unknown upgrade CHANGE_ME
*  2013-04-22 08:57:32,944 INFO     Please check log file for further 
information:

I've tried to follow the logic of the upgrade script, tested several
trivial things, but I'm afraid that I'm pretty much lost.

Your help is really appreciated.  Thanks,

Ferran


--
Lars Holm Nielsen
Software Engineer

CERN, IT Department, Digital Library Technology Section
Office 513/1-014
Tel: +41 22 76 79182
Cel: +41 76 672 8927


Reply via email to