[Jellyfin] Media streaming server

hi!

thanks for the update, i tried it, but it did not work - this was the output:

args:
  app: jellyfin
  args: domain=flix.domain2.tld&path=%2F&admin=sfb&is_public=1
  force: false
  label: Jellyfin
  no_remove_on_failure: false
ended_at: 2021-05-16 22:29:54.915337
env:
  YNH_APP_ARG_ADMIN: sfb
  YNH_APP_ARG_DOMAIN: flix.domain2.tld
  YNH_APP_ARG_IS_PUBLIC: 1
  YNH_APP_ARG_PATH: /
  YNH_APP_ID: jellyfin
  YNH_APP_INSTANCE_NAME: jellyfin
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 10.7.5~ynh1
error: Im Installationsscript ist ein Fehler aufgetreten
interface: api
operation: app_install
parent: null
related_to:
- - app
  - jellyfin
started_at: 2021-05-16 22:29:49.886913
success: false
yunohost_version: 4.1.7.4

============

2021-05-17 00:29:49,911: INFO - jellyfin wird installiert...
2021-05-17 00:29:50,629: DEBUG - Permission 'jellyfin.main' updated
2021-05-17 00:29:51,167: DEBUG - VollstÀndiges Log dieser Operation: '<a href="#/tools/logs/20210516-222950-permission_url-jellyfin" style="text-decoration:underline">Update url related to permission 'jellyfin'</a>'
2021-05-17 00:29:52,282: DEBUG - The permission database has been resynchronized
2021-05-17 00:29:52,983: DEBUG - Die Konfiguration von SSOwat erstellt
2021-05-17 00:29:53,570: DEBUG - Executing command 'sh -c YNH_INTERFACE=api YNH_CWD=/etc/yunohost/hooks.d/post_app_addaccess YNH_STDINFO=/tmp/tmptpQDoR/stdinfo YNH_STDRETURN=/tmp/tmpO4aB8s/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./50-freshrss" jellyfin minki,sfb main all_users 7>&1'
2021-05-17 00:29:53,608: DEBUG - + app=jellyfin
2021-05-17 00:29:53,610: DEBUG - + new_users=minki,sfb
2021-05-17 00:29:53,611: DEBUG - + app_path=/var/www/jellyfin
2021-05-17 00:29:53,611: DEBUG - + . /usr/share/yunohost/helpers
2021-05-17 00:29:53,612: DEBUG - +++ set +o
2021-05-17 00:29:53,612: DEBUG - +++ grep xtrace
2021-05-17 00:29:53,613: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-05-17 00:29:53,613: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-05-17 00:29:53,715: DEBUG - + [[ freshrss = \j\e\l\l\y\f\i\n ]]
2021-05-17 00:29:53,773: DEBUG - Permission 'jellyfin.main' created
2021-05-17 00:29:53,774: DEBUG - VollstÀndiges Log dieser Operation: '<a href="#/tools/logs/20210516-222950-permission_create-jellyfin" style="text-decoration:underline">Create permission 'jellyfin'</a>'
2021-05-17 00:29:53,803: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/scripts YNH_APP_MANIFEST_VERSION='10.7.5~ynh1' YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmp12NJYY/stdinfo YNH_APP_INSTANCE_NAME=jellyfin YNH_APP_ARG_ADMIN=sfb YNH_INTERFACE=api YNH_APP_ID=jellyfin YNH_APP_ARG_PATH=/ YNH_STDRETURN=/tmp/tmpTFcbob/stdreturn YNH_APP_ARG_DOMAIN=flix.domain2.tld BASH_XTRACEFD=7 /bin/bash -x "./install" flix.domain2.tld / sfb 1 jellyfin 7>&1'
2021-05-17 00:29:53,840: DEBUG - + source _common.sh
2021-05-17 00:29:53,842: DEBUG - +++ lsb_release --codename --short
2021-05-17 00:29:53,943: DEBUG - ++ debian=buster
2021-05-17 00:29:53,944: DEBUG - ++ pkg_version=10.7.5-1
2021-05-17 00:29:53,944: DEBUG - +++ echo 10.7.5-1
2021-05-17 00:29:53,945: DEBUG - +++ cut -d - -f 1
2021-05-17 00:29:53,945: DEBUG - ++ version=10.7.5
2021-05-17 00:29:53,945: DEBUG - ++ ffmpeg_pkg_version=4.3.2-1
2021-05-17 00:29:53,946: DEBUG - +++ dpkg --print-architecture
2021-05-17 00:29:54,046: DEBUG - ++ architecture=armhf
2021-05-17 00:29:54,047: DEBUG - + source /usr/share/yunohost/helpers
2021-05-17 00:29:54,047: DEBUG - +++ set +o
2021-05-17 00:29:54,048: DEBUG - +++ grep xtrace
2021-05-17 00:29:54,048: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-05-17 00:29:54,048: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-05-17 00:29:54,049: DEBUG - + ynh_abort_if_errors
2021-05-17 00:29:54,049: DEBUG - + set -o errexit
2021-05-17 00:29:54,050: DEBUG - + set -o nounset
2021-05-17 00:29:54,050: DEBUG - + trap ynh_exit_properly EXIT
2021-05-17 00:29:54,050: DEBUG - + domain=flix.domain2.tld
2021-05-17 00:29:54,051: DEBUG - + path_url=/
2021-05-17 00:29:54,051: DEBUG - + admin=sfb
2021-05-17 00:29:54,051: DEBUG - + is_public=1
2021-05-17 00:29:54,052: DEBUG - + app=jellyfin
2021-05-17 00:29:54,355: WARNING - There is already a directory: /var/lib/jellyfin
2021-05-17 00:29:54,357: INFO - [....................] > Validating installation parameters...
2021-05-17 00:29:54,359: DEBUG - + echo '[....................] > Validating installation parameters...'
2021-05-17 00:29:54,359: DEBUG - + final_path=/var/lib/jellyfin
2021-05-17 00:29:54,360: DEBUG - + config_path=/etc/jellyfin
2021-05-17 00:29:54,360: DEBUG - + test '!' -e /var/lib/jellyfin
2021-05-17 00:29:54,360: DEBUG - + ynh_die '--message=There is already a directory: /var/lib/jellyfin '
2021-05-17 00:29:54,363: DEBUG - + ret_code=1
2021-05-17 00:29:54,363: DEBUG - + echo 'There is already a directory: /var/lib/jellyfin '
2021-05-17 00:29:54,363: DEBUG - + exit 1
2021-05-17 00:29:54,363: DEBUG - + ynh_exit_properly
2021-05-17 00:29:54,364: DEBUG - + local exit_code=1
2021-05-17 00:29:54,364: DEBUG - + '[' 1 -eq 0 ']'
2021-05-17 00:29:54,364: DEBUG - + trap '' EXIT
2021-05-17 00:29:54,365: DEBUG - + set +o errexit
2021-05-17 00:29:54,365: DEBUG - + set +o nounset
2021-05-17 00:29:54,365: DEBUG - + sleep 0.5
2021-05-17 00:29:54,868: DEBUG - + type -t ynh_clean_setup
2021-05-17 00:29:54,869: DEBUG - + ynh_clean_setup
2021-05-17 00:29:54,870: DEBUG - + ynh_clean_check_starting
2021-05-17 00:29:54,870: DEBUG - + '[' -n '' ']'
2021-05-17 00:29:54,871: DEBUG - + '[' -n '' ']'
2021-05-17 00:29:54,872: DEBUG - + exit 1
2021-05-17 00:29:54,913: ERROR - jellyfin kann nicht installiert werden: Im Installationsscript ist ein Fehler aufgetreten

Hello, thanks for your feedback. As stated in the error log

Was there a previous installation of Jellyfin on this server? Anywas, the remove script should have cleaned that up. Try again. If this is still not working, then you can try removing it manually (sudo rm -rf /var/lib/jellyfin), but please share the whole log again. :wink:

yes, there was previous installation, so i removed the directories manually. i tried again, now the installation process is finalised without any error. but when i try to open jellyfin, it shows a 502-bad gateway error.

Can you try restarting the Jellyfin service (in the webadmin, or the CLI: systemctl restart jellyfin)?

If it still does not work, check Jellyfin’s logs (webadmin, or a quick systemctl status jellyfin to have an overview of the error).

it didn’t work.

gave back:

> ● jellyfin.service - Jellyfin Media Server
>    Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; vendor preset: enabled)                                                                                                                          
>    Active: active (running) since Mon 2021-05-17 12:54:57 CEST; 4s ago
>  Main PID: 25931 (jellyfin)                                                                                                                                                                                        
>     Tasks: 15 (limit: 4915)                                                                                                                                                                                        
>    CGroup: /system.slice/jellyfin.service                                                                                                                                                                          
>            └─25931 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --restartpath=/usr/lib/jellyfin/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg                                                          
>                                                                                                                                                                                                                    
> May 17 12:54:57 wildermann.xyz systemd[1]: Started Jellyfin Media Server.

Damn.

Try again and check journalctl -xe for any lines relating to Jellyfin.
Otherwise, have a look into /var/log/jellyfin, there should be its logs.

ok, this is what journalctl -xe produced - unfortunately i have no clue what this means:

May 21 00:29:24 buches.xyz jellyfin[11843]:    at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
May 21 00:29:24 buches.xyz jellyfin[11843]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)                                                              
May 21 00:29:24 buches.xyz systemd[1]: jellyfin.service: Main process exited, code=exited, status=143/n/a                                                               
-- Subject: Unit process exited                                                                                                                                         
-- Defined-By: systemd                                                                                                                                                  
-- Support: https://www.debian.org/support                                                                                                                              
--                                                                                                                                                                      
-- An ExecStart= process belonging to unit jellyfin.service has exited.                                                                                                 
--                                                                                                                                                                      
-- The process' exit code is 'exited' and its exit status is 143.                                                                                                       
May 21 00:29:24 buches.xyz systemd[1]: jellyfin.service: Failed with result 'exit-code'.                                                                                
-- Subject: Unit failed                                                                                                                                                 
-- Defined-By: systemd                                                                                                                                                  
-- Support: https://www.debian.org/support                                                                                                                              
--                                                                                                                                                                      
-- The unit jellyfin.service has entered the 'failed' state with result 'exit-code'.                                                                                    
May 21 00:29:25 buches.xyz systemd[1]: jellyfin.service: Service RestartSec=100ms expired, scheduling restart.                                                          
May 21 00:29:25 buches.xyz systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 37199.                                                            
-- Subject: Automatic restarting of a unit has been scheduled                                                                                                           
-- Defined-By: systemd                                                                                                                                                  
-- Support: https://www.debian.org/support                                                                                                                              
--                                                                                                                                                                      
-- Automatic restarting of the unit jellyfin.service has been scheduled, as the result for                                                                              
-- the configured Restart= setting for the unit.                                                                                                                        
May 21 00:29:25 buches.xyz systemd[1]: Stopped Jellyfin Media Server.                                                                                                   
-- Subject: A stop job for unit jellyfin.service has finished                                                                                                           
-- Defined-By: systemd                                                                                                                                                  
-- Support: https://www.debian.org/support                                                                                                                              
--                                                                                                                                                                      
-- A stop job for unit jellyfin.service has finished.                                                                                                                   
--                                                                                                                                                                      
-- The job identifier is 2700829 and the job result is done.                                                                                                            
May 21 00:29:25 buches.xyz systemd[1]: Started Jellyfin Media Server.                                                                                                   
-- Subject: A start job for unit jellyfin.service has finished successfully                                                                                             
-- Defined-By: systemd                                                                                                                                                  
-- Support: https://www.debian.org/support                                                                                                                              
--                                                                                                                                                                      
-- A start job for unit jellyfin.service has finished successfully.                                                                                                     
--                                                                                                                                                                      
-- The job identifier is 2700829.

do you have an idea how to move on, do you need any log files?

It means nothing, it is too little talkative. As stated above, logs are in /var/log/jellyfin, share today’s one after some attempts to restart it. :wink:

Bonjour @tous,
Je viens de tenter la mise Ă  jour de la version: 10.7.0~ynh2 vers la 10.7.5~ynh1
La mise à jour a explosé en vol :cry: :sob: mais le processus a restauré ma sauvegarde. :grinning_face_with_smiling_eyes:
Du coup j’ai fais comme d’habitude

yunohost app remove jellyfin --debug
apt list --installed | grep jellyfin

Cette commande m’a retournĂ©e :
jellyfin-ffmpeg/now 4.3.2-1-buster amd64 [installé, local]
jellyfin-server/now 10.7.5-1 amd64 [installé, local]
jellyfin-web/now 10.7.5-1 all [installé, local]

J’ai desintallĂ© ces dĂ©pendances avec cette commande :
apt purge jellyfin-*

Cette commande m’a dĂ©sintallĂ©e
jellyfin-ffmpeg* jellyfin-server* jellyfin-web*

J’ai rĂ©installĂ© jellyfin avec cette commande :
yunohost app install jellyfin --debug

L’installation est allĂ©e Ă  son terme et jellyfin est de nouveau fonctionnelle, pour info je suis sous amd64
Voici mon retour sur cette nouvelle version de cette yunoapp.

Je suis ravi que tu aies rĂ©ussi Ă  rĂ©parer ça tout seul
 mais sans partager les logs de la mise Ă  jour qui a Ă©chouĂ©, je ne peux pas savoir ce qui a merdĂ© et surtout je ne peux pas dĂ©boguer l’app. :pleading_face:

En effet j’aurai dĂ» poster les logs dans mon prĂ©cĂ©dent message, l’erreur est corrigĂ©e
https://paste.yunohost.org/raw/siropirizo

OK merci ! Le bug avait déjà été remonté, ça sera corrigé aprÚs Enh by tituspijean · Pull Request #73 · YunoHost-Apps/jellyfin_ynh · GitHub :wink:


Call for testers!

  • Testing branch status as of 2021-05-23, PR 75
    • :electric_plug: Enable IPv6 support
    • :electric_plug: Open automatic discovery ports (1900 and 7359) if possible
    • :bug: Fix a bug with missing log configuration file
    • :file_cabinet: Backup all services files
    • :key: Fix files permissions

Instructions to test are in the first post. Feedback is most welcome. :heart:

1 Like

Hello,
aucun problĂšme dans les logs lors de l’installation de la version testing (sur la derniĂšre version dispo de Yunohost). NĂ©anmoins, un problĂšme survient par la suite au niveau de jellyfin.service

Visiblement ce serait un problÚme lié à la bd :

May 26 17:22:58 systemd[1]: Started Jellyfin Media Server.
May 26 17:23:06 jellyfin[29982]: [17:23:06] [ERR] [1] Jellyfin.Server.Migrations.MigrationRunner: Could not apply migration 'MigrateActivityLogDatabase'
May 26 17:23:06 jellyfin[29982]: CannotOpen: SQLitePCL.pretty.SQLiteException: unable to open database file
May 26 17:23:06 jellyfin[29982]:    at SQLitePCL.pretty.SQLiteException.Throw(Int32 rc, Int32 extended, String msg)
May 26 17:23:06 jellyfin[29982]:    at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
May 26 17:23:06 jellyfin[29982]:    at SQLitePCL.pretty.SQLiteDatabaseConnectionBuilder.Build()
May 26 17:23:06 jellyfin[29982]:    at SQLitePCL.pretty.SQLite3.Open(String filename, ConnectionFlags flags, String vfs)
May 26 17:23:06 jellyfin[29982]:    at Jellyfin.Server.Migrations.Routines.MigrateActivityLogDb.Perform()
May 26 17:23:06 jellyfin[29982]:    at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
May 26 17:23:06 jellyfin[29982]: [17:23:06] [FTL] [1] Main: Error while starting server.
May 26 17:23:06 jellyfin[29982]: CannotOpen: SQLitePCL.pretty.SQLiteException: unable to open database file
May 26 17:23:06 jellyfin[29982]:    at SQLitePCL.pretty.SQLiteException.Throw(Int32 rc, Int32 extended, String msg)
May 26 17:23:06 jellyfin[29982]:    at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
May 26 17:23:06 jellyfin[29982]:    at SQLitePCL.pretty.SQLiteDatabaseConnectionBuilder.Build()
May 26 17:23:06 jellyfin[29982]:    at SQLitePCL.pretty.SQLite3.Open(String filename, ConnectionFlags flags, String vfs)
May 26 17:23:06 jellyfin[29982]:    at Jellyfin.Server.Migrations.Routines.MigrateActivityLogDb.Perform()
May 26 17:23:06 jellyfin[29982]:    at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
May 26 17:23:06 jellyfin[29982]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)
May 26 17:23:06 systemd[1]: jellyfin.service: Main process exited, code=exited, status=143/n/a
May 26 17:23:06 systemd[1]: jellyfin.service: Failed with result 'exit-code'.
May 26 17:23:06 systemd[1]: jellyfin.service: Service RestartSec=100ms expired, scheduling restart.
May 26 17:23:06 systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 29.
May 26 17:23:06 systemd[1]: Stopped Jellyfin Media Server.

Merci pour ton retour ! Que te donne ls -la /var/lib/jellyfin/data/ ?

Merci de ton aide.
La commande retourne ceci :

drwxr-xr-x 2 jellyfin jellyfin   4096 May 26 21:46 .
drwxr-x--- 5 jellyfin jellyfin   4096 May 26 21:44 ..
-rw-r--r-- 1 jellyfin jellyfin  28672 May 26 21:45 authentication.db
-rw-r--r-- 1 jellyfin jellyfin      0 May 26 21:45 authentication.db-journal
-rw-r--r-- 1 jellyfin jellyfin 122880 May 26 21:44 jellyfin.db
-rw-r--r-- 1 jellyfin jellyfin 172032 May 26 21:45 library.db
-rw-r--r-- 1 jellyfin jellyfin      0 May 26 21:45 library.db-journal

J’ai un vieux raspberry qui traine, je vais Ă©galement tenter une installation dessus pour voir si il y a des problĂšmes.

Hello,

My YunoHost server

Hardware: Odroid HC2
YunoHost version: 4.2.5.2

I’ve installed Jellyfin earlier and when I’m going to the subdomain/jellyfin, I’ve got a 502 Bad gateway.

I’m pretty sure I didn’t understood something right and I’m missing something about the right way to use Jellyfin.

Could someone enlighten me ?

Thanks !

@Optogram What does its service log say?


:information_source: New release!

  • Upgrade to 10.7.6
  • Offer to open discovery ports
  • Handle some non-mandatory file backups

PS: the issue with the initially detected server not working straighforwardly is still here. Remove it, and input its address again, it should work then.

1 Like

@tituspijean Thanks for all your work for this package !! :tada:

Hello,

I upgraded the app using
sudo yunohost app upgrade jellyfin -u https://github.com/YunoHost-Apps/jellyfin_ynh/

These are the logs :confused:

Jun 19 15:31:26 systemd[1]: Started Jellyfin Media Server.
Jun 19 15:31:34 jellyfin[10035]: [15:31:34] [ERR] [1] Jellyfin.Server.Migrations.MigrationRunner: Could not apply migration 'MigrateActivityLogDatabase'
Jun 19 15:31:34 jellyfin[10035]: CannotOpen: SQLitePCL.pretty.SQLiteException: unable to open database file
Jun 19 15:31:34 jellyfin[10035]:    at SQLitePCL.pretty.SQLiteException.Throw(Int32 rc, Int32 extended, String msg)
Jun 19 15:31:34 jellyfin[10035]:    at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
Jun 19 15:31:34 jellyfin[10035]:    at SQLitePCL.pretty.SQLiteDatabaseConnectionBuilder.Build()
Jun 19 15:31:34 jellyfin[10035]:    at SQLitePCL.pretty.SQLite3.Open(String filename, ConnectionFlags flags, String vfs)
Jun 19 15:31:34 jellyfin[10035]:    at Jellyfin.Server.Migrations.Routines.MigrateActivityLogDb.Perform()
Jun 19 15:31:34 jellyfin[10035]:    at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
Jun 19 15:31:34 jellyfin[10035]: [15:31:34] [FTL] [1] Main: Error while starting server.
Jun 19 15:31:34 jellyfin[10035]: CannotOpen: SQLitePCL.pretty.SQLiteException: unable to open database file
Jun 19 15:31:34 jellyfin[10035]:    at SQLitePCL.pretty.SQLiteException.Throw(Int32 rc, Int32 extended, String msg)
Jun 19 15:31:34 jellyfin[10035]:    at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
Jun 19 15:31:34 jellyfin[10035]:    at SQLitePCL.pretty.SQLiteDatabaseConnectionBuilder.Build()
Jun 19 15:31:34 jellyfin[10035]:    at SQLitePCL.pretty.SQLite3.Open(String filename, ConnectionFlags flags, String vfs)
Jun 19 15:31:34 jellyfin[10035]:    at Jellyfin.Server.Migrations.Routines.MigrateActivityLogDb.Perform()
Jun 19 15:31:34 jellyfin[10035]:    at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
Jun 19 15:31:34 jellyfin[10035]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)
Jun 19 15:31:34 systemd[1]: jellyfin.service: Main process exited, code=exited, status=143/n/a
Jun 19 15:31:34 systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Jun 19 15:31:35 systemd[1]: jellyfin.service: Service RestartSec=100ms expired, scheduling restart.
Jun 19 15:31:35 systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 13.
Jun 19 15:31:35 systemd[1]: Stopped Jellyfin Media Server.
Jun 19 15:31:35 systemd[1]: Started Jellyfin Media Server.
Jun 19 15:31:37 systemd[1]: Stopping Jellyfin Media Server...
Jun 19 15:31:37 systemd[1]: jellyfin.service: Main process exited, code=exited, status=143/n/a
Jun 19 15:31:37 systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Jun 19 15:31:37 systemd[1]: Stopped Jellyfin Media Server.

And the same thing happen over and over again.

Jellyfin has for me been non-functional for the last couple of months, recently I was able to upgraded to
10.7.6~ynh1 and it installed OK, but now getting consistent " 502 Bad Gateway" from nginx, tried to figure out what is cause, all other web servers work great!
Looking into the nginx jellyfin.conf but cant see the issue?

>  rewrite ^/jellyfin$ /jellyfin/ permanent;
> location /jellyfin/ {
> 
>   # Force usage of https
>   if ($scheme = http) {
>     rewrite ^ https://$server_name$request_uri? permanent;
>   }
> 
>   # Proxy main Jellyfin traffic
>   proxy_pass http://127.0.0.1:8095/jellyfin/;
>   proxy_pass_request_headers on;
>   proxy_set_header Host $host;
>   proxy_set_header X-Real-IP $remote_addr;
>   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>   proxy_set_header X-Forwarded-Proto $scheme;
>   proxy_set_header X-Forwarded-Host $http_host;
>   proxy_set_header Upgrade $http_upgrade;
>   proxy_set_header Connection $http_connection;
> 
>   # Disable buffering when the nginx proxy gets very resource heavy upon streaming
>   proxy_buffering off;
> 
>   # Include SSOWAT user panel.
>   include conf.d/yunohost_panel.conf.inc;
> }
> 
> location /jellyfin/socket {
>   # Proxy Jellyfin Websockets traffic
>   proxy_pass http://127.0.0.1:8095/jellyfin/;
>   proxy_http_version 1.1;
>   proxy_set_header Upgrade $http_upgrade;
>   proxy_set_header Connection "upgrade";
>   proxy_set_header Host $host;
>   proxy_set_header X-Real-IP $remote_addr;
>   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>   proxy_set_header X-Forwarded-Proto $scheme;
>   proxy_set_header X-Forwarded-Protocol $scheme;
>   proxy_set_header X-Forwarded-Host $http_host;

there is no /var/www/jellyfin could this be issue? rest of webapps have the directories there. (I guess not jellyfin.service points to webdir=/usr/share/jellyfin/web and is active without errors)