Deploy step fails on netcup host (ssh/git auth) #21

Open
opened 2026-04-30 12:54:19 +02:00 by libretech · 0 comments
Owner

Symptom

Deploy task #137 on commit 93fdc7d failed at 'Deploy to host' step with:

Please make sure you have the correct access rights
and the repository exists.
exitcode '1': failure

Likely cause

The repo moved from libretech/code-crispies to public/code-crispies on Gitea. The host's /srv/cc/.git/config likely still points to the old path, and tengo's SSH key may not have access to the new path, so the workflow's git pull --ff-only fails.

Fix candidates

  1. Update /srv/cc/.git/config remote URL to ssh://tengo@git.librete.ch:41240/public/code-crispies.git.
  2. Confirm tengo has write/read on public/code-crispies (likely already does — just redirect not following over SSH).
  3. Verify with a manual ssh netcup 'cd /srv/cc && git pull' before re-running deploy.

Pre-req

Reproduce locally first (CI rule: no try-and-error pushes).

## Symptom Deploy task #137 on commit 93fdc7d failed at 'Deploy to host' step with: ``` Please make sure you have the correct access rights and the repository exists. exitcode '1': failure ``` ## Likely cause The repo moved from `libretech/code-crispies` to `public/code-crispies` on Gitea. The host's `/srv/cc/.git/config` likely still points to the old path, and tengo's SSH key may not have access to the new path, so the workflow's `git pull --ff-only` fails. ## Fix candidates 1. Update `/srv/cc/.git/config` remote URL to `ssh://tengo@git.librete.ch:41240/public/code-crispies.git`. 2. Confirm tengo has write/read on public/code-crispies (likely already does — just redirect not following over SSH). 3. Verify with a manual `ssh netcup 'cd /srv/cc && git pull'` before re-running deploy. ## Pre-req Reproduce locally first (CI rule: no try-and-error pushes).
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: public/code-crispies#21
No description provided.