Repository navigation
fix(install): turn off plan gates in the Windows installer config - #4599
Merged
Salazareo merged 1 commit intoNov 12, 2026
Merged
Conversation
install.sh writes "meteringEnforcement": { "subscriptions": false } into
config.json because a self-hosted install has no paid plans, so with the
gates on the OpenAI/Anthropic-compatible AI endpoints answer 402
subscription_required for every account. install.ps1 never got that
key, so a Windows install made with the README one-liner still has the
gates on. Write the same key from install.ps1.
Salazareo
approved these changes
Nov 12, 2026
Salazareo
enabled auto-merge (squash)
November 12, 2026 22:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
install.sh writes
"meteringEnforcement": { "subscriptions": false }intoputer/config/config.json, and doc/self-hosting.md explains why: a self-hosted install has no paid plans, so with the plan gates on, the OpenAI/Anthropic-compatible AI endpoints return402 subscription_requiredfor every account. install.ps1 didn't get that key when it was added, so a Windows install made with the README one-liner (irm https://puter.com/selfhost?os=windows | iex) still has the gates on, sincesubscriptionEnforcementEnabledtreats a missing key as on.This writes the same key from install.ps1, in the same place as install.sh.
How this was tested: install.ps1 (Windows PowerShell 5.1) and install.sh (Git Bash) were run end to end on Windows 11 with a stub
dockerandPUTER_URLpointing at this checkout, and the two generated config.json files were compared. Before the change, the only difference was the missingmeteringEnforcementkey. After it, both files have the same keys in the same order and the same non-secret values.