Could not find handler for /config #1752

Closed
opened 2025-12-21 19:23:13 +01:00 by backuprepo · 3 comments
Owner

Originally created by @Videl on GitHub (May 31, 2020).

Hello there,

Having noticed a bug and wanting to try submitting a fix, I tried to launch jellyfin, jellyfin-web but I think I am stuck on a "first timer" issue... Could you guys help me fix this?
(note: I'm primarily a Java and front developper)

System:

  • OS: Windows 10
  • Clients: Browser
  • Browser: Firefox 76
  • Jellyfin Version: master
  • Installed Plugins: none
  • Reverse Proxy: none
  • Base URL: none
  • .Net Core SDK V3.1.300

To Reproduce

  1. git clone https://github.com/jellyfin/jellyfin.git
  2. git clone https://github.com/jellyfin/jellyfin-web.git
  3. git clone https://github.com/jellyfin/jellyfin-ux.git
  4. Copy pasting jellyfin-web/dist (after building) folder in jellyfin/MediaBrowser.WebDashboard as "jellyfin-web"
  5. dotnet run --project Jellyfin.Server
  6. Starts up in the browser but the "language" form is all blank

Expected behavior

  • The web browser is started up and reaches the Jellyfin wizard, and ask the language and it's possible to choose one?

Logs

[16:01:26] [INF] [1] Main: Jellyfin version: 10.6.0
[16:01:26] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\\Users\\Videl\\AppData\\Local\\jellyfin\\log]"]
[16:01:26] [INF] [1] Main: Arguments: ["V:\\my_files\\personal\\dev\\test\\jellyfin\\dist\\jellyfin-win-nsis\\jellyfin.dll"]
[16:01:26] [INF] [1] Main: Operating system: Windows
[16:01:26] [INF] [1] Main: Architecture: X64
[16:01:26] [INF] [1] Main: 64-Bit Process: True
[16:01:26] [INF] [1] Main: User Interactive: True
[16:01:26] [INF] [1] Main: Processor count: 4
[16:01:26] [INF] [1] Main: Program data path: C:\Users\Videl\AppData\Local\jellyfin
[16:01:26] [INF] [1] Main: Web resources path: V:\my_files\personal\dev\test\jellyfin\dist\jellyfin-win-nsis\jellyfin-web
[16:01:26] [INF] [1] Main: Application directory: V:\my_files\personal\dev\test\jellyfin\dist\jellyfin-win-nsis\
[16:01:26] [INF] [1] ServerConfigurationManager: Setting cache path: C:\Users\Videl\AppData\Local\jellyfin\cache
[16:01:26] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[16:01:27] [WRN] [1] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ActivityLog' is configured to use schema 'jellyfin'. SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[16:01:27] [INF] [1] Main: Kestrel listening on all interfaces
[16:01:27] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[16:01:27] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 06/01/2020 02:00, which is 9:58:32.0187339 from now.
[16:01:28] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 4.2.3
[16:01:28] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "vc1_qsv", "aac", "ac3", "mp3"]
[16:01:28] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "ac3", "libmp3lame", "libopus", "libvorbis", "srt"]
[16:01:28] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: System: C:\ProgramData\chocolatey\bin\ffmpeg.exe
[16:01:28] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: a79cb72fabd945afafdc9c2376eaa35c
[16:01:28] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.1944182
[16:01:28] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
[16:01:28] [INF] [15] Dlna: Registering publisher for urn:schemas-upnp-org:device:MediaServer:1 on 192.168.0.196
[16:01:28] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.2467123
[16:01:28] [INF] [1] Main: Startup complete 0:00:02.8280876
[16:01:30] [ERR] [13] Emby.Server.Implementations.HttpServer.HttpListenerHost: Could not find handler for /config
[16:01:30] [ERR] [13] Emby.Server.Implementations.HttpServer.HttpListenerHost: Error processing request: Unable to find the specified file. URL: http://localhost:8096/config.json?nocache=335
[16:01:30] [ERR] [11] Emby.Server.Implementations.HttpServer.HttpListenerHost: Could not find handler for /config.template
[16:01:30] [ERR] [11] Emby.Server.Implementations.HttpServer.HttpListenerHost: Error processing request: Unable to find the specified file. URL: http://localhost:8096/config.template.json
[16:01:31] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: StartupTrigger fired for task: Update Plugins
[16:01:31] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queueing task PluginUpdateTask
[16:01:31] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Update Plugins
[16:01:31] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 0 seconds
[16:01:31] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[16:05:58] [INF] [35] Main: Ctrl+C, shutting down

I looked everywhere and I couldn't find a config.json file, nor a config.template.json file. Can you help find it? And tell me where to put it?
Also in the following file 108172c00f/Emby.Server.Implementations/Services/ServiceController.cs (L110-L119), I debugged there and nothing matches config.json.

Kindest regards,

Originally created by @Videl on GitHub (May 31, 2020). Hello there, Having noticed a bug and wanting to try submitting a fix, I tried to launch jellyfin, jellyfin-web but I think I am stuck on a "first timer" issue... Could you guys help me fix this? (note: I'm primarily a Java and front developper) **System:** - OS: Windows 10 - Clients: Browser - Browser: Firefox 76 - Jellyfin Version: master - Installed Plugins: none - Reverse Proxy: none - Base URL: none - .Net Core SDK V3.1.300 **To Reproduce** 1. ``git clone https://github.com/jellyfin/jellyfin.git`` 2. ``git clone https://github.com/jellyfin/jellyfin-web.git`` 3. ``git clone https://github.com/jellyfin/jellyfin-ux.git`` 4. Copy pasting jellyfin-web/dist (after building) folder in ``jellyfin/MediaBrowser.WebDashboard`` as "jellyfin-web" 5. ``dotnet run --project Jellyfin.Server`` 8. Starts up in the browser but the "language" form is all blank **Expected behavior** * The web browser is started up and reaches the Jellyfin wizard, and ask the language and it's possible to choose one? **Logs** ``` [16:01:26] [INF] [1] Main: Jellyfin version: 10.6.0 [16:01:26] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\\Users\\Videl\\AppData\\Local\\jellyfin\\log]"] [16:01:26] [INF] [1] Main: Arguments: ["V:\\my_files\\personal\\dev\\test\\jellyfin\\dist\\jellyfin-win-nsis\\jellyfin.dll"] [16:01:26] [INF] [1] Main: Operating system: Windows [16:01:26] [INF] [1] Main: Architecture: X64 [16:01:26] [INF] [1] Main: 64-Bit Process: True [16:01:26] [INF] [1] Main: User Interactive: True [16:01:26] [INF] [1] Main: Processor count: 4 [16:01:26] [INF] [1] Main: Program data path: C:\Users\Videl\AppData\Local\jellyfin [16:01:26] [INF] [1] Main: Web resources path: V:\my_files\personal\dev\test\jellyfin\dist\jellyfin-win-nsis\jellyfin-web [16:01:26] [INF] [1] Main: Application directory: V:\my_files\personal\dev\test\jellyfin\dist\jellyfin-win-nsis\ [16:01:26] [INF] [1] ServerConfigurationManager: Setting cache path: C:\Users\Videl\AppData\Local\jellyfin\cache [16:01:26] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies [16:01:27] [WRN] [1] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ActivityLog' is configured to use schema 'jellyfin'. SQLite does not support schemas. This configuration will be ignored by the SQLite provider. [16:01:27] [INF] [1] Main: Kestrel listening on all interfaces [16:01:27] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks [16:01:27] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 06/01/2020 02:00, which is 9:58:32.0187339 from now. [16:01:28] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 4.2.3 [16:01:28] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "vc1_qsv", "aac", "ac3", "mp3"] [16:01:28] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "ac3", "libmp3lame", "libopus", "libvorbis", "srt"] [16:01:28] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: System: C:\ProgramData\chocolatey\bin\ffmpeg.exe [16:01:28] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: a79cb72fabd945afafdc9c2376eaa35c [16:01:28] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.1944182 [16:01:28] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete [16:01:28] [INF] [15] Dlna: Registering publisher for urn:schemas-upnp-org:device:MediaServer:1 on 192.168.0.196 [16:01:28] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.2467123 [16:01:28] [INF] [1] Main: Startup complete 0:00:02.8280876 [16:01:30] [ERR] [13] Emby.Server.Implementations.HttpServer.HttpListenerHost: Could not find handler for /config [16:01:30] [ERR] [13] Emby.Server.Implementations.HttpServer.HttpListenerHost: Error processing request: Unable to find the specified file. URL: http://localhost:8096/config.json?nocache=335 [16:01:30] [ERR] [11] Emby.Server.Implementations.HttpServer.HttpListenerHost: Could not find handler for /config.template [16:01:30] [ERR] [11] Emby.Server.Implementations.HttpServer.HttpListenerHost: Error processing request: Unable to find the specified file. URL: http://localhost:8096/config.template.json [16:01:31] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: StartupTrigger fired for task: Update Plugins [16:01:31] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queueing task PluginUpdateTask [16:01:31] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Update Plugins [16:01:31] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 0 seconds [16:01:31] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks [16:05:58] [INF] [35] Main: Ctrl+C, shutting down ``` I looked everywhere and I couldn't find a config.json file, nor a config.template.json file. Can you help find it? And tell me where to put it? Also in the following file https://github.com/jellyfin/jellyfin/blob/108172c00f822df994b3a27bbc5536ffdcbed09e/Emby.Server.Implementations/Services/ServiceController.cs#L110-L119, I debugged there and nothing matches config.json. Kindest regards,
backuprepo 2025-12-21 19:23:13 +01:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@Videl commented on GitHub (May 31, 2020):

Also I saw #3132 and #3139 but as there are no solution over there..
(I tried to delete the config folder too)

@Videl commented on GitHub (May 31, 2020): Also I saw #3132 and #3139 but as there are no solution over there.. (I tried to delete the config folder too)
Author
Owner

@Videl commented on GitHub (May 31, 2020):

Discussed in Matrix, it's broken in master

@Videl commented on GitHub (May 31, 2020): Discussed in Matrix, it's broken in master
Author
Owner

@stale[bot] commented on GitHub (Sep 28, 2020):

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@stale[bot] commented on GitHub (Sep 28, 2020): This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#1752
No description provided.