Not really, I think.
How can I find out?
Not really, I think.
How can I find out?
Stop the container and run the lsof command again.
Someone must have installed it on your computer
Forthe moment:
kill -9 792
docker start plex
docker logs plex
See if it starts.
or try systemctl stop ple<Hit-TAB for autocomplete> and see if it tells you something.
Forthe moment:
kill -9 792
docker start plex
docker logs plex
output:
Starting Plex Media Server.
Error: Unable to set up server: listen: Address in use (N5boost10wrapexceptINS_6system12system_errorEEE)
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 01-migrations: executing...
[migrations] started
[migrations] no migrations found
[cont-init.d] 01-migrations: exited 0.
[cont-init.d] 02-tamper-check: executing...
[cont-init.d] 02-tamper-check: exited 0.
[cont-init.d] 10-adduser: executing...
usermod: no changes
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1002
User gid: 100
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 40-chown-files: executing...
[cont-init.d] 40-chown-files: exited 0.
[cont-init.d] 45-plex-claim: executing...
[cont-init.d] 45-plex-claim: exited 0.
[cont-init.d] 50-gid-video: executing...
[cont-init.d] 50-gid-video: exited 0.
[cont-init.d] 60-plex-update: executing...
No update required
[cont-init.d] 60-plex-update: exited 0.
[cont-init.d] 90-custom-folders: executing...
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Starting Plex Media Server.
Critical: libusb_init failed
Alles anzeigen
what do you mean with this?
or try systemctl stop ple<Hit-TAB for autocomplete> and see if it tells you something.
If I press TAB, there don´t work anythink.
If I do systemctl stop plex, then I get this output:
I do not know by which method plex is installed on your system, so the systemctl command was a ry if there is a systemd unit to start stop plex.
if you reboot, the plex you killed will be running again. You will have to disable or remove the other plex, but I can not help here.
Best you ask the one who installed it.
You can try to ls /etc/systemd/system or ls /etc/systemd/user or ls /etc/init.d to see, if there is a file with plex in the name.
Now I deleted the stack and tried to reach sudo lsof -i:32400
I see nothing.
In the folders I can see
/usr/lib/plexmediaserver (with any files)
/srv/dev-disk-by-label-med/Medianas/appdata (with any files)
Should I delete these folders and files?
I do not know by which method plex is installed on your system, so the systemctl command was a try if there is a systemd unit to start stop plex.
Best you ask the one who installed it.
I was it, who installed it last year. (but I wrote it - I do it over portainer -> container
PS: another idea, I have now a switch between modem-router and NAS, is this an option for the failure? I can also not WOL since I have this switch.
If I remember correctly, I tried a manual update at the time. (sudo apt install ./) Maybe something went wrong there.
Did you run two instances of the plex container?
Given the stack here:
---
version: "2.1"
services:
plex:
image: lscr.io/linuxserver/plex
container_name: plex
network_mode: host
environment:
- PUID=1002
- PGID=100
- VERSION=latest
- UMASK=022
- TZ=EUROPE/BERLIN
- PLEX_CLAIM=claim-Hhq_KsgPxzmjS1Mh3vRX
volumes:
- /srv/dev-disk-by-label-med/Medianas/appdata/config:/config
- /srv/dev-disk-by-label-med/Medianas/appdata/transcode:/transcode
- /srv/dev-disk-by-label-med/Medianas:/tv
- /srv/dev-disk-by-label-med/Medianas:/movies
- /srv/dev-disk-by-label-med/Medianas:/music
restart: unless-stopped
Alles anzeigen
this /usr/lib/plexmediaserver is not mounted to the container and is not used by it.
This /srv/dev-disk-by-label-med/Medianas/appdata is mounted inside the container, so do not delete it.
Can you disable the plex container, reboot the system and see, is something is listening on port 32400
Then start the container to see, if it starts up.
Did you run two instances of the plex container?
No, not that I know of.
this /usr/lib/plexmediaserver is not mounted to the container and is not used by it.
This /srv/dev-disk-by-label-med/Medianas/appdata is mounted inside the container, so do not delete it.
I think both are not mounted now, because I removed now the Stack.
One of this was the first installation last year and the second (the stack) is from the last days.
I reboot the system.
I see also, that docker is installed under the NAS-Storage:
Is it right or should it installed in the server storage like OMV?
/usr/lib/plexmediaserver (with any files)
/srv/dev-disk-by-label-med/Medianas/appdata (with any files)
should I remove it manually?
I see also, that docker is installed under the NAS-Storage:
That is ok, this is where docker stores the images and containers, so you can reinstall the os withot loosing anything in docker.
Maybe you should take notes, why you did what on the system.
should I remove it manually?
If /usr/lib/plexmediaserver is really the leftover of the previous docker install, you can delete it, but from the name it sounds like a native install.
You will have to remember what you did or which tutorial you followed.
tutorial to plex install:
https://www.elefacts.de/test-1…en_unter_openmediavault_5
tutorial to plex update:
https://www.elefacts.de/test-1…er_openmediavault_updaten
tutorial to docker install:
https://www.elefacts.de/test-1…eue_nas_kopieren_mit_omv5
If /usr/lib/plexmediaserver is really the leftover of the previous docker install, you can delete it, but from the name it sounds like a native install.
I think, this is the installation with the tutorial.
Is it possible, that docker is not right installed?
Nope, this tutorial does not bind /usr/lib/plexmediaserver into the container.
Your docker is working.
After reboot, is there a plex process running on port 32400?
You can try ps or netstat
ps axuf |grep 760 (find by process id)
sudo netstat -tulpen |grep 32400 (find by port)
netstat my need to be installed sudo apt install net-tools
ok
~# ps axuf |grep 760
root 24140 0.0 0.0 6088 892 pts/0 S+ 20:13 0:00 | \_ grep 760
plex 760 0.2 0.5 2222208 83984 ? Ssl 17:39 0:19 /usr/lib/plexmediaserver/Plex Media Server
root 943 0.0 0.1 47760 20924 ? Ss 17:39 0:00 /usr/sbin/smbd --foreground --no-process-group
root@omnas:~# sudo netstat -tulpen |grep 32400
tcp6 0 0 :::32400 :::* LISTEN 997 22845 760/Plex Media Serv
This is the program running.
if you google for a plex native install I find this: https://www.linuxbabe.com/debi…a-server-debian-10-buster
Post the output of these:
dpkg -l | grep plex
systemctl status plexmediaserver
ls /etc/apt/sources.list.d
it looks like the software-version, which plex show in the browser
dpkg -l | grep plex
ii libgraphite2-3:amd64 1.3.13-7 amd64 Font rendering engine for Complex Scripts -- library
ii plexmediaserver 1.21.4.4054-bab510e86 amd64 Plex organizes all of your personal media so you can easily access and enjoy it.
systemctl status plexmediaserver
● plexmediaserver.service - Plex Media Server
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2022-04-06 17:39:50 CEST; 3h 9min ago
Process: 752 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR
Main PID: 760 (Plex Media Serv)
Tasks: 42 (limit: 4915)
Memory: 171.3M
CGroup: /system.slice/plexmediaserver.service
├─ 760 /usr/lib/plexmediaserver/Plex Media Server
├─ 966 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-bab5
└─1241 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tun
Apr 06 17:39:50 omnas systemd[1]: Starting Plex Media Server...
Apr 06 17:39:50 omnas systemd[1]: Started Plex Media Server.
lines 1-14/14 (END)...skipping...
● plexmediaserver.service - Plex Media Server
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2022-04-06 17:39:50 CEST; 3h 9min ago
Process: 752 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=0/SUCCESS)
Main PID: 760 (Plex Media Serv)
Tasks: 42 (limit: 4915)
Memory: 171.3M
CGroup: /system.slice/plexmediaserver.service
├─ 760 /usr/lib/plexmediaserver/Plex Media Server
├─ 966 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-bab510e86/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.21.4.4054-bab510e86
└─1241 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.21.4.4054-bab510e86 32600
Apr 06 17:39:50 omnas systemd[1]: Starting Plex Media Server...
Apr 06 17:39:50 omnas systemd[1]: Started Plex Media Server.
Alles anzeigen
yes, just purge it and
rm /etc/apt.sources.list.d/plexmediaserver.list to remove the repo from your computer.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!