List Info

Thread: base path question




base path question
user name
2006-09-15 22:03:13
Hi

I've cloned my bricolage install- and set it up on a new
server with  
a different installation directory. (Truthfully I had
someone else do  
that  but it could have been me).

When I try to publish from this new bricolage setup I get
this message:

Error creating path
/home/tyeefish/bricolage/tmp/home/tyeefish/ 
bricolage/comp/data/media/70/30/v.0.

mkdir /home/tyeefish/bricolage/tmp/home: Permission denied
at /home/ 
tyeefish/bricolage/lib/Bric/Util/Trans/FS.pm line 595

-----------------------

I think the correct path should be

/home/tyeefish/bricolage/tmp

no extra /home needed.

-------------

Looking at FS.pm I see tyee problem is being caused by an
offending  
value for _  which is the variable holding a reference to  
File::Basename I think.

sub mk_path {
     my $self = shift;
     my $ret;
     File::Basename::fileparse_set_fstype( $^O );
     eval { $ret = mkpath _ };
     throw_gen(error => "Error creating path _.", payload => $)
       if $;
     return $ret;
}


I'm wondering if something may have been set incorrectly in
the  
bricolage.conf?

Does this leap out at someone as having an easy answer- or
do I have  
to root around?

thanks
Dawn


base path question
user name
2006-09-15 22:26:13
On Sep 15, 2006, at 15:03, Dawn Buie wrote:

> I'm wondering if something may have been set
incorrectly in the  
> bricolage.conf?

What is the TEMP_DIR bricolage.conf directive set to?

Best,

David
base path question
user name
2006-09-16 00:22:26
On 15-Sep-06, at 3:26 PM, David E. Wheeler wrote:

> On Sep 15, 2006, at 15:03, Dawn Buie wrote:
>
>> I'm wondering if something may have been set
incorrectly in the  
>> bricolage.conf?
>
> What is the TEMP_DIR bricolage.conf directive set to?

It was /home/tyeefish/bricolage/tmp

then I changed it to
  /tmp

and restarted bricolage- but I'm getting the same error
message which  
doesn't seem to make sense.

perhaps I'm getting too tired and missing something simple.

Dawn


>
> Best,
>
> David

base path question
user name
2006-09-16 00:36:06
On Sep 15, 2006, at 17:22, Dawn Buie wrote:

> It was /home/tyeefish/bricolage/tmp
>
> then I changed it to
>  /tmp
>
> and restarted bricolage- but I'm getting the same
error message  
> which doesn't seem to make sense.

Actually, the original value seems right, assuming that your
 
Bricolage root is /home/tyeefish/bricolage. So just make
sure that  
the Apache user has write permission to that directory (the
installer  
should have set it for you, but whatever).

Best,

David
base path question solved
user name
2006-09-17 19:52:16
On 15-Sep-06, at 5:36 PM, David E. Wheeler wrote:
> On Sep 15, 2006, at 17:22, Dawn Buie wrote:
>
>> It was /home/tyeefish/bricolage/tmp
>>
>> then I changed it to
>>  /tmp
>>
>> and restarted bricolage- but I'm getting the same
error message  
>> which doesn't seem to make sense.
>
> Actually, the original value seems right, assuming that
your  
> Bricolage root is /home/tyeefish/bricolage. So just
make sure that  
> the Apache user has write permission to that directory
(the  
> installer should have set it for you, but whatever).
>
> David

Actually it should be /tmp- for some reason it wasn't
saving this  
value. Once it saved and I restarted bricolage it published
fine. I  
think I was tired and making a silly mistake.

Dawn
[1-5]

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