Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501858 - net-nntp/nzbget-12.0 - webui directory needs a copy of the nzbget.conf template
Summary: net-nntp/nzbget-12.0 - webui directory needs a copy of the nzbget.conf template
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-20 01:06 UTC by Mike Nerone
Modified: 2014-03-05 22:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Nerone 2014-02-20 01:06:31 UTC
A copy of the nzbget.conf template needs to be placed in the webui directory. Without it, visiting "Settings" in the web interface displays the following text:

============================
Loading configuration failed

Could not load template configuration file nzbget.conf. The file contains descriptions of options and is needed to display settings page. The file comes with NZBGet distribution archive and is usually automaically installed into the right location. This seems not to be a case with your installation though.

Please put the template configuration file nzbget.conf into the directory with web-interface files (/usr/share/nzbget/webui).
============================

As the text hints at, only the original template from the distribution is needed - the settings do not need to reflect the actual configuration. In fact, the template itself contains a comment referring to the purpose of this template:

============================
Do not put here your actual configuration file (typically stored in your home directory or in /etc/nzbget.conf) but instead the unchanged example configuration file (typically installed to /usr/local/share/nzbget/nzbget.conf).
============================

Also, on a related note, ownership on /etc/nzbgetd.conf is currently root:nzbget. I believe it should actually be nzbget:nzbget in order for it to be editable for the web interface. Simply changing the ownership (and putting the config template in /usr/share/nzbget/webui) worked for me.
Comment 1 Sven Wegener gentoo-dev 2014-03-05 22:14:39 UTC
I've opted for adjusting the configutation options so that nzbget finds the configuration template.