Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: users

Change of ftp server userid generates error

 

 

Bricolage users RSS feed   Index | Next | Previous | View Threaded


George.Harrison at gov

Mar 30, 2009, 12:11 PM

Post #1 of 6 (1298 views)
Permalink
Change of ftp server userid generates error

I developed a sub site using a different userid on our development
server which targets a different document root.

When I changed the server to use the userid that points our ftp server
to the final destination, preview worked as normal, but on publish I got
the error:

Error: Unable to delete resource
'/data/www/dev/users/xxxx_test/manuals/eia/6.1/index.html' from remote
server 'xxxx.xxxxx.xxxxxxxx

Delete operation failed.

I found that if I included subdirectory in the document root i.e.. /xxxx
which is the current userid then I could publish to:
xxxx.xxxxx.xxxxxxxx/data/www/dev/users/xxxx/xxxx/manuals/eia/6.1/index.h
tml'

After doing that I could remove the xxxx from the document root and
publish as before.

It appears that the original case, the old document root was being
passed to del_res in FTP.pm

Here's the stack trace:


<!-- DEBUGGING INFORMATION.

Error: Unable to delete resource
'/data/www/dev/users/xxxx_test/manuals/eia/6.1/index.html' from remote
server 'xxxx.xxxxx.xxxxxxxx'.

Fault Class: Bric::Util::Fault::Exception::GEN
Description: General Exception
Timestamp: 2009-03-30 11:27:44.000000
Package: Bric::Util::Trans::FTP
Filename: /usr/local/bricolage/lib/Bric/Util/Trans/FTP.pm
Line: 297
Payload: Delete operation failed.


STACK:

Trace begun at /usr/local/bricolage/lib/Bric/Util/Trans/FTP.pm line 297
Bric::Util::Trans::FTP::del_res('Bric::Util::Trans::FTP',
'ARRAY(0x3365bf74)', 'Bric::Dist::ServerType=HASH(0x33647e24)') called
at /usr/local/bricolage/lib/Bric/Dist/Action/Mover.pm line 202
Bric::Dist::Action::Mover::undo_it('Bric::Dist::Action::Mover=HASH(0x336
38078)', 'ARRAY(0x3365bf74)', 'Bric::Dist::ServerType=HASH(0x33647e24)')
called at /usr/local/bricolage/lib/Bric/Util/Job/Dist.pm line 190
Bric::Util::Job::Dist::_do_it('Bric::Util::Job::Dist=HASH(0x3365ac5c)')
called at /usr/local/bricolage/lib/Bric/Util/Job.pm line 1889
eval {...} at /usr/local/bricolage/lib/Bric/Util/Job.pm line 1887
Bric::Util::Job::execute_me('Bric::Util::Job::Dist=HASH(0x3365ac5c)')
called at /usr/local/bricolage/lib/Bric/Util/Job.pm line 1808
Bric::Util::Job::save('Bric::Util::Job::Dist=HASH(0x3365ac5c)') called
at /usr/local/bricolage/lib/Bric/Util/Burner.pm line 2133
Bric::Util::Burner::_expire('Bric::Util::Burner=HASH(0x3341ba7c)',
'2009-03-30 11:27:41.000000',
'Bric::Biz::Asset::Business::Story=HASH(0x3362f9fc)',
'ARRAY(0x33531e5c)', 'Expire stale "Section 06.01: Purpose of Employment
and Income Assistance" from "EIAManualWeb"', 1027, 'ARRAY(0x333d5df8)')
called at /usr/local/bricolage/lib/Bric/Util/Burner.pm line 1317
Bric::Util::Burner::publish('Bric::Util::Burner=HASH(0x3341ba7c)',
'Bric::Biz::Asset::Business::Story=HASH(0x3362f9fc)', 'story', 1027,
'2009-03-30 11:27:41.000000', 1) called at
/usr/local/bricolage/lib/Bric/Util/Job/Pub.pm line 191
Bric::Util::Job::Pub::_do_it('Bric::Util::Job::Pub=HASH(0x335d45f8)')
called at /usr/local/bricolage/lib/Bric/Util/Job.pm line 1889
eval {...} at /usr/local/bricolage/lib/Bric/Util/Job.pm line 1887
Bric::Util::Job::execute_me('Bric::Util::Job::Pub=HASH(0x335d45f8)')
called at /usr/local/bricolage/lib/Bric/Util/Job.pm line 1808
Bric::Util::Job::save('Bric::Util::Job::Pub=HASH(0x335d45f8)') called at
/usr/local/bricolage/lib/Bric/App/Callback/Publish.pm line 184
Bric::App::Callback::Publish::publish('Bric::App::Callback::Publish=HASH
(0x335d42f8)') called at
/usr/local/bricolage/lib/Bric/App/Callback/Desk.pm line 346
Bric::App::Callback::Desk::publish('Bric::App::Callback::Desk=HASH(0x336
35870)') called at
/usr/local/bricolage/lib/Bric/App/Callback/Profile/Story.pm line 205
Bric::App::Callback::Profile::Story::checkin('Bric::App::Callback::Profi
le::Story=HASH(0x335626b0)') called at
/usr/local/lib/perl5/site_perl/5.8.1/Params/CallbackRequest.pm line 294
eval {...} at
/usr/local/lib/perl5/site_perl/5.8.1/Params/CallbackRequest.pm line 284
Params::CallbackRequest::request('Params::CallbackRequest=HASH(0x90493ec
)', 'HASH(0x3334120c)', 'apache_req',
'Apache::Request=SCALAR(0x335b8c00)') called at
/usr/local/lib/perl5/site_perl/5.8.1/MasonX/Interp/WithCallbacks.pm line
115
MasonX::Interp::WithCallbacks::make_request('MasonX::Interp::WithCallbac
ks=HASH(0xa345eb8)', 'comp', '/workflow/profile/story/1675', 'args',
'ARRAY(0x33633b00)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0xa341a9c)',
'apache_req', 'Apache::Request=SCALAR(0x335b8c00)') called at
/usr/local/lib/perl5/site_perl/5.8.1/HTML/Mason/ApacheHandler.pm line
863
eval {...} at
/usr/local/lib/perl5/site_perl/5.8.1/HTML/Mason/ApacheHandler.pm line
862
HTML::Mason::ApacheHandler::prepare_request('HTML::Mason::ApacheHandler=
HASH(0xa341a9c)', 'Apache=SCALAR(0x33560fac)') called at
/usr/local/lib/perl5/site_perl/5.8.1/HTML/Mason/ApacheHandler.pm line
789
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=H
ASH(0xa341a9c)', 'Apache=SCALAR(0x33560fac)') called at
/usr/local/bricolage/lib/Bric/App/Handler.pm line 311
eval {...} at /usr/local/bricolage/lib/Bric/App/Handler.pm line 300
Bric::App::Handler::handler('Apache=SCALAR(0x33560fac)') called at
/dev/null line 0
eval {...} at /dev/null line 0

END DEBUGGING INFORMATION -->


david at kineticode

Mar 31, 2009, 8:48 AM

Post #2 of 6 (1220 views)
Permalink
Re: Change of ftp server userid generates error [In reply to]

On Mar 30, 2009, at 12:11 PM, Harrison, George (STEM) wrote:

> I developed a sub site using a different userid on our development
> server which targets a different document root.
>
> When I changed the server to use the userid that points our ftp server
> to the final destination, preview worked as normal, but on publish I
> got
> the error:
>
> Error: Unable to delete resource
> '/data/www/dev/users/xxxx_test/manuals/eia/6.1/index.html' from remote
> server 'xxxx.xxxxx.xxxxxxxx
>
> Delete operation failed.
>
> I found that if I included subdirectory in the document root i.e.. /
> xxxx
> which is the current userid then I could publish to:
> xxxx.xxxxx.xxxxxxxx/data/www/dev/users/xxxx/xxxx/manuals/eia/6.1/
> index.h
> tml'

I'm sorry, George, I'm not following all of the xxxxs.

> After doing that I could remove the xxxx from the document root and
> publish as before.
>
> It appears that the original case, the old document root was being
> passed to del_res in FTP.pm

What version of Bricolage?

Best,

David


George.Harrison at gov

Mar 31, 2009, 10:51 AM

Post #3 of 6 (1211 views)
Permalink
RE: Change of ftp server userid generates error [In reply to]

On March 31, 2009 10:49 AM: David E. Wheeler wrote

> On Mar 30, 2009, at 12:11 PM, Harrison, George (STEM) wrote:
>
>> ...
>> Error: Unable to delete resource
>> '/data/www/dev/users/xxxx_test/manuals/eia/6.1/index.html' from
>> remote server 'xxxx.xxxxx.xxxxxxxx
>>
>> Delete operation failed.
>>
>> I found that if I included subdirectory in the document root i.e.. /
>> xxxx which is the current userid then I could publish to:
>> xxxx.xxxxx.xxxxxxxx/data/www/dev/users/xxxx/xxxx/manuals/eia/6.1/
>> index.h tml'
>
> I'm sorry, George, I'm not following all of the xxxxs.
>
>> After doing that I could remove the xxxx from the document root and
>> publish as before.
>>
>> It appears that the original case, the old document root was being
>> passed to del_res in FTP.pm
>
> What version of Bricolage?


Sorry, it's easier to type x's than just about anything else.

Here's a hopefully more coherent description:

Version 1.10.2

I developed a sub site using a different userid on our development
server which targets a different document root.

Our ftp server appends the user name to /data/www/dev/users to create
the target directory. When I changed the server to use the userid that
points our ftp server to the final destination, preview worked as
normal, but on publish I got the error:

Error: Unable to delete resource
'/data/www/dev/users/old_user/manuals/eia/6.1/index.html' from remote
server 'ftp.server.name'

Delete operation failed.

I found that if I included the subdirectory in the Bricolage document
root i.e.. "/new_user" which is the current userid then I could publish
to:
ftp.server.name/data/www/dev/users/new_user/new_user/manuals/eia/6.1/ind
ex.html'

After doing that I could remove the /new_user from the document root and
publish as before (to
ftp.server.name/data/www/dev/users/new_user/manuals/eia/6.1/index.html.

It appears that the original case, the old document root was being
passed to del_res in FTP.pm

Here's the stack trace:


<!-- DEBUGGING INFORMATION.

Error: Unable to delete resource
'/data/www/dev/users/xxxx_test/manuals/eia/6.1/index.html' from remote
server 'xxxx.xxxxx.xxxxxxxx'.

Fault Class: Bric::Util::Fault::Exception::GEN
Description: General Exception
Timestamp: 2009-03-30 11:27:44.000000
Package: Bric::Util::Trans::FTP
Filename: /usr/local/bricolage/lib/Bric/Util/Trans/FTP.pm
Line: 297
Payload: Delete operation failed.


STACK:

Trace begun at /usr/local/bricolage/lib/Bric/Util/Trans/FTP.pm line 297
Bric::Util::Trans::FTP::del_res('Bric::Util::Trans::FTP',
'ARRAY(0x3365bf74)', 'Bric::Dist::ServerType=HASH(0x33647e24)') called
at /usr/local/bricolage/lib/Bric/Dist/Action/Mover.pm line 202
Bric::Dist::Action::Mover::undo_it('Bric::Dist::Action::Mover=HASH(0x336
38078)', 'ARRAY(0x3365bf74)', 'Bric::Dist::ServerType=HASH(0x33647e24)')
called at /usr/local/bricolage/lib/Bric/Util/Job/Dist.pm line 190
Bric::Util::Job::Dist::_do_it('Bric::Util::Job::Dist=HASH(0x3365ac5c)')
called at /usr/local/bricolage/lib/Bric/Util/Job.pm line 1889
eval {...} at /usr/local/bricolage/lib/Bric/Util/Job.pm line 1887
Bric::Util::Job::execute_me('Bric::Util::Job::Dist=HASH(0x3365ac5c)')
called at /usr/local/bricolage/lib/Bric/Util/Job.pm line 1808
Bric::Util::Job::save('Bric::Util::Job::Dist=HASH(0x3365ac5c)') called
at /usr/local/bricolage/lib/Bric/Util/Burner.pm line 2133
Bric::Util::Burner::_expire('Bric::Util::Burner=HASH(0x3341ba7c)',
'2009-03-30 11:27:41.000000',
'Bric::Biz::Asset::Business::Story=HASH(0x3362f9fc)',
'ARRAY(0x33531e5c)', 'Expire stale "Section 06.01: Purpose of Employment
and Income Assistance" from "EIAManualWeb"', 1027, 'ARRAY(0x333d5df8)')
called at /usr/local/bricolage/lib/Bric/Util/Burner.pm line 1317
Bric::Util::Burner::publish('Bric::Util::Burner=HASH(0x3341ba7c)',
'Bric::Biz::Asset::Business::Story=HASH(0x3362f9fc)', 'story', 1027,
'2009-03-30 11:27:41.000000', 1) called at
/usr/local/bricolage/lib/Bric/Util/Job/Pub.pm line 191
Bric::Util::Job::Pub::_do_it('Bric::Util::Job::Pub=HASH(0x335d45f8)')
called at /usr/local/bricolage/lib/Bric/Util/Job.pm line 1889
eval {...} at /usr/local/bricolage/lib/Bric/Util/Job.pm line 1887
Bric::Util::Job::execute_me('Bric::Util::Job::Pub=HASH(0x335d45f8)')
called at /usr/local/bricolage/lib/Bric/Util/Job.pm line 1808
Bric::Util::Job::save('Bric::Util::Job::Pub=HASH(0x335d45f8)') called at
/usr/local/bricolage/lib/Bric/App/Callback/Publish.pm line 184
Bric::App::Callback::Publish::publish('Bric::App::Callback::Publish=HASH
(0x335d42f8)') called at
/usr/local/bricolage/lib/Bric/App/Callback/Desk.pm line 346
Bric::App::Callback::Desk::publish('Bric::App::Callback::Desk=HASH(0x336
35870)') called at
/usr/local/bricolage/lib/Bric/App/Callback/Profile/Story.pm line 205
Bric::App::Callback::Profile::Story::checkin('Bric::App::Callback::Profi
le::Story=HASH(0x335626b0)') called at
/usr/local/lib/perl5/site_perl/5.8.1/Params/CallbackRequest.pm line 294
eval {...} at
/usr/local/lib/perl5/site_perl/5.8.1/Params/CallbackRequest.pm line 284
Params::CallbackRequest::request('Params::CallbackRequest=HASH(0x90493ec
)', 'HASH(0x3334120c)', 'apache_req',
'Apache::Request=SCALAR(0x335b8c00)') called at
/usr/local/lib/perl5/site_perl/5.8.1/MasonX/Interp/WithCallbacks.pm line
115
MasonX::Interp::WithCallbacks::make_request('MasonX::Interp::WithCallbac
ks=HASH(0xa345eb8)', 'comp', '/workflow/profile/story/1675', 'args',
'ARRAY(0x33633b00)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0xa341a9c)',
'apache_req', 'Apache::Request=SCALAR(0x335b8c00)') called at
/usr/local/lib/perl5/site_perl/5.8.1/HTML/Mason/ApacheHandler.pm line
863
eval {...} at
/usr/local/lib/perl5/site_perl/5.8.1/HTML/Mason/ApacheHandler.pm line
862
HTML::Mason::ApacheHandler::prepare_request('HTML::Mason::ApacheHandler=
HASH(0xa341a9c)', 'Apache=SCALAR(0x33560fac)') called at
/usr/local/lib/perl5/site_perl/5.8.1/HTML/Mason/ApacheHandler.pm line
789
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=H
ASH(0xa341a9c)', 'Apache=SCALAR(0x33560fac)') called at
/usr/local/bricolage/lib/Bric/App/Handler.pm line 311
eval {...} at /usr/local/bricolage/lib/Bric/App/Handler.pm line 300
Bric::App::Handler::handler('Apache=SCALAR(0x33560fac)') called at
/dev/null line 0
eval {...} at /dev/null line 0

END DEBUGGING INFORMATION -->


david at kineticode

Mar 31, 2009, 11:08 AM

Post #4 of 6 (1215 views)
Permalink
Re: Change of ftp server userid generates error [In reply to]

On Mar 31, 2009, at 10:51 AM, Harrison, George (STEM) wrote:

> Version 1.10.2
>
> I developed a sub site using a different userid on our development
> server which targets a different document root.
>
> Our ftp server appends the user name to /data/www/dev/users to create
> the target directory. When I changed the server to use the userid that
> points our ftp server to the final destination, preview worked as
> normal, but on publish I got the error:
>
> Error: Unable to delete resource
> '/data/www/dev/users/old_user/manuals/eia/6.1/index.html' from remote
> server 'ftp.server.name'
>
> Delete operation failed.
>
> I found that if I included the subdirectory in the Bricolage document
> root i.e.. "/new_user" which is the current userid then I could
> publish
> to:
> ftp.server.name/data/www/dev/users/new_user/new_user/manuals/eia/6.1/ind
> ex.html'
>
> After doing that I could remove the /new_user from the document root
> and
> publish as before (to
> ftp.server.name/data/www/dev/users/new_user/manuals/eia/6.1/
> index.html.
>
> It appears that the original case, the old document root was being
> passed to del_res in FTP.pm

Yes, much clearer now, thanks.

Where are you setting the new_user so that the FTP server knows to use
it? The server record?

Best,

David


George.Harrison at gov

Mar 31, 2009, 12:43 PM

Post #5 of 6 (1214 views)
Permalink
RE: Change of ftp server userid generates error [In reply to]

On March 31, 2009 13:09 PM: David E. Wheeler wrote

> On Mar 31, 2009, at 10:51 AM, Harrison, George (STEM) wrote:
>
>> Version 1.10.2
>>
>> I developed a sub site using a different userid on our development
>> server which targets a different document root.
>>
>> Our ftp server appends the user name to /data/www/dev/users to create
>> the target directory. When I changed the server to use the userid
>> that points our ftp server to the final destination, preview worked
>> as normal, but on publish I got the error:
>>
>> Error: Unable to delete resource
>> '/data/www/dev/users/old_user/manuals/eia/6.1/index.html' from
>> remote server 'ftp.server.name'
>>
>> Delete operation failed.
>>
>> I found that if I included the subdirectory in the Bricolage document
>> root i.e.. "/new_user" which is the current userid then I could
>> publish to:
>>
ftp.server.name/data/www/dev/users/new_user/new_user/manuals/eia/6.1/ind
>> ex.html'
>>
>> After doing that I could remove the /new_user from the document root
>> and publish as before (to
>> ftp.server.name/data/www/dev/users/new_user/manuals/eia/6.1/
>> index.html.
>>
>> It appears that the original case, the old document root was being
>> passed to del_res in FTP.pm
>
> Yes, much clearer now, thanks.
>
> Where are you setting the new_user so that the FTP server knows to use
> it? The server record?
>
I was changing it in the interface "Ditribution|Destinations|Servers".

Thanks

gh


david at kineticode

Mar 31, 2009, 2:40 PM

Post #6 of 6 (1213 views)
Permalink
Re: Change of ftp server userid generates error [In reply to]

On Mar 31, 2009, at 12:43 PM, Harrison, George (STEM) wrote:

>> Where are you setting the new_user so that the FTP server knows to
>> use
>> it? The server record?
>>
> I was changing it in the interface "Ditribution|Destinations|Servers".

Hrm. I've no idea how it could not have updated at first. Weird.

David

Bricolage users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.