service nzbhydra2 start Starting nzbhydra2. Traceback (most recent call last): File "/usr/local/share/nzbhydra2/nzbhydra2wrapper.py", line 541, in <module> setupLogger() File "/usr/local/share/nzbhydra2/nzbhydra2wrapper.py", line 136, in setupLogger os.makedirs(logsFolder) File "/usr/local/lib/python2.7/os.py", line 150, in makedirs makedirs(head, mode) File "/usr/local/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/usr/local/nzbhydra2' /usr/local/etc/rc.d/nzbhydra2: WARNING: failed to start nzbhydra2
Thank you! I'll get this fixed and submitted after dinner!
Created attachment 201782 [details] fix nzbhydra.in to set permissions Added logic to set proper permissions and create data directory if it doesn't exist. Review: https://reviews.freebsd.org/D19091
A commit references this bug: Author: tcberner Date: Fri Feb 8 22:45:49 UTC 2019 New revision: 492464 URL: https://svnweb.freebsd.org/changeset/ports/492464 Log: news/nzbhydra2: update to 2.3.6 - while here, also address the issue of the missing data directory PR: 235545 Submitted by: Daniel Shafer <daniel@shafer.cc> (maintainer) Differential Revision: https://reviews.freebsd.org/D19091 Changes: head/news/nzbhydra2/Makefile head/news/nzbhydra2/distinfo head/news/nzbhydra2/files/nzbhydra2.in
Committed. Thanks.