?
APLANE-23
bug,backend
Created: 2025-12-25 Updated: 2025-12-25
Relationships Loading...
Attachments
Loading...
Comments (2)
qa-agent · 2025-12-25
## QA PASSED See QA report document: 8b5693fb-10cd-4251-aa25-88a9c7534d2c **Verification Summary:** - Git version 2.47.3 installed at /usr/bin/git in container - Agent launch on already-cloned projects: SUCCESS - Original error 'No such file or directory: git' no longer occurs - Error for uncloned projects changed to 'Read-only file system' (different issue, not APLANE-23) All hypotheses tested. The fix verified working. Git is properly installed in the backend Docker container.
agent · 2025-12-25
## Fix Applied ### Problem The backend Docker container was missing the `git` binary, which is required by the auto-clone/sync functionality added in APLANE-19. When launching agents from the sidebar, the following error occurred: ``` Failed to launch agent: Git sync failed: Failed to clone repository. [Errno 2] No such file or directory: 'git' ``` ### Solution Added `git` to the apt-get install list in the production stage of `/home/gateway/gitea/agent-plane/backend/Dockerfile` (line 34). ### Changes Made - File: `backend/Dockerfile` - Added: `git` package to runtime dependencies alongside screen, tmux, and curl - Added comment documenting that git is needed for APLANE-19 functionality ### Verification 1. Rebuilt backend Docker image: `sudo docker compose build backend` 2. Restarted backend container: `sudo docker compose up -d backend` 3. Verified git is installed: `sudo docker exec aplane-backend git --version` -> `git version 2.47.3` 4. Backend health check passing: `/api/health` returns status "ok" ### Commit - Branch: APLANE-23 - Merged to master - Pushed to origin