Accessing Build Logs
1
Open your deployment
Navigate to the deployment you want to monitor.
2
Go to the Logs tab
Click on the Logs tab to view build output.
3
Monitor in real-time
For active builds, logs stream in real-time. For completed builds, you’ll see the full log history.
Build Stages
Build logs are organized by stage. Each stage shows its status and detailed output:1. Cloning
2. Building
docker build with your Dockerfile. You’ll see each Dockerfile instruction executed.
3. Pushing
4. Deploying
Log Levels
Logs are color-coded by level:| Level | Meaning |
|---|---|
| INFO | Normal progress information |
| WARNING | Non-critical issues that might need attention |
| ERROR | Errors that may cause the build to fail |
Common Build Errors
Clone failed: Repository not found
Clone failed: Repository not found
- Verify the repository URL is correct
- For private repos, check that GitHub access is configured
- Ensure you have permission to access the repository
Clone failed: Branch not found
Clone failed: Branch not found
- Check that the branch name is spelled correctly
- Verify the branch exists in the repository
- Try using the default branch (usually
mainormaster)
Build failed: Dockerfile not found
Build failed: Dockerfile not found
- Check the Dockerfile path in your deployment settings
- Ensure the Dockerfile exists at the specified path
- Verify the file is named exactly
Dockerfile(case-sensitive)
Build failed: COPY failed
Build failed: COPY failed
- Enable “Build From Root” if the file is outside the Dockerfile directory
- Verify the path exists in your repository
- Check for typos in the path
Build failed: npm install errors
Build failed: npm install errors
- Check your package.json for dependency conflicts
- Try using
npm ciinstead ofnpm installin your Dockerfile - Ensure your lockfile is committed and up to date
Push failed: Registry error
Push failed: Registry error
- This is usually a temporary issue
- Try rebuilding after a few minutes
- If persistent, check for large image sizes that may cause timeouts
Debugging Tips
Check the Dockerfile Locally
Before pushing to Orchard, test your Dockerfile locally:Reduce Build Times
Large builds can timeout. To speed up builds:- Use multi-stage builds to reduce final image size
- Order Dockerfile commands from least to most frequently changed
- Use .dockerignore to exclude unnecessary files:
View Historical Logs
Build logs are preserved for each build. To view logs from a previous build:- Go to your deployment’s History tab
- Click on a previous build
- View the logs for that specific build
Container Logs
In addition to build logs, you can view runtime container logs:1
Open your deployment
Navigate to your deployment.
2
Go to Logs tab
Click on the Logs tab.
3
Select container logs
Switch to view container/pod logs instead of build logs.