Plex on Pogoplug

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: Plex on Pogoplug

Postby moonman » Tue Aug 20, 2013 5:30 am

Run plex on your desktop and see if the same behavior persists. I have E3200 running tomato and I had no problems running it (well for whole 10 min that I used it :)
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Plex on Pogoplug

Postby grayman4hire » Tue Aug 20, 2013 11:33 pm

$this->bbcode_second_pass_quote('kingfish600', 'G')uys there may be a problem with this build. My router (Cisco e2000 running stock) will not allow WiFi connections to be established but Ethernet is working while running samba,pogoplug, and Plex. A second person from the slickdeals forum on the pogoplug is having similar problems with his while running Plex and Samba. We both had to unplug our pogoplugs to get the network back up.

If there is anything you want me to try on it I'll be glad to give feedback.

Thanks for making the build.


Not sure if this a Plex specific issue.

The other night I experienced something similar. For some strange reason I lost network connection. I don't recall specifics, but my laptop connected via wireless and my wife's iPAD stopped working. It was late and time for bed, and I thought it was just my ISP, router or dsl modem. I manually unplugged my router and dsl modem and went to bed. The next morning, my laptop still couldn't connect so I unplugged my pogoplug and BAM, my internet/network started working again. Plugged the network cable back into my Pogoplug and lost network connection again.

So you're not crazy and it doesn't sound like this is a isolated incident.

I haven't messed with my Pogoplug since then, so I'm not sure if the issue is reproducible or still happening. I'll double check tonight. Probably need to do some wiresharking to figure this out.

[Edit] - Wait a minute, I thought I wasn't able to reproduce the issue, but I was wrong. Definitely something strange going on with the network when the Pogoplug is connected. Not consistent though.
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: Plex on Pogoplug

Postby grayman4hire » Wed Aug 21, 2013 4:24 pm

I did some troubleshooting last night.

Looks like the problem is related to the Plex DNLA Server flooding the network with some UDP packets (not sure why/what). Wired clients are able to plow through, but the packets are too much for wireless clients.

I'll post this issue on the Plex forum later today to see if the developers knows what's causing it. For now disable the Plex DNLA server.

Image
Image
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: Plex on Pogoplug

Postby grayman4hire » Fri Aug 23, 2013 11:19 pm

From the Plex developer, the network flooding is caused by the time changing after Plex has started up. Since the Pogoplug doesn't have a hardware clock and it takes a couple of minutes for NTPD to sync time, my solution is to force a time update before starting the Plex Media Server service.

#force time update prior to starting plex
#all one line
sed -i '/ExecStart/ i\ExecStartPre=/usr/bin/ntpdate -u time.nist.gov' /usr/lib/systemd/system/plexmediaserver.service
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: Plex on Pogoplug

Postby moonman » Sat Aug 24, 2013 12:18 am

You could just After=ntpd.service or After=openntpd.service whatever you use.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Plex on Pogoplug

Postby grayman4hire » Sat Aug 24, 2013 12:45 am

$this->bbcode_second_pass_quote('moonman', 'Y')ou could just After=ntpd.service or After=openntpd.service whatever you use.


That won't work. The ntpd service takes two or three minutes after it is started to sync the time.
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: Plex on Pogoplug

Postby moonman » Sat Aug 24, 2013 1:36 am

Alright. I can add your fix to the service file in the repo then. My only concern is whether openntpd and ntpd use the same command to update time. I'll look into this when I get home. Thanks for researching the cause of the problem
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Plex on Pogoplug

Postby grayman4hire » Sat Aug 24, 2013 1:45 am

$this->bbcode_second_pass_quote('moonman', 'A')lright. I can add your fix to the service file in the repo then. My only concern is whether openntpd and ntpd use the same command to update time. I'll look into this when I get home. Thanks for researching the cause of the problem


I don't think you should add the command to the service file (I believe its different between ntpd/openntpd).

How about a note regarding the issue after installing the package?

@kmihelich posted another great solution - update the time via netctl right after the network is started.
viewtopic.php?f=31&t=6037#p34101
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA
Top

Re: Plex on Pogoplug

Postby moonman » Sat Aug 24, 2013 5:19 am

I saw that, it is actually in archwiki https://wiki.archlinux.org/index.php/Ne ... mon#Netctl
It may be quicker if you setup the proper server for your country/region instead of using the default.

For U.S.:
http://www.pool.ntp.org/zone/us

I had it setup on GoFlex which does have RTC so no problems here.

I won't add anything to the service file, this should be done for netctl profile, not plex. Plex is only up after network.target is up.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Plex on Pogoplug

Postby cownamedpuppy » Tue Aug 27, 2013 7:33 am

I able to get plexmedia server up and running but it is not showing any agents and I can not add any media to it.
Logs show-
Aug 27, 2013 00:31:06 [0xb2056460] ERROR - Error reading from plug-in [com.plexapp.system], we're killing it (got: '').
Aug 27, 2013 00:31:06 [0xb2056460] DEBUG - Stopping [com.plexapp.system].
Aug 27, 2013 00:31:06 [0xb2056460] DEBUG - [com.plexapp.system] Killing.
Aug 27, 2013 00:31:06 [0xb2056460] ERROR - Error received reading configuration for com.plexapp.system
Aug 27, 2013 00:31:06 [0xb2056460] DEBUG - Stopping [com.plexapp.system].
Aug 27, 2013 00:31:06 [0xb2056460] DEBUG - System bundle was restarted, we need to notify other plug-ins
Aug 27, 2013 00:31:06 [0xb2056460] DEBUG - The system knows about 0 agents.
Aug 27, 2013 00:31:06 [0xb2344460] DEBUG - Starting file watcher for com.plexapp.system
Aug 27, 2013 00:31:06 [0xb2344460] DEBUG - Spawned plug-in com.plexapp.system with PID 941
Aug 27, 2013 00:31:06 [0xb2344460] DEBUG - [com.plexapp.system] Sent command: GET /:/prefixes
Aug 27, 2013 00:31:07 [0xb2344460] ERROR - Error reading from plug-in [com.plexapp.system], we're killing it (got: '').
Aug 27, 2013 00:31:07 [0xb2344460] DEBUG - Stopping [com.plexapp.system].
Aug 27, 2013 00:31:07 [0xb2344460] DEBUG - [com.plexapp.system] Killing.
Aug 27, 2013 00:31:07 [0xb2344460] ERROR - Error received reading configuration for com.plexapp.system
Aug 27, 2013 00:31:07 [0xb2344460] DEBUG - Stopping [com.plexapp.system].
Aug 27, 2013 00:31:07 [0xb2344460] DEBUG - System bundle was restarted, we need to notify other plug-ins
Aug 27, 2013 00:31:07 [0xb2344460] DEBUG - The system knows about 0 agents.

Any clues to what I could be doing wrong?
These logs are from E02 though I was getting the exact same error with an oxnas device (P22) too.
cownamedpuppy
 
Posts: 5
Joined: Sun Aug 25, 2013 9:24 pm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 1 guest