Forum OpenACS Q&A: Re: Naviserver upgrade issue on RHEL 7.9

Collapse
Posted by Gustaf Neumann on
Hi Michael,

these are very good news - congratulations on getting this far!

The message about the missing required argument is important and
should not be ignored. It is triggered by an upgrade script for
xowiki.127 (released about 17 years ago), where the cache is
flushed. The main issue is that this exception aborts the upgrade
process, which in turn may prevent later upgrade scripts from being
executed.

The root cause is a change in the caching infrastructure that happened
roughly ten years ago. At that time, OpenACS introduced partitioned
caches for improved scalability. With partitioned caches, a simple
flush operation now requires a key to determine the
partition. However, for the intended use case in this old upgrade
script, the correct operation is actually flush_all, which does not
require a key.

I have fixed this issue both in CVS HEAD and in the oacs-5-10 branch,
so upgrading from there should no longer hit this problem.

Please let me know if you run into anything else - upgrading a
methusalem system is always an adventure!

all the best
-g