• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Testing a bug fix. Record series

    Pages (3): « Previous 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    Testing a bug fix. Record series

    Need a little advice.
    grumpycat
    Offline

    Member

    Posts: 51
    Threads: 7
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #11
    2024-07-22, 08:17 PM (This post was last modified: 2024-07-22, 08:18 PM by grumpycat. Edited 1 time in total.)
    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
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,010
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #12
    2024-07-22, 08:33 PM (This post was last modified: 2024-07-22, 08:38 PM by theguymadmax. Edited 1 time in total.)
    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/l...stinstall/
    grumpycat
    Offline

    Member

    Posts: 51
    Threads: 7
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #13
    2024-07-22, 08:38 PM (This post was last modified: 2024-07-22, 08:53 PM by grumpycat. Edited 1 time in total.)
    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
    grumpycat
    Offline

    Member

    Posts: 51
    Threads: 7
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #14
    2024-07-22, 08:46 PM
    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).
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,010
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #15
    2024-07-22, 08:49 PM
    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
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,010
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #16
    2024-07-22, 09:01 PM (This post was last modified: 2024-07-22, 09:04 PM by theguymadmax. Edited 1 time in total.)
    You need to install Python3, python3-yaml, and python3-git
    grumpycat
    Offline

    Member

    Posts: 51
    Threads: 7
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #17
    2024-07-22, 09:08 PM (This post was last modified: 2024-07-22, 09:09 PM by grumpycat. Edited 1 time in total.)
    I have reported this to security@jellyfin.org. Will check in tomorrow.
    grumpycat
    Offline

    Member

    Posts: 51
    Threads: 7
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #18
    2024-07-23, 09:31 PM (This post was last modified: 2024-07-23, 10:11 PM by grumpycat. Edited 1 time in total.)
       
    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.
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,010
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #19
    2024-07-24, 08:09 AM (This post was last modified: 2024-07-24, 09:04 AM by theguymadmax. Edited 5 times in total.)
    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.
    grumpycat
    Offline

    Member

    Posts: 51
    Threads: 7
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #20
    2024-07-25, 11:01 AM (This post was last modified: 2024-07-25, 11:25 AM by grumpycat. Edited 2 times in total.)
    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!.


    Attached Files Thumbnail(s)
       
    1
    Pages (3): « Previous 1 2 3 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode