# Plex in Docker on OMV - errors on loading

**URL:** <https://forums.plex.tv/t/plex-in-docker-on-omv-errors-on-loading/796005>\
**Category:** Plex Media Server\
**Tags:** server-linux, server-docker, openmediavault\
**Created:** [June 6, 2022, 10:28pm UTC](https://forums.plex.tv/t/plex-in-docker-on-omv-errors-on-loading/796005 "2022-06-06T22:28:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shulist](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shulist/32/278720_2.png) [@shulist](https://forums.plex.tv/u/shulist)\
**Post date:** [June 6, 2022, 10:28pm UTC](https://forums.plex.tv/t/plex-in-docker-on-omv-errors-on-loading/796005/1 "2022-06-06T22:28:31Z")

</div>

Server Version#: 4.76.1  
Player Version#:

I am using OMV 5, with Docker and installing though Portainer. I am using the default image provided within Portainer ` lscr.io/linuxserver/plex:latest`  
After the Plex Media server starts the log file has this in it

```auto
Starting Plex Media Server.
[services.d] done.
Error in command line:the argument for option '--serverUuid' should follow immediately after the equal sign
Crash Uploader options (all are required):
  --directory arg Directory to scan for crash reports
  --serverUuid arg UUID of the server that crashed
  --userId arg User that owns this product
  --platform arg Platform string
  --platformVersion arg Platform version string
  --vendor arg Vendor string
  --device arg Device string
  --model arg Device model string
  --sentryUrl arg Sentry URL to upload to
  --sentryKey arg Sentry Key for the project
  --version arg Version of the product
  --allowRetries arg Whether we will allow retries
Critical: libusb_init failed

```

It does actually run but is showing weird behavior. Allows me to add a folder to the library but finds nothing in the folder (there are about 400 movies in subfolders}.

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![adefaria](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/adefaria/32/300475_2.png) [@adefaria](https://forums.plex.tv/u/adefaria)\
**Post date:** [June 6, 2022, 11:15pm UTC](https://forums.plex.tv/t/plex-in-docker-on-omv-errors-on-loading/796005/2 "2022-06-06T23:15:43Z")

</div>

Might be helpful to provide the command line in question…

My docker run command is:

```auto
  docker run \
    -d \
    --name plex \
    --network=host \
    -e TZ="America/Los_Angeles" \
    -e LANG="en_US.UTF-8" \
    -e PLEX_UID=297536 \
    -e PLEX_GID=297536 \
    -h Jupiter \
    -v /volume1/PlexMediaServer/AppData:"/config/Library/Application Support" \
    -v /volume1/PlexMediaServer/AppData/tmp:/tmp \
    -v /volume1/PlexMediaServer/AppData/tmp:/transcode \
    -v /volume1/Media/Videos:/Videos \
    -v /volume1/Media/Pictures:/Pictures \
    -v /volume1/Media/Music:/Music \
    --device=/dev/dri:/dev/dri \
    plexinc/pms-docker:plexpass

```

This is on my Synology PMS. You might want to try to get it run as a plain docker run command before getting it run under Portainer.

---

<div class="post-metadata">

**Author:** ![shulist](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shulist/32/278720_2.png) [@shulist](https://forums.plex.tv/u/shulist)\
**Post date:** [June 7, 2022, 2:20am UTC](https://forums.plex.tv/t/plex-in-docker-on-omv-errors-on-loading/796005/3 "2022-06-07T02:20:38Z")

</div>

> [@adefaria](#):
>
> Might be helpful to provide the command line in question…

As its a preconfigured script it makes it difficult to determine where it actually comes from. I’m rather a newby with Portainer so I am not sure where to find that info.

---

<div class="post-metadata">

**Author:** ![adefaria](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/adefaria/32/300475_2.png) [@adefaria](https://forums.plex.tv/u/adefaria)\
**Post date:** [June 7, 2022, 2:38am UTC](https://forums.plex.tv/t/plex-in-docker-on-omv-errors-on-loading/796005/4 "2022-06-07T02:38:34Z")

</div>

Can you read/post this preconfigured script?

Can you try just running the docker run command I posted? Of course, you’ll need to adjust the parameters to your environment. For example, you’ll need to change your plex UID and GID. The volume mounts (-v args) will have to be adapted to your paths.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [September 5, 2022, 2:38am UTC](https://forums.plex.tv/t/plex-in-docker-on-omv-errors-on-loading/796005/5 "2022-09-05T02:38:38Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
