Hi Jerome,

On Jul 11, 2012, at 2:20 AM, Jerome Caffaro wrote:
> On 07/10/2012 05:02 PM, Devin Bougie wrote:
>> Hi, All.  After updating from v1.0.0 to v1.0.1, our pages still say "Powered 
>> by Invenio v1.0.0."  Is this a sign that the update failed somehow, or is 
>> there a file we should manually update?
>> https://edms.classe.cornell.edu/
> 
> The version should be taken from CFG_VERSION:
> 
> $ python -c 'from invenio.config import CFG_VERSION\nprint CFG_VERSION'
> 
> It should be set during the "configure" stage (in the upgrade
> instructions, this is line "sh /opt/invenio/etc/build/config.nice").
> Has this value been  correctly set for you?

No, it doesn't look like it has.  
------
[root@lnx19 etc]# pwd
/opt/invenio/etc
[root@lnx19 etc]# grep -i CFG_VERSION invenio.conf
[root@lnx19 etc]# python -c 'from invenio.config import CFG_VERSION\nprint 
CFG_VERSION'
  File "<string>", line 1
    from invenio.config import CFG_VERSION\nprint CFG_VERSION
                                                            ^
SyntaxError: invalid token
------

Not sure if this helps, but I do see v1.0.0 specified in invenio-autotools.conf.
------
[root@lnx19 etc]# grep -i CFG_VERSION invenio*.conf
invenio-autotools.conf:CFG_VERSION = 1.0.0
------

I did follow the upgrade instructions and didn't see any errors.  How would you 
recommend I proceed?  Should I repeat the upgrade steps for good measure?

Thanks,
Devin

> It might be also that WebColl had not run (unlikely, because it also
> shows "1.0.0" on dynamic pages):
> $ sudo -u www-data /opt/invenio/bin/webcoll -f -p2 -c "CLASSE EDMS"
> or (unlikely) that you have updated the footer template
> webstyle_templates_{cornell}.tmpl_pagefooter(..)
> in a way that CFG_VERSION is not used, but strubg "1.0.0" is hard-coded?
> 
> Best regards
> -- 
> Jerome Caffaro ** CERN Document Server ** <http://cds.cern.ch/>
> 
> 

Reply via email to