Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- troggoman@troggoman-Super-Server:~$ sudo apt install --only-upgrade jellyfin jellyfin-server
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- The following additional packages will be installed:
- jellyfin-ffmpeg7
- The following packages will be REMOVED:
- jellyfin-ffmpeg6
- The following NEW packages will be installed:
- jellyfin-ffmpeg7
- The following packages will be upgraded:
- jellyfin jellyfin-server
- 2 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
- Need to get 98.9 MB of archives.
- After this operation, 10.6 MB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- Get:1 https://repo.jellyfin.org/ubuntu jammy/main amd64 jellyfin-server amd64 10.10.3+ubu2204 [52.0 MB]
- Get:2 https://repo.jellyfin.org/ubuntu jammy/main amd64 jellyfin all 10.10.3+ubu2204 [2,292 B]
- Get:3 https://blr1.mirror.jellyfin.org/files/ubuntu jammy/main amd64 jellyfin-ffmpeg7 amd64 7.0.2-7-jammy [47.0 MB]
- Fetched 98.9 MB in 29s (3,449 kB/s)
- (Reading database ... 280465 files and directories currently installed.)
- Preparing to unpack .../jellyfin-server_10.10.3+ubu2204_amd64.deb ...
- Stopping Jellyfin!
- Unpacking jellyfin-server (10.10.3+ubu2204) over (10.9.11+ubu2204) ...
- Preparing to unpack .../jellyfin_10.10.3+ubu2204_all.deb ...
- Unpacking jellyfin (10.10.3+ubu2204) over (10.9.11+ubu2204) ...
- (Reading database ... 280466 files and directories currently installed.)
- Removing jellyfin-ffmpeg6 (6.0.1-8-jammy) ...
- Selecting previously unselected package jellyfin-ffmpeg7.
- (Reading database ... 280337 files and directories currently installed.)
- Preparing to unpack .../jellyfin-ffmpeg7_7.0.2-7-jammy_amd64.deb ...
- Unpacking jellyfin-ffmpeg7 (7.0.2-7-jammy) ...
- Setting up jellyfin-ffmpeg7 (7.0.2-7-jammy) ...
- Setting up jellyfin-server (10.10.3+ubu2204) ...
- Configuration file '/etc/default/jellyfin'
- ==> Modified (by you or by a script) since installation.
- ==> Package distributor has shipped an updated version.
- What would you like to do about it ? Your options are:
- Y or I : install the package maintainer's version
- N or O : keep your currently-installed version
- D : show the differences between the versions
- Z : start a shell to examine the situation
- The default action is to keep your current version.
- *** jellyfin (Y/I/N/O/D/Z) [default=N] ? d
- --- /etc/default/jellyfin 2024-08-02 22:25:30.320970135 +0200
- +++ /etc/default/jellyfin.dpkg-new 2024-11-19 05:46:26.000000000 +0200
- @@ -18,6 +18,12 @@
- JELLYFIN_LOG_DIR="/var/log/jellyfin"
- JELLYFIN_CACHE_DIR="/var/cache/jellyfin"
- +# temporary directory path; used to construct paths for short-lived temporary files
- +# the old default was $JELLYFIN_CACHE_DIR/temp; use that to restore previous behaviour,
- +# though it will have an additional jellyfin/ subdir appended
- +# otherwise, leave this commented
- +#TMPDIR="/tmp"
- +
- # web client path, installed by the jellyfin-web package
- JELLYFIN_WEB_OPT="--webdir=/usr/share/jellyfin/web"
- @@ -48,6 +54,6 @@
- #
- # Application username
- -JELLYFIN_USER="troggoman"
- +JELLYFIN_USER="jellyfin"
- # Full application command
- JELLYFIN_ARGS="$JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL>
- lines 1-23/23 (END)...skipping...
- --- /etc/default/jellyfin 2024-08-02 22:25:30.320970135 +0200 +++ /etc/default/jellyfin.dpkg-new 2024-11-19 05:46:26.000000000 +0200########.................................] @@ -18,6 +18,12 @@ JELLYFIN_LOG_DIR="/var/log/jellyfin" JELLYFIN_CACHE_DIR="/var/cache/jellyfin" +# temporary directory path; used to construct paths for short-lived temporary files +# the old default was $JELLYFIN_CACHE_DIR/temp; use that to restore previous behaviour, +# though it will have an additional jellyfin/ subdir appended +# otherwise, leave this commented +#TMPDIR="/tmp" + # web client path, installed by the jellyfin-web package JELLYFIN_WEB_OPT="--webdir=/usr/share/jellyfin/web" @@ -48,6 +54,6 @@ # # Application username -JELLYFIN_USER="troggoman" +JELLYFIN_USER="jellyfin" # Full application command JELLYFIN_ARGS="$JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- Configuration file '/etc/default/jellyfin'
- ==> Modified (by you or by a script) since installation.
- ==> Package distributor has shipped an updated version.
- What would you like to do about it ? Your options are:
- Y or I : install the package maintainer's version
- N or O : keep your currently-installed version
- D : show the differences between the versions
- Z : start a shell to examine the situation
- The default action is to keep your current version.
- *** jellyfin (Y/I/N/O/D/Z) [default=N] ? n
- Setting up jellyfin (10.10.3+ubu2204) ...
- Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
- W: Operation was interrupted before it could finish
- troggoman@troggoman-Super-Server:~$ sudo apt install --only-upgrade jellyfin jellyfin-server
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- jellyfin is already the newest version (10.10.3+ubu2204).
- jellyfin-server is already the newest version (10.10.3+ubu2204).
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- troggoman@troggoman-Super-Server:~$ sudo apt update
- Hit:1 https://linux.teamviewer.com/deb stable InRelease
- Hit:2 https://download.docker.com/linux/ubuntu jammy InRelease
- Hit:3 http://za.archive.ubuntu.com/ubuntu jammy InRelease
- Hit:4 http://za.archive.ubuntu.com/ubuntu jammy-updates InRelease
- Hit:5 http://za.archive.ubuntu.com/ubuntu jammy-backports InRelease
- Hit:6 http://repository.netdata.cloud/repos/stable/ubuntu jammy/ InRelease
- Hit:7 http://security.ubuntu.com/ubuntu jammy-security InRelease
- Hit:8 http://deb.anydesk.com all InRelease
- Hit:9 http://archive.ubuntu.com/ubuntu jammy InRelease
- Hit:10 http://repository.netdata.cloud/repos/repoconfig/ubuntu jammy/ InRelease
- Hit:11 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
- Hit:12 https://ppa.launchpadcontent.net/remmina-ppa-team/remmina-next/ubuntu jammy InRelease
- Get:13 https://repo.jellyfin.org/ubuntu jammy InRelease [6,660 B]
- Ign:14 https://packages.twingate.com/apt InRelease
- Ign:15 https://packages.twingate.com/apt Release
- Ign:16 https://packages.twingate.com/apt Packages
- Ign:17 https://packages.twingate.com/apt Translation-en_ZA
- Ign:18 https://packages.twingate.com/apt Translation-en
- Get:16 https://packages.twingate.com/apt Packages
- Ign:17 https://packages.twingate.com/apt Translation-en_ZA
- Ign:18 https://packages.twingate.com/apt Translation-en
- Ign:17 https://packages.twingate.com/apt Translation-en_ZA
- Ign:18 https://packages.twingate.com/apt Translation-en
- Ign:17 https://packages.twingate.com/apt Translation-en_ZA
- Ign:18 https://packages.twingate.com/apt Translation-en
- Ign:17 https://packages.twingate.com/apt Translation-en_ZA
- Ign:18 https://packages.twingate.com/apt Translation-en
- Ign:17 https://packages.twingate.com/apt Translation-en_ZA
- Ign:18 https://packages.twingate.com/apt Translation-en
- Ign:17 https://packages.twingate.com/apt Translation-en_ZA
- Ign:18 https://packages.twingate.com/apt Translation-en
- Fetched 36.0 kB in 6s (5,609 B/s)
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- All packages are up to date.
- troggoman@troggoman-Super-Server:~$ ps aux | grep jellyf
- troggom+ 1469003 0.0 0.0 9080 2304 pts/0 S+ 11:05 0:00 grep --color=auto jellyf
- troggoman@troggoman-Super-Server:~$ jellyfin
- Unhandled exception. System.UnauthorizedAccessException: Access to the path '/home/troggoman/.config/jellyfin/logging.default.json' is denied.
- ---> System.IO.IOException: Permission denied
- --- End of inner exception stack trace ---
- at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
- at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
- at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
- at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
- at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
- at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
- at Jellyfin.Server.Helpers.StartupHelpers.InitLoggingConfigFile(IApplicationPaths appPaths)
- at Jellyfin.Server.Helpers.StartupHelpers.InitLoggingConfigFile(IApplicationPaths appPaths)
- at Jellyfin.Server.Program.StartApp(StartupOptions options)
- at Jellyfin.Server.Program.<Main>(String[] args)
- Aborted (core dumped)
- troggoman@troggoman-Super-Server:~$ sudo !!
- sudo jellyfin
- [11:06:04] [INF] [4] Main: Jellyfin version: 10.10.3
- [11:06:04] [INF] [4] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /root/.local/share/jellyfin/log]"]
- [11:06:04] [INF] [4] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll"]
- [11:06:04] [INF] [4] Main: Operating system: Ubuntu 22.04.5 LTS
- [11:06:04] [INF] [4] Main: Architecture: X64
- [11:06:04] [INF] [4] Main: 64-Bit Process: True
- [11:06:04] [INF] [4] Main: User Interactive: True
- [11:06:04] [INF] [4] Main: Processor count: 48
- [11:06:04] [INF] [4] Main: Program data path: /root/.local/share/jellyfin
- [11:06:04] [INF] [4] Main: Log directory path: /root/.local/share/jellyfin/log
- [11:06:04] [INF] [4] Main: Config directory path: /root/.config/jellyfin
- [11:06:04] [INF] [4] Main: Cache path: /root/.cache/jellyfin
- [11:06:04] [INF] [4] Main: Temp directory path: /tmp/jellyfin
- [11:06:04] [INF] [4] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web
- [11:06:04] [INF] [4] Main: Application directory: /usr/lib/jellyfin/bin/
- [11:06:04] [ERR] [4] Main: The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/lib/jellyfin/bin/jellyfin-web. If you do not want to host the web client with the server, you may set the '--nowebclient' command line flag, or set'hostwebclient=false' in your config settings
- troggoman@troggoman-Super-Server:~$ sudo apt install --reinstall jellyfin-web
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
- Need to get 32.9 MB of archives.
- After this operation, 0 B of additional disk space will be used.
- Get:1 https://repo.jellyfin.org/ubuntu jammy/main amd64 jellyfin-web all 10.10.3+ubu2204 [32.9 MB]
- Fetched 32.9 MB in 18s (1,839 kB/s)
- (Reading database ... 280467 files and directories currently installed.)
- Preparing to unpack .../jellyfin-web_10.10.3+ubu2204_all.deb ...
- Unpacking jellyfin-web (10.10.3+ubu2204) over (10.10.3+ubu2204) ...
- Setting up jellyfin-web (10.10.3+ubu2204) ...
- troggoman@troggoman-Super-Server:~$ sudo systemctl restart jellyfin
- troggoman@troggoman-Super-Server:~$ sudo systemctl status jellyfin.service
- ○ jellyfin.service - Jellyfin Media Server
- Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
- Drop-In: /etc/systemd/system/jellyfin.service.d
- └─jellyfin.service.conf
- Active: inactive (dead) since Tue 2024-11-26 11:07:08 SAST; 25s ago
- Process: 1471410 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS (code=exited, status=0/SUCCESS)
- Main PID: 1471410 (code=exited, status=0/SUCCESS)
- CPU: 6.432s
- Nov 26 11:07:07 troggoman-Super-Server jellyfin[1471410]: at Emby.Server.Implementations.ApplicationHost.GetExports[T](CreationDelegateFactory defaultFunc, Boolean manageLifetime)
- Nov 26 11:07:07 troggoman-Super-Server jellyfin[1471410]: at Emby.Server.Implementations.Plugins.PluginManager.CreatePlugins()
- Nov 26 11:07:07 troggoman-Super-Server jellyfin[1471410]: at Emby.Server.Implementations.ApplicationHost.FindParts()
- Nov 26 11:07:07 troggoman-Super-Server jellyfin[1471410]: at Emby.Server.Implementations.ApplicationHost.InitializeServices()
- Nov 26 11:07:07 troggoman-Super-Server jellyfin[1471410]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
- Nov 26 11:07:07 troggoman-Super-Server jellyfin[1471410]: [11:07:07] [INF] Running query planner optimizations in the database... This might take a while
- Nov 26 11:07:07 troggoman-Super-Server jellyfin[1471410]: [11:07:07] [INF] Disposing CoreAppHost
- Nov 26 11:07:07 troggoman-Super-Server jellyfin[1471410]: [11:07:07] [INF] Disposing PluginManager
- Nov 26 11:07:08 troggoman-Super-Server systemd[1]: jellyfin.service: Deactivated successfully.
- Nov 26 11:07:08 troggoman-Super-Server systemd[1]: jellyfin.service: Consumed 6.432s CPU time.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement