Skip to content

Importing existing caddyfile not working #567

@driftywinds

Description

@driftywinds

Describe the bug
Importing my caddyfile is not working, parse and review button does not work when clicked

To Reproduce
Steps to reproduce the behavior:

  1. Set charon up and try to import Caddyfile using UI

Expected behavior
Parse and review button should do its job

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows, (charon running on ubuntu server with docker)
  • Browser : Firefox
  • Version : latest

Docker logs for context -

charon  | 2026/01/26 06:50:26 /app/backend/internal/api/handlers/import_handler.go:61 record not found
charon  | [0.179ms] [rows:0] SELECT * FROM `import_sessions` WHERE status IN ("pending","reviewing") ORDER BY created_at DESC,`import_sessions`.`id` LIMIT 1
charon  | {"client":"172.16.58.1","latency":"353.122µs","level":"info","method":"GET","msg":"handled request","path":"/api/v1/import/status","request_id":"cb8c77f7-b52c-4779-a7d9-1f1d856d9fd0","status":200,"time":"2026-01-26T06:50:26Z"}
charon  | [GIN] 2026/01/26 - 06:50:26 | 200 |     436.123µs |     172.16.58.1 | GET      "/api/v1/import/status"

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendServer-side codecaddyCaddy-specific

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions