Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Unofficial Plex Media Server Installer Package for WD My Passport Wireless (non-Pro model)

jlempenjlempen Posts: 35Members, Plex Pass Plex Pass
edited January 9 in Western Digital

Hi all!

I have great news for WD My Passport Wireless (non-Pro model) owners!

Based on my now obsolete HOWTO thread for installing Plex Media Server on the WD My Passport Wireless (non-Pro model), I built an unofficial installer package which makes the installation of Plex Media Server a breeze on the "old" WD My Passport Wireless portable hard drive.

This self-extracting installer package will automate all steps of my now obsolete HOWTO to install Plex Media Server on the WD My Passport Wireless. The package does all kinds of error checking and will perform a new PMS install or upgrade an existing PMS install to the latest version and detect broken installs and fix them. I've also thrown in an uninstaller script to completely remove PMS from the WD MPW and restore the device to its factory settings without deleting your media files and Plex Media Server database.

Download my unofficial installer package

PlexMediaServer-1.3.3.3148-WDMPW.run

Instructions

  1. Download my unofficial installer package from the above download link
  2. Connect to your WD My Passport Wireless WiFi network
  3. Open the WD My Passport Wireless web interface in a web browser at http://192.168.60.1
  4. Navigate to the Admin tab and enable the SSH and FTP access options. You may also switch the Battery Optimization scheme to Performance in the Hardware tab and turn off the Twonky Media Server by disabling the DLNA Streaming option on the Media tab of the web interface. If you don't, my installer package will take care of all that anyway.
  5. Copy the installer package to your WD My Passport Wireless public folder either by opening a network connection to your device or by connecting the device to your computer via USB. Leave the installer package in the root directory of your drive, do not copy it into a subfolder!
  6. SSH into your WD My Passport Wireless with a SSH client, for instance "Terminal" on OSX or "PuTTY" on Windows. Enter ssh root@192.168.60.1 in the SSH client, then enter the password: welc0me (yes, that's a zero, not an capital "O").
  7. Navigate to the root directory of the hard drive by enteringcd /DataVolume in the SSH client.
  8. Make sure that the installer package is located in the root directory by entering ls in the SSH client. The package should be listed under the name PlexMediaServer-1.3.3.3148-WDMPW.run.
  9. Run the installer package by entering ./PlexMediaServer-1.3.3.3148-WDMPW.run in the SSH client and let it perform its magic. This will take a few minutes.
  10. Done! I highly recommend restarting the My Passport Wireless now.

You may now reach and configure your shiny new Plex Media Server by entering http://192.168.60.1:32400/web in any web browser on your local network.

Upgrading an existing Plex Media Server installation

For those among you who already installed Plex Media Server with the help of my now obsolete HOWTO, you may use my unofficial installer package to upgrade your Plex Media Server installation to the latest version. The installer script will detect that PMS is already installed and perform a safe and clean upgrade.

Uninstalling Plex Media Server

I have included an uninstaller script in the package. This script will perform a clean uninstall and restore your WD My Passport Wireless to its factory settings without deleting your media files and Plex Media Server database. It provides an option to remove the Plex Media Server database as well. Your media files will remain untouched on your hard disk.

To uninstall Plex Media Server:

  1. Copy the uninstaller script to the root folder of your hard disk:
    cp -f /DataVolume/Plex\ Media\ Server/Application/WDMPW_SCRIPTS/uninstall.sh /DataVolume/
  2. Run the uninstaller: ./uninstall.sh
  3. Remove the uninstaller script: sudo rm uninstall.sh
  4. Eventually remove the remaining installer directory: sudo rm -R plexmediaserver-installer
  5. Done!
«1

Comments

  • jlempenjlempen Posts: 35Members, Plex Pass Plex Pass
    edited July 2016

    So what does the installer script exactly do?

    • Self-extract to /DataVolume/plexmediaserver-installer
    • Detect an existing /Plex Media Server directory in /DataVolume
    • Detect an existing PMS application located in DataVolume/Plex Media Server/Application and stop the server
    • If it exists, remove the old PMS application folder from DataVolume/Plex Media Server
    • Copy the updated PMS application to DataVolume/Plex Media Server/Application
    • Copy the S92plexmediaserver startup script to /etc/init.d
    • Copy the plexmediaserver startup script to /etc/default
    • Copy the start.sh startup script to/usr/local/bin and rename it to plexmediaserver
    • Create a DISABLED directory in /etc/init.d to backup some WD media indexing services startup scripts
    • Stop the S85wdmcserverd and S92wdnotifierd WD media indexing services
    • Move the S85wdmcserverd and S92wdnotifierd startup scripts to /etc/init.d/DISABLED
    • Stop the Twonky Media Server
    • Disable the Twonky Media Server by writing "disabled" into the /etc/nas/service_startup/twonky configuration file
    • Set the power profile to Performance by writing "powerprofile=max_system_performance" into the /etc/power.config configuration file
    • Restart the power profile service
    • Set the permissions and ownership of the PMS application directory and startup scripts to "777" and "root:root"
    • Start the Plex Media Server
    • Remove the installer package
    • Leave the /DataVolume/plexmediaserver-installer directory in the root folder of the hard disk
  • jlempenjlempen Posts: 35Members, Plex Pass Plex Pass
    edited November 2016

    A few considerations

    As you add content to your portable Plex Media Server and start scraping Metadata for your content, you will notice that the WD MPW is not the fastest kid in town. Scraping Metadata for a movie may take up to a minute until the posters, fan art and movie info is displayed in the PMS Web interface. Browsing through the Web interface isn't the fastest experience neither, nevertheless, the WD MPW serves content quickly and flawlessly to Plex clients on its network.

    Sometimes the PMS web interface will throw an error while loading the Dashboard or the Server Settings pages. This seems to happen mainly when PMS is very busy scanning your media files and fetching data from the Internet. Clicking on the Home or Settings button again usually fixes the issue.

    Please be patient with your WD My Passport Wireless Plex Media Server!
    Give it some time to scan your media files and fetch data from the internet.

    According to this WD support thread,, this seems to happen on the new WD My Passport Wireless Pro as well...

    EDITED on November 3rd 2016:

    I noticed that the Plex team has added a bunch of new content auto-updating options in PMS since v1.0. This means that PMS will scan your media files and/or its own database quite often to perform maintenance tasks even if you haven't added any new content recently. This is great when you run PMS on a powerful computer or NAS and have a good internet connection, however, on the MPW, this may lead to slowdowns which are not necessary.

    I recommend that you turn off as much content auto-updating features as possible once your PMS is up and running and update manually only when you add new content.

    Specifically, in the PMS web interface, go to Settings, Server, Library, turn on Show Advanced and untick the following options:

    "Update my library automatically"
    "Run a partial scan when changes are detected"
    "Include music libraries in automatic updates"
    "Update my library periodically"
    

    Moreover, set Generate video thumbnails and Generate chapter thumbnails to never.

    Also, tick the Run scanner tasks at a lower priority option.

    Then, go to Settings, Server, Scheduled Tasks and untick the following options:

    "Refresh local metadata every three days"
    "Update all libraries during maintenance"
    "Upgrade media analysis during maintenance"
    "Refresh metadata periodically"
    "Perform extended media analysis during maintenance"
    

    You may keep the following options ticked, as they won't put too much strain on the device:

    "Backup database every three days"
    "Optimize database every week"
    "Remove old bundles every week"
    "Remove old cache files every week"
    

    END EDIT

    Once we connect to the WD MPW Plex Media Server from a client device, we need to force the client to precache the Metadata from the server. Do do this, simply browse for instance to the Movie library and show all movies. Then, slowly move down the movie list while the list gets populated with Metadata (posters) until you get to the bottom of the list. This takes about one to two seconds per movie. Once you've done that, browsing your movie library will be snappy. Repeat this for your TV shows, making sure that you display all episodes of all seasons for every TV show. The same applies for your Music library, repeat the above steps for the Artist list and for the Albums list. You'll need to do this precaching on every Plex client you plan on using with the server.

    Don't expect your portable PMS to be able to transcode any media, its tiny single-core ARM processor is just not made for such heavy processing. It'll happily stream any kind of content to your devices by DirectPlay though.

    To copy content to the device, connect the drive by USB 3.0 instead of WiFi, this will be at least 20 times faster.

    If you have a large media library with several hundreds or even thousands of movies and albums, the best way to set up your portable PMS is to replicate the library from your main Plex Media Server hosted on your NAS device or computer. To do so, follow the official instructions here:
    https://support.plex.tv/hc/en-us/articles/201370363-Move-an-Install-to-Another-System

    On our WD MPW Plex Media Server install, you'll find the Plex Library in the following location:

    /DataVolume/Plex\ Media\ Server/Library/Application\ Support/Plex\ Media\ Server/

    The official HOWTO to move an install to another system works perfectly, but there's a catch. As soon as you have pointed your libraries to the new media directories on your WD MPW, PMS starts to re-download all Metadata from the Internet again, and that's obviously not what we want!

    The trick is to create a symbolic link on our WD My Passport Wireless that replicates the directory path of the PMS we replicated the library from. This will work without a hitch if your main Plex Media Server is on a Linux or Mac OSX box. If your main PMS is on a Windows machine, you're probably screwed...

    You may think of this symbolic link as an "alternative path" to your media folders.

    As an example, here is what I did. My main PMS is on a QNAP NAS. On this device, my media folders are all located under /share/CACHEDEV1_DATA/Plex\ Media.

    I simply replicated the original file path of my QNAP NAS on the WD MPW and created a symlink pointing to my actual media folders, which is under /DataVolume/Plex\ Media/.

    mkdir share
    cd share
    mkdir CACHEDEV1_DATA
    ln -s /DataVolume/Plex\ Media/ /share/CACHEDEV1_DATA/Plex\ Media
    

    I can now reach my media folder in two ways:

    /DataVolume/Plex\ Media/

    and

    /share/CACHEDEV1_DATA/Plex\ Media/

    Both paths point to my media folder.

    Now, the Plex Media Server on the WD MPW sees the media files in the exact same directory as on the original Plex Media Server on the QNAP NAS I replicated the library from, and thus doesn't do any cumbersome Metadata scraping.

  • jlempenjlempen Posts: 35Members, Plex Pass Plex Pass

    Hi all!

    I've updated my unofficial Plex Media Server installer package to PMS v1.0.2.2413.

  • jeanbaptiste.minejeanbaptiste.mine Posts: 2Members

    Hey,

    Install worked great for me !! Thx a mill. I have no internet connection and this is perfect for me to watch on my sony bravia TV (KDL-55W808C ; android TV system).

    I am only experiencing one pb : Sometimes, it seems that the plex app doesn't launch itself while booting. At least my tv plex app is not able to find it even though both are connected together through Wi-Fi. i don't have thois problem with my amazon firetv stick because i can there change the server IP adress and write in 192.168.60.1 over port 32400.

    Any idea if it is possible to fix that pb?

  • longboardfellalongboardfella Posts: 1Members

    thanks so much - this has worked really well for me. Awesome job! I see you have updated the server - I will give that a go...I have the same problem as jeanbaptiste of the server not starting sometimes.

  • svladusvladu Posts: 1Members

    Hello all !
    Great job Mr. jlempen .
    I saw now an new update for arm .
    Can you update the installer? Or tell us an small tips to update using the rb file ?
    I see now version 1.0.3.2461

  • REBELinBLUEREBELinBLUE Posts: 5Members, Plex Pass Plex Pass

    Awesome! Thanks. Have you thought about posting the instructions on somewhere like github so other people can create the new releases so you don't have to?

  • jlempenjlempen Posts: 35Members, Plex Pass Plex Pass
    edited August 2016

    Hi all!

    I've updated my unofficial Plex Media Server installer package to PMS v1.1.0.2611.

    I'm sorry it took me a few days to post the update because I've been away for a few weeks for work. And I don't always have a good internet connection when I'm away (hence the need for the WD MPW :) )

  • jlempenjlempen Posts: 35Members, Plex Pass Plex Pass
    edited August 2016

    @REBELinBLUE said:
    Awesome! Thanks. Have you thought about posting the instructions on somewhere like github so other people can create the new releases so you don't have to?

    Hey REBELinBLUE,

    Thanks for the suggestion. I could indeed do that, but then everybody could and probably would mess with the installer script file and screw it up, which would defeat the purpose of my installer packages I personally compiled and tested...

    What I can tell you is that if you wish to upgrade your installation yourself before I upload a new release, then it's actually quite simple. If you know what you're doing and have basic Linux knowledge, then you only need to download the PMS update for Seagate ARMv7, rename it from *.rbw to *.tar, decompress the file, then decompress the resulting content.tar.gz file, then decompress the resulting content.tar file, then navigate to the resulting opt subfolder, where you'll find the plexmediaserver folder which contains the PMS installation. Then make a copy of the start.sh file in the Resources subfolder of your working PMS installation on your WD MPW. Then rename the new plexmediaserver folder to Application and overwrite the old Application folder with the new one and overwrite the start.sh file in the new Resources folder with your backup of the start.sh file. Now reboot and you'll be running the latest release.

    But I'm sure it's not worth the trouble to do it manually. Just wait until I upload the latest release of my installer package which will do everything for you.

    Cheers,

    Jürg

  • jlempenjlempen Posts: 35Members, Plex Pass Plex Pass
    edited August 2016

    @jeanbaptiste.mine said:
    I am only experiencing one pb : Sometimes, it seems that the plex app doesn't launch itself while booting.

    Any idea if it is possible to fix that pb?

    Hi Jean-Baptiste,

    Sorry for replying late!

    Well, I'm not sure what the problem might be. I haven't experienced this issue myself, but consider this: while PMS on the MPW is indexing media, it'll take so much processing resources that eventually the MPW will become unresponsive and not even be able to show its own web interface, let alone display the Plex Media Server web interface. Maybe PMS is running but as you can't access it, you think that it's not running.

    According to this WD support thread, this seems to happen on the new official WD My Passport Wireless Pro with PMS as well...

    Are you saying that usually PMS starts up just fine and that sometimes it doesn't? This means that your installation is fine but that sometimes there's something fishy going on when the device boots.

    Next time you experience this issue, please make sure that PMS is indeed not running on the WD MPW. Do do this, ssh into the device as usual and type top. Then check in the list if one or several PMS services are running. If they are, then PMS did indeed start but is so busy that it makes the MPW unresponsive. In this case, just let it run for a while and let it do what it needs to do. Once it finishes indexing media files and downloading stuff from the internet, it should become accessible again.

    If you don't see any Plex services running, then your PMS did not start. Please try starting PMS manually by typing: ./DataVolume/Plex\ Media\ Server/Application/Resources/start.sh & and check if it starts that way.

    You could try changing the name of the PMS autostart script from S92plexmediaserver to S99plexmediaserver, which would make PMS one of the very last services to start when you power up the MPW and see if that helps.

    To do that, please type mv /etc/init.d/S92plexmediaserver /etc/init.d/S99plexmediaserver in your terminal.

    Cheers,

    Jürg

  • jlempenjlempen Posts: 35Members, Plex Pass Plex Pass
    edited November 2016

    Just a quick thought:

    I noticed that the Plex team has added a bunch of new content auto-updating options in PMS since v1.0. This means that PMS will scan your media files and/or its own database quite often even if you haven't added any new content recently. This is great when you run PMS on a powerful computer or NAS and have a good internet connection, however, on the MPW, this may lead to slowdowns which are not necessary.

    I recommend that you turn off as much content auto-updating features as possible once your PMS is up and running and update manually only when you add new content.

    Specifically, in the PMS web interface, go to Settings, Server, Library, turn on Show Advanced and untick the following options:

    • "Update my library automatically"
    • "Run a partial scan when changes are detected"
    • "Include music libraries in automatic updates"
    • "Update my library periodically"

    Moreover, set Generate video thumbnailsand Generate chapter thumbnailsto never.

    Also, tick the Run scanner tasks at a lower priority option.

    Then, go to Settings, Server, Scheduled Tasks and untick the following options:

    • "Refresh local metadata every three days"
    • "Update all libraries during maintenance"
    • "Upgrade media analysis during maintenance"
    • "Refresh metadata periodically"
    • "Perform extended media analysis during maintenance"

    You may keep the following options ticked, as they won't put too much strain on the device:

    • "Backup database every three days"
    • "Optimize database every week"
    • "Remove old bundles every week"
    • "Remove old cache files every week"
  • jeanbaptiste.minejeanbaptiste.mine Posts: 2Members

    Thanks jlempen, i'll first try an update then check your idea.
    i will keep in touch.

  • alins75alins75 Posts: 2Members

    i followed your instructions, everything seems to have been installed correctly. however when i try to access 192.168.60.1:32400/web is asking for to login, it behaves as if is couldn't find any media server actually running.

    the weird thing is that i have the media server running, here's proof

    # ps ax |grep -i plex
     1389 root     {plexmediaserver} /bin/sh /usr/local/bin/plexmediaserver
     1391 root     /DataVolume/Plex Media Server/Application/Plex Media Server
     1554 root     {Plex Script Hos} Plex Plug-in [com.plexapp.system] /DataVolume/Plex Media Server/Application/Resources/Plug-ins-ba905d2/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.1.0.2611-ba905d2 /DataVolume/Plex Media Server/Application/Resources/Plug-ins-ba905d2/System.bundle
     2093 root     {Plex DLNA Serve} /DataVolume/Plex Media Server/Application/Plex DLNA Server
     8559 root     grep -i flex

    any idea what's going on here? i should be able to access the media server without login right? i have another plex server running on my freenas and i don't have to login to add media and stuff.

  • alins75alins75 Posts: 2Members

    here's another piece of the puzzle, i created a separate account for this install, just curious what would happen after login. and as suspected now is telling me that it can't find a plex server. i'm honestly stumped

  • REBELinBLUEREBELinBLUE Posts: 5Members, Plex Pass Plex Pass

    @jlempen said:

    @REBELinBLUE said:
    Awesome! Thanks. Have you thought about posting the instructions on somewhere like github so other people can create the new releases so you don't have to?

    Hey REBELinBLUE,

    Thanks for the suggestion. I could indeed do that, but then everybody could and probably would mess with the installer script file and screw it up, which would defeat the purpose of my installer packages I personally compiled and tested...

    What I can tell you is that if you wish to upgrade your installation yourself before I upload a new release, then it's actually quite simple. If you know what you're doing and have basic Linux knowledge, then you only need to download the PMS update for Seagate ARMv7, rename it from *.rbw to *.tar, decompress the file, then decompress the resulting content.tar.gz file, then decompress the resulting content.tar file, then navigate to the resulting opt subfolder, where you'll find the plexmediaserver folder which contains the PMS installation. Then make a copy of the start.sh file in the Resources subfolder of your working PMS installation on your WD MPW. Then rename the new plexmediaserver folder to Application and overwrite the old Application folder with the new one and overwrite the start.sh file in the new Resources folder with your backup of the start.sh file. Now reboot and you'll be running the latest release.

    But I'm sure it's not worth the trouble to do it manually. Just wait until I upload the latest release of my installer package which will do everything for you.

    Cheers,

    Jürg

    Fair point I haven't thought about that, thanks for the tips :)

  • lucky_strikelucky_strike Posts: 4Members, Plex Pass Plex Pass

    Hi Jürg,

    Thanks so much for your new installer. Was just about to try manually updating my install when I looked at the old thread and found out you'd created this new installer. Worked a treat on my WD My Passport install, recognised the installed Plex and updated it. All working well, wife will be a happy bunny on our upcoming holiday.

    Cheers

    Mark

  • pswygspswygs Posts: 1Members

    Newbie here. Thank you for these very detailed instructions. Will these work on a WD Passport (not wireless)? I'm getting a connection error on the web browser, and a 'command not found' error in the terminal.

  • jlempenjlempen Posts: 35Members, Plex Pass Plex Pass

    Hi all!

    I've updated my unofficial Plex Media Server installer package to PMS v1.2.3.2914.

    Cheers,

    Jürg

  • jlempenjlempen Posts: 35Members, Plex Pass Plex Pass
    edited October 2016

    Hi all!

    Just a quick note to let you know that the issue some users had with the Plex Media Server not starting when booting the WD My Passport Wireless is actually not an issue with my installer package, but seems to be an issue with some PMS revisions which would not start up correctly after an unclean shutdown. This issue seems to have been fixed now and I haven't been able to replicate it with the latest version of my installer package which contains PMS v1.2.3.2914.

    Enjoy Plex Media Server on your WD My Passport Wireless!

    Cheers,

    Jürg

  • jlempenjlempen Posts: 35Members, Plex Pass Plex Pass

    @pswygs said:
    Newbie here. Thank you for these very detailed instructions. Will these work on a WD Passport (not wireless)? I'm getting a connection error on the web browser, and a 'command not found' error in the terminal.

    Hi pswygs!

    My PMS installer package will only work with the WD My Passport Wireless, as this device contains a small Linux-powered computer which will quite happily run Plex Media Server if configured correctly.

    It will not work on a standard WD My Passport device, which is only an external USB storage device. You may however use your My Passport device to store your Plex media library files and access them through a Plex Media Server running on another computer.

    Cheers,

    Jürg

«1
Sign In or Register to comment.