SOLVED: Unable to find preset tv for feed

Discussion and Technical Support for general software applications and utilities including OS related issues.
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: SOLVED: Unable to find preset tv for feed

Post by Ian »

I've always got ideas :D

The first problem is probably permission related. So, please issue the following commands and send me the output from them:

Code: Select all

ls -l /media


Code: Select all

ls -l /media/nas


Re the emails, if you're using Postfix then don't worry about the ssmtp things you've read since flexget will use postfix. All I can suggest is you double-check the settings in the "email:" section of your config.yml file. In the example you sent earlier you were sending the email to "deluge@**********" Is that a legit address? Do the flexget logs mention anything about an email being sent for new shows it finds?

For info, the email gets sent once flexget has pulled down the torrent file, not when deluge has finished downloading the tv show. So, as soon as deluge finds something it should email you, you don't have to wait until its downloaded the whole file before looking out for the email.

Ian,
User avatar
jgni
Member
Member
Posts: 22
Joined: October 21st, 2011, 6:14 pm
Location: Aarhus V

Re: SOLVED: Unable to find preset tv for feed

Post by jgni »

Ian wrote:

Code: Select all

ls -l /media


Code: Select all

ls -l /media/nas




Code: Select all

a70109@ubuntu:~$ ls -l /media
total 12
drwxr-xr-x  2 root     root     4096 2008-05-23 00:07 cdrom0
lrwxrwxrwx  1 root     root        6 2008-05-23 00:07 cdrom -> cdrom0
drwxr-xr-x  4 root     root     4096 2010-10-08 23:22 .
drwxr-xr-x 25 www-data www-data 4096 2011-10-21 22:08 ..
drwxrwxrwx 10 deluge   deluge      0 2011-10-31 23:55 nas


and

Code: Select all

a70109@ubuntu:/var/log$ ls -l /media/nas
total 66319
drwxr-xr-x  4 root   root       4096 2010-10-08 23:22 ..
-rwxrwxrwx  1   1026 users         0 2011-01-17 22:20 miami S10E06 - new york S08E05.txt
drwxrwxrwx  3   1024 users         0 2011-04-20 14:52 25th Anniversary Rock and Roll Hall of Fame Concert
-rwxrwxrwx  1   1026 users  67567296 2011-06-08 19:58 P6080073.MP4
drwxrwxrwx  3   1026 users         0 2011-08-19 21:16 Skæg
drwxrwxrwx  3   1024 users         0 2011-08-29 20:17 Freya
drwxrwxrwx  3   1026 users         0 2011-10-20 17:49 Shane
drwxrwxrwx 28   1024 users         0 2011-10-22 23:15 USA
drwxrwxrwx 14   1026 users         0 2011-10-28 23:04 Film
-rwxrwxrwx  1   1024 users         0 2011-10-30 23:10 house S08E03.txt
-rwxrwxrwx  1   1024 users    338432 2011-10-31 22:27 Thumbs.db
drwxrwxrwx 10 deluge deluge        0 2011-10-31 23:55 .
drwxrwxrwx  3   1024 users         0 2011-11-01 06:01 torrents


All I can suggest is you double-check the settings in the "email:" section of your config.yml file. In the example you sent earlier you were sending the email to "deluge@**********" Is that a legit address? Do the flexget logs mention anything about an email being sent for new shows it finds?


Doesn't look like I have a flexget log file??
~~
Greetings
JGNi
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: SOLVED: Unable to find preset tv for feed

Post by Ian »

Thanks for coming back to me.

Hmm, well, it doesn't look like the problem is where I thought it was :crazy:

However, it looks like you are accessing your NAS via a samba mount. Is that so? If it is then your problem is likely to be that the samba permissions are overriding the native linux permissions. So, the easiest way to solve that is to give "everyone" r/w access to the samba share.

For reference the flexget log file is called "flexget.log" and is stored in /var/lib/deluge/.flexget, assuming you followed my guide to install it.

Hope the above helps.

Ian.
User avatar
jgni
Member
Member
Posts: 22
Joined: October 21st, 2011, 6:14 pm
Location: Aarhus V

Re: SOLVED: Unable to find preset tv for feed

Post by jgni »

Ian wrote:Thanks for coming back to me.


Your my lifeline at this moment!

However, it looks like you are accessing your NAS via a samba mount. Is that so? If it is then your problem is likely to be that the samba permissions are overriding the native linux permissions. So, the easiest way to solve that is to give "everyone" r/w access to the samba share.


I think I'll start with skipping the sub-dirs. Then we'll see what happends.

For reference the flexget log file is called "flexget.log" and is stored in /var/lib/deluge/.flexget, assuming you followed my guide to install it.


Code: Select all

a70109@ubuntu:~$ cd /var/lib/deluge/.flexget
a70109@ubuntu:/var/lib/deluge/.flexget$ ls
total 4748
drwxr-xr-x 4 deluge deluge    4096 2011-10-21 20:33 ..
-rw-r--r-- 1 deluge deluge 1023919 2011-10-28 06:00 flexget.log.4
-rw-r--r-- 1 deluge deluge 1023924 2011-10-29 12:00 flexget.log.3
drwxr-xr-x 2 deluge deluge    4096 2011-10-29 18:00 received
-rw-r--r-- 1 deluge deluge 1023967 2011-10-30 21:00 flexget.log.2
drwxr-xr-x 2 deluge deluge    4096 2011-11-01 06:00 temp
-rw-r--r-- 1 deluge deluge 1023897 2011-11-01 07:00 flexget.log.1
-rw-r--r-- 1 deluge deluge    1563 2011-11-01 22:58 config.yml
-rw-r--r-- 1 deluge deluge  519688 2011-11-01 23:00 flexget.log
-rw-r--r-- 1 deluge deluge  200704 2011-11-01 23:00 db-config.sqlite
drwxr-xr-x 4 deluge deluge    4096 2011-11-01 23:00 .


Code: Select all

a70109@ubuntu:/var/lib/deluge/.flexget$ cat flexget.log.1 | grep mail
2011-10-31 06:00 WARNING  email         CSI Miami       Socket error: timed out
2011-11-01 06:00 WARNING  email         House           Socket error: timed out
a70109@ubuntu:/var/lib/deluge/.flexget$


Code: Select all

a70109@ubuntu:/var/lib/deluge/.flexget$ cat flexget.log.4 | grep mail
2011-10-27 20:34 WARNING  email         CSI             Unable to send email! SMTPException: (535, '5.7.1 Username and Password not accepted. Learn more at\n5.7.1 http://mail.google.com/support/bin/answer.py?answer=14257 q50sm17290496eef.9')
2011-10-27 20:43 WARNING  email         CSI Miami       Unable to send email! SMTPException: (535, '5.7.1 Username and Password not accepted. Learn more at\n5.7.1 http://mail.google.com/support/bin/answer.py?answer=14257 e62sm17342574eee.10')
2011-10-27 22:59 WARNING  email         Burn Notice     Unable to send email! SMTPException: (535, '5.7.1 Username and Password not accepted. Learn more at\n5.7.1 http://mail.google.com/support/bin/answer.py?answer=14257 v19sm13212708faa.13')
2011-10-27 23:02 WARNING  email         Burn Notice     Unable to send email! SMTPException: (535, '5.7.1 Username and Password not accepted. Learn more at\n5.7.1 http://mail.google.com/support/bin/answer.py?answer=14257 49sm18406264eec.1')
2011-10-27 23:03 WARNING  email         CSI New York    Unable to send email! SMTPException: (535, '5.7.1 Username and Password not accepted. Learn more at\n5.7.1 http://mail.google.com/support/bin/answer.py?answer=14257 v3sm18366892eej.7')
2011-10-27 23:09 WARNING  email         House           Unable to send email! SMTPException: (535, '5.7.1 Username and Password not accepted. Learn more at\n5.7.1 http://mail.google.com/support/bin/answer.py?answer=14257 v19sm13251153faa.13')
2011-10-27 23:13 WARNING  email         Bones           Unable to send email! SMTPException: (535, '5.7.1 Username and Password not accepted. Learn more at\n5.7.1 http://mail.google.com/support/bin/answer.py?answer=14257 t19sm13316247fac.0')
2011-10-27 23:26 WARNING  email         Top Gear        Socket error: timed out
~~
Greetings
JGNi
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: SOLVED: Unable to find preset tv for feed

Post by Ian »

Have you tried the obvious and double-checked the username and password for your gmail in the config.yml file? It'd be the same details you type into your web browser when accessing your email.

Do you have "funny" characters in the password? I'm not aware of any issues with this although I've seen other apps struggle to cope with them.

Just curious, but your earlier config.yml logs had the "movedone" pointing elsewhere. Did the moving work when pointed there? If so, that'd be useful to know.

Ian.

EDIT: For info, incase you're wondering, you've got "log rotation" set up on your server, hence the history of log files.
User avatar
jgni
Member
Member
Posts: 22
Joined: October 21st, 2011, 6:14 pm
Location: Aarhus V

Re: SOLVED: Unable to find preset tv for feed

Post by jgni »

Ian wrote:Have you tried the obvious and double-checked the username and password for your gmail in the config.yml file? It'd be the same details you type into your web browser when accessing your email.


Pretty pretty sure. But I have used 2-step verification and that my have cause me problems. For now deactivated!

Just curious, but your earlier config.yml logs had the "movedone" pointing elsewhere. Did the moving work when pointed there? If so, that'd be useful to know.


Yes, it did.

EDIT: For info, incase you're wondering, you've got "log rotation" set up on your server, hence the history of log files.


Yep! I'm aware of that.
~~
Greetings
JGNi
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: SOLVED: Unable to find preset tv for feed

Post by Ian »

Cool. Finger's crossed your changes have helped. :thumbup:

Re the movedone, that points pretty much towards it being the (samba) permission problem I mentioned earlier.

Re the log rotation, I wasn't suggesting YOU didn't know you were using log rotation, it was more for other people's benefit incase they thought flexget automatically created log files with those names. Sorry for the confusion :oops:

Ian.
User avatar
jgni
Member
Member
Posts: 22
Joined: October 21st, 2011, 6:14 pm
Location: Aarhus V

Re: SOLVED: Unable to find preset tv for feed

Post by jgni »

Ian wrote:Cool. Finger's crossed your changes have helped. :thumbup:


I do agree SO much!

Re the movedone, that points pretty much towards it being the (samba) permission problem I mentioned earlier.


I think to. That's why I decided to try move the files to a lib that I know the permissions for sure.

Re the log rotation, I wasn't suggesting YOU didn't know you were using log rotation, it was more for other people's benefit incase they thought flexget automatically created log files with those names. Sorry for the confusion :oops:


Don't think about it. You have helped a lot!! I owe you a beer/glass of wine whenever I come to ..... US/UK/Australia :?: :?:
~~
Greetings
JGNi
User avatar
jgni
Member
Member
Posts: 22
Joined: October 21st, 2011, 6:14 pm
Location: Aarhus V

Re: SOLVED: Unable to find preset tv for feed

Post by jgni »

FlexGet has just downloaded 1 new entries for feed CSI Miami :
- CSI: Miami 10x7 [HDTV - LOL] (http://torrent.zoink.it/CSI.Miami.S10E07.HDTV.XviD-LOL.[eztv].torrent)

WOOHOOO!!
~~
Greetings
JGNi
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: SOLVED: Unable to find preset tv for feed

Post by Ian »

Excellent stuff. :thumbup:
Post Reply