• 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 Troubleshooting SOLVED: Jellyfin upgrade issue

     
    • 0 Vote(s) - 0 Average

    SOLVED: Jellyfin upgrade issue

    cannot move '/var/lib/jellyfin/config'
    guunter
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #5
    2024-11-18, 05:08 PM
    (2024-11-17, 12:11 PM)Abhishek Ranjan Wrote: Hi folks,
    I keep running into this issue every time jellyfin does a new release.
    My jellyfin is setup as a lxc using proxmox helper scripts.

    Code:
    root@jellyfin:~# sudo apt upgrade jellyfin
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    jellyfin is already the newest version (10.10.2+deb12).
    Calculating upgrade... Done
    The following packages will be upgraded:
      jellyfin-server
    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    29 not fully installed or removed.
    Need to get 0 B/46.8 MB of archives.
    After this operation, 22.5 kB of additional disk space will be used.
    Do you want to continue? [Y/n]
    Reading changelogs... Done
    (Reading database ... 24588 files and directories currently installed.)
    Preparing to unpack .../jellyfin-server_10.10.2+deb12_amd64.deb ...
    Stopping Jellyfin!
    mv: cannot move '/var/lib/jellyfin/config' to '/etc/jellyfin/config': Directory not empty
    dpkg: error processing archive /var/cache/apt/archives/jellyfin-server_10.10.2+deb12_amd64.deb (--unpack):
    new jellyfin-server package pre-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
    /var/cache/apt/archives/jellyfin-server_10.10.2+deb12_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I've been solving it so far by backing up my config directory, deleting it and then restoring the files after the upgrade.
    Is there a better way to do the upgrades ?

    When you use the helper-script you're supposed to just type update in console. You don't need to do sudo apt-get upgrade
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    Messages In This Thread
    Jellyfin upgrade issue - by Abhishek Ranjan - 2024-11-17, 12:11 PM
    RE: Jellyfin upgrade issue - by TheDreadPirate - 2024-11-17, 03:49 PM
    RE: Jellyfin upgrade issue - by Oddstr13 - 2024-11-17, 11:04 PM
    RE: Jellyfin upgrade issue - by Abhishek Ranjan - 2024-11-18, 08:22 PM
    RE: Jellyfin upgrade issue - by Pollo - 2024-11-18, 12:57 AM
    RE: Jellyfin upgrade issue - by guunter - 2024-11-18, 05:08 PM
    RE: Jellyfin upgrade issue - by TheDreadPirate - 2024-11-18, 08:36 PM
    RE: Jellyfin upgrade issue - by Abhishek Ranjan - 2025-02-07, 07:25 PM
    RE: Jellyfin upgrade issue - by TheDreadPirate - 2025-02-07, 07:50 PM
    RE: Jellyfin upgrade issue - by Abhishek Ranjan - 2025-02-09, 10:57 AM
    RE: Jellyfin upgrade issue - by TheDreadPirate - 2025-02-10, 01:26 PM
    RE: Jellyfin upgrade issue - by Abhishek Ranjan - 2025-02-18, 07:50 AM

    • 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