[Jellyfin] Media streaming server

Hi, thanks for your reply. It failed and here are logs before error :
Info: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info: DEBUG - Unpacking jellyfin-server (10.7.0-1) …
Info: DEBUG - Selecting previously unselected package jellyfin-web.
Info: DEBUG - Preparing to unpack …/jellyfin-web_10.7.2-1_all.deb …
Info: DEBUG - Unpacking jellyfin-web (10.7.2-1) …
Info: DEBUG - Setting up jellyfin-web (10.7.2-1) …
Info: DEBUG - Setting up jellyfin-server (10.7.0-1) …
Info: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info: DEBUG - Processing triggers for systemd (241-7~deb10u7) …
Info: DEBUG - Processing triggers for libc-bin (2.28-10) …
Info: DEBUG - + ynh_exec_warn_less apt-get -f install /tmp/tmp.j07RKbGlIK/jellyfin-web.deb -y
Info: DEBUG - + eval apt-get -f install /tmp/tmp.j07RKbGlIK/jellyfin-web.deb -y
Info: DEBUG - ++ apt-get -f install /tmp/tmp.j07RKbGlIK/jellyfin-web.deb -y
Info: DEBUG - Reading package lists…
Info: DEBUG - Building dependency tree…
Info: DEBUG - Reading state information…
Info: DEBUG - The following packages will be DOWNGRADED:
Info: DEBUG - jellyfin-web
Info: DEBUG - 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 2 not upgraded.
Info: DEBUG - E: Packages were downgraded and -y was used without --allow-downgrades.
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app following the installation failure…
Info: [+…] > Loading installation settings…
Info: [#++…] > Removing dependencies…
Info: [###++…] > Removing app directories…
Info: [#####++…] > Removing NGINX web server configuration…
Info: ‘/etc/nginx/conf.d/film.qeved.com.d/jellyfin.conf’ wasn’t deleted because it doesn’t exist.
Info: [#######++…] > Removing logrotate configuration…
Info: [#########+++…] > Removing the dedicated system user…
Info: [####################] > Removal of jellyfin completed

I also can send you the full log if needed

Thanks again for your amazing work,

Qeved

@steven
I had the same problem when I upgraded and I solved it this way

1 Like

not working here…

I have made additional fixes since then, so the command should be OK:
sudo yunohost app install https://github.com/YunoHost-Apps/jellyfin_ynh/tree/fix-restore

As a general rule of thumb, if you want you can replace the link in the command by the following:

  • https://github.com/YunoHost-Apps/jellyfin_ynh to get the default branch
  • https://github.com/YunoHost-Apps/jellyfin_ynh/tree/testing to get the testing branch
  • https://github.com/YunoHost-Apps/jellyfin_ynh/tree/fix-restore to get the fix-restore branch
  • https://github.com/YunoHost-Apps/jellyfin_ynh/commit/0121ff40fead2965756d8d565c96d5eaaeb6d3b5 to get the commit 0121ff4

I will create releases/tags from now on, that would add another way to fetch and install a specific version. :wink:

Thanks for trying! That’s… very weird, having jellyfin-web to be downgraded. Are you trying to install or upgrade the app?

1 Like

Thanks for the info, could ne useful for many install /update.
It would be handy to have this option in the admin application section.
Do you know if there is a place to put feature ideas for ynh ?

After removing, I’ve tried to reinstall following your reco

You can copy and paste the link at the very bottom of the catalog. :wink:
You can suggest ideas to YunoHost/issues on Github.

OK, let’s try this:

apt purge jellyfin-*
apt autoremove
yunohost app install https://github.com/YunoHost-Apps/jellyfin_ynh/tree/fix-restore --force

:crossed_fingers:

Info: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info: DEBUG - Unpacking jellyfin-server (10.7.0-1) …
Info: DEBUG - Selecting previously unselected package jellyfin-web.
Info: DEBUG - Preparing to unpack …/jellyfin-web_10.7.2-1_all.deb …
Info: DEBUG - Unpacking jellyfin-web (10.7.2-1) …
Info: DEBUG - Setting up jellyfin-web (10.7.2-1) …
Info: DEBUG - Setting up jellyfin-server (10.7.0-1) …
Info: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info: DEBUG - Processing triggers for systemd (241-7~deb10u7) …
Info: DEBUG - Processing triggers for libc-bin (2.28-10) …
Info: DEBUG - + ynh_exec_warn_less apt-get -f install /tmp/tmp.Hp8dRBaW2S/jellyfin -web.deb -y
Info: DEBUG - + eval apt-get -f install /tmp/tmp.Hp8dRBaW2S/jellyfin-web.deb -y
Info: DEBUG - ++ apt-get -f install /tmp/tmp.Hp8dRBaW2S/jellyfin-web.deb -y
Info: DEBUG - Reading package lists…
Info: DEBUG - Building dependency tree…
Info: DEBUG - Reading state information…
Info: DEBUG - The following packages will be DOWNGRADED:
Info: DEBUG - jellyfin-web
Info: DEBUG - 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 2 not u pgraded.
Info: DEBUG - E: Packages were downgraded and -y was used without --allow-downgrad es.
Info: DEBUG - + ynh_exit_properly
:frowning:

What’s your architecture (arm, amd64, …) or type of server?

System: Host: qeved.com Kernel: 4.19.0-16-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 Console: tty 1
Distro: Debian GNU/Linux 10 (buster)
Machine: Type: Server System: HP product: ProLiant DL320e Gen8 v2 v: N/A serial:
Mobo: N/A model: N/A serial: N/A BIOS: HP v: P80 date: 05/21/2018
CPU: Topology: Quad Core model: Intel Xeon E3-1230 v3 bits: 64 type: MT MCP arch: Haswell rev: 3 L2 cache: 8192 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 52679
Speed: 3095 MHz min/max: 800/3700 MHz Core speeds (MHz): 1: 3095 2: 2669 3: 1934 4: 2162 5: 2094 6: 1554 7: 2236
8: 2319
Graphics: Message: No Device data found.
Display: tty server: N/A driver: tty: 302x54
Message: Advanced graphics data unavailable in console for root.
Audio: Message: No Device data found.
Network: Device-1: Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe vendor: Hewlett-Packard driver: tg3 v: 3.137
port: 3c00 bus ID: 03:00.0
IF: eno1 state: up speed: 1000 Mbps duplex: full mac:
Device-2: Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe vendor: Hewlett-Packard driver: tg3 v: 3.137
port: 3c00 bus ID: 03:00.1
IF: eno2 state: down mac:
IF-ID-1: docker0 state: down mac:
Drives: Local Storage: total: 1.82 TiB used: 1.13 TiB (62.1%)
ID-1: /dev/sda model: LOGICAL VOLUME size: 1.82 TiB
RAID: Hardware-1: Intel 8 Series/C220 Series Family SATA Controller 1 [RAID mode] driver: ahci v: 3.0 bus ID: 00:1f.2
Hardware-2: Hewlett-Packard Smart Array Gen8 Controllers driver: hpsa v: 3.4.20-125 bus ID: 04:00.0
Partition: ID-1: / size: 1.79 TiB used: 1.13 TiB (63.1%) fs: ext4 dev: /dev/sda2
ID-2: /boot size: 188.7 MiB used: 78.9 MiB (41.8%) fs: ext4 dev: /dev/sda1
ID-3: swap-1 size: 1.03 GiB used: 985.6 MiB (93.9%) fs: swap dev: /dev/sda3
Sensors: System Temperatures: cpu: 59.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 263 Uptime: 12d 22h 41m Memory: 31.25 GiB used: 9.55 GiB (30.6%) Init: systemd runlevel: 5 Compilers:
gcc: 8.3.0 Shell: bash v: 5.0.3 inxi: 3.0.32

Should be enough ^^’

Yes indeed. :stuck_out_tongue:
Can you try again ? I have updated the packages:

yunohost app install https://github.com/YunoHost-Apps/jellyfin_ynh/tree/fix-restore --force

:crossed_fingers:

Warning: Here’s an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info: DEBUG - Unpacking jellyfin-server (10.7.0-1) …
Info: DEBUG - Selecting previously unselected package jellyfin-web.
Info: DEBUG - Preparing to unpack …/jellyfin-web_10.7.2-1_all.deb …
Info: DEBUG - Unpacking jellyfin-web (10.7.2-1) …
Info: DEBUG - Setting up jellyfin-web (10.7.2-1) …
Info: DEBUG - Setting up jellyfin-server (10.7.0-1) …
Info: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info: DEBUG - Processing triggers for systemd (241-7~deb10u7) …
Info: DEBUG - Processing triggers for libc-bin (2.28-10) …
Info: DEBUG - + ynh_exec_warn_less apt-get -f install /tmp/tmp.R8JsyOAOuP/jellyfin-web.deb -y
Info: DEBUG - + eval apt-get -f install /tmp/tmp.R8JsyOAOuP/jellyfin-web.deb -y
Info: DEBUG - ++ apt-get -f install /tmp/tmp.R8JsyOAOuP/jellyfin-web.deb -y
Info: DEBUG - Reading package lists…
Info: DEBUG - Building dependency tree…
Info: DEBUG - Reading state information…
Info: DEBUG - The following packages will be DOWNGRADED:
Info: DEBUG - jellyfin-web
Info: DEBUG - 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 2 not upgraded.
Info: DEBUG - E: Packages were downgraded and -y was used without --allow-downgrades.
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app following the installation failure…
Info: [+…] > Loading installation settings…
Info: [#++…] > Removing dependencies…
Info: [###++…] > Removing app directories…
Info: [#####++…] > Removing NGINX web server configuration…
Info: ‘/etc/nginx/conf.d/film.qeved.com.d/jellyfin.conf’ wasn’t deleted because it doesn’t exist.
Info: [#######++…] > Removing logrotate configuration…
Info: [#########+++…] > Removing the dedicated system user…
Info: [####################] > Removal of jellyfin completed

Thanks once again for your help and efforts !!! We’ll succeed !

1 Like

@qeved, @Potao63, @sfbuch, @AC2N, @steven, @Schdefoon, and all others:

Call for testing! I think I fixed everything. I will not be able to fix your old backups, but at least the installation should work now.

:information_source: v10.7.5 testing, PR71:
yunohost app install https://github.com/YunoHost-Apps/jellyfin_ynh/tree/testing --force

Hi,

I made :

apt autoremove jellyfin
apt purge jellyfin-*
apt autoremove
yunohost app install GitHub - YunoHost-Apps/jellyfin_ynh at testing --force

Sadly, I had this error :
Info: DEBUG - May 06 11:51:47 systemd[1]: Reloading A high performance web server and a reverse proxy server.
Info: DEBUG - May 06 11:51:47 nginx[36632]: nginx: [warn] could not build optimal proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_size: 64; ignoring proxy_headers_hash_bucket_size
Info: DEBUG - May 06 11:51:47 nginx[36632]: nginx: [warn] could not build optimal proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_size: 64; ignoring proxy_headers_hash_bucket_size
Info: DEBUG - May 06 11:51:47 nginx[36632]: nginx: [emerg] duplicate location “/” in /etc/nginx/conf.d/film.qeved.com.d/ttrss.conf:2
Info: DEBUG - May 06 11:51:47 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Info: DEBUG - May 06 11:51:47 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
Info: DEBUG - May 06 11:51:48 systemd[1]: Reloading A high performance web server and a reverse proxy server.
Info: DEBUG - May 06 11:51:48 nginx[37284]: nginx: [warn] could not build optimal proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_size: 64; ignoring proxy_headers_hash_bucket_size
Info: DEBUG - May 06 11:51:48 nginx[37284]: nginx: [warn] could not build optimal proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_size: 64; ignoring proxy_headers_hash_bucket_size
Info: DEBUG - May 06 11:51:48 systemd[1]: Reloaded A high performance web server and a reverse proxy server.
Info: DEBUG - May 06 17:52:15 systemd[1]: Reloading A high performance web server and a reverse proxy server.
Info: DEBUG - May 06 17:52:15 nginx[4287]: nginx: [warn] could not build optimal proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_size: 64; ignoring proxy_headers_hash_bucket_size
Info: DEBUG - May 06 17:52:15 nginx[4287]: nginx: [emerg] duplicate location “/” in /etc/nginx/conf.d/film.qeved.com.d/petrolette.conf:1
Info: DEBUG - May 06 17:52:15 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Info: DEBUG - May 06 17:52:15 systemd[1]: Reload failed for A high performance web server and a reverse proxy server.’
Info: DEBUG - + ‘[’ -e /var/log/nginx/nginx.log ‘]’
Info: DEBUG - + ynh_clean_check_starting
Info: DEBUG - + ‘[’ -n ‘’ ‘]’
Info: DEBUG - + ‘[’ -n ‘’ ‘]’
Info: DEBUG - + return 1
Info: DEBUG - + ynh_exit_properly

Sorry, in a middle of a multi TB backup testing. I’ll test this version when I can reboot my server in a few days :wink:

2 Likes

Have a look at the times of the errors. :wink: You had issues with TTRSS in the morning, and Petrolette right before you posted. I do not see issues with Flarum.

1 Like

sorry for that ! solving the issue and it works fine !! Thanks once again for your availability and your efficiency !

2 Likes

I have released the fixed app for all. :rocket:

Since issues are plenty and endless with this app, I have encountered a small and new bug. When you reach Jellyfin’s address for the first time, it will ask you to select the server. It did not work in my case, I had to enter its address manually.

2 Likes