Bug Description
Environment
- Ubuntu VPS
- Docker Compose
- Fresh clone of the repository
Issues encountered during self-hosting
1. pnpm / Corepack version mismatch
During the Docker build, Corepack downloaded pnpm 11.x while the image was using Node 20.
This resulted in installation failure due to unsupported Node.js features.
Workaround
Pinning pnpm to a compatible version (for example, pnpm 10.x) resolved the issue.
2. Interactive pnpm approve-builds
The Docker build stopped with:
ERR_PNPM_IGNORED_BUILDS
Run "pnpm approve-builds"
This is difficult to use in automated Docker builds because it requires interactive approval.
3. Missing native build dependencies
After allowing build scripts, installation failed because native packages required Python and native build tools.
Installing the following packages resolved the issue:
4. GitHub OAuth debugging
GitHub authentication redirected back with error=github, but the logs did not indicate the underlying reason.
More detailed logging during provider initialization would make self-hosting troubleshooting significantly easier.
Steps to Reproduce
- Clone the repository.
- Follow the self-hosting/Docker setup instructions from the README.
- Run
docker compose up --build (or the documented startup command).
- Observe the build process.
Depending on the environment, the build may fail with:
- Corepack/pnpm version mismatch.
ERR_PNPM_IGNORED_BUILDS.
- Missing native build dependencies (
python3, make, g++).
Affected Area
Other
Screenshots
No response
Browser & OS
No response
Environment
None
Additional Context
No response
Bug Description
Environment
Issues encountered during self-hosting
1. pnpm / Corepack version mismatch
During the Docker build, Corepack downloaded pnpm 11.x while the image was using Node 20.
This resulted in installation failure due to unsupported Node.js features.
Workaround
Pinning pnpm to a compatible version (for example, pnpm 10.x) resolved the issue.
2. Interactive
pnpm approve-buildsThe Docker build stopped with:
This is difficult to use in automated Docker builds because it requires interactive approval.
3. Missing native build dependencies
After allowing build scripts, installation failed because native packages required Python and native build tools.
Installing the following packages resolved the issue:
python3makeg++4. GitHub OAuth debugging
GitHub authentication redirected back with
error=github, but the logs did not indicate the underlying reason.More detailed logging during provider initialization would make self-hosting troubleshooting significantly easier.
Steps to Reproduce
docker compose up --build(or the documented startup command).Depending on the environment, the build may fail with:
ERR_PNPM_IGNORED_BUILDS.python3,make,g++).Affected Area
Other
Screenshots
No response
Browser & OS
No response
Environment
None
Additional Context
No response