Page 1 of 1

Can't create log file...

Posted: January 14th, 2014, 9:01 am
by jesuscakes
I am trying to run sabnzbd as www-data. It fails on because it doesn't have permissions to create the log file. I looked through /etc/default/sabnzbdplus and saw nothing to change log location. I see how to change the config file which I did. How can I change the location of the logs to prevent this failure? Is it under EXTRAOPTS?

Re: Can't create log file...

Posted: January 14th, 2014, 10:03 am
by sander
Config -> Folders: "Log Folder"

Re: Can't create log file...

Posted: January 15th, 2014, 10:36 am
by jesuscakes
sander wrote:Config -> Folders: "Log Folder"
I can't launch it because it fails out with can't create logfile before launching. I could run it as root temporarily or similar, but I'd rather avoid that if possible.

Re: Can't create log file...

Posted: January 15th, 2014, 10:38 am
by sander
find and edit sabnzbd.ini by hand.

Re: Can't create log file...

Posted: January 15th, 2014, 7:38 pm
by jesuscakes
sander wrote:find and edit sabnzbd.ini by hand.
I have it set to place it in /etc/

I then edit the file and added:

log_dir = /var/log/sabnzbd/logs

I then created the directory and gave ownership of both directories and the .ini in /etc/ to www-data, and I still receive the same error. I even added a file to the /var/log/sabnzbd/logs folder called sabnzbd.ini and owned it to www-data. I still receive the same error. :(