LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2018, 03:48 AM   #1
brushspin
LQ Newbie
 
Registered: Jul 2017
Posts: 13

Rep: Reputation: Disabled
Unhappy NZBGet Config vs Config Template


I've spent the last five and half hours trying to be a proud new Linux user and install NZBGet manually. I got about 98% of the way there but when I run
Code:
nzbget <filename>
I get an error similar to this person.

Even after copying the nzbget.config file to my /etc folder and editing that file to point to the original nzbget.config file in my user directory I still get errors. Now I'm much too tired and worn out for what was suppose to be a fun learning experience.

Please help me understand what is happening and why...
 
Old 03-10-2018, 10:34 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
Maybe you should try using the package in your distro repos. That one should work. For everything else, please explain a bit more about what you're doing. How did you edit one config file to point to another one?
 
Old 03-10-2018, 02:44 PM   #3
brushspin
LQ Newbie
 
Registered: Jul 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
I pulled the NZBget files from this link https://nzbget.net/download/nzbget-latest-bin-linux.run and installed it in /home/user/nzbget. I then ran the "sh" command with the package. After extraction I installed the package and updated it using the "apt" command. After installing it I tried using NZBget with a ".nzb" file, this gave me an error. It could not find the config file. So I made a copy of that config file to /etc in order for the tool to be usable.

OK, now that was all a set up for my issue. With the config file being in the /etc folder I tried to use the tool. THIS IS WHERE I GET THE ERROR.

I found a thread where someone is explained what to do (here),
Quote:
The mess may happen if the option ConfigTemplate points to the actual configuration file (instead of the template file). Please check option ConfigTemplate first.

A similar problem was reported when using an older version of nzbToMedia scripts. The script manipulates the config file and there was a bug there.
Resolution

Using a text editor scroll to the part where the duplicate entries start and delete everything after that. Then try saving options from settings page (change something) and check the file again if duplicates were added.
but I simply couldn't understand what the solution MEANS.

Lastly: I used emacs to edit the .config file (following the solution of the the above quote) and even after trying to follow the instructions I can't seem to solve the issue.
 
Old 03-12-2018, 08:30 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
It means there is an entry in the config file called 'ConfigTemplate' which must point to the template, not the config file. OK, if you installed from source, i.e. not a package file but tar.gz or tar.bz2 or .run, and then you installed the package file from the repos, you probably made hamburger of that program.

So, you must uninstall the package, uninstall the source package try file.run --help to figure out how, and then install the package from the repos. Otherwise it might prove hopeless to get anything to work. And it looks like the program is buggy, so this might take a while.
 
Old 03-12-2018, 06:52 PM   #5
brushspin
LQ Newbie
 
Registered: Jul 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AwesomeMachine View Post
It means there is an entry in the config file called 'ConfigTemplate' which must point to the template, not the config file. OK, if you installed from source, i.e. not a package file but tar.gz or tar.bz2 or .run, and then you installed the package file from the repos, you probably made hamburger of that program.

So, you must uninstall the package, uninstall the source package try file.run --help to figure out how, and then install the package from the repos. Otherwise it might prove hopeless to get anything to work. And it looks like the program is buggy, so this might take a while.
Thanks man I uninstalled and am going to try understanding how to understand using the "make" command and what repos vs libraries are and such. I'm working on my Linux understanding most days. With any luck I can achieve my goal of becoming a sysadmin in a year or so. You'll probably see me around here often.

Until then thanks for the help mates!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Which config: config.amd64-none_amd64 OR config.amd64_rt_amd64 mzsade Debian 2 11-27-2016 09:19 PM
Is there a config file for Cinnamon MENU. Need template mfoley Ubuntu 1 01-14-2016 02:18 PM
LXer: OpenLDAP Quick Tips: Switch to the dynamic config backend (cn=config) LXer Syndicated Linux News 0 11-27-2008 04:00 PM
Suse 9.3 yast2 hangs saving boot config or edit config deh6 SUSE / openSUSE 0 07-16-2006 03:43 PM
REDHAT 6.2 config / modules : usb storage, wired network, x config audan Linux - Hardware 2 02-18-2006 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration