Skip to content

Upgrade your version of pocketbase in local server and live on fly.io app #2615

Answered by ganigeorgiev
TigerJohn3 asked this question in Q&A
Discussion options

You must be logged in to vote

If you use the prebuilt executable and followed the guide from #537, you can change the version from the PB_VERSION arg in the Dockerfile (OR by updating it in the [[build.args]] section in your fly.toml config) and then redeploy.

Locally, if you are not using Docker, you can download the latest version and replace your current binary.
With v0.16.0 there is a helper ./pocketbase update command that will download the latest executable, backup your pb_data, and replace your current executable with the previously downloaded one (the command currently doesn't work on Windows, but a fix has been applied already in master and will be available with the next v0.16.4 release this week).

If you ar…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TigerJohn3
Comment options

Answer selected by TigerJohn3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants