Moderator Control Panel ]

Plex on MatrixTV

Re: Plex on MatrixTV

Postby vpeter » Sun Oct 19, 2014 2:52 pm

Give me output when running this instead of start.sh
Code: Select All Code
pwd
ls -al
SCRIPTPATH=/root/plex/Application
export LD_LIBRARY_PATH="${SCRIPTPATH}"
export PLEX_MEDIA_SERVER_HOME="${SCRIPTPATH}"
export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
export LC_ALL="en_US.UTF-8"
export LANG="en_US.UTF-8"
ulimit -s 3000
./Plex\ Media\ Server
"./Plex Media Server"
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia

Re: Plex on MatrixTV

Postby Kohai » Sun Oct 19, 2014 5:10 pm

sorry for all the questions...

shall I copy this in the consol or in the start.sh file?

I did copy it to the consol and received:

-sh: ./Plex Media Server: No such file or directory
Kohai
 
Posts: 14
Joined: Sat Oct 04, 2014 5:35 am

Re: Plex on MatrixTV

Postby vpeter » Sun Oct 19, 2014 5:35 pm

And what did all other commands do? Just copy/paste in ssh console and copy output.
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia

Re: Plex on MatrixTV

Postby Kohai » Sun Oct 19, 2014 11:34 pm

output if I copy this to the ssh in root directory:

[root@matrixtv ~]# pwd
/root
[root@matrixtv ~]# ls -al
total 28
drwxr-xr-x 5 root root 4096 Oct 19 11:55 .
drwxr-xr-x 21 root root 4096 Oct 19 13:51 ..
-rw------- 1 root root 780 Oct 19 13:45 .bash_history
drwxr-xr-x 2 root root 4096 Oct 19 11:55 .smb
drwxr-xr-x 8 root root 4096 Jan 1 1970 .xbmc
-rw-r--r-- 1 root root 22 Oct 19 13:46 log
drwxrwxr-x 5 root root 4096 Oct 19 13:43 plex
[root@matrixtv ~]# SCRIPTPATH=/root/plex/Application
[root@matrixtv ~]# export LD_LIBRARY_PATH="${SCRIPTPATH}"
[root@matrixtv ~]# export PLEX_MEDIA_SERVER_HOME="${SCRIPTPATH}"
[root@matrixtv ~]# export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
[root@matrixtv ~]# export LC_ALL="en_US.UTF-8"
[root@matrixtv ~]# export LANG="en_US.UTF-8"
[root@matrixtv ~]# ulimit -s 3000
[root@matrixtv ~]# ./Plex\ Media\ Server
-sh: ./Plex Media Server: No such file or directory
[root@matrixtv ~]# "./Plex Media Server"


If I copy this in the /plex/Application directory:

pwd
/root/plex/Application
[root@matrixtv ~/plex/Application]# ls -al
total 71468
drwxrwxr-x 3 root root 4096 Oct 19 13:43 .
drwxrwxr-x 5 root root 4096 Oct 19 13:43 ..
-rwxr-xr-x 1 root root 2620072 Oct 15 12:21 Plex DLNA Server
-rwxr-xr-x 1 root root 2184012 Oct 15 12:21 Plex Media Scanner
-rwxr-xr-x 1 root root 5686292 Oct 15 12:21 Plex Media Server
drwxr-xr-x 8 root root 4096 Oct 19 13:43 Resources
lrwxrwxrwx 1 root root 23 Oct 19 13:43 libavcodec.so -> libavcodec.so.55.68.100
lrwxrwxrwx 1 root root 23 Oct 19 13:43 libavcodec.so.55 -> libavcodec.so.55.68.100
-rwxr-xr-x 1 root root 7758248 Oct 15 12:21 libavcodec.so.55.68.100
lrwxrwxrwx 1 root root 24 Oct 19 13:43 libavformat.so -> libavformat.so.55.44.100
lrwxrwxrwx 1 root root 24 Oct 19 13:43 libavformat.so.55 -> libavformat.so.55.44.100
-rwxr-xr-x 1 root root 1475636 Oct 15 12:21 libavformat.so.55.44.100
lrwxrwxrwx 1 root root 22 Oct 19 13:43 libavutil.so -> libavutil.so.52.90.101
lrwxrwxrwx 1 root root 22 Oct 19 13:43 libavutil.so.52 -> libavutil.so.52.90.101
-rwxr-xr-x 1 root root 283548 Oct 15 12:21 libavutil.so.52.90.101
lrwxrwxrwx 1 root root 25 Oct 19 13:43 libboost_chrono.so -> libboost_chrono.so.1.56.0
-rwxr-xr-x 1 root root 820262 Oct 15 12:21 libboost_chrono.so.1.56.0
lrwxrwxrwx 1 root root 29 Oct 19 13:43 libboost_filesystem.so -> libboost_filesystem.so.1.56.0
-rwxr-xr-x 1 root root 609384 Oct 15 12:21 libboost_filesystem.so.1.56.0
lrwxrwxrwx 1 root root 28 Oct 19 13:43 libboost_iostreams.so -> libboost_iostreams.so.1.56.0
-rwxr-xr-x 1 root root 518786 Oct 15 12:21 libboost_iostreams.so.1.56.0
lrwxrwxrwx 1 root root 25 Oct 19 13:43 libboost_locale.so -> libboost_locale.so.1.56.0
-rwxr-xr-x 1 root root 1475908 Oct 15 12:21 libboost_locale.so.1.56.0
lrwxrwxrwx 1 root root 34 Oct 19 13:43 libboost_program_options.so -> libboost_program_options.so.1.56.0
-rwxr-xr-x 1 root root 1532021 Oct 15 12:21 libboost_program_options.so.1.56.0
lrwxrwxrwx 1 root root 24 Oct 19 13:43 libboost_regex.so -> libboost_regex.so.1.56.0
-rwxr-xr-x 1 root root 1808307 Oct 15 12:21 libboost_regex.so.1.56.0
lrwxrwxrwx 1 root root 26 Oct 19 13:43 libboost_signals.so -> libboost_signals.so.1.56.0
-rwxr-xr-x 1 root root 287508 Oct 15 12:21 libboost_signals.so.1.56.0
lrwxrwxrwx 1 root root 25 Oct 19 13:43 libboost_system.so -> libboost_system.so.1.56.0
-rwxr-xr-x 1 root root 188502 Oct 15 12:21 libboost_system.so.1.56.0
lrwxrwxrwx 1 root root 25 Oct 19 13:43 libboost_thread.so -> libboost_thread.so.1.56.0
-rwxr-xr-x 1 root root 933566 Oct 15 12:21 libboost_thread.so.1.56.0
lrwxrwxrwx 1 root root 18 Oct 19 13:43 libcrypto.so -> libcrypto.so.1.0.0
-rwxr-xr-x 1 root root 1757406 Oct 15 12:21 libcrypto.so.1.0.0
lrwxrwxrwx 1 root root 16 Oct 19 13:43 libcurl.so -> libcurl.so.4.3.0
lrwxrwxrwx 1 root root 16 Oct 19 13:43 libcurl.so.4 -> libcurl.so.4.3.0
-rwxr-xr-x 1 root root 364500 Oct 15 12:21 libcurl.so.4.3.0
lrwxrwxrwx 1 root root 18 Oct 19 13:43 libexslt.so -> libexslt.so.0.8.15
lrwxrwxrwx 1 root root 18 Oct 19 13:43 libexslt.so.0 -> libexslt.so.0.8.15
-rwxr-xr-x 1 root root 112730 Oct 15 12:21 libexslt.so.0.8.15
-rwxr-xr-x 1 root root 7084665 Oct 15 12:21 libfreeimage.so
lrwxrwxrwx 1 root root 17 Oct 19 13:43 libiconv.so -> libiconv.so.2.5.0
lrwxrwxrwx 1 root root 17 Oct 19 13:43 libiconv.so.2 -> libiconv.so.2.5.0
-rwxr-xr-x 1 root root 1024804 Oct 15 12:21 libiconv.so.2.5.0
lrwxrwxrwx 1 root root 16 Oct 19 13:43 libidn.so -> libidn.so.11.6.6
lrwxrwxrwx 1 root root 16 Oct 19 13:43 libidn.so.11 -> libidn.so.11.6.6
-rwxr-xr-x 1 root root 226600 Oct 15 12:21 libidn.so.11.6.6
lrwxrwxrwx 1 root root 17 Oct 19 13:43 libmediainfo.so -> libmediainfo.so.0
-rwxr-xr-x 1 root root 11651860 Oct 15 12:21 libmediainfo.so.0
lrwxrwxrwx 1 root root 18 Oct 19 13:43 libminiupnpc.so -> libminiupnpc.so.10
-rwxr-xr-x 1 root root 46468 Oct 15 12:21 libminiupnpc.so.10
lrwxrwxrwx 1 root root 14 Oct 19 13:43 libnatpmp.so -> libnatpmp.so.1
-rwxr-xr-x 1 root root 11617 Oct 15 12:21 libnatpmp.so.1
lrwxrwxrwx 1 root root 21 Oct 19 13:43 libopencv_core.so -> libopencv_core.so.2.4
lrwxrwxrwx 1 root root 23 Oct 19 13:43 libopencv_core.so.2.4 -> libopencv_core.so.2.4.9
-rwxr-xr-x 1 root root 3243913 Oct 15 12:21 libopencv_core.so.2.4.9
lrwxrwxrwx 1 root root 24 Oct 19 13:43 libopencv_imgproc.so -> libopencv_imgproc.so.2.4
lrwxrwxrwx 1 root root 26 Oct 19 13:43 libopencv_imgproc.so.2.4 -> libopencv_imgproc.so.2.4.9
-rwxr-xr-x 1 root root 2030425 Oct 15 12:21 libopencv_imgproc.so.2.4.9
lrwxrwxrwx 1 root root 19 Oct 19 13:43 libpython2.7.so -> libpython2.7.so.1.0
-rwxr-xr-x 1 root root 5884472 Oct 15 12:21 libpython2.7.so.1.0
lrwxrwxrwx 1 root root 29 Oct 19 13:43 libsoci_core-gcc-3_0.so -> libsoci_core-gcc-3_0.so.3.0.0
-rwxr-xr-x 1 root root 2224821 Oct 15 12:21 libsoci_core-gcc-3_0.so.3.0.0
lrwxrwxrwx 1 root root 32 Oct 19 13:43 libsoci_sqlite3-gcc-3_0.so -> libsoci_sqlite3-gcc-3_0.so.3.0.0
-rwxr-xr-x 1 root root 283744 Oct 15 12:21 libsoci_sqlite3-gcc-3_0.so.3.0.0
lrwxrwxrwx 1 root root 19 Oct 19 13:43 libsqlite3.so -> libsqlite3.so.0.8.6
lrwxrwxrwx 1 root root 19 Oct 19 13:43 libsqlite3.so.0 -> libsqlite3.so.0.8.6
-rwxr-xr-x 1 root root 1053321 Oct 15 12:21 libsqlite3.so.0.8.6
lrwxrwxrwx 1 root root 15 Oct 19 13:43 libssl.so -> libssl.so.1.0.0
-rwxr-xr-x 1 root root 389487 Oct 15 12:21 libssl.so.1.0.0
lrwxrwxrwx 1 root root 21 Oct 19 13:43 libswscale.so -> libswscale.so.2.6.100
lrwxrwxrwx 1 root root 21 Oct 19 13:43 libswscale.so.2 -> libswscale.so.2.6.100
-rwxr-xr-x 1 root root 295116 Oct 15 12:21 libswscale.so.2.6.100
lrwxrwxrwx 1 root root 17 Oct 19 13:43 libvo-aacenc.so -> libvo-aacenc.so.0
-rwxr-xr-x 1 root root 193751 Oct 15 12:21 libvo-aacenc.so.0
lrwxrwxrwx 1 root root 16 Oct 19 13:43 libxml2.so -> libxml2.so.2.7.8
lrwxrwxrwx 1 root root 16 Oct 19 13:43 libxml2.so.2 -> libxml2.so.2.7.8
-rwxr-xr-x 1 root root 1866548 Oct 15 12:21 libxml2.so.2.7.8
lrwxrwxrwx 1 root root 17 Oct 19 13:43 libxslt.so -> libxslt.so.1.1.26
lrwxrwxrwx 1 root root 17 Oct 19 13:43 libxslt.so.1 -> libxslt.so.1.1.26
-rwxr-xr-x 1 root root 351784 Oct 15 12:21 libxslt.so.1.1.26
lrwxrwxrwx 1 root root 13 Oct 19 13:43 libz.so -> libz.so.1.2.7
lrwxrwxrwx 1 root root 13 Oct 19 13:43 libz.so.1 -> libz.so.1.2.7
-rwxr-xr-x 1 root root 147217 Oct 15 12:21 libz.so.1.2.7
lrwxrwxrwx 1 root root 11 Oct 19 13:43 libzen.so -> libzen.so.0
-rwxr-xr-x 1 root root 4457640 Oct 15 12:21 libzen.so.0
-rwxr-xr-x 1 root root 377 Oct 15 12:21 start.sh
[root@matrixtv ~/plex/Application]# SCRIPTPATH=/root/plex/Application
[root@matrixtv ~/plex/Application]# export LD_LIBRARY_PATH="${SCRIPTPATH}"
[root@matrixtv ~/plex/Application]# export PLEX_MEDIA_SERVER_HOME="${SCRIPTPATH}"
[root@matrixtv ~/plex/Application]# export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
[root@matrixtv ~/plex/Application]# export LC_ALL="en_US.UTF-8"
[root@matrixtv ~/plex/Application]# export LANG="en_US.UTF-8"
[root@matrixtv ~/plex/Application]# ulimit -s 3000
[root@matrixtv ~/plex/Application]# ./Plex\ Media\ Server
-sh: ./Plex Media Server: No such file or directory
[root@matrixtv ~/plex/Application]# "./Plex Media Server"
-sh: ./Plex Media Server: No such file or directory
Kohai
 
Posts: 14
Joined: Sat Oct 04, 2014 5:35 am

Re: Plex on MatrixTV

Postby franky384 » Mon Oct 20, 2014 1:49 am

Try this:
cd /storage/plex/Application
./start.sh

or
cd ~/plex/Application
./start.sh

I don't know in which directory you unpacked the Server, normally it should be in /storage/plex/Aplication.
franky384
 
Posts: 59
Joined: Sat Aug 30, 2014 3:40 am

Re: Plex on MatrixTV

Postby vpeter » Mon Oct 20, 2014 2:38 am

franky384 Wrote:I don't know in which directory you unpacked the Server
It's /root/plex/Application. But as you can see it just doesn't find Plex Media Server. I have no idea why not. I tested on OpenELEC and there it works. Why doesn't work on MatrixTV...

Code: Select All Code
-sh: ./Plex Media Server: No such file or directory
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia

Re: Plex on MatrixTV

Postby franky384 » Mon Oct 20, 2014 3:55 am

vpeter Wrote:I tested on OpenELEC and there it works.

Do you mean the Plexmediaserver is working on Openelec ? On your new builds ?

when i tried to start with ./Plex Media Server i have the same issue, ./start.sh is working, but i get errors and the Server doesn't start on the openelec build from 14.09.


@ Kohai:
I think there is something wrong with your install, delete the Plex Directory and start over. Maybe it works if you don't install in /root. Try /opt.
I can't test it myself cause i try to install Debian on my box, so Openelec is deleted now.

Try this way:

cd /tmp
mkdir plex
cd plex
wget http://downloads.plexapp.com/plex-media ... 2/plex.tgz
tar -zxvf plex.tgz
mkdir -p /opt/plex/
mv Application/ /opt/plex
cd /opt/plex/Application
./start.sh
franky384
 
Posts: 59
Joined: Sat Aug 30, 2014 3:40 am

Re: Plex on MatrixTV

Postby Kohai » Tue Oct 21, 2014 1:01 am

Hi Guys

Thank you very much for the feedback! I will test the suggestions and let you all know :D

I added the download manually into the plex folder because the ssh download wasn't working. However, stil this message:

[root@matrixtv /opt/plex/Application]# ./start.sh
./start.sh: line 3: readlink: command not found
BusyBox v1.22.0 (2014-07-17 09:12:29 CST) multi-call binary.

Usage: dirname FILENAME

Strip non-directory suffix from FILENAME

./start.sh: line 11: ./Plex Media Server: No such file or directory


I changed

SCRIPT=$(readlink -f $0)

to

SCRIPT=/opt/plex/Application

isn't working neither
Kohai
 
Posts: 14
Joined: Sat Oct 04, 2014 5:35 am

Re: Plex on MatrixTV

Postby vpeter » Tue Oct 21, 2014 1:44 am

franky384 Wrote:Do you mean the Plexmediaserver is working on Openelec ? On your new builds ?
Actually it doesn't start. But at least it tries. I got
./Plex Media Server: error while loading shared libraries: /storage/plex/Application/libxml2.so.2: internal error


My install procedure (install path doesn't matter):
Code: Select All Code
cd /storage
mkdir plex
cd plex
wget http://downloads.plexapp.com/plex-media-server/0.9.11.1.678-c48ffd2/plex.tgz
tar -zxvf plex.tgz
cd Application
cp start.sh start.sh_orig
sed -i 's|^SCRIPTPATH=.*|SCRIPTPATH=/storage/plex/Application|' start.sh
./start.sh
Last edited by vpeter on Tue Oct 21, 2014 2:09 am, edited 2 times in total.
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia

Re: Plex on MatrixTV

Postby Kohai » Tue Oct 21, 2014 1:53 am

I tried it with your install procedure as well. Still the same:

./start.sh: line 11: ./Plex Media Server: No such file or directory

I guess it's just not working or could it be, that there is something wrong in the coding of the start.sh file?
Kohai
 
Posts: 14
Joined: Sat Oct 04, 2014 5:35 am

PreviousNext

Return to Development

Who is online

Users browsing this forum: No registered users and 2 guests