Repository navigation
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
mlr
marked this pull request as ready for review
November 23, 2026 23:34
This branch was successfully deployed
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.
Summary of changes
The
filessection of the fly.toml reference told readers to base64-encoderaw_value, and its example usedraw_value = "aGVsbG8gd29ybGQK". But flyctl base64-encodesraw_valueitself when it builds the Machine config (internal/appconfig/config.go#L153-L155). So a file written the way the page said reached the Machine as base64 text instead of the file's contents. An app that reads that file, such as a script run withpython /app/server.py, fails on start.Now the page says
raw_valueis the plain file content and flyctl encodes it, and the example usesraw_value = "hello world\n".The Machines API pages don't change: in the API's Machine config,
files[].raw_valuereally is base64.Preview
https://fly-io-fix-files-raw-value-plain-text.mintlify.site/reference/configuration#the-files-section
Related Fly.io community and GitHub links
raw_value:internal/appconfig/config.go#L153-L155Notes
I deployed one app with flyctl v0.5.14 and two
[[files]]entries: one written as the new text says, one copied from the old example. The process prints both files withod -c.The Machine config (
fly machine status -d), with eachraw_valuedecoded:The Machine's logs:
The new text gives
hello world\non the Machine. The old example gives the base64 string itself.