HowTo: Plex Media Server For Zyxel325_v2

Follow these steppes in the order i put them "top to bottom" and you will successfully be able to install Plex on a zyxel linux based system such as the zyxel325_v2

 

  1. Create a text file called web_prefix and put this to the first line: ftp://ftp.zyxel-tech.de/, then remove .txt from the file before putting it into the directory.
  2. Move the text file to the NAS, to directory /admin/zy-pkgs (zy-pkgs subdirectory in the admin share)
  3. Refresh the package list on the administrator web interface. FFP will show up, but you won’t be able to install it because the server only has FFP for the v4.40 firmware. Download that older FFP package from here. It’ll work nicely with newer firmwares too. Put this file to /admin/zy-pkgs also. Now you can install it on the web interface. It will create an install log file in /admin/zy-pkgs/ffp.

 

 

 

  1. Go to your zyxel admin page and activate telnet.
  2. Download Putty
  3. open putty "no install" a window that looks like this should pop up.
  4.  A7w5iid.png
  5. Type your NAS IP in the ip field and then press open.
  6. when you press open and it wants you to enter your login information...
  7. type root as username
  8. type your admin password as password "putty wont show that you type the password due to security reasons so do not frett if you cannot see the text or stars ******".
  9. When you are in there just follow the guide below from step 1.

 

 

THIS INSTALLATION BELOW IS MADE IN PUTTY;HOW TO GET PUTTY STARTED CAN BE READ ABOUT ABOVE.

 

This part is not written by me; taken from another forum.

You need to login via ssh to NAS with root privileges and follow these steps. It is strongly advised to read all this post carefully, before proceeding.

1. Firstly install PMS FFP 0.7-arm package from Mijzelf repo:

Code:
slacker -UaA mz:plexmediaserver

The package itself contains only plex FFP management script file-plexmediaserver.sh, which will be installed to /ffp/start/ directory.
There is no files of Plex Media Server in package, to avoid licensing and distributing restrictions.

Available script commands are:

Code:
root@NSA310:~# sh /ffp/start/plexmediaserver.sh help
Usage: /ffp/start/plexmediaserver.sh [ start | stop | status | restart | version ]

2. Second step is about to install Plex Media Server itself to FFP.
Since plexmediaserver.sh script version-20140206, running it without an option, will display the graphical menu, which will give you possibility to install, upgrade, uninstall, start and stop Plex Media Server.

Code:
sh /ffp/start/plexmediaserver.sh

Menu options are not static. They changes accordingly to the status and condition of PMS: installed or not installed, running or not running, autostarting enabled or not.

 

Select install command in menu (picture above) and press OK. Now you have to choose, which version of PMS to install (picture below). You can choose between Synology (with *.spk file name extensions) or ReadyNAS arm packages (with *.bin file name extensions). Recommended is Synology package, because it will install faster, due to faster decompression algorithm. Select upper Synology package, which is the latest one at the date of script build and press OK to start installation. 

 

After confirmation, script will start to download 56,2 MB Synology arm package-PlexMediaServer-0.9.8.18.290-11b7fdd-arm.spk, extracts files to temporary directory, copies them to /ffp/lib/plexmediaserver/ and then removes temporary directory. This step can take about 2-4 minutes (this is of course partly dependent on the internet bandwidth), so wait until you will see-done and EXIT button appears. Press EXIT button and it will bring you back to main screen of menu. 

3. Third step is about to run PMS for first time. It's most important step, because during this step PMS creates main directory for plex settings and data - PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/mnt/HD_a2/programs/plex/lib on your NAS hard disk. About 60MB of data will be placed here after first start and will grow, depending on your media library size. To start Plex Media Server, simply select Start command in visual menu:

 

Alternative way, if exited from menu, to start PMS from shell command line interface:

Code:
sh /ffp/start/plexmediaserver.sh start

During first start, PMS detects the system and selfconfigures for it, loads plugins, updates them, updates plex/web, restarts and etc. First start takes about 8-10 min, but actually it is important to leave it alone at least for 30 min (to let the Plex fully selfconfigure and because of plex automatic updates), before entering first time Plex/Web configuration page. Plex development team is pushing automatic updates very frequently.

4. After first start is done, you can proceed to Plex/Web configuration page: http://Your_NAS_IP:32400/web. Here you can specify paths to your media content and manage Plex settings. More information about configuring PMS is available on:
http://www.plexapp.com/help/
http://wiki.plexapp....ndex.php/Guides
http://wiki.plexapp....x.php/Plex_FAQs
http://wiki.plexapp....e_PMS_Subtitles
http://forums.plexap...sing-subtitles/
http://wiki.plexapp....ver_Preferences
Important!. After adding directory to PMS video, photo or music libraries, Plex begins to scan for media content and search for metadata on internet databases. It is very CPU intensive job and uses a lot of memory resources. Further NAS usage can be problematic, until the scanning is complete (Plex/Web configuration page should be available during this operation). Scanning of mine media library (149 GB-122 small and medium video files) took about 1,5 hour. So, maybe it is wise, to leave this job for over the night, if you have a big collection of media. 
On Plex/Web settings page you can disable services, that you don't need. For example, if there is no iOS DLNA clients, you can disable Bonjour service, iPhoto sharing, iTunes sharing and Aperture sharing.

5. Enable autostart of Plex Media Server on NAS boot:

Code:
chmod 755 /ffp/start/plexmediaserver.sh

or alternatively select Enable_autostart command in visual menu, when running script without option.

6. Extend the functionality of DLNA client:
For Samsung Smart TV's-install Samsung plexapp on TV itself from Samsung apps store-it's free (http://plexforsamsun...e/40757181/Home). For LG Smart TV's use MediaLink service.

That's all. You can start using Plex Media Server.

_________________________________________________________________________________________________________________________________
Uninstall procedure

Note: This will remove PMS data and settings files also.
1. If you want to remove Plex Media Server, stop it first, then run a script without an option and choose Uninstall option in visual menu:

Code:
sh /ffp/start/plexmediaserver.sh stop && sleep 5
Code:
sh /ffp/start/plexmediaserver.sh

2. Remove PMS FFP 0.7 package:

Code:
slacker -rA plexmediaserver

3. Remove script file:

Code:
rm /ffp/start/plexmediaserver.sh
Plex Media Server update instructions (to 0.9.8.x.x.x. version):

1. Stop Plex Media Server.
Code:
sh /ffp/start/plexmediaserver.sh stop && sleep 5
2. Go to plex tmp directory:
Code:
cd /mnt/HD_a2/programs/plex/tmp
3. Download latest PMS Synology_arm.spk package:
Code:
4. Run the script, select Update command in menu and press OK:
Code:
sh /ffp/start/plexmediaserver.sh
On the next window select Local_file:
 
and press OK again. It will open file browser window, where you can specify the Synology package to install. Move cursor with up and down arrow keys, if there is several files in directory and select necessary file with spacebar. Press OK to confirm your selection:
 
Update procedure will begin. Wait until you will see-done and EXIT button appears. Press EXIT button and it will bring you back to main menu screen.

5. Choose Start option in meniu and press OK to start PMS. Alternatively, if exited from menu, you can start PMS from shell command line interface:
Code:
sh /ffp/start/plexmediaserver.sh start
Wait about 30 minutes until PMS recreates plugins, updates Plex/Web, selfconfigure. After that, you can enter Plex/Web or start using PMS wih DLNA client.

6. Remove downloaded Synology package:
Code:
rm /mnt/HD_a2/programs/plex/tmp/PlexMediaServer-0.9.8.18.290-11b7fdd-arm.spk
HOWTO: track Plex Media Server startup and others errors

1. Stop Plex Media Server.
Code:
/ffp/start/plexmediaserver.sh stop && sleep 5
2. Remove old logs
Code:
find /mnt/HD_a2/programs/plex/lib/Plex\ Media\ Server/Logs/ -type f -iname "*log*" -exec rm -f {} \;
3. Start PMS and wait about 1 minute, untill Plex Media Server fully start:
Code:
/ffp/start/plexmediaserver.sh start
4. Get list of errors on screen:
Code:
grep -r "CRITIC*\| ERROR*\|WARN*" --include=*.log* /mnt/HD_a2/programs/plex/lib/Plex\ Media\ Server/Logs/
5. Or redirect output to file:
Code:
grep -r "CRITIC*\| ERROR*\|WARN*" --include=*.log* /mnt/HD_a2/programs/plex/lib/Plex\ Media\ Server/Logs/ >> /tmp/plexerrors.log

Note: 
It is "normal", if you are getting only the following errors:
Code:
/mnt/HD_a2/programs/plex/lib/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log:2013-12-23 13:11:53,283 (4687f490) :  WARNING (core:528) - Unable to retrieve the machine identifier or server version.
/mnt/HD_a2/programs/plex/lib/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log:2013-12-23 13:12:13,630 (4001e370) :  CRITICAL (runtime:709) - Private handlers are no longer supported; couldn't register <bound method StreamService.token_handler of <streamservice.StreamService object at 0xc25730
 

Hi,

can you tell me how to install the latest version for readynas or synology that I downloaded from here: https://plex.tv/downloads

I already have ffp and I can launch putty but where do I have to save my downloaded install file on my nas?

The menu (option 9) in putty let's me locate but then I'm lost. I can see the linux file structure but I can not see that from my windows pc.

All I see is my admin and my library folders.

S

Thank you for your post

I am new to this forum and working with scripts etc.

I have followed your guide and I cant get the FFP to show up in the packages. I have tried rebooting to see if this has an effect.

I assume that the file you guided us to make web_prefix does not have the txt file extension?

Can you advise where you think I might be doing something wrong.

Hi,

can you tell me how to install the latest version for readynas or synology that I downloaded from here: https://plex.tv/downloads

S

You do not download plex via plex.tv, you download it via putty that is connected to your FFP because Zyxel is not supported by plex. Once you have FFP installed activate it in your NAS Admin packet pannel.

Once that is done go to Putty and login as user: root and password: (same as your admin password)

then follow the guide on http://forum.nas-central.org/viewtopic.php?f=249&t=7603

Go from step 1. just write the code into the CMD window you got up from Putty.

Thank you for your post

I am new to this forum and working with scripts etc.

I have followed your guide and I cant get the FFP to show up in the packages. I have tried rebooting to see if this has an effect.

I assume that the file you guided us to make web_prefix does not have the txt file extension?

Can you advise where you think I might be doing something wrong.

At the moment (Februari 2014) for firmware 4.70 you need to use the bèta repository ftp://ftp.zyxel-tech.de/

I will be providing link for Web_prefix and another file you need to put into your  /admin/zy-pkgs/ffp  folder.

http://www.speedyshare.com/wHD36/plex-things.rar This link contains all the files u need to put in the folder.

Once they are in there restart your NAS with the admin pannel on your NAS website.

Once that is done go to your NAS admin website again, when you are there go to Firmware / packages, press the packages tab and scroll till you find FFP and enable that package.

Then proceed to the putty guide...

 

If you want help i can help you via skype, my skypename is wiken1991

Great guid, thanks a lot! :)

Thank you very much to wiken91 for this guide it has helped me a lot. I have a question though! When I try to play any type of file I get an error saying "This media server does not support transcoding." - I know that the nsa325 v2 isn't capable of transcoding but I've tried playing back on my PC so surely transcoding isnt needed? I've checked that directplay is turned on but for some reason that option isn't in the menus... help!

Thank you very much to wiken91 for this guide it has helped me a lot. I have a question though! When I try to play any type of file I get an error saying "This media server does not support transcoding." - I know that the nsa325 v2 isn't capable of transcoding but I've tried playing back on my PC so surely transcoding isnt needed? I've checked that directplay is turned on but for some reason that option isn't in the menus... help!

Hey, since it does not support transcoding you can not use the www.plex.tv/web/app.

You need to use the downloadable app which can be found on https://plex.tv/downloads, for computers choose the "Plex Home Theater". If you want to have transcoding you need a stronger processor which the Zyxel325 does not have. And quite frankly the NAS was useless so i decided to host it on my main computer instead, the transcoding only takes place when first uploading the media files, after you have let the library load 100% it wont give you any buffer issues unless you try to fast forward PLUS it does not give your computer any kind of hassle either, i had 8+ or so users on my former server and i never noticed when people where watching.

Anyhow back to the point, You can only use the downloadable plex application. I hope this answers your question.

I have now tried everything , but I can not find a solution. can anyone help me .
 
admin@NSA325-v2:~$ slacker -UaA mz:plexmediaserver
/ffp/bin/slacker: line 31: /ffp/funpkg/cache/sites: Permission denied
/ffp/bin/slacker: line 36: /ffp/funpkg/cache/sites: No such file or directory
Updating package lists...
/ffp/bin/slacker: line 103: /ffp/funpkg/cache/available: Permission denied
FATAL: Empty cache
 
/Samuel
I have now tried everything , but I can not find a solution. can anyone help me .
 
admin@NSA325-v2:~$ slacker -UaA mz:plexmediaserver
/ffp/bin/slacker: line 31: /ffp/funpkg/cache/sites: Permission denied
/ffp/bin/slacker: line 36: /ffp/funpkg/cache/sites: No such file or directory
Updating package lists...
/ffp/bin/slacker: line 103: /ffp/funpkg/cache/available: Permission denied
FATAL: Empty cache
 
/Samuel

Add me on skype and we can go futher into details, Wiken1991.

Bump^

@wiken91 said:
Add me on skype and we can go futher into details, Wiken1991.

Hi There,
Would you be willing to help out a frustrated newb with this? I’ve followed many different types of instructions, but I’m clearly missing something. I would appreciate the help.

Sure!

Sent from my iPhone

Hi!

Has anyone running the remote access on the NAS? I cant seem to connect, It doesnt seem to connect,! I think It’s not getting the IP correctly…

@drosendo said:
Hi!

Has anyone running the remote access on the NAS? I cant seem to connect, It doesnt seem to connect,! I think It’s not getting the IP correctly…

Hey there, that means that your ports are not properly open or used by some other program.
Try another port and open it in your modems firewall and any router you are using.

I have tried everything, on my netstat I see that plex media server is with 0.0.0.0 ip address… instead of the NAS ip (192.168.1.2) .
I really getting sad at not getting this to work.
Is there somewhere in plexserver where I can go and manually alter 0.0.0.0 to 192.168.1.2 ?

@wiken91 said:

@drosendo said:
Hi!

Has anyone running the remote access on the NAS? I cant seem to connect, It doesnt seem to connect,! I think It’s not getting the IP correctly…

Hey there, that means that your ports are not properly open or used by some other program.
Try another port and open it in your modems firewall and any router you are using.

Sorry didnt mention you on the message

bumping thread

Hi everyone!
Do anyone still have the file ffp_0.7_arm_004.zpkg? Or know where to find it?
I’m struggling to find it on the internet, all previous links seems to be dead and I can’t proceed with the installation of Plex Server on my Zyxel NSA without it.
Any help would be greatly appreciated.
Thanks!

Bumping this thread. No one still got this file?
I’m a bit desperate about it haha.