# Critical: libusb\_init failed

**URL:** <https://forums.plex.tv/t/critical-libusb-init-failed/722159>\
**Category:** Plex Media Server\
**Tags:** server-linux, server-docker\
**Created:** [June 12, 2021, 4:45pm UTC](https://forums.plex.tv/t/critical-libusb-init-failed/722159 "2021-06-12T16:45:01Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![hist72van\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/h/bbce88/32.png) [@hist72van\_gmail\_com](https://forums.plex.tv/u/hist72van_gmail_com)\
**Post date:** [June 12, 2021, 4:45pm UTC](https://forums.plex.tv/t/critical-libusb-init-failed/722159/1 "2021-06-12T16:45:01Z")

</div>

Server Version#: 1.23.2.4656  
Player Version#: 4.57.4

Hi, since last week I am seeing these and not sure how to fix it. I am running Ubuntu 18.04LTS and running `plex` in docker

```auto
* today at 13:10:14 Starting Plex Media Server.
* today at 13:10:27 Critical: libusb_init failed

```

Thanks

---

<div class="post-metadata">

**Author:** ![\_jjorge](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/_jjorge/32/90859_2.png) [@\_jjorge](https://forums.plex.tv/u/_jjorge)\
**Post date:** [June 13, 2021, 3:33am UTC](https://forums.plex.tv/t/critical-libusb-init-failed/722159/2 "2021-06-13T03:33:43Z")

</div>

Same, Seen this in unraid/docker version of plex as well.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [June 13, 2021, 3:56am UTC](https://forums.plex.tv/t/critical-libusb-init-failed/722159/3 "2021-06-13T03:56:26Z")

</div>

What you’re seeing is the Plex Tuner Server attempting to initialize the USB to look for USB tuners.

If you have no USB tuners, ignore it.

If you do have USB tuners, and they’re not working, the first place to look is to make sure the host has `udev` running to set the permissions so the Plex user GID can access it. What you’re looking for is having the GID be a member of the group which owns the USB devices (if you need it – else ignore it )

---

<div class="post-metadata">

**Author:** ![hist72van\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/h/bbce88/32.png) [@hist72van\_gmail\_com](https://forums.plex.tv/u/hist72van_gmail_com)\
**Post date:** [June 13, 2021, 6:31am UTC](https://forums.plex.tv/t/critical-libusb-init-failed/722159/4 "2021-06-13T06:31:12Z")

</div>

Hi @ChuckPa thank you so much for looking into this.

I use HDHomeRun over the network without any USB. So I will ignore this message.

But I never seen this message before. Is this something can be disappear in future releases as its not relevant to my setup?

Thanks

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [June 13, 2021, 7:29am UTC](https://forums.plex.tv/t/critical-libusb-init-failed/722159/5 "2021-06-13T07:29:35Z")

</div>

There is no way to know if your host OS will address the issue.

Either way, if you use an ethernet tuner – you can ignore if.

---

<div class="post-metadata">

**Author:** ![hist72van\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/h/bbce88/32.png) [@hist72van\_gmail\_com](https://forums.plex.tv/u/hist72van_gmail_com)\
**Post date:** [June 13, 2021, 10:18am UTC](https://forums.plex.tv/t/critical-libusb-init-failed/722159/6 "2021-06-13T10:18:19Z")

</div>

Thanks @ChuckPa for clearing the confusion.

Much appreciated.

---

<div class="post-metadata">

**Author:** ![jeffporetsky\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@jeffporetsky\_gmail\_com](https://forums.plex.tv/u/jeffporetsky_gmail_com)\
**Post date:** [June 30, 2021, 12:04pm UTC](https://forums.plex.tv/t/critical-libusb-init-failed/722159/7 "2021-06-30T12:04:25Z")

</div>

Interesting. I’m seeing the same problem this morning. I do not have any tuner.

Running PlexMediaServer in Docker on UnRaid 6.9.2 I can no longer access the WebUI. It just sits and spins.

---

<div class="post-metadata">

**Author:** ![CrazyCamel](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@CrazyCamel](https://forums.plex.tv/u/CrazyCamel)\
**Post date:** [July 11, 2021, 10:51pm UTC](https://forums.plex.tv/t/critical-libusb-init-failed/722159/8 "2021-07-11T22:51:09Z")

</div>

Hello, I’m pretty new to linux and I don’t know how to use udev. Can you explain how to set the permissions with udev for the plex user please ?

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [July 11, 2021, 11:11pm UTC](https://forums.plex.tv/t/critical-libusb-init-failed/722159/9 "2021-07-11T23:11:17Z")

</div>

@CrazyCamel

If the udev package is installed, which most distros do by default,

then the package does the rest.

It either sets rules in the udev module for access to the hardware  
-or-  
Joins the group which owns the QSV video hardware (render or video)

If you do not have `/dev/dri`, then the platform is not HW capable

---

<div class="post-metadata">

**Author:** ![CrazyCamel](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@CrazyCamel](https://forums.plex.tv/u/CrazyCamel)\
**Post date:** [July 11, 2021, 11:20pm UTC](https://forums.plex.tv/t/critical-libusb-init-failed/722159/10 "2021-07-11T23:20:43Z")

</div>

Here is my docker-compose file :

```auto
version: "3"
services:
  plex:
    image: ghcr.io/linuxserver/plex:latest
    container_name: plex
    network_mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - VERSION=latest
      - PLEX_CLAIM= #optional
    volumes:
      - /mnt/drive/plex/config:/config
      - /mnt/drive/plex/Series:/tv
      - /mnt/drive/plex/Films:/movies
    restart: unless-stopped

```

I’m also in the video group and I have /dev/dri

```auto
pi@raspberrypi:/dev/dri $ id
uid=1000(pi) gid=1000(pi) groupes=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),105(input),109(netdev),117(lpadmin),995(docker),997(gpio),998(i2c),999(spi)

```

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [July 12, 2021, 1:42am UTC](https://forums.plex.tv/t/critical-libusb-init-failed/722159/11 "2021-07-12T01:42:16Z")

</div>

Raspberry Pi devices have no Plex hardware transcoding support.

The Pi is not an Intel QSV capable cpu nor does it have an Nvidia GPU

---

<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:** [October 10, 2021, 1:42am UTC](https://forums.plex.tv/t/critical-libusb-init-failed/722159/12 "2021-10-10T01:42:26Z")

</div>

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