Downloading podcasts on a QNAP nas, the hard way

QNAP NasFor a long time I have had this quite unique way to download podcasts on my home network. It’s served me very well but since getting the NAS it’s been an endless fight to find a good way to do the same with minimal effort. Up till recently I have been running another machine on my network with Ubuntu, to download the podcasts using the tiny tiny rss source.

I would sync the podcasts over the network to my NAS mainly for connivance but I like the idea of the NAS being the place to access everything.

So after many years I finally come to a solution which might be useful to others too, as I couldn’t find a good solution in one place. To be fair I stopped running Tiny Tiny RSS (TTRSS) in favour of FreshRSS but regardless.

These are all for informational purposes and aimed at technical people who understand their way around a the terminal, have sudo and SSH access and can use alternative app repos.

  1. Install CrontabUI and Entware-std on your QNAP using the linked repo.
  2. I tried using CastGet which you can install via OPKG store but couldn’t get to grips with it, as it didn’t support what Podget did.
  3. I downloaded and unzipped Podget then ran it from the terminal. It worked once I found the user directory /share/homes/{username}
  4. Then I started moving the download directory and where the config files sat by modifying the permissions.
  5. Once it was working, I created a shell script which would pull the downloads and have all the parameters set. Remembering to make it executable checked it can work under a admin user
  6. Then started on the Qnap cron, which is a pain and needs attention. This is also where CrontabUI can save you a lot of time. I did do it manually but found it tiresome and there was little feedback.
  7. In CrontabUI, I tried a number of different options and would check they would run, looking at the timestamps of files. In the end what work ed for me was, /sbin/download-podcasts.sh. I tried many times to get it working but found it wouldn’t actually run outside of /sbin even with the right execute permissions.
  8. Now it works but may reconsider switching to Castget now I stopped using TTRSS and I have found I need to use Podget 0.6 as it throws a lot of errors from missing libraries and out of date fgrep commands.

Hopefully this might be useful to others? There might be an update if I switch back to Castget.

QNAP ransomware attack

Its the first time I have owned a NAS when a big ransomware attack is underway. Its clear QNAP haven’t done enough and learned about this a 5 days ago via bleeping computer.

I am very aware of ransomware attacks on standard computers and keep the firmware and software up to date when I see the updates. Its clear the notification of updates could be more viable, as its not that often I’m logged into the NAS. I have email and push on but I’d like to see more options on this front.

Bleeping computer has the full details of what you need to look out for and what you should do if you are being attacked.

The tale of Amazon and the imported Qnap Nas

2 Qnap NAS boxes
Which one is the grey import?

I have almost no words for what’s happened recently with my Qnap NAS.

I decided a while ago that it was time to replace the server in my bedroom with a QNAP NAS. I had it with the heat during the summer and frankly it was long overdue. Plus a few people recommended them to me, plus pointed me at NAS compares. I bought the NAS from Amazon.co.uk as it was the cheapest by about 100 pounds, plus they had the 8gig version of the TS653D. Almost everywhere else had a 4gig only version. I knew I needed a bit of memory as I was going to replace my ubuntu server, which ran at 45-70c depending if it was transcoding for plex.

I bought the NAS from Amazon.co.uk https://www.amazon.co.uk/gp/product/B0896YVN5L. There was no mention this was coming from America as a grey import. After I bought it I noticed it came from Texas, USA with via UPS and it took about 10 days. I didn’t think too much about it once it arrived, got it set up and moved all my data over (this took weeks!). However when I tried applying for the 5 year extended warranty thats when things got interesting.

5 years of warrenty

Having applied to Qnap, answered their questions, I sent them the invoice which I got from Amazon. However Qnap replied with.

From the invoice, this is sold by Amazon Export Sales LLC, and the customer also pay the import fee, the customer should know the unit is not from local distributor.
The note says: “Only products that are sold and purchased from the same region are eligible for a warranty extension.”. 

Please confirm with Amazon.co.uk that the NAS unit came from UK (distributor) and not from US.

We went back and forth for a while but I got back on to Amazon. They insured me the NAS is a UK model. Qnap of course were not budging, the serial number wasn’t right and regardless if I bought it form Amazon.co.uk it was a grey import. I did think it was strange it was coming from America but I just thought it was where the stock was from. Plus Amazon kept confirming its a UK version.

Then finally I got into an exchange with Amazon customer services.

10:53 PM QNAP won’t provide a warranty for the NAS because its not a UK/EU NAS I bought it through the amazon.co.uk with pounds but say its a US version
10:54 PM Rizzwan | I can see it is Amazon global store order. Allow me a moment to connect you with them for further help.
10:55 PM Global order? I bought it through amazon.co.uk

Then Rizzwan was replaced by Tamsyn…

10:55 PM Tamsyn has joined and will be ready to chat in just a minute. Tamsyn | ​This is Ta​mmy from Amazon. ​ I’ll be assisting you.​
10:57 PM Here is the email I got from QNAP… (same as above)
11:00 PM Tamsyn |  Yes it is from a UK distributor
11:01 PM I need something from Amazon to prove this, as QNAP won’t extend the warranty otherwise I have given them the invoice already
11:03 PM Tamsyn | what is the for the return ?
11:05 PM I don’t understand?
11:05 PM Tamsyn | what is the reason for sending the item back ?
11:07 PM I can’t get a extended warranty for the QNAP NAS
11:08 PM Tamsyn | Reason I’m asking is because I can refund you
11:09 PM Its a sub £1000 device and want to make sure it doesn’t go wrong, so the extended warranty is important Can I exchange it instead? because all my data is on the device now
11:09 PM Tamsyn |  cannot exchange
11:10 PM Do you have anything else I can send to QNAP to prove its a UK/EU version? They want proof – “Please confirm with Amazon.co.uk that the NAS unit came from UK (distributor) and not from US.
11:12 PM Tamsyn | We can send them an email what is the email
11:13 PM Its done through their support forum- as the email is no reply – noreply@qnap.com. If you can send me something I can try and get a email to send to them I’m sending them this… “I am talking with Tamsyn | Customer Service Amazon.co.uk and they confirmed it is from a UK distributor – Tamsyn is asking for an email address to forward you details of the UK distributor”
11:17 PM Tamsyn | yes that is fine
11:17 PM Is there a email I should ask QNAP to contact you on?
11:18 PM Tamsyn |  yes
11:18 PM Thanks… you understand why I don’t want to send it back but I really want to get this sorted out because I want to keep it for at least 3 years 11:19 PM Tamsyn |  Yes I understand 🙂
11:19 PM Thanks QNAP are slow to reply, so is there a way of holding the return based on the outcome of this conversation with QNAP They usually take about 2 days to reply
11:20 PM Tamsyn | okay that is fine
11:24 PM Thanks, and I guess once I hear back from QNAP I join this chat again Just for reference I’m talking with Gerry ********* from QNAP… “From warranty information, it shows the NAS unit was sold from Amazon US and not Amazon.co.uk
Please confirm with Amazon.co.uk that the NAS unit came from UK (distributor) and not from US.

Then out of nowhere Tamsyn was replaced by Collen…

11:30 PM C Collen has joined and will be ready to chat in just a minute. Collen | Customer Service Hello, Ian Please note this was a global store order Sold and shipped by amazon US Order Placed: Tuesday, 3 November 2020 (GMT) C
11:33 PM Hold on Tamsyn said it was sold from a UK reseller a moment ago
11:34 PM Collen | Customer Service Please look at email from Tuesday, 3 November 2020 01:51 (GMT) C
11:39 PM Collen | Customer Service Global Store Amazon Marketplace order with Amazon Export Sales LLC C
11:45 PM Collen | Customer Service Do you wish to return the item for a refund? C
11:45 PM I would like to do an exchange as I am using the NAS, Ok I see it says Amazon Export Sales LLC This was not clear on the site when I bought it.
11:48 PM Collen | Customer Service We can only refund a USA item only on return We cant replace it C
11:48 PM Right I see, can I get a UK version then return the old one?
11:49 PM Collen | Customer Service Yes C
11:51 PM This was not clear at all when I bought it on the site
11:51 PM Collen | Customer Service However you will need to re order C

So in short Amazon mislead me by never making clear this was a grey import QNAP NAS. Yes when I got the invoice, I could see it was coming from Texas but it was too late by then. Simple as this, customer service lied to me and to QNAP.

Cheeky!

In the end Amazon/Collen did send me the return details and I had 7 days to return the QNAP NAS back to Texas. Annoyingly I had to print the return slips and I don’t own a printer, luckily colleague Jimmy helped out by printing them out for me. In the mean while I got in touch with QNAP, they pointed me in the direction of Scan.com and I was able to buy and get almost the exact same model sent to the next day. I say almost exact because I opted for the 32gig version as I was considering add more memory anyway and this would save me a lot of hassle.

Telling enough, Scan.com when I called them to confirm the speed of delivery, told me a few other customers have had the same problem with Grey imports sent from America and bought from Amazon.co.uk.

With the clock ticking, I was worried it was going to take forever to move everything across but I found it was super quick when I found this guide to move from one device to another. Pretty much start the NAS, update the firmware and slot the disks in the same slots. The migration took about 2hours in total, which is amazing. I was wondering about taking time off work to get this sorted but there was no need.

QNAP nas's
Which one is UK and which one is American?

Just enough time to take some pictures of them side by side then box up the grey import/amazon one, add all the labels then take it to the UPS drop off which just happened to be in China town. Can’t tell you why I didn’t get a taxi or take the tram half the way there, but it was certainly a work out for my lockdown arms.

4 weeks later I received my full refund from Amazon.co.uk and I’m sitting pretty with my QNAP NAS with 5 year warranty.

Port trunking/Link aggregation on a TPlink AC2300 router

My new NAS comes with dual 2.5gigabit LAN ports (providing a total of 5 gigabit of bandwidth). Its not much use to me because its plugged into a 1gigabit router, attached to 1gigabit internet and a 1 gigabit internal network.

However I noticed a feature on my router called link aggregation. In theory I can plug both LAN ports into the router and get 2gigabits of bandwidth to the NAS. Ok its only mainly useful for multiple connections to the NAS because everything else is sitting on a 1gigabit networking. But you can imagine uploading a lot of data from the NAS and also editing video on my LAN connected laptop.

Link aggreation on TPlink

When looking at the TPlink help page,  it looks pretty straight-forward. However when looking at my router there is no options. No link aggregation options. I checked I have the latest updated firmware and I was thinking of sending it back… till I spoke to a friend and he convinced me to set up port trunking from the NAS side just in case the router has it enabled by default now.

Port trunking

As you can imagine, it worked… I mainly write this as I couldn’t find an answer when I searched for details previously.

Next upgrade for the switches will be from 1gigabits to 2.5gigabits.

My current Home server (explained)

So I finally bought a 2 terabyte (TB) western digital hard drive for my home server. I have about 7 TB’s over 6 hard drives. I’ve already explained what makes a home server and my frustrations over home server software. But never really gone into my setup.

I have 7 hard drives of varies sizes from 200gig to 1.5tb. Most of them are Western digital drives but I do have others such as Maxtor and Samsung hard drives. I tend to buy the slowest drives because realistically I’m only storing stuff on them and accessing them over samba (smb) or universal plug and play (upnp) on my lovely XBMC setup. So speed isn’t a major thing, in actually fact the faster the drive spins the hotter it gets and heat is a enemy when you got 6 drives all spinning together.

The weird thing is I’ve never had a hard drive fail on me yet.

I’m using a combination of old 133m/s udma/eide and the new 150m/s sata. I have 2 ide drives attached to the onboard Ide ports, 2 on board sata ports and a PCI to SATA adapter with 2 extra SATA ports and a ide port. The motherboard is a elitegroup 761-gx with a old 2.8ghz mobile Amd athlon which I got from the states quite a while ago (maybe 4 years ago). I’ve thought about changing it but I really don’t need the power for a home server. In actual fact 2.8ghz is well over power for what its doing.

I think one of the reasons why nothing has failed on me is because I use spinrite 6 every few months to check if the drives are running ok or in need of some TLC. I also don’t use any Raid solutions or even Lvm solutions, I was tempted to try Lvm but gave up on it a long time ago. If Raid supported odd size drives I might have considered it a long time ago but its not practical when you have so many different drives across different local buses.

I had considered getting drobo but there quite costly even the simplest version and they certainly hold there prices well. Even the ebay prices are close to the retail price.

Right now its much more efficient for me to build a home server because I have all the parts.

I expect I’ll consider going for a NAS because its a lot quieter and it just works, which means I won’t need to do much to it. However running a machine means you can do a lot more. I’m running Ubuntu 10.4 desktop edition on top of my server right now. I had considered switching to Ubuntu Server but I quite like having a gui. I also use Webmin to control the box remotely. Webmin is good but its not as powerful as I would like it to be. For example I’m considering moving my torrent app to the server but controlling it would be a issue.

Right now I’m moving most of the stuff to a couple of drives so I can shift over to Windows Home Server. I tried freenas and others but I think Microsoft have come up trumps with Windows Home Server. My only problem is the fact it prefers to be installed on a blank system so that means shifting all my data around on to a couple of drives then moving them away while I install windows. Shame I deleted all my photos in the conversion. Oh well, wish I still had upto date dvd backups.