Hello Everyone,
After upgrading from 1.0.0 to 1.0.1 exactly following the commands at the
end of Mon. Tibor Symko's mail, the demo page footer read:
Powered by Invenio <http://invenio-software.org/> v1.0.1
Maintained by [email protected]
Last updated: 12 Jul 2012, 10:12
The problem appears if one makes some changes to
invenio.conf/invenio-local.conf and run the comand again
$ sudo -u www-data /opt/invenio/bin/inveniocfg --update-all
One can run the commands again after
$cd ../invenio-1.0.1
and get back the footer as above. Is this correct?
Best
Surendran
On Wed, Jul 11, 2012 at 6:55 AM, Devin Bougie <[email protected]>wrote:
> 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/>
> >
> >
>
>
--
9559 4359 7055
+91-20-27298293