Troubleshooting
This page collects the most common build and runtime issues for the current project.
Web Console Cannot Open
Confirm that you are using host port 8080:
http://127.0.0.1:8080Check container status:
Linux:
bashdocker compose -f docker-compose.x86.yml psWindows (PowerShell/CMD):
powershelldocker compose -f docker-compose.x86.windows.yml ps
View logs:
Linux:
bashdocker compose -f docker-compose.x86.yml logs -fWindows (PowerShell/CMD):
powershelldocker compose -f docker-compose.x86.windows.yml logs -f
Port Conflicts
The x86 Compose file publishes:
808019361985180888000/udp
If a port is occupied, you can modify the host port in docker-compose.x86.yml (or docker-compose.x86.windows.yml on Windows), or stop the service that occupies the port.
No Release Package in build_output/
Use the full run command:
Linux:
bashdocker compose -f docker-compose.x86.yml up -d --buildWindows (PowerShell/CMD):
powershelldocker compose -f docker-compose.x86.windows.yml up -d --build
For the Sophon path, use:
docker compose -f docker-compose.sophon.yml up --buildNote: docker compose build only builds the image and does not necessarily execute the container command that exports the release package.
Sophon Build Failure
The Sophon build uses a self-contained Dockerfile.sophon (based on ubuntu:22.04) and does not require an external base image.
If the build fails, check the Docker build logs:
docker compose -f docker-compose.sophon.yml up --build 2>&1 | tail -50Common causes:
- Network issues preventing apt/npm/cargo mirror downloads — check
SOPHON_APT_MIRRORand related environment variables. - Insufficient disk space — the build requires approximately 3GB.
nginx / SRS / cosmo-engine Not Started
Run the script:
${INSTALLPATH}/scripts/run_start.shThe startup sequence includes:
- Stop existing processes.
- Start nginx.
- Start SRS.
- Start
cosmo-engine.
Check the logs:
/data/cwaiuserdata/log/logsDocumentation Site Build Fails
First install dependencies:
npm ciThen build:
npm run docs:buildIn Windows PowerShell, if you encounter an npm.ps1 execution-policy issue, you can use:
npm.cmd run docs:buildvitepress Not Found
This means the documentation-site dependencies have not been installed:
npm cinpm Audit Reports Vulnerabilities
The current documentation-site dependencies may trigger npm audit warnings. Do not blindly upgrade dependencies; before upgrading, confirm that VitePress, the theme configuration, and the GitHub Pages workflow still build successfully.
Windows Native CPU Build
There is currently no confirmed-working Windows native CPU build script in this repository. Do not present old scripts or old commands as a publicly supported path.
