darrenscerri

Members
  • Posts

    21
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

darrenscerri's Achievements

Noob

Noob (1/14)

0

Reputation

  1. Hi, I managed to get OpenVPN to work and wanted to start it automatically in a separate screen when unRAID starts. I have the following command (at the end) in my go script: sleep 60; screen -dmS openvpn /boot/scripts/openvpn.sh The sleep is there to be safe that everything has started up (gave me some other problems when I didn't include the sleep). The screen process is starting, the script is working and unRAID successfully connects with the VPN. When I do "ps aux | grep -i screen", I get the following: root 20849 0.0 0.0 2728 816 ? Ss 10:26 0:00 SCREEN -dmS openvpn /boot/scripts/openvpn.sh But, if I do "screen -ls", the screen is not detected by the screen process: No Sockets found in /root/.screen. Any ideas? Thanks
  2. Cannot edit previous post... getting a 404 error. @publicEnemy, use link posted by prostuff1 for the latest version
  3. I attached a copy of the script, but it's version 1.11 (latest is 1.13). The only differences between the two are as follows (taken from the original post's changelog): Edit: Aug 19, 2011 1.12 - Added ability to create GPT partitions on disks > 2.2TB. Fixed detection of 4k default setting in unRAID if no -A or -a given. Edit: Aug 28, 2011 1.13 - Deployed correct fixed GPT version... (1.12 was actually a 1.11 version variant... Sorry) I just pre-cleared a 1.5TB disk, and used it for a couple of 2TB disks in the past with success, but don't know if it supports 3TB disks. Edit by Joe L.: ( as moderator ) Attached file removed... it is a broken version. And it definitely did not properly support 3TB drives.
  4. Yes, I know. I was just testing if the cron works, instead of waiting a whole hour. I think the version which is available in the unMenu package is rather buggy, considering the Web-UI was very primitive at that time (January). Also, there is another issue: a specific feed is running when executing manually from the Web-UI, but is not running from the cron job.
  5. I've re-encountered the same problem. It seems that if the FlexGet Web-UI is running and I manually perform the cron command (for testing purposes), nothing happens, i.e. nothing is written to the log file, and nothing happens internally (downloading of RSS feeds etc). However, if I terminate the web-ui, manually executing the cron command works as expected. Here's a dry run: root@Tower:/mnt/disk/cache/.flexget# cat /var/log/flexget/flexget.log root@Tower:/mnt/disk/cache/.flexget# /etc/rc.d/unraid.d/rc.unraid_flexget stop flexget-webui is already stopped. flexget removed from crontab schedule. root@Tower:/mnt/disk/cache/.flexget# su nobody -c "/usr/bin/flexget --cron -c /mnt/disk/cache/.flexget/config.yml --logfile=/var/log/flexget/flexget.log" root@Tower:/mnt/disk/cache/.flexget# cat /var/log/flexget/flexget.log 2012-03-08 23:07 WARNING cron_env Your cron environment has different filesystem encoding (ANSI_X3.4-1968) compared to your terminal environment (UTF-. 2012-03-08 23:07 WARNING cron_env Your current cron environment results filesystem encoding ANSI_X3.4-1968 which supports only ASCII letters in filenames. 2012-03-08 23:07 WARNING movie_queue movies No movie id could be determined for [REQ]-Bad Boys 2 2003 1080p HDTV DTS x264-R KNORLOADING 2012-03-08 23:07 WARNING movie_queue movies No movie id could be determined for The Doors Mr Mojo Risin' The Story of LA Woman 2011 720p BDRip x264-DTS 755-CaLiBeR 2012-03-08 23:07 WARNING movie_queue movies No movie id could be determined for Dracula Price Of Darkness 1966 720p BRRip x264 x0r 2012-03-08 23:08 WARNING api_tmdb movies Could not retrieve url (HTTP 404 error): http://api.themoviedb.org/2.1/Movie.search/en/json/bdfc018dbdb7c243dc7cb1454ff74b95/kung+fu+panda+duology+2008/2011+blu-ray+2d/3d+cee 2012-03-08 23:08 WARNING api_tmdb movies Request failed http://api.themoviedb.org/2.1/Movie.search/en/json/bdfc018dbdb7c243dc7cb1454ff74b95/kung+fu+panda+duology+2008/2011+blu-ray+2d/3d+cee 2012-03-08 23:08 WARNING movie_queue movies No movie id could be determined for Kung Fu Panda Duology (2008/2011) Blu-ray 2D/3D CEE 1080p AVC DD5 1 root@Tower:/mnt/disk/cache/.flexget# cat /dev/null > /var/log/flexget/flexget.log root@Tower:/mnt/disk/cache/.flexget# cat /var/log/flexget/flexget.log root@Tower:/mnt/disk/cache/.flexget# /etc/rc.d/unraid.d/rc.unraid_flexget start flexget added to cron flexget-webui started as nobody root@Tower:/mnt/disk/cache/.flexget# su nobody -c "/usr/bin/flexget --cron -c /mnt/disk/cache/.flexget/config.yml --logfile=/var/log/flexget/flexget.log" root@Tower:/mnt/disk/cache/.flexget# cat /var/log/flexget/flexget.log root@Tower:/mnt/disk/cache/.flexget# I suspect there's something wrong with either the start or stop script. Thanks
  6. Newer versions require python 2.7... which I do not want to use at this point. There is no python 2.7 package from what I can tell. I will look into it but at this point... I will not be updating to a newer version. Packages which require python 2.5 are available: http://download.flexget.com/unstable/ As for the cron job, I first copied exactly the command which was already on the crontab, but it did not work. Then I tried fiddling around to see if there's something wrong, and still, it did not work. After re-installing the package, the cron job started working fine.
  7. The Web-UI is working fine, but I encountered two problems. I am using the following configuration: feeds: queue_from_imdb: priority: 10 imdb_list: user_id: ur9999999 list: watchlist accept_all: yes queue_movies: quality: 720p bluray force: yes tv_shows: preset: - transmissionrpc rss: <RSS FIELD> series: 720p: - Game of Thrones - Breaking Bad - Family Guy - How I Met Your Mother - The Big Bang Theory - South Park - Once Upon A Time - Alcatraz movies: priority: 11 preset: - transmissionrpc rss: <RSS FIELD> movie_queue: yes presets: global: email: from: [email protected] to: [email protected] smtp_host: smtp.gmail.com smtp_port: 587 smtp_username: xxxxxx smtp_password: xxxx smtp_tls: yes transmissionrpc: transmission: addpaused: false host: localhost password: xxx path: /mnt/disk/cache/torrents/download/complete/ port: 9091 username: xxxx 1) Cron jobs are not working. It's not the actual cron job which is not firing, but the command is not doing anything. When I execute /usr/bin/flexget --cron -c /mnt/disk/cache/.flexget/config.yml , nothing happens, and the logfile remains empty. 2) When I add movies to the IMDB watchlist and run flexget, movies are added successfully. But it seems that the TMDB id of each movie is not determined, and therefore movie overview and year information is not available: This is the output when I execute with "--movie-queue list" ------------------------------------------------------------------------------- IMDB id TMDB id Title Quality Force ------------------------------------------------------------------------------- tt1409024 None Men in Black III 720p bluray True tt1034314 None Iron Sky 720p bluray True tt0401729 None John Carter 720p bluray True tt0763831 None A Thousand Words 720p bluray True tt1214962 None Seeking Justice 720p bluray True tt1599348 None Safe House 720p bluray True tt1655442 None The Artist 720p bluray True tt1642665 None Urban Explorer 720p bluray True ------------------------------------------------------------------------------- Anyway, thanks for this!
  8. Thanks for this! Could you also bump the version up please?
  9. Why did unRAID developers choose ReiserFS as the used file-system? From what I read, ReiserFS is somewhat slower than ext3 for large files (which is what unRAID is mostly used for), and also very slow in mounting. Good read: link
  10. UPDATE 2: I installed unRAID 5.0beta12a to test using AFP. The transfer rate is the same as SMB (about 300KB/s) so the problem seems to be in the TCP settings of the linux kernel. I have tried the following sysctl parameters and have achieved an increase in throughput (max: 450KB/s, low: 250KB/s). sysctl -w net.core.rmem_max=16777216 sysctl -w net.core.wmem_max=16777216 sysctl -w net.core.rmem_default=65536 sysctl -w net.core.wmem_default=65536 sysctl -w net.ipv4.tcp_rmem='4096 87380 16777216' sysctl -w net.ipv4.tcp_wmem='4096 65536 16777216' sysctl -w net.ipv4.tcp_mem='8388608 8388608 8388608' sysctl -w net.ipv4.route.flush=1 sysctl -w net.ipv4.tcp_fack=0 sysctl -w net.ipv4.tcp_mtu_probing=1 sysctl -w net.ipv4.tcp_rfc1337=1 sysctl -w net.core.netdev_max_backlog=2500 sysctl -w net.ipv4.tcp_no_metrics_save=1 sysctl -w net.ipv4.tcp_moderate_rcvbuf=1
  11. UPDATE: I created a SMB share from my MBP using Wi-Fi and managed a constant transfer rate of about 850KB/s (which is understandable as the data is transmitted and received through Wi-Fi). So the problem is with the SAMBA or TCP configuration on the unRAID server, which for some reason is kind of incompatible with iPad. I also noticed that when transferring a file using SMB on the iPad, the transfer rate starts off at about 400KB/s and degrades to about 250KB/s through the transfer. Any help???
  12. With a transfer rate of about 300KB/s, I would be lucky to stream normal SD movies without problems... Mac OS X has a long history of problems with SMB connections, so I believe some problems still exist in iOS. I believe that the problem can be fixed by a Samba setting from my unRAID Server to gain compatibility with iOS, as there doesn't seem to be any problems with other iPad users using SMB connections. Anybody have any idea?
  13. Hi everyone, I am using a 3 x 2TB unRAID Server where I store all my media. I stream the media to a WD TV Live using a wired connection and have very good performance with regards to snappiness etc. (nearly identical to a USB HDD!). I also occasionally stream media to my MBP using Wi-Fi and the transfer speed saturates the Wi-Fi router (about 3MB/s - using 802.11g router with negotiated speed of 24Mbps). The problem is when I try to stream media to my iPad. The actual data transfer rate was at most 100KB/s (tried to download some files using ezShare and FileBrowser). After numerous tweaks, I managed to get the transfer rate to about 300KB/s, which is still, well, disastrous. I installed "TCP Optimizer" (from here: http://goo.gl/aXJXY), which increased the throughput. I think mainly because it disables TCP delayed ACKs. I also added these attributes to the smb-extra.conf: [global] max open files = 16500 socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY IPTOS_THROUGHPUT SO_RCVBUF=131072 SO_SNDBUF=131072 host msdfs = no msdfs root = no kernel oplocks = no oplocks = no level2 oplocks = no min receivefile size=16384 use sendfile=true aio read size = 0 aio write size = 0 write cache size = 65536 domain master = no local master = yes preferred master = yes os level = 50 I also tried AirVideo but it still hangs occasionally even at low bitrates... Is there something I am missing? I would really be happy if I could stream HD movies to the iPad!