Jellyfin Forum
No files will play on clients. - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: No files will play on clients. (/t-no-files-will-play-on-clients)

Pages: 1 2 3 4


RE: No files will play on clients. - damnsignin - 2024-03-08

I added the permissions to the folders for devmon and the user account, but now Jellyfin cannot see any of the subfolders.

I think my biggest issue right now is using CasaOS. The only docker it has listed for me to access is Portainer, and that only gives me basic features. I can't add Filezilla either, which means I can't use GUI to add permissions. I may have to start from scratch all the way down to reformatting the SD card and redoing everything with a different guide. ;_;


RE: No files will play on clients. - 34626 - 2024-03-08

I would recommend you to use Raspberry PI OS Lite - It's a console based version that uses less ressources then a GUI based OS. If interested, then i would also be able to help you forward, but Raspberry Pi has many limitations compared to bigger setups like Intel NUCs and desktops - I also started with Raspberry Pi, but back then there was a good hardware acceleration driver, but as far as i know, it's not there anymore. (I have Jellyfin 10.9 unstable running on my Raspberry pi just for testing)


RE: No files will play on clients. - damnsignin - 2024-03-09

I looked at a NUC, but I'm mainly concerned about power usage. My electric bills are already too high and doubled during the winter. I chose to use a Pi 5 to guarantee a hard cap with the 27w power supply and the three drives.

I'll swap out the SD card on Sunday (roughly 36 hours from now, my time) and set up Pi OS lite on it and come back here then.

Thank you for helping me with this. I've been struggling to figure this out in my free time for about a month now.


RE: No files will play on clients. - 34626 - 2024-03-09

You're welcome Smiling-face - Hosting a service like this requires some knowledge, and you should especially know what to backup for when the system goes down - Some day it will, we just dont know why yet.


RE: No files will play on clients. - damnsignin - 2024-03-10

Sorry for the delay. stupid DST nonsense messed up my sleep.

I set up a fresh boot card with Pi OS lite 64-bit and I used the video guide I posted at the beginning to redo everything, but I skipped all the CasaOS stuff and just set up the mounting data again, using the previous partition label data to mount the drives to fstab. These are the steps I followed (mostly) to get to where I am now.

Code:
#config.txt
[all]
arm_freq=2800
gpu_freq=700
over_voltage=3

SSH
sudo su - to Become a Root User
sudo nano /etc/ssh/sshd_config
ClientAliveInterval 1000000
ClientAliveCountMax 3
sudo systemctl reload ssh
sudo apt update && sudo apt upgrade
sudo -s
fdisk -l
lsblk
blkid
nano /etc/fstab

#fstab edits
LABEL="NAS_A" /DATA/Media/NAS_A ext4 defaults, rw, nofail 0 0
LABEL="NAS_B" /DATA/Media/NAS_B ext4 defaults, rw, nofail 0 0
LABEL="NAS_C" /DATA/Media/NAS_C ext4 defaults, rw, nofail 0 0

mkdir /DATA/
mkdir /DATA/Media/
mkdir /DATA/Media/NAS_A
chmod 777 /DATA/Media/NAS_A
mount LABEL="NAS_A" /DATA/Media/NAS_A
mkdir /DATA/Media/NAS_B
chmod 777 /DATA/Media/NAS_B
mount LABEL="NAS_B" /DATA/Media/NAS_B
mkdir /DATA/Media/NAS_C
chmod 777 /DATA/Media/NAS_C
mount LABEL="NAS_C" /DATA/Media/NAS_C

cd /DATA/Media/NAS_A
sudo chmod -R 777 *
cd /DATA/Media/NAS_B
sudo chmod -R 777 *
cd /DATA/Media/NAS_C
sudo chmod -R 777 *

cd

I think I have all the basics set up, without anything GUI-based added, like CasaOS or Jellyfin.

Edit: Forgot, I also added the RTC battery code to config.txt if that matters (doubt it?) dtparam=rtc_bbat_vchg=3000000


RE: No files will play on clients. - 34626 - 2024-03-10

Okay, then to install and use Jellyfin in a docker:

mkdir docker/jellyfin
cd docker/jellyfin/
mkdir config cache
sudo apt install docker-compose
sudo docker pull jellyfin/jellyfin

Then run the following command and type whats below in. Please edit "username" to what the username of your system is, and please notice that the media path ends with :ro so Jellyfin only has permission to read the media, this means that if you allow users of Jellyfin to delete data, they wont be able to. (Just an example)

nano docker-compose.yml and add:

services:
  jellyfin:
    image: jellyfin/jellyfin:latest
    container_name: jellyfin
    user: 1000:1000
    network_mode: 'bridge'
    devices:
    - /dev/dri:/dev/dri
    ports:
    - 8096:8096
    volumes:
    -  /home/username/docker/jellyfin/config:/config
    -  /home/username/docker/jellyfin/cache:/cache
    -  /home/username/docker/jellyfin/JMS:/JMS:ro
    restart: 'unless-stopped'

To start the container in background (Means you can quit the ssh connection without killing the container, if you dont add -d it will run in foreground and block anything else untill you press ctrl + c
:
sudo docker-compose up -d

To stop it:
sudo docker-compose stop

If you need to restart it, then use the stop an the up -d commands as mentioned above.

Please let me know when it's up and running. A benefit of using docker, is you can easily backup your Jellyfin data (users, settings etc.)


RE: No files will play on clients. - damnsignin - 2024-03-11

I followed the instructions and everything looks like it ran correctly. I'm not sure how to open the GUI from here.


RE: No files will play on clients. - damnsignin - 2024-03-13

I rechecked all the code, but I cannot seem to access the UI for Docker or Jellyfin from my browser.


RE: No files will play on clients. - TheDreadPirate - 2024-03-13

Try changing the network mode to host. Make sure port 8096 is open on the host firewall after you do that.


RE: No files will play on clients. - damnsignin - 2024-03-13

Doing that caused this:

ERROR: for jellyfin "host" network_mode is incompatible with port_bindings

ERROR: for jellyfin "host" network_mode is incompatible with port_bindings
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 33, in <module>
sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 81, in main
command_func()
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 203, in perform_command
handler(command, command_options)
File "/usr/lib/python3/dist-packages/compose/metrics/decorator.py", line 18, in wrapper
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1186, in up
to_attach = up(False)
^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1166, in up
return self.project.up(
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/project.py", line 697, in up
results, errors = parallel.parallel_execute(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/parallel.py", line 108, in parallel_execute
raise error_to_reraise
File "/usr/lib/python3/dist-packages/compose/parallel.py", line 206, in producer
result = func(obj)
^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/project.py", line 679, in do
return service.execute_convergence_plan(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/service.py", line 559, in execute_convergence_plan
return self._execute_convergence_create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/service.py", line 473, in _execute_convergence_create
containers, errors = parallel_execute(
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/parallel.py", line 108, in parallel_execute
raise error_to_reraise
File "/usr/lib/python3/dist-packages/compose/parallel.py", line 206, in producer
result = func(obj)
^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/service.py", line 478, in <lambda>
lambda service_name: create_and_start(self, service_name.number),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/service.py", line 457, in create_and_start
container = service.create_container(number=n, quiet=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/service.py", line 330, in create_container
container_options = self._get_container_create_options(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/service.py", line 939, in _get_container_create_options
container_options['host_config'] = self._get_container_host_config(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/compose/service.py", line 1014, in _get_container_host_config
return self.client.create_host_config(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/docker/api/container.py", line 596, in create_host_config
return HostConfig(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/docker/types/containers.py", line 336, in __init__
raise host_config_incompatible_error(
docker.errors.InvalidArgument: "host" network_mode is incompatible with port_bindings


I think I'm going to cry ;_;