Flexget config.yml not found

Status
Not open for further replies.

Tauq

Dabbler
Joined
Jul 26, 2015
Messages
27
Hello,

I'm trying to get my flexget to run but I cant seem to get it to find the config file no matter where I place it.
Ive tried to place it both in a flexget folder on pc and on the NAS. As well as in the root directory.
this is what i get when i run "flexget check":

Code:
root@freenas_1:/ # flexget check												
2017-05-01 18:40 CRITICAL manager					   Failed to find configura
tion file config.yml															
2017-05-01 18:40 INFO	 manager					   Tried to read from: /, /
root/.flexget, /root/.config/flexget											
Could not instantiate manager: No configuration file found.					 
root@freenas_1:/ #


I've tried running flexget -c but not been getting it to work.
Any suggestions?
 

Vito Reiter

Wise in the Ways of Science
Joined
Jan 18, 2017
Messages
232
Found some FlexGet Documentation on this, someone with the same issue did this
I have it running from the crontab but I ran into one problem.
If you run it like that then I believe it runs as root and it looks for the config in the root folder. I had some trouble with that.

I believe I fixed that by making a symbolic link from "/root/.flexget/" to the folder I placed my config in.
You can make a symbolic link with the following command:

ln -s [target] [link name]
[target] = the folder where you have the config.
[link name] = The folder where the link should be placed. In my case it was "/root/.flexget/"

I choose to do it like this so that it would load the correct config file no matter if it was started by the root or the user I used to manage the server from a distance and I was in a hurry to get it working.

Maybe that helps, the whole post is located HERE
 

Tauq

Dabbler
Joined
Jul 26, 2015
Messages
27
It says the file exists but when I try with check or execute etc it still claims that it cant find the config file.
I've tried with having the config file named both config.yml and serverconfig.yml.

Code:
root@freenas_1:/ # ln -s [\\FREENAS\Media Server\Flexget\serverconfig.yml][\\FRE
ENAS\MediaServer\Flexget\]													
ln: ServerFlexgetserverconfig.yml][\FREENASMediaServerFlexget]: File exists	
root@freenas_1:/ # flexget check												
2017-05-02 19:50 CRITICAL manager					   Failed to find configura
tion file config.yml															
2017-05-02 19:50 INFO	 manager					   Tried to read from: /, /
root/.flexget, /root/.config/flexget											
Could not instantiate manager: No configuration file found.					
root@freenas_1:/ #		 


Code:
root@freenas_1:/ # flexget -c \\FREENAS\Media Server\Flexget\serverconfig.yml  
2017-05-02 19:52 CRITICAL manager					   Failed to find configura
tion file \FREENASMedia														
2017-05-02 19:52 INFO	 manager					   Tried to read from: /, /
root/.flexget, /root/.config/flexget											
Could not instantiate manager: No configuration file found.					
root@freenas_1:/ # flexget -c [\\FREENAS\Media Server\Flexget\serverconfig.yml]
2017-05-02 19:52 CRITICAL manager					   Failed to find configura
tion file [\FREENASMedia														
2017-05-02 19:52 INFO	 manager					   Tried to read from: /, /
root/.flexget, /root/.config/flexget											
Could not instantiate manager: No configuration file found.					
root@freenas_1:/ #			
 

Vito Reiter

Wise in the Ways of Science
Joined
Jan 18, 2017
Messages
232
Have you tried reinstalling flexget or updating it? Exactly where are the config files located, and where are you trying to access them from. Does the system/user attempting to access it have permission to? Could allow root access be turned off for that directory?
 

Tauq

Dabbler
Joined
Jul 26, 2015
Messages
27
yeah, flexget is recently installed, it was messing around as well and I have a thread about that too.
The config files are located at "\\FREENAS\Media Server\" and "\\FREENAS\Media Server\Flexget\".
Both have full access.
 

Vito Reiter

Wise in the Ways of Science
Joined
Jan 18, 2017
Messages
232
Does freenas_1 have access to that directory in \\FREENAS? Also, try to use IP's instead of hostname's when working with the CLI that might help you out a bit. \\FREENAS is only going to be detected if your network recognizes it's IP as 'FREENAS'.
 

Tauq

Dabbler
Joined
Jul 26, 2015
Messages
27
Freenas_1 is a jail on \\FREENAS thats the device. It should have access by default shouldnt it? if no, how do I check the access?
 

Vito Reiter

Wise in the Ways of Science
Joined
Jan 18, 2017
Messages
232
Do you have a jail storage set up with that jail?

Edit: If you could, send in a few screenshots of your configuration for this set up.
 
Last edited:

Tauq

Dabbler
Joined
Jul 26, 2015
Messages
27
yeah, a storage created with the jail when I installed installed flexget using " pkg install py27-flexget".

Sure, could you specify which configurations?
 

Vito Reiter

Wise in the Ways of Science
Joined
Jan 18, 2017
Messages
232
Here, I know this is plex, but under jails > storage find your storage and see if 'mounted' is checked.
600b801834.png

Also, make sure source and destination are configured properly as per your setup.
 

Tauq

Dabbler
Joined
Jul 26, 2015
Messages
27
It wasn't created, but I created it. But it still says that it can't find the confit.yml file. Have I missed a step or two after creating the storage?
 

Attachments

  • IMG_0016.PNG
    IMG_0016.PNG
    449.2 KB · Views: 506

Vito Reiter

Wise in the Ways of Science
Joined
Jan 18, 2017
Messages
232
Do you have Python and PIP installed? From what I'm reading those are required prerequisites. Next thing I'm gonna ask, has this ever worked for you? or is this your first time setting it up?
 

Tauq

Dabbler
Joined
Jul 26, 2015
Messages
27
yeah python is installed, pip should be installed as well.
And yeah, I have been running it for 2 years. Then this summer I moved and the server was standing in a storage facility for about 8 months. When I relocated it to my new place everything but flexget worked. So I removed the jail and everything with it and reinstalled flexget. I do remember having trouble with getting it to find the config file last time to, but I cant remember what I did to make it work that time.
 

Vito Reiter

Wise in the Ways of Science
Joined
Jan 18, 2017
Messages
232
Honestly, I'd have to be sitting there to see how it's set up. Double check the permissions of the dataset of the jail storage, not the jail and make sure that access is allowed. If need be, allow all access through just to test it.
 
Status
Not open for further replies.
Top