January 6, 201313 yr I got this when installing the newznab_extars.plg , it's looks like it doesn't install all features ? see images. START: January 6, 2013 11:57:45 AM Array ( [sEARCHD] => Array ( [sEARCHD_STATUS] => enable [sEARCHD_BASE] => /mnt/cache/www/newznab/ ) [CRON] => Array ( [CRON_STATUS] => enable [CRON_BASE] => /mnt/cache/www/newznab/ [CRON_FILE] => newznap [CRON_INT] => 60 [CRON_OINT] => 10 [CRON_IMP] => disable [CRON_IMPDIR] => /mnt/cache/www/newznab/nzbfiles/ [CRON_PP] => disable [CRON_THREAD] => disable ) [iNSTALLER] => Array ( [sEARCHD_INSTALL] => enable [MEDIAINFO_INSTALL] => enable [HTOP_INSTALL] => enable [sCREEN_INSTALL] => enable [TMUX_INSTALL] => enable [bWMNG_INSTALL] => enable ) ) Looks like some extra spaces in the links to the packages. Should be easy fix.
January 8, 201313 yr Looks like some extra spaces in the links to the packages. Should be easy fix. I'm getting the same behavior. I fixed the extra spaces in the newznab_extras.plg file and reinstalled the plugin, but it's not installing any of the extras. I see this in my /var/log/lighttpd/php.errors.log: [08-Jan-2013 00:57:33 UTC] PHP Notice: Undefined index: SEARCHD_INSTALL in /usr/local/emhttp/plugins/newznab_extras/newznab_extras.php on line 127 [08-Jan-2013 00:57:33 UTC] PHP Notice: Undefined index: SEARCHD_INSTALL in /usr/local/emhttp/plugins/newznab_extras/newznab_extras.php on line 128 [08-Jan-2013 00:57:33 UTC] PHP Notice: Undefined index: MEDIAINFO_INSTALL in /usr/local/emhttp/plugins/newznab_extras/newznab_extras.php on line 134 [08-Jan-2013 00:57:33 UTC] PHP Notice: Undefined index: MEDIAINFO_INSTALL in /usr/local/emhttp/plugins/newznab_extras/newznab_extras.php on line 135 [08-Jan-2013 00:57:33 UTC] PHP Notice: Undefined index: HTOP_INSTALL in /usr/local/emhttp/plugins/newznab_extras/newznab_extras.php on line 141 [08-Jan-2013 00:57:33 UTC] PHP Notice: Undefined index: HTOP_INSTALL in /usr/local/emhttp/plugins/newznab_extras/newznab_extras.php on line 142 [08-Jan-2013 00:57:33 UTC] PHP Notice: Undefined index: SCREEN_INSTALL in /usr/local/emhttp/plugins/newznab_extras/newznab_extras.php on line 148 [08-Jan-2013 00:57:33 UTC] PHP Notice: Undefined index: SCREEN_INSTALL in /usr/local/emhttp/plugins/newznab_extras/newznab_extras.php on line 149 [08-Jan-2013 00:57:33 UTC] PHP Notice: Undefined index: TMUX_INSTALL in /usr/local/emhttp/plugins/newznab_extras/newznab_extras.php on line 155 [08-Jan-2013 00:57:33 UTC] PHP Notice: Undefined index: TMUX_INSTALL in /usr/local/emhttp/plugins/newznab_extras/newznab_extras.php on line 156 [08-Jan-2013 00:57:33 UTC] PHP Notice: Undefined index: BWMNG_INSTALL in /usr/local/emhttp/plugins/newznab_extras/newznab_extras.php on line 162 [08-Jan-2013 00:57:33 UTC] PHP Notice: Undefined index: BWMNG_INSTALL in /usr/local/emhttp/plugins/newznab_extras/newznab_extras.php on line 163 [08-Jan-2013 00:57:41 UTC] PHP Notice: Use of undefined constant TRU - assumed 'TRU' in /usr/local/emhttp/plugins/newznab_extras/update.php on line 30 [08-Jan-2013 00:57:43 UTC] PHP Notice: Use of undefined constant TRU - assumed 'TRU' in /usr/local/emhttp/plugins/newznab_extras/update.php on line 30 [08-Jan-2013 00:58:02 UTC] PHP Notice: Use of undefined constant TRU - assumed 'TRU' in /usr/local/emhttp/plugins/newznab_extras/update.php on line 30
January 8, 201313 yr I'm struggling to install the newznab_extras.plg - I'm getting an XML error when running installplg
January 8, 201313 yr I've been seeing a few request for support on the newznab extras plugin. I'm interested in it's development as well so when I spotted the open spaces in the plugin I offered this correction. Myself I've bypassed the plugin and installed the packages manually. I also have not been able to get Sphinx to work. That is the portion I hope to add. Those looking for some help now may consider posting in one of Tybio's threads. He's been developing the newznab_extras plugin. I may end up doing this as well once I've had a bit more time to research Sphinx. Here is a mention of his intent to develop newznab_extras. http://lime-technology.com/forum/index.php?topic=24890.msg216249#msg216249
January 9, 201313 yr @mp328 Edit the following code to reflect the the path to where you have the script on your system. On mine it is " /mnt/cache/server/misc/update_scripts/nix_scripts/newznab_cron.sh". The open your putty session up and paste the command into the system. This will add the job to your cron schedule. crontab -l > /tmp/file; echo '# Run Newznab every 10 minutes' >> /tmp/file; echo '*/10 * * * * /mnt/cache/server/misc/update_scripts/nix_scripts/newznab_cron.sh -p' >>/tmp/file; crontab /tmp/file; rm /tmp/file chmod 744 /mnt/cache/server/misc/update_scripts/nix_scripts/newznab_cron.sh switchman, tnx for the clear explanation on how to do this. i only got to this yesterday as i had some issues with my unraid stick, so finally decided to try this again... but i managed to still mess something up i think, i keep getting an email from unraid, everytime the script is supposed to run with this alarm /bin/sh: /mnt/cache/Apps/newznab/misc/update_scripts/nix_scripts/newznab_cron.sh: /bin/bash^M: bad interpreter: No such file or directory does anybody make sense of this error? i changed the path to my directory which is /mnt/cache/Apps/newznab (Capital "A" on Apps) in the cron.sh scrip and in this command and i tried editing the command to run every 35minutes instead of 10...and i can see that is right as it sends me an email every hour on the hour and the same on the 35min mark... so i have like 20-30 emails with this alarm from last night crontab -l > /tmp/file; echo '# Run Newznab every 35 minutes' >> /tmp/file; echo '*/35 * * * * /mnt/cache/Apps/newznab/misc/update_scripts/nix_scripts/newznab_cron.sh -p' >>/tmp/file; crontab /tmp/file; rm /tmp/file what do i have to change to accumulate the 35minutes, and not always on the 5:35 minute mark and so one, but keep running every 35minutes from each other... all i'm trying to do, is keep it moving, so it never checks at the same time... not trying to reinvent the wheel lol.
January 9, 201313 yr Does anyone know how to install the mediainfo? This is how I have installed all of the the extra packages for newznab: Go to www.pkgs.org, and search for mediainfo for slackware distro. Once you've found it copy the link and use wget to download the pkg to your unraid box, then install it.
January 10, 201313 yr I appreciate your help, but I guess I'm going to have to wait on the plugin. I'm too linux stupid to download and install this.
January 10, 201313 yr If you copy the package to /boot/extra then it's installs the package automatic on reboot. //Peter
January 10, 201313 yr Is anyone having trouble with mysql after installing this? I had sql working then I install newznab and now I can't get mysql to start. Here is the log: 121218 13:33:34 mysqld_safe Starting mysqld daemon with databases from /mnt/cache/apps/mysql 121218 13:33:34 InnoDB: The InnoDB memory heap is disabled 121218 13:33:34 InnoDB: Mutexes and rw_locks use GCC atomic builtins 121218 13:33:34 InnoDB: Compressed tables use zlib 1.2.5 121218 13:33:34 InnoDB: Using Linux native AIO /usr/sbin/mysqld: Can't create/write to file '/tmp/ibgR7xik' (Errcode: 13) 121218 13:33:34 InnoDB: Error: unable to create temporary file; errno: 13 121218 13:33:34 [ERROR] Plugin 'InnoDB' init function returned error. 121218 13:33:34 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 121218 13:33:34 [ERROR] Unknown/unsupported storage engine: InnoDB 121218 13:33:34 [ERROR] Aborting 121218 13:33:34 [Note] /usr/sbin/mysqld: Shutdown complete 121218 13:33:34 mysqld_safe mysqld from pid file /var/run/mysql/mysql.pid ended 121218 13:38:47 mysqld_safe Starting mysqld daemon with databases from /mnt/cache/apps/mysql 121218 13:38:47 InnoDB: The InnoDB memory heap is disabled 121218 13:38:47 InnoDB: Mutexes and rw_locks use GCC atomic builtins 121218 13:38:47 InnoDB: Compressed tables use zlib 1.2.5 121218 13:38:47 InnoDB: Using Linux native AIO /usr/sbin/mysqld: Can't create/write to file '/tmp/ibOXAE1f' (Errcode: 13) 121218 13:38:47 InnoDB: Error: unable to create temporary file; errno: 13 121218 13:38:47 [ERROR] Plugin 'InnoDB' init function returned error. 121218 13:38:47 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 121218 13:38:47 [ERROR] Unknown/unsupported storage engine: InnoDB 121218 13:38:47 [ERROR] Aborting 121218 13:38:47 [Note] /usr/sbin/mysqld: Shutdown complete 121218 13:38:47 mysqld_safe mysqld from pid file /var/run/mysql/mysql.pid ended
January 10, 201313 yr I had the same issue. Try chmod 777 /tmp Is anyone having trouble with mysql after installing this? I had sql working then I install newznab and now I can't get mysql to start. Here is the log: 121218 13:33:34 mysqld_safe Starting mysqld daemon with databases from /mnt/cache/apps/mysql 121218 13:33:34 InnoDB: The InnoDB memory heap is disabled 121218 13:33:34 InnoDB: Mutexes and rw_locks use GCC atomic builtins 121218 13:33:34 InnoDB: Compressed tables use zlib 1.2.5 121218 13:33:34 InnoDB: Using Linux native AIO /usr/sbin/mysqld: Can't create/write to file '/tmp/ibgR7xik' (Errcode: 13) 121218 13:33:34 InnoDB: Error: unable to create temporary file; errno: 13 121218 13:33:34 [ERROR] Plugin 'InnoDB' init function returned error. 121218 13:33:34 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 121218 13:33:34 [ERROR] Unknown/unsupported storage engine: InnoDB 121218 13:33:34 [ERROR] Aborting 121218 13:33:34 [Note] /usr/sbin/mysqld: Shutdown complete 121218 13:33:34 mysqld_safe mysqld from pid file /var/run/mysql/mysql.pid ended 121218 13:38:47 mysqld_safe Starting mysqld daemon with databases from /mnt/cache/apps/mysql 121218 13:38:47 InnoDB: The InnoDB memory heap is disabled 121218 13:38:47 InnoDB: Mutexes and rw_locks use GCC atomic builtins 121218 13:38:47 InnoDB: Compressed tables use zlib 1.2.5 121218 13:38:47 InnoDB: Using Linux native AIO /usr/sbin/mysqld: Can't create/write to file '/tmp/ibOXAE1f' (Errcode: 13) 121218 13:38:47 InnoDB: Error: unable to create temporary file; errno: 13 121218 13:38:47 [ERROR] Plugin 'InnoDB' init function returned error. 121218 13:38:47 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 121218 13:38:47 [ERROR] Unknown/unsupported storage engine: InnoDB 121218 13:38:47 [ERROR] Aborting 121218 13:38:47 [Note] /usr/sbin/mysqld: Shutdown complete 121218 13:38:47 mysqld_safe mysqld from pid file /var/run/mysql/mysql.pid ended
January 10, 201313 yr Has anyone sucessfully gotten the password settings for deep analyss to work. I have unrar, mediainfo, and lame installed but newznab does not seem to be scanning the files for audio preview or passwords. any pointers for the FFMpeg install? thanks
January 10, 201313 yr Initially I used the alien ffmpeg package & I was not getting any previews. Then I used the files from this post by draug3n. It seems to be working as now I get preview images. Place the 3 files in the /boot/extra/ directory as suggested & they will be reinstalled on reboot.
January 10, 201313 yr Initially I used the alien ffmpeg package & I was not getting any previews. Then I used the files from this post by draug3n. It seems to be working as now I get preview images. Place the 3 files in the /boot/extra/ directory as suggested & they will be reinstalled on reboot. I dont know a lot about linux, but if I do it this way it's not going to install to my flash drive is it?
January 10, 201313 yr Initially I used the alien ffmpeg package & I was not getting any previews. Then I used the files from this post by draug3n. It seems to be working as now I get preview images. Place the 3 files in the /boot/extra/ directory as suggested & they will be reinstalled on reboot. Thanks for the pointer. I have it installed and giving it a try. When I downloaded the ff file it gave me the file extension of TAR. just renamed it to tgz and did the install at the command line. It does not install it to your flash drive. it will install it to /usr/bin
January 10, 201313 yr Initially I used the alien ffmpeg package & I was not getting any previews. Then I used the files from this post by draug3n. It seems to be working as now I get preview images. Place the 3 files in the /boot/extra/ directory as suggested & they will be reinstalled on reboot. Thanks for the pointer. I have it installed and giving it a try. When I downloaded the ff file it gave me the file extension of TAR. just renamed it to tgz and did the install at the command line. It does not install it to your flash drive. it will install it to /usr/bin If you want the packages automatically reinstalled when you reboot unRAID, place the tgz packages in your /boot/extra/ directory. Yes, then the actual programs will be installed to the /usr/bin/ directory (which is in volatile memory). A different option would be to store the tgz packages somewhere on your array or cache then modify the /boot/config/go file to install them when rebooting. Using the /boot/extra/ directory is easier, but not the only way. Another thing worth noting: If you did not have ffmpeg installed (or had it installed incorrectly) only new releases will have a preview. In the 'newznab' database, the table 'releases' has a field for 'haspreview'. If 'haspreview' = 1 the release has a preview If 'haspreview' = 0 there is no preview for that release. If 'haspreview' = -1 then the release will be checked for a preview. You can have newznab recheck / try to create a preview by setting the 0 back to -1. Here is the sql code to do set 0 back to -1: UPDATE `releases` SET `haspreview`=-1 WHERE `haspreview`=0 When you run update_releases, it will only process around 100 at a time so it will take a little time to recheck a large amount of releases, especially if also backfilling.
January 10, 201313 yr Ok. So do I need to create an "extra" directory under the boot directory because I dont have one? Once I create this directory I just need to restart my unraid server and it will install mediainfo since I'll have that txz file in there?
January 10, 201313 yr @mp328 Edit the following code to reflect the the path to where you have the script on your system. On mine it is " /mnt/cache/server/misc/update_scripts/nix_scripts/newznab_cron.sh". The open your putty session up and paste the command into the system. This will add the job to your cron schedule. crontab -l > /tmp/file; echo '# Run Newznab every 10 minutes' >> /tmp/file; echo '*/10 * * * * /mnt/cache/server/misc/update_scripts/nix_scripts/newznab_cron.sh -p' >>/tmp/file; crontab /tmp/file; rm /tmp/file chmod 744 /mnt/cache/server/misc/update_scripts/nix_scripts/newznab_cron.sh i managed to still mess something up i think, i keep getting an email from unraid, everytime the script is supposed to run with this alarm /bin/sh: /mnt/cache/Apps/newznab/misc/update_scripts/nix_scripts/newznab_cron.sh: /bin/bash^M: bad interpreter: No such file or directory does anybody make sense of this error? edit: as i expected i messed up obviously. found the whole issue was created when saving the script from github in the first place. as i can never figure out how to just download the script i did a copy and paste and in the process didnt save as a unix file, but windows instead , i know right. anyways, once i saved it as a unix file, script started running as scheduled... yay. big tnx to switchman for providing me the command and rest of the guys working on the plugin and scripts
January 10, 201313 yr @mp328 Edit the following code to reflect the the path to where you have the script on your system. On mine it is " /mnt/cache/server/misc/update_scripts/nix_scripts/newznab_cron.sh". The open your putty session up and paste the command into the system. This will add the job to your cron schedule. crontab -l > /tmp/file; echo '# Run Newznab every 10 minutes' >> /tmp/file; echo '*/10 * * * * /mnt/cache/server/misc/update_scripts/nix_scripts/newznab_cron.sh -p' >>/tmp/file; crontab /tmp/file; rm /tmp/file chmod 744 /mnt/cache/server/misc/update_scripts/nix_scripts/newznab_cron.sh i managed to still mess something up i think, i keep getting an email from unraid, everytime the script is supposed to run with this alarm /bin/sh: /mnt/cache/Apps/newznab/misc/update_scripts/nix_scripts/newznab_cron.sh: /bin/bash^M: bad interpreter: No such file or directory does anybody make sense of this error? anyone not trying to be annoying, just would like to start using newznab fully, since nzbr'us kicked everyone from the VIP memberships... anyhow, i found this in the syslog also if it helps unRaid crond[1171]: exit status 126 from user root /mnt/cache/Apps/newznab/misc/update_scripts/nix_scripts/newznab_cron.sh -p If you want to get ur stuff going so u wont miss anything there is a guy around here named "shat" that has a newznab going for unraid members. It's $5 a month which is a little steep but the way he talks it sounds like his is as good as nzb.su which is what I'm using atm and it is great.
January 10, 201313 yr I had the same issue. Try chmod 777 /tmp Is anyone having trouble with mysql after installing this? I had sql working then I install newznab and now I can't get mysql to start. Here is the log: 121218 13:33:34 mysqld_safe Starting mysqld daemon with databases from /mnt/cache/apps/mysql 121218 13:33:34 InnoDB: The InnoDB memory heap is disabled 121218 13:33:34 InnoDB: Mutexes and rw_locks use GCC atomic builtins 121218 13:33:34 InnoDB: Compressed tables use zlib 1.2.5 121218 13:33:34 InnoDB: Using Linux native AIO /usr/sbin/mysqld: Can't create/write to file '/tmp/ibgR7xik' (Errcode: 13) 121218 13:33:34 InnoDB: Error: unable to create temporary file; errno: 13 121218 13:33:34 [ERROR] Plugin 'InnoDB' init function returned error. 121218 13:33:34 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 121218 13:33:34 [ERROR] Unknown/unsupported storage engine: InnoDB 121218 13:33:34 [ERROR] Aborting 121218 13:33:34 [Note] /usr/sbin/mysqld: Shutdown complete 121218 13:33:34 mysqld_safe mysqld from pid file /var/run/mysql/mysql.pid ended 121218 13:38:47 mysqld_safe Starting mysqld daemon with databases from /mnt/cache/apps/mysql 121218 13:38:47 InnoDB: The InnoDB memory heap is disabled 121218 13:38:47 InnoDB: Mutexes and rw_locks use GCC atomic builtins 121218 13:38:47 InnoDB: Compressed tables use zlib 1.2.5 121218 13:38:47 InnoDB: Using Linux native AIO /usr/sbin/mysqld: Can't create/write to file '/tmp/ibOXAE1f' (Errcode: 13) 121218 13:38:47 InnoDB: Error: unable to create temporary file; errno: 13 121218 13:38:47 [ERROR] Plugin 'InnoDB' init function returned error. 121218 13:38:47 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 121218 13:38:47 [ERROR] Unknown/unsupported storage engine: InnoDB 121218 13:38:47 [ERROR] Aborting 121218 13:38:47 [Note] /usr/sbin/mysqld: Shutdown complete 121218 13:38:47 mysqld_safe mysqld from pid file /var/run/mysql/mysql.pid ended That worked thank you.
January 11, 201313 yr Ok. So do I need to create an "extra" directory under the boot directory because I dont have one? Once I create this directory I just need to restart my unraid server and it will install mediainfo since I'll have that txz file in there? I know that unRAID 5 looks for the /boot/extra/ directory at startup & installs any packages it finds there. I do not think unRAID 4.x will do this, but I am not sure.
January 11, 201313 yr What previews do you guys get? I have ffmpeg installed and configured in Newznab, where should I see the previews? I have covers for Movies, CDs and books but nothing for TV releases. I've got Lame installed as well but when I click on the Listen button for audio releases I don't hear anything. Tips? Thanks!
January 11, 201313 yr What previews do you guys get? I have ffmpeg installed and configured in Newznab, where should I see the previews? I have covers for Movies, CDs and books but nothing for TV releases. I've got Lame installed as well but when I click on the Listen button for audio releases I don't hear anything. Tips? Thanks! When browsing TV, in between NFO & View Series links, I have a Preview link. When clicked, it displays a randomly timed (usually just a few minutes in) screenshot. I've modified my browse view using information posted on NewznabForums.com at http://www.newznabforums.com/index.php?topic=160.0 by sinfuljosh to look similar to this (using his screenshot): The modification uses the screenshot generated by ffmpeg. I do not think there is a preview screenshot for movies as it uses movie posters. Not indexing music, so not sure if there is a Preview link there.
January 11, 201313 yr Hmm, wonder why i'm not seeing those previews in my TV releases. Thanks. PsiCzar, do you have ffmpeg installed? Did you use the alien version or the draug3n version? When I had the alien version of ffmpeg installed, I did not have the Preview links in between NFO & View Series either. I installed the ffmpeg from draug3n then started getting Preview links on new releases created by update_releases.php after the change. I had to run the SQL query to get previews on the existing releases. The extra preview column in the screenshot is from modifications.
Archived
This topic is now archived and is closed to further replies.