List Info

Thread: Forrestbot help




Forrestbot help
user name
2006-02-23 07:21:20
I'm having problems setting up & running forrestbot for
Apache XML  
Graphics site.

If I run `forrest -f publish.xml` I get the following:

=====
[...]
Logging Error: Writing event to closed stream.
Total time: 0 minutes 37 seconds,  Site size: 176,969 Site
pages: 28
------------------------------
Static site was successfully generated at:
/Users/Shared/_WebDLs/_repos/apache/xmlgraphics/site/build/f
orrest-docs
------------------------------


           ....... Forrest render END

Copying 1 file to
/Users/Shared/_WebDLs/_repos/apache/xmlgraphics/ 
site/build/forrest/log

build:

deploy.scp-alt:
Enter passphrase for your private key for scp to claycvs.apache.org:/ 
www/xmlgraphics.apache.org:

Connecting to cvs.apache.org:22

BUILD FAILED
/Users/Shared/_WebDLs/_repos/apache/xmlgraphics/site/publish
.xml:54:  
com.jcraft.jsch.JSchException: Auth fail

Total time: 1 minute 2 seconds
[clayclay-leeds-powerbook-g4-17 site]$
=====
The full CLI output from the above run is here[2]

Here's some background:
[clayclay-leeds-powerbook-g4-17 site]$ pwd
/Users/Shared/_WebDLs/_repos/apache/xmlgraphics/site
[clayclay-leeds-powerbook-g4-17 site]$ cat
../deploy.settings
<project>
         <property name="deploy.scp.user"
value="clay"/>
         <property name="deploy.scp.keyfile"
value="/Users/clay/.ssh/ 
id_dsa"/>
</project>

I have the following in this file in the parent of
$FORREST_HOME (/ 
Users/Shared/_WebDLs/deploy.svn.settings):

<?xml version="1.0"?>
<project>
   <property name="deploy.svn.user"
value="clay"/>
   <property name="deploy.svn.user"
value="xzxzxzx"/>
</project>

When I search for 'com.jcraft.jsch.JSchException: Auth
fail', I saw  
this[1], but it appears (IMO) to reference a setting change
which  
needs to be made on the server, not locally. In addition,
`ssh - 
version` shows:
[clayclay-leeds-powerbook-g4-17 .ssh]$ ssh -version
OpenSSH_3.8.1p1, OpenSSL 0.9.7i 14 Oct 2005
Bad escape character 'rsion'.

Here's my 'publish.xml' file[3].

[1]
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi? 
ubb=get_topic&f=67&t=000975
[2]
http://people.apache.org/~clay/forrestbot_20050222.txt
[3]
http://svn.apache.org/viewcvs.cgi/xmlgraphics/sit
e/publish.xml? 
rev=239561&view=log

Clay Leeds
the.webmaestrogmail.com

My religion is simple. My religion is kindness.
-- HH Dalai Lama of Tibet



Forrestbot help
user name
2006-02-23 23:01:20
Web Maestro Clay wrote:
> I'm having problems setting up & running
forrestbot for Apache XML  
> Graphics site.

Just speed reading, but I noticed a couple of things:

> /Users/Shared/_WebDLs/_repos/apache/xmlgraphics/site
> [clayclay-leeds-powerbook-g4-17 site]$ cat
../deploy.settings
> <project>
>         <property name="deploy.scp.user"
value="clay"/>
>         <property
name="deploy.scp.keyfile"
value="/Users/clay/.ssh/ 
> id_dsa"/>

Should there really be a space in this property? (or is that
really 
mailer wrapping?)

> I have the following in this file in the parent of
$FORREST_HOME (/ 
> Users/Shared/_WebDLs/deploy.svn.settings):
> 
> <?xml version="1.0"?>
> <project>
>   <property name="deploy.svn.user"
value="clay"/>
>   <property name="deploy.svn.user"
value="xzxzxzx"/>

Spot the cut and paste error (clue username + password)

Ross
Forrestbot help
user name
2006-02-24 00:11:31
Web Maestro Clay wrote:
> I'm having problems setting up & running
forrestbot for Apache XML  
> Graphics site.

 [ snip ]
> 
> I have the following in this file in the parent of
$FORREST_HOME (/ 
> Users/Shared/_WebDLs/deploy.svn.settings):

No. It is supposed to be the parent of the directory
in which you are running the 'forrest' command, i.e.
the parent of the directory containing forrest.properties
and publish.xml

-David
Forrestbot help
user name
2006-02-24 00:05:57
Web Maestro Clay wrote:
> I'm having problems setting up & running
forrestbot for Apache XML  
> Graphics site.

It looks like Jeremias set it up six months ago.
Does it work for him? Doing 'ls -l' on the server
looks like he made some doc changes recently.

I am wondering if it is just an SSH issue for you.
Can you use scp from your local commandline?
 scp text.txt people.apache.org:/www/xmlgraphics.apache.org

Note that ASF projects are supposed to store their
generated documents in SVN. That is what we do for
the Forrest website. That way we use svn and not scp.

Anyway using scp should still be possible with the
forrestbot and still work in your case.

Another issue (but this should not stop anything from
working yet). You need to soon stop using cvs.apache.org
and start using people.apache.org (same machine, just
a better hostname.

-David
Forrestbot help
user name
2006-02-23 23:53:00
On Feb 23, 2006, at 3:01 PM, Ross Gardler wrote:
> Web Maestro Clay wrote:
>> I'm having problems setting up & running
forrestbot for Apache  
>> XML  Graphics site.
>
> Just speed reading, but I noticed a couple of things:
>
>>
/Users/Shared/_WebDLs/_repos/apache/xmlgraphics/site
>> [clayclay-leeds-powerbook-g4-17 site]$ cat
../deploy.settings
>> <project>
>>         <property
name="deploy.scp.user"
value="clay"/>
>>         <property
name="deploy.scp.keyfile" value="/Users/ 
>> clay/.ssh/ id_dsa"/>
>
> Should there really be a space in this property? (or is
that really  
> mailer wrapping?)

Mailer wrapping.

>> I have the following in this file in the parent of
$FORREST_HOME  
>> (/ Users/Shared/_WebDLs/deploy.svn.settings):
>> <?xml version="1.0"?>
>> <project>
>>   <property name="deploy.svn.user"
value="clay"/>
>>   <property name="deploy.svn.user"
value="xzxzxzx"/>
>
> Spot the cut and paste error (clue username + password)
>
> Ross

Good eye! I saw that after I posted... But switching it to  
"deploy.svn.password" has no effect.

Clay Leeds
webmaestromac.com

My religion is simple. My religion is kindness.
-- HH Dalai Lama of Tibet



Forrestbot help
user name
2006-02-24 00:16:54
On Feb 23, 2006, at 4:05 PM, David Crossley wrote:
> Web Maestro Clay wrote:
>> I'm having problems setting up & running
forrestbot for Apache XML
>> Graphics site.
>
> It looks like Jeremias set it up six months ago.
> Does it work for him? Doing 'ls -l' on the server
> looks like he made some doc changes recently.

Yes, Jeremias is able to make changes.

I volunteered to migrate xml.apache.org/batik over to  
xmlgraphics.apache.org/batik, and that is 99.9% complete
(all traffic  
to xml.apache.org/batik is re-directed to xmlgraphics.a.o).
The only  
thing left, is to change the actual Batik links on the
Forrest- 
generated PMC site 'xmlgraphics.apache.org' to point to  
xmlgraphics.a.o/batik instead of xml.a.o/batik.

> I am wondering if it is just an SSH issue for you.
> Can you use scp from your local commandline?
>  scp text.txt
people.apache.org:/www/xmlgraphics.apache.org

It's entirely possible. The above works...

> Note that ASF projects are supposed to store their
> generated documents in SVN. That is what we do for
> the Forrest website. That way we use svn and not scp.

The source (xdocs) are in SVN, but the generated site is
not.

> Anyway using scp should still be possible with the
> forrestbot and still work in your case.
>
> Another issue (but this should not stop anything from
> working yet). You need to soon stop using
cvs.apache.org
> and start using people.apache.org (same machine, just
> a better hostname.
>
> -David

I am using people.apache.org, but not for this. For this,
I'm using  
the 'old' publish.xml file in SVN. I'll make that change
and commit it.

Clay Leeds
webmaestromac.com

My religion is simple. My religion is kindness.
-- HH Dalai Lama of Tibet



Forrestbot help
user name
2006-02-24 00:25:52
Ross Gardler wrote:
> Web Maestro Clay wrote:
> >I'm having problems setting up & running
forrestbot for Apache XML  
> >Graphics site.
> 
> >I have the following in this file in the parent of
$FORREST_HOME (/ 
> >Users/Shared/_WebDLs/deploy.svn.settings):
> >
> ><?xml version="1.0"?>
> ><project>
> >  <property name="deploy.svn.user"
value="clay"/>
> >  <property name="deploy.svn.user"
value="xzxzxzx"/>
> 
> Spot the cut and paste error (clue username + password)

We have talked about that once before. My file
for the forrest website is like that and SVN
deployment still works for me. Strange.

Anyway as said elsewehere, Clay is not using SVN.

-David
Forrestbot help
user name
2006-02-24 00:21:30
On Feb 23, 2006, at 4:11 PM, David Crossley wrote:
> Web Maestro Clay wrote:
>> I have the following in this file in the parent of
$FORREST_HOME (/
>> Users/Shared/_WebDLs/deploy.svn.settings):
>
> No. It is supposed to be the parent of the directory
> in which you are running the 'forrest' command, i.e.
> the parent of the directory containing
forrest.properties
> and publish.xml
>
> -David

I moved the file and it's still giving me grief.  I also
changed from  
cvs.apache.org to people.apache.org. Still not working...

Clay Leeds
webmaestromac.com

My religion is simple. My religion is kindness.
-- HH Dalai Lama of Tibet



Forrestbot help
user name
2006-02-24 01:56:47
Clay Leeds wrote:
> David Crossley wrote:
> >
> >Another issue (but this should not stop anything
from
> >working yet). You need to soon stop using
cvs.apache.org
> >and start using people.apache.org (same machine,
just
> >a better hostname.
> 
> I am using people.apache.org, but not for this. For
this, I'm using  
> the 'old' publish.xml file in SVN. I'll make that
change and commit it.

I see your commit message. I did *not* say that
cvs.apache.org was broken.

-David
Forrestbot help
user name
2006-02-24 01:54:01
We have eliminate some things in the other emails.
Lets see what remains ...

Web Maestro Clay wrote:
> I'm having problems setting up & running
forrestbot for Apache XML  
> Graphics site.
> 
> If I run `forrest -f publish.xml` I get the following:
> 
> =====
> [...]
> Logging Error: Writing event to closed stream.
> Total time: 0 minutes 37 seconds,  Site size: 176,969
Site pages: 28
> ------------------------------
> Static site was successfully generated at:
>
/Users/Shared/_WebDLs/_repos/apache/xmlgraphics/site/build/f
orrest-docs
> ------------------------------
> 
> 
>           ....... Forrest render END
> 
> Copying 1 file to
/Users/Shared/_WebDLs/_repos/apache/xmlgraphics/ 
> site/build/forrest/log
> 
> build:
> 
> deploy.scp-alt:
> Enter passphrase for your private key for scp to
claycvs.apache.org:/ 
> www/xmlgraphics.apache.org:

Did you have a chance to add your passphrase here?

If not then try setting up 'ssh-agent' first ...
[localhost]$ cd _repos/apache/xmlgraphics/site
[localhost]$ ssh-agent bash      # presume you are using
bash
[localhost]$ ssh-add
[localhost]$ forrest -f publish.xml

> Connecting to cvs.apache.org:22
> 
> BUILD FAILED
>
/Users/Shared/_WebDLs/_repos/apache/xmlgraphics/site/publish
.xml:54:  
> com.jcraft.jsch.JSchException: Auth fail
> 
> Total time: 1 minute 2 seconds
> [clayclay-leeds-powerbook-g4-17 site]$
> =====
> The full CLI output from the above run is here[2]
> 
> Here's some background:
> [clayclay-leeds-powerbook-g4-17 site]$ pwd
> /Users/Shared/_WebDLs/_repos/apache/xmlgraphics/site
> [clayclay-leeds-powerbook-g4-17 site]$ cat
../deploy.settings
> <project>
>         <property name="deploy.scp.user"
value="clay"/>
>         <property
name="deploy.scp.keyfile"
value="/Users/clay/.ssh/ 
> id_dsa"/>
> </project>

Perhaps it just needs to be /Users/clay/.ssh

-David
[1-10] [11-20] [21-25]

about | contact  Other archives ( Real Estate discussion Medical topics )