Jellyfin Forum
SOLVED: Can't start Jellyfin - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Can't start Jellyfin (/t-solved-can-t-start-jellyfin)



Can't start Jellyfin - ACTransitBusFightIAAMF - 2025-05-01

I've downloaded Jellyfin onto a Windows machine.

I installed it, I start it, a load of text flashes up and speeds by, then nothing happens.

I've gone into the folder and clicked the Jellyfin thing again, same thing happens.  Tried running as Administrator, same thing happens.

I'm able to start up the Jellyfin Windows Tray app, but when I double click it I get a "This site can't be reached" error.  

Quote:localhost refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

I did have a previous installation of Plex, I've uninstalled that now and it hasn't done any good.  

I fully uninstalled Jellyfin (i.e. deleted all data) and reinstalled it, same problems.

I don't think it's an issue with the cache of my browser or anything like that, since I've opened it in incognito tabs and browsers I've never used Plex with and had the same issue.

This is the log I get

Quote:[2025-05-01 20:31:07.330 +01:00] [INF] [8] Main: Jellyfin version: "10.10.7"
[2025-05-01 20:31:07.362 +01:00] [INF] [8] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
[2025-05-01 20:31:07.366 +01:00] [INF] [8] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
[2025-05-01 20:31:07.368 +01:00] [INF] [8] Main: Operating system: "Microsoft Windows 10.0.26100"
[2025-05-01 20:31:07.369 +01:00] [INF] [8] Main: Architecture: X64
[2025-05-01 20:31:07.370 +01:00] [INF] [8] Main: 64-Bit Process: True
[2025-05-01 20:31:07.371 +01:00] [INF] [8] Main: User Interactive: True
[2025-05-01 20:31:07.372 +01:00] [INF] [8] Main: Processor count: 12
[2025-05-01 20:31:07.372 +01:00] [INF] [8] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
[2025-05-01 20:31:07.373 +01:00] [INF] [8] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
[2025-05-01 20:31:07.375 +01:00] [INF] [8] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
[2025-05-01 20:31:07.376 +01:00] [INF] [8] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2025-05-01 20:31:07.378 +01:00] [INF] [8] Main: Temp directory path: "C:\Users\kcher\AppData\Local\Temp\jellyfin"
[2025-05-01 20:31:07.379 +01:00] [INF] [8] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2025-05-01 20:31:07.379 +01:00] [INF] [8] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2025-05-01 20:31:08.259 +01:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration", "MigrateMusicBrainzTimeout", "MigrateNetworkConfiguration", "MigrateEncodingOptions"]
[2025-05-01 20:31:08.539 +01:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2025-05-01 20:31:09.095 +01:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2025-05-01 20:31:10.790 +01:00] [INF] [8] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2025-05-01 20:31:10.793 +01:00] [INF] [8] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[2025-05-01 20:31:10.794 +01:00] [INF] [8] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2025-05-01 20:31:10.796 +01:00] [INF] [8] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["10.5.0.2", "192.168.0.41", "127.0.0.1"]
[2025-05-01 20:31:10.798 +01:00] [INF] [8] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[2025-05-01 20:31:10.799 +01:00] [INF] [8] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is "Allowlist"
[2025-05-01 20:31:10.800 +01:00] [INF] [8] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[2025-05-01 20:31:13.539 +01:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: There are pending EFCore migrations in the database. Applying... (This may take a while, do not stop Jellyfin)
[2025-05-01 20:31:13.858 +01:00] [WRN] [8] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"ImageInfos"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-05-01 20:31:13.860 +01:00] [WRN] [8] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"ImageInfos"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-05-01 20:31:13.863 +01:00] [WRN] [8] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Permissions"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-05-01 20:31:13.865 +01:00] [WRN] [8] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Permissions"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-05-01 20:31:13.867 +01:00] [WRN] [8] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Preferences"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-05-01 20:31:13.868 +01:00] [WRN] [8] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Preferences"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-05-01 20:31:13.870 +01:00] [WRN] [8] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Users"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-05-01 20:31:13.872 +01:00] [WRN] [8] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Users"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-05-01 20:31:14.067 +01:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: EFCore migrations applied successfully
[2025-05-01 20:31:15.520 +01:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-05-01 20:31:15.523 +01:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2025-05-01 20:31:15.530 +01:00] [INF] [8] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.10.7.0"
[2025-05-01 20:31:15.534 +01:00] [INF] [8] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.10.7.0"
[2025-05-01 20:31:15.538 +01:00] [INF] [8] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.10.7.0"
[2025-05-01 20:31:15.659 +01:00] [INF] [8] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.10.7.0"
[2025-05-01 20:31:15.661 +01:00] [INF] [8] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.10.7.0"
[2025-05-01 20:31:15.905 +01:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["DisableTranscodingThrottling", "CreateLoggingConfigHeirarchy", "MigrateActivityLogDatabase", "RemoveDuplicateExtras", "MigrateUserDatabase", "MigrateDisplayPreferencesDatabase", "RemoveDownloadImagesInAdvance", "MigrateAuthenticationDatabase", "FixPlaylistOwner", "MigrateRatingLevels", "FixAudioData", "RemoveDuplicatePlaylistChildren"]
[2025-05-01 20:31:15.911 +01:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"AddDefaultPluginRepository"'
[2025-05-01 20:31:15.912 +01:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-05-01 20:31:15.914 +01:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2025-05-01 20:31:15.915 +01:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Migration '"AddDefaultPluginRepository"' applied successfully
[2025-05-01 20:31:15.917 +01:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"ReaddDefaultPluginRepository"'
[2025-05-01 20:31:15.919 +01:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Migration '"ReaddDefaultPluginRepository"' applied successfully
[2025-05-01 20:31:15.921 +01:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"AddDefaultCastReceivers"'
[2025-05-01 20:31:15.922 +01:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-05-01 20:31:15.924 +01:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2025-05-01 20:31:15.925 +01:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Migration '"AddDefaultCastReceivers"' applied successfully
[2025-05-01 20:31:15.927 +01:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"UpdateDefaultPluginRepository10.9"'
[2025-05-01 20:31:15.929 +01:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-05-01 20:31:15.930 +01:00] [INF] [8] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2025-05-01 20:31:15.932 +01:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Migration '"UpdateDefaultPluginRepository10.9"' applied successfully
[2025-05-01 20:31:15.934 +01:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"MoveTrickplayFiles"'
[2025-05-01 20:31:16.057 +01:00] [INF] [8] Jellyfin.Server.Migrations.Routines.MoveTrickplayFiles: Moved 0 items in 00:00:00.1216942
[2025-05-01 20:31:16.059 +01:00] [INF] [8] Jellyfin.Server.Migrations.MigrationRunner: Migration '"MoveTrickplayFiles"' applied successfully
[2025-05-01 20:31:16.114 +01:00] [INF] [8] Main: Kestrel is listening on "0.0.0.0"
[2025-05-01 20:31:17.411 +01:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[2025-05-01 20:31:17.438 +01:00] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Generate Trickplay Images" set to fire at 2025-05-02 03:00:00.000 +01:00, which is 06:28:42.5615814 from now.
[2025-05-01 20:31:17.443 +01:00] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Extract Chapter Images" set to fire at 2025-05-02 02:00:00.000 +01:00, which is 05:28:42.5568857 from now.
[2025-05-01 20:31:17.452 +01:00] [ERR] [8] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Error validating encoder
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\Program Files\ffmpeg-2023-10-16-git-5ddab49d48-full_build\bin' with working directory 'C:\Program Files\Jellyfin\Server'. The system cannot find the file specified.
  at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
  at MediaBrowser.MediaEncoding.Encoder.EncoderValidator.GetProcessOutput(String path, String arguments, Boolean readStdErr, String testKey)
  at MediaBrowser.MediaEncoding.Encoder.EncoderValidator.ValidateVersion()
[2025-05-01 20:31:17.467 +01:00] [ERR] [8] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Failed version check: "C:\Program Files\ffmpeg-2023-10-16-git-5ddab49d48-full_build\bin"
[2025-05-01 20:31:17.468 +01:00] [ERR] [8] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Path set by "command line or environment variable" is invalid
[2025-05-01 20:31:17.469 +01:00] [FTL] [8] Main: Error while starting server
MediaBrowser.Common.FfmpegException: Failed to find valid ffmpeg
  at Emby.Server.Implementations.ApplicationHost.RunStartupTasksAsync()
  at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
[2025-05-01 20:31:17.470 +01:00] [INF] [8] Main: Running query planner optimizations in the database... This might take a while
[2025-05-01 20:31:17.498 +01:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"
[2025-05-01 20:31:17.499 +01:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzArtistProvider"
[2025-05-01 20:31:17.501 +01:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzAlbumProvider"
[2025-05-01 20:31:17.502 +01:00] [INF] [8] Emby.Server.Implementations.ApplicationHost: Disposing "PluginManager"



RE: Can't start Jellyfin - theguymadmax - 2025-05-01

You need to remove  'C:\Program Files\ffmpeg-2023-10-16-git-5ddab49d48-full_build\bin' from your system environment variable:

In the start menu or a run box type “sysdm.cpl” and open that up.
Navigate to Advanced -> Environment Variables
In User Variables - click Path, then choose edit. Check for a ffmpeg path and delete if found.
Do the same thing for the System Variables.
Restart your computer.


RE: Can't start Jellyfin - ACTransitBusFightIAAMF - 2025-05-01

(2025-05-01, 07:41 PM)theguymadmax Wrote: You need to remove  'C:\Program Files\ffmpeg-2023-10-16-git-5ddab49d48-full_build\bin' from your system environment variable:

In the start menu or a run box type “sysdm.cpl” and open that up.
Navigate to Advanced -> Environment Variables
In User Variables - click Path, then choose edit. Check for a ffmpeg path and delete if found.
Do the same thing for the System Variables.
Restart your computer.

I got rid of the ffmpeg from my environment variables and I've seen progress of a sort.  Now when I click the tray icon I get a big splash screen saying Jellyfish but nothing else happens.

I'm not sure what the other System Variables you're referring to are.  Do I just clear out all of the Environment Variables in the System Properties?

Edit: Never mind, turned out that was a Chrome issue, there's an extension I have that blocks HTML5 playing. Disabling the extension for that page and/or using a different browser works great. Thanks!