Periphery error 'request to periphery failed | 500 Internal Server Error'

I’m new to Komodo and created an ‘observability stack’ with Grafana, Loki, Alloy, Prometheus, cAdvisor, etc., using a GitHub repo as source. That works like a charm and I really like Komodo.

However, with my second stack, added to the same GitHub repo, I’m not so lucky. Here are the steps:

  • Add the compose.yaml to the GitHub repo and commit+push it.
  • Create a new stack and point to the GitHub repo with the path to the compose file directory.
  • Added a few variables to Komodo and used them in the .env section.
  • Try to pull the images, which results in the mentioned error.

What am I doing wrong here?

The error shown in the UI info:

ERROR: request to periphery failed | 500 Internal Server Error

TRACE:
	1: Stopped after repo pull failure

The tool export of the stack I’m creating:

[[stack]]
name = "MYSTACK"
[stack.config]
server = "MYSERVER"
project_name = "MYSTACK"
run_directory = "./stacks/MYSTACK"
git_provider = "GitHub.com"
git_account = "MYACCOUNT"
repo = "MYACCOUNT/MYREPO"
environment = """
  EXAMPLE1_DOMAIN = [[EXAMPLE1_DOMAIN]]
  EXAMPLE2_DOMAIN = [[EXAMPLE2_DOMAIN]]
"""

The GitHub repo is structured like this:

MYREPO
|
+- stacks
      |
      +- OBSERVABILITYSTACK
      |.    |
      |     +- compose.yaml 
      |
      +- MYSTACK
            |
            +- compose.yaml

The log ‘core’:

INFO ExecuteRequest{req_id=5a8f38af-1d24-4790-8bf1-5ddd4323eff4 user_id="67c9ca36f55d64ebf731089c" update_id="67caa25de572d24bb7dae947" request="PullStack"}: core::api::execute: /execute request 5a8f38af-1d24-4790-8bf1-5ddd4323eff4 | user: ron@moerman.online
WARN ExecuteRequest{req_id=5a8f38af-1d24-4790-8bf1-5ddd4323eff4 user_id="67c9ca36f55d64ebf731089c" update_id="67caa25de572d24bb7dae947" request="PullStack"}: core::api::execute: /execute request 5a8f38af-1d24-4790-8bf1-5ddd4323eff4 error: request to periphery failed | 500 Internal Server Error: Stopped after repo pull failure
WARN core::api::execute: /execute request 5a8f38af-1d24-4790-8bf1-5ddd4323eff4 task error: request to periphery failed | 500 Internal Server Error: Stopped after repo pull failure

The log of the periphery container shows:

  ...
WARN periphery::router: request 93738b62-30ab-476c-b80e-aa50bd86e4f2 | type: GetLatestCommit | error: Repo path is not directory. is it cloned?
WARN periphery::router: request 0f66cf17-400c-49b0-b669-d734485ae546 | type: GetLatestCommit | error: Repo path is not directory. is it cloned?
WARN periphery::router: request c04ebfb2-bacd-474d-aa20-748549f7ddc2 | type: ComposePull | error: Stopped after repo pull failure
WARN periphery::router: request c2bd670b-9897-4df3-b68d-529120cd71ac | type: GetLatestCommit | error: Repo path is not directory. is it cloned?

Hello, I’m not entirely sure what you are trying to do here. But, if you can find a similar setup for bitcoin/zcash on github, that should work for Komodo too.