[GH-ISSUE #697] Change of KOMODO_JWT_SECRET removed compose.yml files #14892

Open
opened 2026-05-24 15:41:08 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @rmiller-gd on GitHub (Jul 31, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/697

Description

While transferring Portainer stacks to Komodo (saving each stack in separate folders), encountered issues with KOMODO_JWT_SECRET containing an @ symbol:

Steps to reproduce

  1. Set KOMODO_JWT_SECRET with @ symbol in the value
  2. Attempt to save/update environment configuration
  3. Restart Komodo service

Expected behavior

  • Environment variables should save correctly regardless of special characters
  • Existing compose.yml files should remain intact after restart

Actual behavior

  1. Komodo logs show JWT secret text after the @ symbol as unset env variable. Using "abc@zyxwt" as a JWT secret would log "zyxwt" is unset.
  2. New environment value fails to update through KOMODO UI - required manual editing via nano on server
  3. After restart via Terminal, some previously saved compose.yml files were deleted while retaining env files and stack names (stacks show as DOWN status)

Impact

  • Data loss of existing compose configurations
  • Manual server access required for environment variable updates

Environment

  • Komodo version: 1.18.4
  • Server OS: Ubuntu 24.04 LTS arm64

Thanks!

Originally created by @rmiller-gd on GitHub (Jul 31, 2025). Original GitHub issue: https://github.com/moghtech/komodo/issues/697 ## Description While transferring Portainer stacks to Komodo (saving each stack in separate folders), encountered issues with `KOMODO_JWT_SECRET` containing an @ symbol: ## Steps to reproduce 1. Set `KOMODO_JWT_SECRET` with @ symbol in the value 2. Attempt to save/update environment configuration 3. Restart Komodo service ## Expected behavior - Environment variables should save correctly regardless of special characters - Existing compose.yml files should remain intact after restart ## Actual behavior 1. Komodo logs show JWT secret text after the @ symbol as unset env variable. Using "abc@zyxwt" as a JWT secret would log "zyxwt" is unset. 3. New environment value fails to update through KOMODO UI - required manual editing via nano on server 4. After restart via Terminal, _some_ previously saved compose.yml files were deleted while retaining env files and stack names (stacks show as DOWN status) ## Impact - Data loss of existing compose configurations - Manual server access required for environment variable updates ## Environment - Komodo version: 1.18.4 - Server OS: Ubuntu 24.04 LTS arm64 Thanks!
GiteaMirror added the seen 👀 label 2026-05-24 15:41:08 -05:00
Author
Owner

@mbecker20 commented on GitHub (Aug 30, 2025):

I cannot reproduce this issue, i just started up Komodo using KOMODO_JWT_SECRET with @ symbol and it worked fine. There aren't even any paths Komodo would delete any files on your host. Maybe you could try again to explain the issue, I am having some trouble following it.

<!-- gh-comment-id:3238979630 --> @mbecker20 commented on GitHub (Aug 30, 2025): I cannot reproduce this issue, i just started up Komodo using KOMODO_JWT_SECRET with @ symbol and it worked fine. There aren't even any paths Komodo would delete any files on your host. Maybe you could try again to explain the issue, I am having some trouble following it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#14892