YunoHost-Apps / jellyfin_ynh

Jellyfin package for YunoHost
https://jellyfin.org/
GNU General Public License v3.0
26 stars 24 forks source link

Update URLs to point to new file locations. #155

Closed cselti closed 2 months ago

cselti commented 3 months ago

Add requirements.txt. Compute sha256 checksum for ldap plugin zip

Problem

Solution

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

tituspijean commented 2 months ago

!testme !bookwormtestme

yunohost-bot commented 2 months ago

:rocket: Test Badge

yunohost-bot commented 2 months ago

:book: Test Badge

cselti commented 2 months ago

@tituspijean - the upgrade error occurs because older versions can no longer be installed anymore. You can test this with any URL in the manifest.toml. For example:

https://repo.jellyfin.org/releases/server/debian/versions/jellyfin-ffmpeg/6.0.1-3/jellyfin-ffmpeg6_6.0.1-3-bullseye_armhf.deb

This URL redirects to https://repo.jellyfin.org/deprecated with the following message:

Deprecated path! This path is no longer valid on our repository server. Please see the repository browser at https://repo.jellyfin.org to find a new path to your desired resource.

Képernyőfotó 2024-06-12 - 17 57 21
Details from the package_check logs

``` bash Working time for this test: 2 minutes, 22 seconds (15:55:30 UTC) ============================================ [Test 7/8] Upgrade from 10.8.0_ynh1 ============================================ > Preliminary install... /tmp/package_check.XRJFVF/app_folder ~/package_check ~/package_check > Running pre-install steps WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Running: yunohost app install --no-remove-on-failure --force /app_folder -a "&domain=sub.domain.tld&admin=package_checker&path=/jellyfin&is_public=true&discovery=true" 2171 INFO Installing jellyfin… 3207 INFO [....................] > Validating installation parameters... 3974 INFO [+...................] > Storing installation settings... 4851 INFO [#+..................] > Finding an available port... 5077 INFO [##+.................] > Configuring firewall... 7385 INFO [###+++..............] > Installing dependencies... 32103 INFO [######..............] > Installing packages... [.4 minutes] 33743 WARNING https://repo.jellyfin.org/deprecated: 33744 WARNING 2024-06-12 15:56:41 ERROR 410: Gone. 35249 ERROR Unable to install jellyfin: An error occurred inside the app installation script 35249 INFO The operation 'Install the 'jellyfin' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20240612-155610-app_install-jellyfin' to get help 35279 WARNING Here's an extract of the logs before the crash. It might help debugging the error: 35280 INFO DEBUG - + [[ false != \f\a\l\s\e ]] 35280 INFO DEBUG - + local local_src=/opt/yunohost-apps-src/jellyfin/ffmpeg.bullseye.amd64 35280 INFO DEBUG - ++ dirname /var/cache/yunohost/download/jellyfin/ffmpeg.bullseye.amd64 35280 INFO DEBUG - + mkdir -p /var/cache/yunohost/download/jellyfin 35280 INFO DEBUG - + src_filename=/var/cache/yunohost/download/jellyfin/ffmpeg.bullseye.amd64 35280 INFO DEBUG - + '[' deb = docker ']' 35280 INFO DEBUG - + test -e /opt/yunohost-apps-src/jellyfin/ffmpeg.bullseye.amd64 35280 INFO DEBUG - + '[' -n https://repo.jellyfin.org/releases/server/debian/versions/jellyfin-ffmpeg/5.0.1-5/jellyfin-ffmpeg5_5.0.1-5-bullseye_amd64.deb ']' 35280 INFO DEBUG - + '[' -e /var/cache/yunohost/download/jellyfin/ffmpeg.bullseye.amd64 ']' 35280 INFO DEBUG - + '[' '!' -e /var/cache/yunohost/download/jellyfin/ffmpeg.bullseye.amd64 ']' 35280 INFO DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/jellyfin/ffmpeg.bullseye.amd64 https://repo.jellyfin.org/releases/server/debian/versions/jellyfin-ffmpeg/5.0.1-5/jellyfin-ffmpeg5_5.0.1-5-bullseye_amd64.deb 35281 INFO DEBUG - + out='https://repo.jellyfin.org/deprecated: 35281 INFO DEBUG - 2024-06-12 15:56:41 ERROR 410: Gone.' 35281 INFO DEBUG - + ynh_die '--message=https://repo.jellyfin.org/deprecated: 35281 INFO DEBUG - 2024-06-12 15:56:41 ERROR 410: Gone.' 35281 INFO DEBUG - 2024-06-12 15:56:41 ERROR 410: Gone.' 35282 INFO DEBUG - 2024-06-12 15:56:41 ERROR 410: Gone.' 35282 INFO WARNING - https://repo.jellyfin.org/deprecated: 35282 INFO WARNING - 2024-06-12 15:56:41 ERROR 410: Gone. 35282 INFO DEBUG - + ynh_exit_properly 35304 ERROR The installation of jellyfin failed, but was not cleaned up as requested by --no-remove-on-failure. ```

retiolus commented 2 months ago

Why is this not merged?

retiolus commented 2 months ago

Because of this it is also impossible to install Jellyfin right now: https://paste.yunohost.org/raw/vixecuxafa

cichy1173 commented 2 months ago

Is ffmpeg in valid version? As we are on Jellyfin 10.8.x we should use older ffmpeg: obraz

That may be the cause of my problem where videos are not decoded/encoded on the server

kay0u commented 2 months ago

Superseded by https://github.com/YunoHost-Apps/jellyfin_ynh/pull/157