Jellyfin Forum
Testing a bug fix. Record series - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Testing a bug fix. Record series (/t-testing-a-bug-fix-record-series)

Pages: 1 2 3


RE: Testing a bug fix. Record series - grumpycat - 2024-07-22

Still getting this error on noble.   After running  

sudo ./build.py auto ubuntu amd64 noble

Code:
dpkg-source: warning: source directory 'jellyfin' is not <sourcepackage>-<upstreamversion> 'jellyfin-2024072216+ubu2404'
dpkg-source: info: using options from jellyfin/debian/source/options: --tar-ignore=.git* --tar-ignore=**/.git --tar-ignore=**/.hg --tar-ignore=**/.vs --tar-ignore=**/.vscode --tar-ignore=**/obj --tar-ignore=**/bin --tar-ignore=out/ --tar-ignore=fedora/ --tar-ignore=docker/ --tar-ignore=*.py --tar-ignore=*.md --tar-ignore=*.txt
dpkg-source: info: using source format '1.0'
dpkg-source: info: building jellyfin in jellyfin_2024072216+ubu2404.tar.gz
dpkg-source: info: building jellyfin in jellyfin_2024072216+ubu2404.dsc
debian/rules build
dh build
  dh_update_autotools_config
  dh_autoreconf
  debian/rules override_dh_auto_build
make[1]: Entering directory '/jellyfin'
cd jellyfin-server && dotnet publish -maxcpucount:1 --configuration Release \
        --output='/jellyfin/build/usr/lib/jellyfin/bin' --self-contained --runtime linux-x64 \
        -p:DebugSymbols=false -p:DebugType=none Jellyfin.Server
  Determining projects to restore...
  Restored /jellyfin/jellyfin-server/Jellyfin.Data/Jellyfin.Data.csproj (in 21.75 sec).
  Restored /jellyfin/jellyfin-server/src/Jellyfin.Extensions/Jellyfin.Extensions.csproj (in 21.75 sec).
  Restored /jellyfin/jellyfin-server/src/Jellyfin.MediaEncoding.Keyframes/Jellyfin.MediaEncoding.Keyframes.csproj (in 21.75 sec).
  Restored /jellyfin/jellyfin-server/MediaBrowser.Common/MediaBrowser.Common.csproj (in 23.76 sec).
  Restored /jellyfin/jellyfin-server/src/Jellyfin.Drawing/Jellyfin.Drawing.csproj (in 482 ms).
  Restored /jellyfin/jellyfin-server/src/Jellyfin.LiveTv/Jellyfin.LiveTv.csproj (in 23.76 sec).
  Restored /jellyfin/jellyfin-server/src/Jellyfin.Networking/Jellyfin.Networking.csproj (in 23.76 sec).
  Restored /jellyfin/jellyfin-server/src/Jellyfin.MediaEncoding.Hls/Jellyfin.MediaEncoding.Hls.csproj (in 482 ms).
  Restored /jellyfin/jellyfin-server/Emby.Naming/Emby.Naming.csproj (in 21 ms).
  Restored /jellyfin/jellyfin-server/MediaBrowser.LocalMetadata/MediaBrowser.LocalMetadata.csproj (in 29 ms).
  Restored /jellyfin/jellyfin-server/MediaBrowser.Controller/MediaBrowser.Controller.csproj (in 17 ms).
/jellyfin/jellyfin-server/MediaBrowser.Model/MediaBrowser.Model.csproj : error NU1903: Warning As Error: Package 'System.Text.Json' 8.0.3 has a known high severity vulnerability, https://github.com/advisories/GHSA-hh2w-p6rv-4g7w [/jellyfin/jellyfin-server/Jellyfin.Server/Jellyfin.Server.csproj]
  Failed to restore /jellyfin/jellyfin-server/MediaBrowser.Model/MediaBrowser.Model.csproj (in 216 ms).
  Restored /jellyfin/jellyfin-server/Emby.Photos/Emby.Photos.csproj (in 2.3 sec).
  Restored /jellyfin/jellyfin-server/MediaBrowser.XbmcMetadata/MediaBrowser.XbmcMetadata.csproj (in 28 ms).
  Restored /jellyfin/jellyfin-server/MediaBrowser.Providers/MediaBrowser.Providers.csproj (in 4.5 sec).
  Restored /jellyfin/jellyfin-server/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj (in 32.32 sec).
  Restored /jellyfin/jellyfin-server/src/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj (in 17.47 sec).
  Restored /jellyfin/jellyfin-server/Emby.Server.Implementations/Emby.Server.Implementations.csproj (in 21.92 sec).
  Restored /jellyfin/jellyfin-server/Jellyfin.Api/Jellyfin.Api.csproj (in 21.94 sec).
  Restored /jellyfin/jellyfin-server/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj (in 21.86 sec).
  Restored /jellyfin/jellyfin-server/Jellyfin.Server/Jellyfin.Server.csproj (in 46.19 sec).
make[1]: Leaving directory '/jellyfin'
make[1]: *** [debian/rules:42: override_dh_auto_build] Error 1
make: *** [debian/rules:35: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



RE: Testing a bug fix. Record series - theguymadmax - 2024-07-22

If i recall right, I think i got that error the first time i tired to compile and it was because docker wasn't setup correctly. Make sure docker can run without being a root user.

Try these step: https://docs.docker.com/engine/install/linux-postinstall/


RE: Testing a bug fix. Record series - grumpycat - 2024-07-22

I think the root cause is a security update just need to go to version 8.0.4. Any advice on how to do that?

https://github.com/advisories/GHSA-hh2w-p6rv-4g7w


RE: Testing a bug fix. Record series - grumpycat - 2024-07-22

When I do a grep -IR 8.0.3 I see that dependency in many places in several project.assets.json. Probrably need to do a search and replace for those from 8.0.3 to 8.0.4.

That is enough for today. (Microsoft pushed a patch and jellyfin needs to move to it).


RE: Testing a bug fix. Record series - theguymadmax - 2024-07-22

Setup docker as non root user
1. Create a new group called
Code:
docker sudo groupadd docker
2. Add your user to the docker group
Code:
sudo usermod -aG docker $USER
3. Log out and log back in


RE: Testing a bug fix. Record series - theguymadmax - 2024-07-22

You need to install Python3, python3-yaml, and python3-git


RE: Testing a bug fix. Record series - grumpycat - 2024-07-22

I have reported this to security@jellyfin.org. Will check in tomorrow.


RE: Testing a bug fix. Record series - grumpycat - 2024-07-23

   
Ok after dorking around with it today I was able to get it to build but the behavior I was expecting is still not fixed. 

To build on ubuntu noble
sudo apt-get install python-git
cd jellyfin-packaging
./checkout.py master
change the file (./src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.cs) to the patch given.  Line 170                IsSeries = program.Episode is not null,
run
sudo ./build.py auto ubuntu amd64 noble
cd out/ubuntu

files shown
jellyfin_2024072316+ubu2404_all.deb          jellyfin_2024072316+ubu2404_amd64.changes  jellyfin_2024072316+ubu2404.tar.gz            jellyfin-web_2024072316+ubu2404_all.deb
jellyfin_2024072316+ubu2404_amd64.buildinfo  jellyfin_2024072316+ubu2404.dsc            jellyfin-server_2024072316+ubu2404_amd64.deb

sudo dpkg -i jellyfin_*.deb
sudo service jellyfin restart

Clear browser cache (In case anything is cached).  Go into the guide and look at Good Morning America.  The expected results are that the record series button would display but the actual result is that the record series button is NOT displayed.  Attaching picture. 

Let me know if I am missing any install steps. 
With docker involved you never know. 
I am tired of my wife asking me if I recorded Good Morning America every single morning ladies and gentlemen. 
Please assist with a fix. 

Thank you.


RE: Testing a bug fix. Record series - theguymadmax - 2024-07-24

You're almost there. Here are a couple of notes:
  1. When using the Python checkout script, you fetched from the 'master' branch instead of the current release. It should have been
    Code:
    ./checkout.py v10.9.8
    Typically, I just use git commands to checkout the branches. No big problem though; you'll just end up on the unstable version (10.10.0).
  2. After compiling, you'll have three .deb packages. You only need to install two of them: jellyfin-server and jellyfin-web. The third one isn't necessary. The command you used only installed the unnecessary package.
  3. To install correctly, use
    Code:
    sudo dpkg -i jellyfin-*.deb
    To verify proper installation, check the dashboard. A manually compiled version will have a build version that matches the date-stamp of the .deb packages. In your case, you'll also see that your server and web versions are 10.10.0. Usually, you'll need to refresh the page to see some of the changes in build numbers.
  4. Once installed correctly, remember to refresh the guide data from the dashboard.



RE: Testing a bug fix. Record series - grumpycat - 2024-07-25

This morning when I checked it the record series button was there.  My theory is that the script zap2xml.pl had to run one more time.  So it does appear that the patch works.

Persistence is futile.

Thanks all!.