CorfedoCorfedoDocs

Status and troubleshooting

Check that an installation is ready, read its logs, and what to do when an installation, an update, sign-in, indexing or search goes wrong.

Start with status. It names the service or check that is not ready. Then read that service's logs.

Check the installation

sh ~/corfedo/install.sh status

The report reads from top to bottom:

PartWhat it tells you
Release, Address, Data generationThe active release, the workspace address and the data generation, which goes up by one with each restore
Unfinished updatePresent only after an interrupted update, with the command that continues it. See Update.
Workload … certificateDays left on Corfedo's internal certificates, see Certificates and trust
ServicesEach container and its health from Docker Compose
Engine indexer, Engine searchWhether each engine node is ready
Artifact storageThe storage budget, what the indexes use, free space and warnings

Check: the last line is Ready. and the command exits 0.

Ready means Corfedo, the search engine and the workspace address all answer. With your own reverse proxy, status does not check the proxy.

Read the logs

compose runs Docker Compose for the installation:

sh ~/corfedo/install.sh compose ps
sh ~/corfedo/install.sh compose logs --since 30m platform
sh ~/corfedo/install.sh compose logs -f indexer search

The services are platform, indexer, search, postgres, and caddy and keycloak (the bundled account service) when the installation uses them.

When it is not ready

What you seeWhat to do
platform is unhealthy or startingRead compose logs platform. A service gets a few minutes to start after a restart.
The workspace address answered 000Caddy is not reachable on the address and port. Check compose ps caddy and that nothing else uses the port.
Issuer discovery of the account service answered …Keycloak is not ready. Read compose logs keycloak.
An internal certificate shows expiredRun renew-certificates
Artifact storage warns of low spaceFree disk, or lower CORFEDO_STORAGE_BUDGET_GIB in installation settings so the budget fits the disk

Install and update

What you seeWhyWhat to do
Docker is not running or this user cannot use itThe Docker daemon is stopped, or the user is not in the docker groupStart Docker, or add the user to the group and sign in again
… GiB are free under … with at least 10 GiB are neededNot enough disk in the installation directoryFree disk or choose another --dir
Docker did not report its memoryDocker gives no memory figure, so the search node cannot be sizedCheck docker info, then run the installer again
No free network in 172.31.200.0-172.31.250.0Other Docker networks use every address range the installer triesRemove unused Docker networks
Corfedo did not become readyA service did not start in timeRun status, then read the logs of the service it names
An install stopped part wayThe terminal closed or a step failedRun the same command again. It continues where it stopped.
The update of Corfedo … did not finishAn earlier update was interruptedRun update --version with the release it names. See Update.

Sign-in and the browser

What you seeWhyWhat to do
The browser warns that the connection is not privateThe browser does not trust the local certificate authorityTrust generated/caddy-root.crt. See Certificates and trust.
A coding agent or the CLI cannot connect, with a certificate errorThe client's runtime does not trust the certificateSet the client's trust as Certificates and trust shows
Sign-in with your own identity provider fails after the provider's pageThe platform cannot reach the provider's issuer address, or does not trust its certificateCheck that the platform container reaches the issuer. Add a private CA to generated/tls/ca.crt and run update for the installed release, see Trust private CAs.
Browser sign-in for the CLI or an MCP client fails before the sign-in pageThe platform cannot fetch the client's identity from clients.corfedo.ai or the client's own hostAllow outbound HTTPS from the host
Every administrator is locked out by a network listNetwork access in Settings no longer admits their addressClear the list on the host as Security shows
What you seeWhyWhat to do
Repositories stay Indexing for a long timeThe indexer is busy or not ready, or the artifact storage budget is used up, so builds waitCheck Engine indexer and Artifact storage in status and compose logs indexer. Raise CORFEDO_STORAGE_BUDGET_GIB in installation settings when the disk has room.
Unavailable on indexed repositoriesThe search node is not ready, or cannot hold every indexCheck Engine search in status. Give Docker more memory. To make the search node use it, run renew-certificates, which also rewrites the search node's memory limit and restarts it.
The index could not be stored on a buildWriting the index to artifact storage failed, usually because the disk is fullFree disk, then reindex
The repository exceeds the indexer’s limitsThe repository's index is larger than this installation's build limitRaise CORFEDO_MAXIMUM_BUILD_BYTES in installation settings, or leave the repository out with a discovery rule

Certificates

What you seeWhyWhat to do
certificate_expiry warnings in the logsA workload certificate expires within 30 daysRun renew-certificates
status shows a workload certificate as expired and services are not readyThe certificate expiredRun renew-certificates. It needs no network access.

When a part stops

Part downWhat people see
Search nodeRepositories it serves show Unavailable, and search leaves them out
IndexerNew commits wait. Search keeps the indexes it has.
AI providerAnswers fail and say so. Retry asks again. Search and code reading keep working.
Identity providerNobody can sign in. Existing sessions keep working until they expire.
PostgreSQLCorfedo stops working until the database is back

On this page