Dec 16, 2010, 3:09 PM
Post #7 of 7
(3372 views)
Permalink
Indeed, in the server type table there was a server listed with the sftp
mover class id. The Move Method drop down in the web interface showed
"File System" with no selection available for SFTP. This is probably
due to the config file change. I saved the destination and the id for
"File System" is now set in the server type table.
Voila, publishing the latest offending story threw no errors.
Thanks everyone,
- cameron
On 12/16/2010 03:30 PM, Bret Dawson wrote:
> Hi Cameron,
>
> The SFTP mover is a class, so you'll find an entry for it in the class
> table.
>
>>From there, you should be able to find records in the server_type table
> with a corresponding class__id. Those "server type" records are
> basically destinations.
>
> And from there, you might be able to find an individual server that's
> still active somehow.
>
> Another thought: Maybe it's not the individual story, but a cover whose
> publication is triggered by that story?
>
>
> Hope this helps,
>
> Bret
>
>
> On Thu, 2010-12-16 at 14:39 -0700, cdmiller wrote:
>> On 12/16/2010 11:20 AM, David E. Wheeler wrote:
>>> On Dec 16, 2010, at 8:45 AM, cdmiller wrote:
>>>
>>>>>> Can't locate object method "del_res" via package
>>>>>> "Bric::Util::Trans::SFTP" at
>>>>>> /usr/local/bricolage/lib/Bric/Dist/Action/Mover.pm line 194,<GEN1> line
>>>>>> 1998.
>>>>>>
>>>>>> As far as I know SFTP mover is disabled in our install.
>>>>>>
>>>>>> Steps I took to create the error:
>>>>>> -Delete a Link to Document
>>>>>> -Save and Stay
>>>>>> -Preview
>>>>>> -Check-in and Publish
>>>>>>
>>>>>> The story publishes but throws the error.
>>>>>
>>>>> Have you had SFTP configured in the past? Might you have some destinations that still try to use it?
>>>>>
>>>>
>>>> We used to use SFTP, but all destinations are now "File System" and SFTP
>>>> is off in the bricolage.conf. This system was upgraded from 1.10.1.
>>>
>>> You'll have to trace it, then, see which document is triggering the error, then look at its output channels. Might it be in an old output channel, since deactivated, that still connects to an sftp destination?
>>
>> We have some deactivated OC's, but none are listed for the latest story
>> showing this error (in the web interface). I also see no story
>> instances listed when searching for the deactivated OC ID's in the
>> story__output_channel table.
>>
>> Where would I find the SFTP mover selected in postgres?
>>
>> Thanks,
>>
>> - cameron
>>
>