Skip to content

jfa-go server crashes on restart after install wizard #469

Description

@Austin-C-B

Describe the bug

Immediately after finishing the setup wizard, once jfa-go restarts the server crashes and I am unable to access the local admin page.

To Reproduce

Seemingly just go through the setup wizard on Ubuntu 24.04.4 LTS until it makes jfa-go restart.

Logs

2026/02/20 14:58:50 Using internal storage
�[35mjfa-go version: �[97mgit�[0m (�[37m93937ec�[0m) TrayIcon
�[0m
Socket: /tmp/jfa-go.sock
[INFO] 14:58:50 �[97mCopied default configuration to "/home/USER/.config/jfa-go/config.ini"�[0m
[INFO] 14:58:50 �[97mInitializing router
�[0m
[INFO] 14:58:50 �[97mLoading routes
�[0m
[INFO] 14:58:50 �[97mLoading setup @ 0.0.0.0:8056�[0m
[INFO] 14:58:50 �[97mLoaded, visit 0.0.0.0:8056 to start.�[0m
�[2m[GIN] GET(/) => 200
�[0m�[2m[GIN] GET(/css/bundle.css) => 200
�[0m�[2m[GIN] GET(/banner.svg) => 200
�[0m�[2m[GIN] GET(/site.webmanifest) => 200
�[0m�[2m[GIN] GET(/js/setup.js) => 200
�[0m�[2m[GIN] GET(/css/remixicon.css) => 200
�[0m�[2m[GIN] GET(/css/remixicon.woff2?t=1590207869815) => 200
�[0m�[2m[GIN] GET(/lang/form) => 200
�[0m�[2m[GIN] GET(/lang/admin) => 200
�[0m�[2m[GIN] GET(/lang/email) => 200
�[0m�[2m[GIN] GET(/lang/pwr) => 200
�[0m�[2m[GIN] GET(/lang/setup) => 200
�[0m�[2m[GIN] GET(/favicon-32x32.png) => 200
�[0m�[2m[GIN] GET(/apple-touch-icon.png) => 200
�[0m�[2m[GIN] POST(/jellyfin/test) => 200
�[0m�[2m[GIN] GET(/apple-touch-icon.png) => 200
�[0m[INFO] 15:01:33 �[97mConfig modification requested
�[0m
[INFO] 15:01:33 �[97mRestarting...
�[0m
[ERROR] 15:01:33 main.go:625: �[31mFailure serving: http: Server closed�[0m

�[31m2026/02/20 15:01:33 [Recovery] 2026/02/20 - 15:01:33 panic recovered:
runtime error: index out of range [1] with length 1
/usr/local/go/src/runtime/panic.go:88 (0x438864)
/drone/src/email.go:167 (0xbcb1ce)
/drone/src/email.go:157 (0xbca9b8)
/drone/src/config.go:145 (0xbc3e85)
/drone/src/api.go:1544 (0xbb610e)
/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161 (0x976c10)
/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/recovery.go:83 (0x976bf7)
/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161 (0x975c93)
/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/logger.go:241 (0x975c52)
/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161 (0x96cdcf)
/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/gin.go:409 (0x96cdb6)
/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/gin.go:367 (0x96c86c)
/usr/local/go/src/net/http/server.go:2887 (0x70e562)
/usr/local/go/src/net/http/server.go:1952 (0x70998c)
/usr/local/go/src/runtime/asm_amd64.s:1371 (0x475de0)
�[0m
�[2m[GIN] POST(/config) => 500
�[0m

Configuration

Note: I have not yet set up a reverse proxy for anything. I'm doin initial setup stuff for this server and haven't gotten to reverse proxy'ing anything.

Platform/Version

Ubuntu 24.04.4 LTS
jfa-go version: git (93937ec) TrayIcon

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    • Status
      Need more info

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions