Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #301 from jellyfin/Artiume-troubleshooting
Browse files Browse the repository at this point in the history
Update Troubleshooting for inotify
  • Loading branch information
dkanada authored Apr 15, 2020
2 parents d5df250 + c219d11 commit bf08ab9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
26 changes: 26 additions & 0 deletions general/administration/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,29 @@ To enable debug (much more verbose) logging, it is currently required to manuall
```

Jellyfin 10.4.1 and above will automatically reload the new configuration. The debug messages show up in the log with the `DBG` tag.

## Real Time Monitoring

This will let Jellyfin automatically update libraries when files are added or modified. Unfortunately this feature is only supported on certain filesystems.

For Linux systems, this is performed by [inotify](https://en.wikipedia.org/wiki/Inotify). NFS and rclone do not support inotify, but support can be provided by using a union file system such as [mergerfs](https://github.com/trapexit/mergerfs) with your networked file systems.

Due to the library size, you can receive an error such as this:

```log
[2019-12-31 09:11:36.652 -05:00] [ERR] Error in Directory watcher for: "/media/movies" System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached.
```

If you are running Debian, RedHat, or another similar Linux distribution, run the following in a terminal:

```sh
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
```

If you are running ArchLinux, run the following command instead:

```sh
echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system
```

Then paste it in your terminal and press on enter to run it. For Docker, this needs to be done on the host, not the container. See [here](https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers) for more information.
6 changes: 0 additions & 6 deletions general/server/libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,3 @@ The three most common types of content are movies, shows, and music. These will
## Paths

You can add multiple paths that will all be shown under the same library. The path selection dialog will allow you to select folders visually, but if you can't find the exact location you can also just enter the path manually.

## Real Time Monitoring

This will let Jellyfin automatically update libraries when files are added or modified. Unfortunately this feature is only supported on certain filesystems.

For Linux systems, this is performed by [inotify](https://en.wikipedia.org/wiki/Inotify). NFS and rclone do not support inotify, but support can be provided by using a union file system such as [mergerfs](https://github.com/trapexit/mergerfs) with your networked file systems.

0 comments on commit bf08ab9

Please sign in to comment.