Mailing List Archive

publish/FTP failure
i am still a complete newbie. In spite of countless attempts on my part, over
the last two months, to get a basic "Hello World!" from bricolage, that would
include a basic publish with a basic template (modified/controlled by me),
bricolage has remained a non-show, for various reasons I won't list in this post
(I am still trying to read the fine manual so as not to annoy with stupid
questions).  However, the following error seems to be some type of bug -- either
on bricolage server end, or on the remote server (blah.com)
 
1. At some point (perhaps on first attempt), bricolage succeeds to complete the
FTP process such that it finishes with the file "index.html" appearing in the
designated directory.
 
2. Subsequent attempts to republish the page end with the "index.html.tmp" step,
such that the .tmp file does not get renamed to "index.html".  Also, bricolage
stalls for several minutes and then gives the error below:
 
3. This problem does not occur with a different domain name, for some reason,
which is set up exactly the same way, in the same exact web server space.
 
error message:
 
Unable to put file '/2011/01/22/prettygood/index.html.tmp' on remote server
'blah.com'
 
 
Trace begun at /usr/local/bricolage5/lib/Bric/Util/Trans/FTP.pm line 200
Bric::Util::Trans::FTP::put_res('Bric::Util::Trans::FTP', 'ARRAY(0xbd438a0)',
'Bric::Dist::ServerType=HASH(0xbd35900)') called at
/usr/local/bricolage5/lib/Bric/Dist/Action/Mover.pm line 160
Bric::Dist::Action::Mover::do_it('Bric::Dist::Action::Mover=HASH(0xbd433a0)',
'ARRAY(0xbd438a0)', 'Bric::Dist::ServerType=HASH(0xbd35900)') called at
/usr/local/bricolage5/lib/Bric/Util/Job/Dist.pm line 227
Bric::Util::Job::Dist::_do_it('Bric::Util::Job::Dist=HASH(0xbd3d010)') called at
/usr/local/bricolage5/lib/Bric/Util/Job.pm line 1886
eval {...} at /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1884
Bric::Util::Job::execute_me('Bric::Util::Job::Dist=HASH(0xbd3d010)') called at
/usr/local/bricolage5/lib/Bric/Util/Job.pm line 1805
Bric::Util::Job::save('Bric::Util::Job::Dist=HASH(0xbd3d010)') called at
/usr/local/bricolage5/lib/Bric/Util/Burner.pm line 1361
Bric::Util::Burner::publish('Bric::Util::Burner=HASH(0xbd2f130)',
'Bric::Biz::Asset::Business::Story=HASH(0xbd244d8)', 'story', 0, '2011-01-26
23:43:07.000000', 1, 3) called at /usr/local/bricolage5/lib/Bric/Util/Job/Pub.pm
line 187
Bric::Util::Job::Pub::_do_it('Bric::Util::Job::Pub=HASH(0xbd23de8)') called at
/usr/local/bricolage5/lib/Bric/Util/Job.pm line 1886
eval {...} at /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1884
Bric::Util::Job::execute_me('Bric::Util::Job::Pub=HASH(0xbd23de8)') called at
/usr/local/bricolage5/lib/Bric/Util/Job.pm line 1805
Bric::Util::Job::save('Bric::Util::Job::Pub=HASH(0xbd23de8)') called at
/usr/local/bricolage5/lib/Bric/App/Callback/Publish.pm line 184
Bric::App::Callback::Publish::publish('Bric::App::Callback::Publish=HASH(0xbd23828)')
called at /usr/local/bricolage5/lib/Bric/App/Callback/Desk.pm line 407
Bric::App::Callback::Desk::publish('Bric::App::Callback::Desk=HASH(0xbcb3100)')
called at /usr/local/bricolage5/lib/Bric/App/Callback/Profile/Story.pm line 224
Bric::App::Callback::Profile::Story::checkin('Bric::App::Callback::Profile::Story=HASH(0xbcb3640)')
called at /usr/local/share/perl/5.10.1/Params/CallbackRequest.pm line 296
eval {...} at /usr/local/share/perl/5.10.1/Params/CallbackRequest.pm line 286
Params::CallbackRequest::request('Params::CallbackRequest=HASH(0xb9eb198)',
'HASH(0xaa536f8)', 'requester', 'MasonX::Interp::WithCallbacks=HASH(0xaeebf58)',
'apache_req', 'Apache2::Request=SCALAR(0xbc1cc90)') called at
/usr/local/share/perl/5.10.1/MasonX/Interp/WithCallbacks.pm line 119
MasonX::Interp::WithCallbacks::make_request('MasonX::Interp::WithCallbacks=HASH(0xaeebf58)',
'comp', '/workflow/profile/story/1030', 'args', 'ARRAY(0xbb0f6e8)', 'ah',
'HTML::Mason::ApacheHandler=HASH(0xaed9f70)', 'apache_req',
'Apache2::Request=SCALAR(0xbc1cc90)') called at
/usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 868
eval {...} at /usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 867
HTML::Mason::ApacheHandler::prepare_request('HTML::Mason::ApacheHandler=HASH(0xaed9f70)',
'Apache2::RequestRec=SCALAR(0xa422418)') called at
/usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 822
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xaed9f70)',
'Apache2::RequestRec=SCALAR(0xa422418)') called at
/usr/local/bricolage5/lib/Bric/App/Handler.pm line 308
eval {...} at /usr/local/bricolage5/lib/Bric/App/Handler.pm line 297
Bric::App::Handler::handler('Apache2::RequestRec=SCALAR(0xa422418)') called at
-e line 0
eval {...} at -e line 0
 

Error Details (hide) [https://robin/workflow/profile/story/1030#]

Fault ClassBric::Util::Fault::Exception::GENDescriptionGeneral
ExceptionTimestamp2011-01-26
23:45:10.000000PackageBric::Util::Trans::FTPFilename/usr/local/bricolage5/lib/Bric/Util/Trans/FTP.pmLine200Stack:
Trace begun at /usr/local/bricolage5/lib/Bric/Util/Trans/FTP.pm line 200
Bric::Util::Trans::FTP::put_res('Bric::Util::Trans::FTP', 'ARRAY(0xbd438a0)',
'Bric::Dist::ServerType=HASH(0xbd35900)') called at
/usr/local/bricolage5/lib/Bric/Dist/Action/Mover.pm line 160
Bric::Dist::Action::Mover::do_it('Bric::Dist::Action::Mover=HASH(0xbd433a0)',
'ARRAY(0xbd438a0)', 'Bric::Dist::ServerType=HASH(0xbd35900)') called at
/usr/local/bricolage5/lib/Bric/Util/Job/Dist.pm line 227
Bric::Util::Job::Dist::_do_it('Bric::Util::Job::Dist=HASH(0xbd3d010)') called at
/usr/local/bricolage5/lib/Bric/Util/Job.pm line 1886 eval {...} at
/usr/local/bricolage5/lib/Bric/Util/Job.pm line 1884
Bric::Util::Job::execute_me('Bric::Util::Job::Dist=HASH(0xbd3d010)') called at
/usr/local/bricolage5/lib/Bric/Util/Job.pm line 1805
Bric::Util::Job::save('Bric::Util::Job::Dist=HASH(0xbd3d010)') called at
/usr/local/bricolage5/lib/Bric/Util/Burner.pm line 1361
Bric::Util::Burner::publish('Bric::Util::Burner=HASH(0xbd2f130)',
'Bric::Biz::Asset::Business::Story=HASH(0xbd244d8)', 'story', 0, '2011-01-26
23:43:07.000000', 1, 3) called at /usr/local/bricolage5/lib/Bric/Util/Job/Pub.pm
line 187 Bric::Util::Job::Pub::_do_it('Bric::Util::Job::Pub=HASH(0xbd23de8)')
called at /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1886 eval {...} at
/usr/local/bricolage5/lib/Bric/Util/Job.pm line 1884
Bric::Util::Job::execute_me('Bric::Util::Job::Pub=HASH(0xbd23de8)') called at
/usr/local/bricolage5/lib/Bric/Util/Job.pm line 1805
Bric::Util::Job::save('Bric::Util::Job::Pub=HASH(0xbd23de8)') called at
/usr/local/bricolage5/lib/Bric/App/Callback/Publish.pm line 184
Bric::App::Callback::Publish::publish('Bric::App::Callback::Publish=HASH(0xbd23828)')
called at /usr/local/bricolage5/lib/Bric/App/Callback/Desk.pm line 407
Bric::App::Callback::Desk::publish('Bric::App::Callback::Desk=HASH(0xbcb3100)')
called at /usr/local/bricolage5/lib/Bric/App/Callback/Profile/Story.pm line 224
Bric::App::Callback::Profile::Story::checkin('Bric::App::Callback::Profile::Story=HASH(0xbcb3640)')
called at /usr/local/share/perl/5.10.1/Params/CallbackRequest.pm line 296 eval
{...} at /usr/local/share/perl/5.10.1/Params/CallbackRequest.pm line 286
Params::CallbackRequest::request('Params::CallbackRequest=HASH(0xb9eb198)',
'HASH(0xaa536f8)', 'requester', 'MasonX::Interp::WithCallbacks=HASH(0xaeebf58)',
'apache_req', 'Apache2::Request=SCALAR(0xbc1cc90)') called at
/usr/local/share/perl/5.10.1/MasonX/Interp/WithCallbacks.pm line 119
MasonX::Interp::WithCallbacks::make_request('MasonX::Interp::WithCallbacks=HASH(0xaeebf58)',
'comp', '/workflow/profile/story/1030', 'args', 'ARRAY(0xbb0f6e8)', 'ah',
'HTML::Mason::ApacheHandler=HASH(0xaed9f70)', 'apache_req',
'Apache2::Request=SCALAR(0xbc1cc90)') called at
/usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 868 eval {...} at
/usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 867
HTML::Mason::ApacheHandler::prepare_request('HTML::Mason::ApacheHandler=HASH(0xaed9f70)',
'Apache2::RequestRec=SCALAR(0xa422418)') called at
/usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 822
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xaed9f70)',
'Apache2::RequestRec=SCALAR(0xa422418)') called at
/usr/local/bricolage5/lib/Bric/App/Handler.pm line 308 eval {...} at
/usr/local/bricolage5/lib/Bric/App/Handler.pm line 297
Bric::App::Handler::handler('Apache2::RequestRec=SCALAR(0xa422418)') called at
-e line 0 eval {...} at -e line 0
Re: publish/FTP failure [ In reply to ]
Hi,

A couple of things are worth a try here:

1. Double-and triple check file and directory ownership in the webspace
you're trying to upload to.

2. Check the path on the server you're trying to upload to, in case
you're pushing to the wrong directory.

3. Try setting FTP_UNLINK_BEFORE_MOVE in bricolage.conf to "Yes". If
you're succeeding to another webspace on the same server, I wouldn't
expect it to come to this. but maybe the two webspaces are served by
different FTP daemons?

4. Check disk space on the destination

5. If that doesn't work, ask again!


Hope this helps,

Bret



On Thu, 2011-01-27 at 03:01 -0500, Bric wrote:
> i am still a complete newbie. In spite of countless attempts on my part, over
> the last two months, to get a basic "Hello World!" from bricolage, that would
> include a basic publish with a basic template (modified/controlled by me),
> bricolage has remained a non-show, for various reasons I won't list in this post
> (I am still trying to read the fine manual so as not to annoy with stupid
> questions). However, the following error seems to be some type of bug -- either
> on bricolage server end, or on the remote server (blah.com)
>
> 1. At some point (perhaps on first attempt), bricolage succeeds to complete the
> FTP process such that it finishes with the file "index.html" appearing in the
> designated directory.
>
> 2. Subsequent attempts to republish the page end with the "index.html.tmp" step,
> such that the .tmp file does not get renamed to "index.html". Also, bricolage
> stalls for several minutes and then gives the error below:
>
> 3. This problem does not occur with a different domain name, for some reason,
> which is set up exactly the same way, in the same exact web server space.
>
> error message:
>
> Unable to put file '/2011/01/22/prettygood/index.html.tmp' on remote server
> 'blah.com'
>
>
> Trace begun at /usr/local/bricolage5/lib/Bric/Util/Trans/FTP.pm line 200
> Bric::Util::Trans::FTP::put_res('Bric::Util::Trans::FTP', 'ARRAY(0xbd438a0)',
> 'Bric::Dist::ServerType=HASH(0xbd35900)') called at
> /usr/local/bricolage5/lib/Bric/Dist/Action/Mover.pm line 160
> Bric::Dist::Action::Mover::do_it('Bric::Dist::Action::Mover=HASH(0xbd433a0)',
> 'ARRAY(0xbd438a0)', 'Bric::Dist::ServerType=HASH(0xbd35900)') called at
> /usr/local/bricolage5/lib/Bric/Util/Job/Dist.pm line 227
> Bric::Util::Job::Dist::_do_it('Bric::Util::Job::Dist=HASH(0xbd3d010)') called at
> /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1886
> eval {...} at /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1884
> Bric::Util::Job::execute_me('Bric::Util::Job::Dist=HASH(0xbd3d010)') called at
> /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1805
> Bric::Util::Job::save('Bric::Util::Job::Dist=HASH(0xbd3d010)') called at
> /usr/local/bricolage5/lib/Bric/Util/Burner.pm line 1361
> Bric::Util::Burner::publish('Bric::Util::Burner=HASH(0xbd2f130)',
> 'Bric::Biz::Asset::Business::Story=HASH(0xbd244d8)', 'story', 0, '2011-01-26
> 23:43:07.000000', 1, 3) called at /usr/local/bricolage5/lib/Bric/Util/Job/Pub.pm
> line 187
> Bric::Util::Job::Pub::_do_it('Bric::Util::Job::Pub=HASH(0xbd23de8)') called at
> /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1886
> eval {...} at /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1884
> Bric::Util::Job::execute_me('Bric::Util::Job::Pub=HASH(0xbd23de8)') called at
> /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1805
> Bric::Util::Job::save('Bric::Util::Job::Pub=HASH(0xbd23de8)') called at
> /usr/local/bricolage5/lib/Bric/App/Callback/Publish.pm line 184
> Bric::App::Callback::Publish::publish('Bric::App::Callback::Publish=HASH(0xbd23828)')
> called at /usr/local/bricolage5/lib/Bric/App/Callback/Desk.pm line 407
> Bric::App::Callback::Desk::publish('Bric::App::Callback::Desk=HASH(0xbcb3100)')
> called at /usr/local/bricolage5/lib/Bric/App/Callback/Profile/Story.pm line 224
> Bric::App::Callback::Profile::Story::checkin('Bric::App::Callback::Profile::Story=HASH(0xbcb3640)')
> called at /usr/local/share/perl/5.10.1/Params/CallbackRequest.pm line 296
> eval {...} at /usr/local/share/perl/5.10.1/Params/CallbackRequest.pm line 286
> Params::CallbackRequest::request('Params::CallbackRequest=HASH(0xb9eb198)',
> 'HASH(0xaa536f8)', 'requester', 'MasonX::Interp::WithCallbacks=HASH(0xaeebf58)',
> 'apache_req', 'Apache2::Request=SCALAR(0xbc1cc90)') called at
> /usr/local/share/perl/5.10.1/MasonX/Interp/WithCallbacks.pm line 119
> MasonX::Interp::WithCallbacks::make_request('MasonX::Interp::WithCallbacks=HASH(0xaeebf58)',
> 'comp', '/workflow/profile/story/1030', 'args', 'ARRAY(0xbb0f6e8)', 'ah',
> 'HTML::Mason::ApacheHandler=HASH(0xaed9f70)', 'apache_req',
> 'Apache2::Request=SCALAR(0xbc1cc90)') called at
> /usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 868
> eval {...} at /usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 867
> HTML::Mason::ApacheHandler::prepare_request('HTML::Mason::ApacheHandler=HASH(0xaed9f70)',
> 'Apache2::RequestRec=SCALAR(0xa422418)') called at
> /usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 822
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xaed9f70)',
> 'Apache2::RequestRec=SCALAR(0xa422418)') called at
> /usr/local/bricolage5/lib/Bric/App/Handler.pm line 308
> eval {...} at /usr/local/bricolage5/lib/Bric/App/Handler.pm line 297
> Bric::App::Handler::handler('Apache2::RequestRec=SCALAR(0xa422418)') called at
> -e line 0
> eval {...} at -e line 0
>
>
> Error Details (hide) [https://robin/workflow/profile/story/1030#]
>
> Fault ClassBric::Util::Fault::Exception::GENDescriptionGeneral
> ExceptionTimestamp2011-01-26
> 23:45:10.000000PackageBric::Util::Trans::FTPFilename/usr/local/bricolage5/lib/Bric/Util/Trans/FTP.pmLine200Stack:
> Trace begun at /usr/local/bricolage5/lib/Bric/Util/Trans/FTP.pm line 200
> Bric::Util::Trans::FTP::put_res('Bric::Util::Trans::FTP', 'ARRAY(0xbd438a0)',
> 'Bric::Dist::ServerType=HASH(0xbd35900)') called at
> /usr/local/bricolage5/lib/Bric/Dist/Action/Mover.pm line 160
> Bric::Dist::Action::Mover::do_it('Bric::Dist::Action::Mover=HASH(0xbd433a0)',
> 'ARRAY(0xbd438a0)', 'Bric::Dist::ServerType=HASH(0xbd35900)') called at
> /usr/local/bricolage5/lib/Bric/Util/Job/Dist.pm line 227
> Bric::Util::Job::Dist::_do_it('Bric::Util::Job::Dist=HASH(0xbd3d010)') called at
> /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1886 eval {...} at
> /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1884
> Bric::Util::Job::execute_me('Bric::Util::Job::Dist=HASH(0xbd3d010)') called at
> /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1805
> Bric::Util::Job::save('Bric::Util::Job::Dist=HASH(0xbd3d010)') called at
> /usr/local/bricolage5/lib/Bric/Util/Burner.pm line 1361
> Bric::Util::Burner::publish('Bric::Util::Burner=HASH(0xbd2f130)',
> 'Bric::Biz::Asset::Business::Story=HASH(0xbd244d8)', 'story', 0, '2011-01-26
> 23:43:07.000000', 1, 3) called at /usr/local/bricolage5/lib/Bric/Util/Job/Pub.pm
> line 187 Bric::Util::Job::Pub::_do_it('Bric::Util::Job::Pub=HASH(0xbd23de8)')
> called at /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1886 eval {...} at
> /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1884
> Bric::Util::Job::execute_me('Bric::Util::Job::Pub=HASH(0xbd23de8)') called at
> /usr/local/bricolage5/lib/Bric/Util/Job.pm line 1805
> Bric::Util::Job::save('Bric::Util::Job::Pub=HASH(0xbd23de8)') called at
> /usr/local/bricolage5/lib/Bric/App/Callback/Publish.pm line 184
> Bric::App::Callback::Publish::publish('Bric::App::Callback::Publish=HASH(0xbd23828)')
> called at /usr/local/bricolage5/lib/Bric/App/Callback/Desk.pm line 407
> Bric::App::Callback::Desk::publish('Bric::App::Callback::Desk=HASH(0xbcb3100)')
> called at /usr/local/bricolage5/lib/Bric/App/Callback/Profile/Story.pm line 224
> Bric::App::Callback::Profile::Story::checkin('Bric::App::Callback::Profile::Story=HASH(0xbcb3640)')
> called at /usr/local/share/perl/5.10.1/Params/CallbackRequest.pm line 296 eval
> {...} at /usr/local/share/perl/5.10.1/Params/CallbackRequest.pm line 286
> Params::CallbackRequest::request('Params::CallbackRequest=HASH(0xb9eb198)',
> 'HASH(0xaa536f8)', 'requester', 'MasonX::Interp::WithCallbacks=HASH(0xaeebf58)',
> 'apache_req', 'Apache2::Request=SCALAR(0xbc1cc90)') called at
> /usr/local/share/perl/5.10.1/MasonX/Interp/WithCallbacks.pm line 119
> MasonX::Interp::WithCallbacks::make_request('MasonX::Interp::WithCallbacks=HASH(0xaeebf58)',
> 'comp', '/workflow/profile/story/1030', 'args', 'ARRAY(0xbb0f6e8)', 'ah',
> 'HTML::Mason::ApacheHandler=HASH(0xaed9f70)', 'apache_req',
> 'Apache2::Request=SCALAR(0xbc1cc90)') called at
> /usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 868 eval {...} at
> /usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 867
> HTML::Mason::ApacheHandler::prepare_request('HTML::Mason::ApacheHandler=HASH(0xaed9f70)',
> 'Apache2::RequestRec=SCALAR(0xa422418)') called at
> /usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 822
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xaed9f70)',
> 'Apache2::RequestRec=SCALAR(0xa422418)') called at
> /usr/local/bricolage5/lib/Bric/App/Handler.pm line 308 eval {...} at
> /usr/local/bricolage5/lib/Bric/App/Handler.pm line 297
> Bric::App::Handler::handler('Apache2::RequestRec=SCALAR(0xa422418)') called at
> -e line 0 eval {...} at -e line 0
>

--
Bret Dawson
Producer
Pectopah Productions Inc.
(416) 895-7635
bret@pectopah.com
www.pectopah.com
Re: publish/FTP failure [ In reply to ]
On 2011-01-27, at 7:46 AM, Bret Dawson wrote:

> 3. Try setting FTP_UNLINK_BEFORE_MOVE in bricolage.conf to "Yes".

... and then re-start Bricolage to re-load the new configuration.

--
Phillip Smith // Simplifier of Technology // COMMUNITY BANDWIDTH
www.communitybandwidth.ca // www.phillipadsmith.com
Re: publish/FTP failure [ In reply to ]
 

On January 27, 2011 at 7:46 AM Bret Dawson <bret@pectopah.com> wrote:

> Hi,
>
> A couple of things are worth a try here:
>
> 1. Double-and triple check file and directory ownership in the webspace
> you're trying to upload to.
 
did that. I can "manually" upload/download to/from that same web space (with
ncftp) using the same authentication I set up in bricolage.
 
> > 2. Check the path on the server you're trying to upload to, in case
> you're pushing to the wrong directory.
 
 
the logs confirm it's the right path (i think), and the presence of the
index.html.tmp says it's getting there (unless i missed something major here)
 
> > 3. Try setting FTP_UNLINK_BEFORE_MOVE in bricolage.conf to "Yes". If
 
Did that. No change. Still hangs and fails the same way.
 
> you're succeeding to another webspace on the same server, I wouldn't> expect
> it to come to this. but maybe the two webspaces are served by
> different FTP daemons?
 
This difference is bizarre and weird.
 
> > 4. Check disk space on the destination
 
I've got plenty available space
 
> > 5. If that doesn't work, ask again!
 
Here is some more observation:
 
 
 
FTP log entries for the failed publish:
 
[27/Jan/2011:12:23:36 -0500] "PASS (hidden)" - -
[27/Jan/2011:12:23:36 -0500] "TYPE I" 200 -
[27/Jan/2011:12:23:36 -0500] "PWD" 257 -
[27/Jan/2011:12:23:37 -0500] "CWD /2011/01/22/prettygood" 250 -
[27/Jan/2011:12:23:37 -0500] "CWD /" 250 -
[27/Jan/2011:12:23:37 -0500] "DELE /2011/01/22/prettygood/index.html.tmp" 250 0
[27/Jan/2011:12:23:37 -0500] "ALLO 356" 202 -
[27/Jan/2011:12:23:37 -0500] "PORT 97,190,231,170,189,248" 200 -
[27/Jan/2011:12:26:47 -0500] "STOR /2011/01/22/prettygood/index.html.tmp" 425 0
 
 
FTP log entries for the aforementioned successful publish:
 
[27/Jan/2011:00:01:22 -0500] "PASS (hidden)" - -
[27/Jan/2011:00:01:22 -0500] "TYPE I" 200 -
[27/Jan/2011:00:01:23 -0500] "PWD" 257 -
[27/Jan/2011:00:01:23 -0500] "CWD /pubnew/2011/01/22/blahblah" 250 -
[27/Jan/2011:00:01:23 -0500] "CWD /" 250 -
[27/Jan/2011:00:01:23 -0500] "ALLO 508" 202 -
[27/Jan/2011:00:01:23 -0500] "PORT 96,10,98,47,227,86" 200 -
[27/Jan/2011:00:01:23 -0500] "STOR /pubnew/2011/01/22/blahblah/index.html.tmp"
226 508
[27/Jan/2011:00:01:23 -0500] "RNFR /pubnew/2011/01/22/blahblah/index.html.tmp"
350 0
[27/Jan/2011:00:01:23 -0500] "RNTO /pubnew/2011/01/22/blahblah/index.html" 250 0
[27/Jan/2011:00:01:23 -0500] "QUIT" 221 -
 
 
-----------------------------------------------
 
I am seeing a difference in the "STOR ... " lines.  In the good scenario it ends
with two non-zero integers (file size??) 
 
The bad one ends with A non-zero followed by a zero.  And then is NOT followed
by the RNFR and RNTO lines.
 
Sometimes the bad "STOR .... " lines is followed by:
 
"NOOP" 200 -
"NOOP" 200 -
"NOOP" 200 -
"NOOP" 200 -
"NOOP" 200 -
 
 
 
FTP log entries for the failed publish:
[27/Jan/2011:12:23:36 -0500] "PASS (hidden)" - -
[27/Jan/2011:12:23:36 -0500] "TYPE I" 200 -
[27/Jan/2011:12:23:36 -0500] "PWD" 257 -
[27/Jan/2011:12:23:37 -0500] "CWD /2011/01/22/prettygood" 250 -
[27/Jan/2011:12:23:37 -0500] "CWD /" 250 -
[27/Jan/2011:12:23:37 -0500] "DELE /2011/01/22/prettygood/index.html.tmp" 250 0
[27/Jan/2011:12:23:37 -0500] "ALLO 356" 202 -
[27/Jan/2011:12:23:37 -0500] "PORT 97,190,231,170,189,248" 200 -
[27/Jan/2011:12:26:47 -0500] "STOR /2011/01/22/prettygood/index.html.tmp" 425 0
FTP log entries for the (aforementioned) successful publish:
[27/Jan/2011:00:01:22 -0500] "PASS (hidden)" - -
[27/Jan/2011:00:01:22 -0500] "TYPE I" 200 -
[27/Jan/2011:00:01:23 -0500] "PWD" 257 -
[27/Jan/2011:00:01:23 -0500] "CWD /pubnew/2011/01/22/blahblah" 250 -
[27/Jan/2011:00:01:23 -0500] "CWD /" 250 -
[27/Jan/2011:00:01:23 -0500] "ALLO 508" 202 -
[27/Jan/2011:00:01:23 -0500] "PORT 96,10,98,47,227,86" 200 -
[27/Jan/2011:00:01:23 -0500] "STOR /pubnew/2011/01/22/blahblah/index.html.tmp"
226 508
[27/Jan/2011:00:01:23 -0500] "RNFR /pubnew/2011/01/22/blahblah/index.html.tmp"
350 0
[27/Jan/2011:00:01:23 -0500] "RNTO /pubnew/2011/01/22/blahblah/index.html" 250 0
[27/Jan/2011:00:01:23 -0500] "QUIT" 221 -
-----------------------------------------------
I am seeing a difference in the "STOR ... " lines.  In the good scenario it ends
with two non-zero integers (file size??) 
The bad one ends with A non-zero followed by a zero.  And then is NOT followed
by the RNFR and RNTO lines.
Sometimes the bad "STOR .... " lines is followed by:
"NOOP" 200 -
"NOOP" 200 -
"NOOP" 200 -
"NOOP" 200 -
"NOOP" 200 -
 
Re: publish/FTP failure [ In reply to ]
Hi again,

This first one looks like it's deleting the .tmp file successfully, and
then, three minutes later, trying (and failing) to write a new file to
that path.

The three-digit numbers are FTP status codes. The full list is here:
http://en.wikipedia.org/wiki/List_of_FTP_server_return_codes

Anyway, the 425 means the write failed because it couldn't open a data
connection. Was Bricolage spinning for those three minutes, waiting for
the FTP server?

The successful publish looks like FTP_UNLINK_BEFORE_MOVE is set to
false, and the FTP server seems to like that.

What happens if you change the path in the destination that works, so it
resolves to the same path as the one that's failing?


Hope this helps,

Bret


>
>
> FTP log entries for the failed publish:
>
> [27/Jan/2011:12:23:36 -0500] "PASS (hidden)" - -
> [27/Jan/2011:12:23:36 -0500] "TYPE I" 200 -
> [27/Jan/2011:12:23:36 -0500] "PWD" 257 -
> [27/Jan/2011:12:23:37 -0500] "CWD /2011/01/22/prettygood" 250 -
> [27/Jan/2011:12:23:37 -0500] "CWD /" 250 -
> [27/Jan/2011:12:23:37 -0500] "DELE /2011/01/22/prettygood/index.html.tmp" 250 0
> [27/Jan/2011:12:23:37 -0500] "ALLO 356" 202 -
> [27/Jan/2011:12:23:37 -0500] "PORT 97,190,231,170,189,248" 200 -
> [27/Jan/2011:12:26:47 -0500] "STOR /2011/01/22/prettygood/index.html.tmp" 425 0
>
>
> FTP log entries for the aforementioned successful publish:
>
> [27/Jan/2011:00:01:22 -0500] "PASS (hidden)" - -
> [27/Jan/2011:00:01:22 -0500] "TYPE I" 200 -
> [27/Jan/2011:00:01:23 -0500] "PWD" 257 -
> [27/Jan/2011:00:01:23 -0500] "CWD /pubnew/2011/01/22/blahblah" 250 -
> [27/Jan/2011:00:01:23 -0500] "CWD /" 250 -
> [27/Jan/2011:00:01:23 -0500] "ALLO 508" 202 -
> [27/Jan/2011:00:01:23 -0500] "PORT 96,10,98,47,227,86" 200 -
> [27/Jan/2011:00:01:23 -0500] "STOR /pubnew/2011/01/22/blahblah/index.html.tmp"
> 226 508
> [27/Jan/2011:00:01:23 -0500] "RNFR /pubnew/2011/01/22/blahblah/index.html.tmp"
> 350 0
> [27/Jan/2011:00:01:23 -0500] "RNTO /pubnew/2011/01/22/blahblah/index.html" 250 0
> [27/Jan/2011:00:01:23 -0500] "QUIT" 221 -
>
>
> -----------------------------------------------
>
> I am seeing a difference in the "STOR ... " lines. In the good scenario it ends
> with two non-zero integers (file size??)
>
> The bad one ends with A non-zero followed by a zero. And then is NOT followed
> by the RNFR and RNTO lines.
>
> Sometimes the bad "STOR .... " lines is followed by:
>
> "NOOP" 200 -
> "NOOP" 200 -
> "NOOP" 200 -
> "NOOP" 200 -
> "NOOP" 200 -
>
>
>
> FTP log entries for the failed publish:
> [27/Jan/2011:12:23:36 -0500] "PASS (hidden)" - -
> [27/Jan/2011:12:23:36 -0500] "TYPE I" 200 -
> [27/Jan/2011:12:23:36 -0500] "PWD" 257 -
> [27/Jan/2011:12:23:37 -0500] "CWD /2011/01/22/prettygood" 250 -
> [27/Jan/2011:12:23:37 -0500] "CWD /" 250 -
> [27/Jan/2011:12:23:37 -0500] "DELE /2011/01/22/prettygood/index.html.tmp" 250 0
> [27/Jan/2011:12:23:37 -0500] "ALLO 356" 202 -
> [27/Jan/2011:12:23:37 -0500] "PORT 97,190,231,170,189,248" 200 -
> [27/Jan/2011:12:26:47 -0500] "STOR /2011/01/22/prettygood/index.html.tmp" 425 0
> FTP log entries for the (aforementioned) successful publish:
> [27/Jan/2011:00:01:22 -0500] "PASS (hidden)" - -
> [27/Jan/2011:00:01:22 -0500] "TYPE I" 200 -
> [27/Jan/2011:00:01:23 -0500] "PWD" 257 -
> [27/Jan/2011:00:01:23 -0500] "CWD /pubnew/2011/01/22/blahblah" 250 -
> [27/Jan/2011:00:01:23 -0500] "CWD /" 250 -
> [27/Jan/2011:00:01:23 -0500] "ALLO 508" 202 -
> [27/Jan/2011:00:01:23 -0500] "PORT 96,10,98,47,227,86" 200 -
> [27/Jan/2011:00:01:23 -0500] "STOR /pubnew/2011/01/22/blahblah/index.html.tmp"
> 226 508
> [27/Jan/2011:00:01:23 -0500] "RNFR /pubnew/2011/01/22/blahblah/index.html.tmp"
> 350 0
> [27/Jan/2011:00:01:23 -0500] "RNTO /pubnew/2011/01/22/blahblah/index.html" 250 0
> [27/Jan/2011:00:01:23 -0500] "QUIT" 221 -
> -----------------------------------------------
> I am seeing a difference in the "STOR ... " lines. In the good scenario it ends
> with two non-zero integers (file size??)
> The bad one ends with A non-zero followed by a zero. And then is NOT followed
> by the RNFR and RNTO lines.
> Sometimes the bad "STOR .... " lines is followed by:
> "NOOP" 200 -
> "NOOP" 200 -
> "NOOP" 200 -
> "NOOP" 200 -
> "NOOP" 200 -
>
>

--
Bret Dawson
Producer
Pectopah Productions Inc.
(416) 895-7635
bret@pectopah.com
www.pectopah.com