Can't create log file...
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
-
- Newbie
- Posts: 3
- Joined: January 14th, 2014, 8:59 am
Can't create log file...
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...
Config -> Folders: "Log Folder"
-
- Newbie
- Posts: 3
- Joined: January 14th, 2014, 8:59 am
Re: Can't create log file...
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.sander wrote:Config -> Folders: "Log Folder"
Re: Can't create log file...
find and edit sabnzbd.ini by hand.
-
- Newbie
- Posts: 3
- Joined: January 14th, 2014, 8:59 am
Re: Can't create log file...
I have it set to place it in /etc/sander wrote:find and edit sabnzbd.ini by hand.
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.
