markus frei wrote:
> Thanks for your answer.
>
> That was a type, true, but there was also an issue with the /var/lib/freevo 
> folder where there were also messages about no rights. are there also other 
> folder variables that can be set or unset, if so how do I find out which 
> variables have the wrong setting and what are those variables?
>   

Same rules apply for the FREEVO_STATICDIR and FREEVO_CACHEDIR.

The code is:
OS_LOGDIR, FREEVO_LOGDIR = make_freevodir('LOGDIR', '/var/log',
'/var/log', 'log')
OS_STATICDIR, FREEVO_STATICDIR = make_freevodir('STATICDIR', '/var/lib',
'/var/db', 'static')
OS_CACHEDIR, FREEVO_CACHEDIR = make_freevodir('CACHEDIR', '/var/cache',
'/var/db', 'cache')

The arguments are: VARIABLE, linux/dir, bsd/dir and ~/.freevo/dir

Duncan

>
> -------- Original-Nachricht --------
>   
>> Datum: Sat, 24 Jan 2009 12:52:14 +0100
>> Von: Duncan Webb <dun...@freevo.org>
>> An: freevo-users@lists.sourceforge.net
>> Betreff: Re: [Freevo-users] Settings for log files
>>     
>
>   
>> markus frei wrote:
>>     
>>> Hi,
>>>
>>> I have this strange issue on one of my freevo boxes. I first setup one
>>>       
>> PC with Linux mint6 and installed freevo to it using the source. This worked
>> so I imaged this PC to another with similar hardware, and that worked too.
>> I was able to record from TV etc.
>>     
>>> Now all of a sudden on one of those PC's freevo wouldn't start. I then
>>>       
>> found out that it didn't have any access to the /var/cache/freevo
>> directories. A gave the freevo user group the necessary rights and was then 
>> able to
>> start freevo. Later I tried recording from TV, there was no error message
>> but normally when setting up a recording the program turns green in the
>> Channel list. Here it didn't turn green. Recording didn't start. I then 
>> checked
>> the /home/freevo/log/recordserver log file and didn't see anything strange,
>> except that there was no entry except from earlier dates and times. Now I
>> found that the logging has moved to /var/lib/freevo and again only root has
>> rights there, so I changed the rights once more and now things are
>> working.
>>     
>>> What caused this change and where are these paths set?
>>>   
>>>       
>> The FREEVO_LOGDIR controls the path to the log files, the defaults are
>> the environment variable FREEVO_LOGDIR and if not set then
>> /var/log/freevo and if this fails then ~/.freevo/log.
>>
>> The only way to set this to /var/lib/freevo is to add the variable
>> FREEVO_LOGDIR to the local_conf.py. I guess that this is a typo and you
>> meant /var/log/freevo, which will happen if you run freevo once as root.
>>
>> Duncan
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> SourcForge Community
>> SourceForge wants to tell your story.
>> http://p.sf.net/sfu/sf-spreadtheword
>> _______________________________________________
>> Freevo-users mailing list
>> Freevo-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freevo-users
>>     
>
>   


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to