[Moin-user] Upgrading from 1.3 to 1.5

Lan Barnes lan at falleagle.net
Wed Feb 1 17:20:06 EST 2006

On Wed, Feb 01, 2006 at 10:53:06PM +0000, Paul Moore wrote:
> On 2/1/06, Lan Barnes <lan at falleagle.net> wrote:
> > I can't find the instructions for this upgrade. I've checked the FAQ and
> > supplied docs. I'm sure it's there and I'm missing it. Can you point me
> > to it?
> IIRC, there's nothing much to do. I just upgraded the software, redid
> my config based on a copy of the 1.5 sample, and it worked fine. I may
> have forgotten something, but I think it's pretty much that simple.
> The data format didn't change, AIUI.
> Paul.

I'm still having problems. I suspect it's in the httpd.conf.

Is that the config you redid? Where is the sample?

The 1.5 /docs/ has a migration readme, but it appears to be a rehash of
the 1.2 -> 1.3 process. I did that once (worked, amazingly).

Here is what I did here:

1. on a updated FC4 box running apache httpd-2.0.54-10.3 from the RH
rpm, I installed moin-1.5.1 as root from the tarball in /scm/moin. Under
this I moved (mv) my old 1.3 wiki directory trees from the old moin 1.3
image ... this may have been an unjustified leap of faith.

One of these for example is scm-wiki. These lines are in my
/etc/httpd/conf/httpd.conf file:

# Generic thing for MoinMoin
Alias /wiki/ "/scm/moin/share/moin/htdocs/"

# Aliases for other things, especially wiki instances

ScriptAlias /scm-wiki "/scm/moin/scm-wiki/cgi-bin/moin.cgi"

Now clicking on the link http://oz/scm-wiki/ gets a 500:

                                               Internal Server Error

   The server encountered an internal error or misconfiguration and was
unable to complete your request.

   Please contact the server administrator, root at localhost and inform
them of the time the error occurred, and anything
   you might have done that may have caused the error.

   More information about this error may be available in the server
error log.

    Apache/2.0.54 (Fedora) Server at oz Port 80

The server error log says:

[Wed Feb 01 16:43:48 2006] [error] [client] Traceback (most
recent call last):, referer: http://oz/
[Wed Feb 01 16:43:48 2006] [error] [client]   File
"/scm/moin/scm-wiki/cgi-bin/moin.cgi", line 36, in ?, referer:
[Wed Feb 01 16:43:48 2006] [error] [client]     , referer:
[Wed Feb 01 16:43:48 2006] [error] [client] from
MoinMoin.request import RequestCGI, referer: http://oz/
[Wed Feb 01 16:43:48 2006] [error] [client] ImportError,
referer: http://oz/
[Wed Feb 01 16:43:48 2006] [error] [client] : , referer:
[Wed Feb 01 16:43:48 2006] [error] [client] No module named
MoinMoin.request, referer: http://oz/
[Wed Feb 01 16:43:48 2006] [error] [client] , referer:
[Wed Feb 01 16:43:48 2006] [error] [client] Premature end of
script headers: moin.cgi, referer: http://oz/


As an experiment, I used the 1.3 script (again, a leap of faith, but I
couldn't find the corresponding 1.5 script) new-wiki.sh to make an
instance called xyz-wiki. 

I added this line to /etc/httpd/conf/httpd.conf:

ScriptAlias /xyz-wiki "/scm/moin/xyz-wiki/cgi-bin/moin.cgi"

Accessing it through my browser gets a 404 -- different but not helpful.


                                                       Not Found

   The requested URL /xyz-wiki/ was not found on this server.

    Apache/2.0.54 (Fedora) Server at oz Port 80


There is no error log entry for xyz-wiki.

Let me note that DocumentRoot in /etc/httpd/conf/httpd.conf is /scm/www
and this has links in it to the wiki in lines like:

<br><a href="http://oz/scm-wiki/" target="newwindow">SCM Wiki</a>

<br><a href="http://oz/xyz-wiki/" target="newwindow">Xyz Wiki</a>

I may have messed up procedurally. Maybe I should have created wiki
instances by the same name and just moved over .../data.

I may have missed a config either in apache or in moin.

I would be very grateful for any help. It's close of business, but I can
vpn in from home and do some surgery if only I can get an idea of what
needs to be done.

Thanks in advance,

Lan Barnes                    lan at falleagle.net
Linux Guy, SCM Specialist     858-354-0616

More information about the Moin-user mailing list