Hello all,

I'm (finally!) performing the migration steps for our 0.92.1 system on a
test machine from a database dump of our production system following the
https://twiki.cern.ch/twiki/bin/view/CDS/InvenioUpgrade instructions.

The script password_migration_kit.py complained that there was no 'admin'
nickname.  So I updated my 'fjorba' to 'admin' nickname so the passwords
could be converted, apparently well.  But then, the next step gave me
this cryptic message:


 $ webaccessadmin -a -u admin
 WebAccess Administration
 ========================
 Username: admin
 Usage: /home/ddd/invenio/bin/webaccessadmin [options]

 General options:
   -h, --help            print this help
   -V, --version         print version number

 Authentication options:
   -u, --user=USER       User name needed to perform the administrative task

 Option to administrate authorizations:
   -a, --add             add default authorization settings
   -c, --compile         compile firewall like role definitions (FireRole)
   -r, --reset           reset to default settings
   -D, --demo            to be used with -a or -r in order to consider demo 
site authorizationss

 'ddd (internal)'


I understand, from this 'ddd (internal)' string, that the system is
complaining that either there is no information about where my admin
password is located, or there is a missing configuration about which
kind of account do I have as admin.

And indeed I cannot continue, because next step complaints:


 $ python modules/webaccess/lib/collection_restrictions_migration_kit.py 
 ERROR: viewrestrcoll action does not exist!
 Please run first webaccessadmin -a in order to update the system
 to newly added actions.


Yesterday I spend several hours grepping around and trying to understand
where is the missing step, but frankly, I cannot find it easily.

Your help is appreciated,

Ferran

Reply via email to