Created
November 27, 2022 20:14
-
-
Save gartnera/4c6df75885fdbdbc5072cdf70bf30ece to your computer and use it in GitHub Desktop.
fly postgres log
This file contains 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
➜ flyapp-mastodon git:(main) ✗ fly suspend -h | |
The SUSPEND command will suspend an application. | |
All instances will be halted leaving the application running nowhere. | |
It will continue to consume networking resources (IP address). See APPS RESUME | |
for details on restarting it. | |
Usage: | |
flyctl suspend [APPNAME] [flags] | |
Flags: | |
-h, --help help for suspend | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
➜ flyapp-mastodon git:(main) ✗ fly apps list | |
NAME OWNER STATUS PLATFORM LATEST DEPLOY | |
fly-builder-aged-shadow-1971 personal suspended machines | |
kernelpoppers-social personal running nomad 2022-11-21T04:03:05Z | |
kernelpoppers-social-db personal suspended machines | |
kernelpoppers-social-redis personal running nomad 2022-11-21T02:23:47Z | |
➜ flyapp-mastodon git:(main) ✗ fly start kernelpoppers-social-db | |
Error: unknown command "start" for "flyctl" | |
Did you mean this? | |
restart | |
Run 'flyctl --help' for usage. | |
Error unknown command "start" for "flyctl" | |
Did you mean this? | |
restart | |
➜ flyapp-mastodon git:(main) ✗ fly -h | |
flyctl is a command line interface to the Fly.io platform. | |
It allows users to manage authentication, application launch, | |
deployment, network configuration, logging and more with just the | |
one command. | |
* Launch an app with the launch command | |
* Deploy an app with the deploy command | |
* View a deployed web application with the open command | |
* Check the status of an application with the status command | |
To read more, use the docs command to view Fly's help on the web. | |
Usage: | |
flyctl [flags] | |
flyctl [command] | |
Available Commands: | |
agent Commands that manage the Fly agent, a background process that manages flyctl wireguard connections | |
apps Manage apps | |
auth Manage authentication | |
autoscale Autoscaling app resources | |
certs Manage certificates | |
checks Manage health checks | |
completion generate the autocompletion script for the specified shell | |
config Manage an app's configuration | |
curl Run a performance test against a URL | |
dashboard Open web browser on Fly Web UI for this app | |
deploy Deploy Fly applications | |
destroy Permanently destroys an app | |
dig Make DNS requests against Fly.io's internal DNS server | |
dns-records Manage DNS records | |
docs View Fly documentation | |
doctor The DOCTOR command allows you to debug your Fly environment | |
domains Manage domains | |
help Help on flyctl commands | |
history List an app's change history | |
image Manage app image | |
info Shows information about the application | |
ips Manage IP addresses for apps | |
launch Create and configure a new app from source code or a Docker image. | |
list Lists your Fly resources | |
logs View app logs | |
machine Commands that manage machines | |
monitor Monitor currently running application deployments | |
move Move an app to another organization | |
open Open browser to current deployed application | |
orgs Commands for managing Fly organizations | |
ping Test connectivity with ICMP ping messages | |
platform Fly platform information | |
postgres Manage Postgres clusters. | |
proxy Proxies connections to a fly VM | |
redis Launch and manage Redis databases managed by Upstash.com | |
regions Manage regions | |
releases List app releases | |
restart Restart an application | |
resume Resume an application | |
scale Scale app resources | |
secrets Manage application secrets with the set and unset commands. | |
sftp Get or put files from a remote VM. | |
ssh Use SSH to login to or run commands on VMs | |
status Show app status | |
suspend Suspend an application | |
turboku Launches heroku apps | |
version Show version information for the flyctl command | |
vm Commands that manage VM instances | |
volumes Volume management commands | |
wireguard Commands that manage WireGuard peer connections | |
Flags: | |
-t, --access-token string Fly API Access Token | |
-h, --help help for flyctl | |
-j, --json json output | |
--verbose verbose output | |
Use "flyctl [command] --help" for more information about a command. | |
➜ flyapp-mastodon git:(main) ✗ | |
➜ flyapp-mastodon git:(main) ✗ fly resume | |
Error: accepts 1 arg(s), received 0 | |
Usage: | |
flyctl resume [APPNAME] [flags] | |
Flags: | |
-h, --help help for resume | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
Error accepts 1 arg(s), received 0 | |
➜ flyapp-mastodon git:(main) ✗ fly resume kernelpoppers-social-db | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
Warning: this command is deprecated. Only use it if you have a previously suspended app. Use 'fly scale count 0' if you need to stop an app temporarily. | |
resume complete - kernelpoppers-social-db is now deployed with 1 running instance | |
➜ flyapp-mastodon git:(main) ✗ fly restart kernelpoppers-social | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
Error this command has been removed. please use `fly apps restart` instead | |
➜ flyapp-mastodon git:(main) ✗ fly apps restart kernelpoppers-social | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
kernelpoppers-social is being restarted | |
➜ flyapp-mastodon git:(main) ✗ flyctl postgres connect -a kernelpoppers-social-db | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
Oops, something went wrong! Could you try that again? | |
➜ flyapp-mastodon git:(main) ✗ flyctl postgres connect -a kernelpoppers-social-db | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
Oops, something went wrong! Could you try that again? | |
➜ flyapp-mastodon git:(main) ✗ flyctl version upgrade | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
flyctl v0.0.433 linux/amd64 Commit: 1acf701f BuildDate: 2022-11-19T01:36:01Z | |
➜ flyapp-mastodon git:(main) ✗ flyctl postgres connect -a kernelpoppers-social-db | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
Oops, something went wrong! Could you try that again? | |
➜ flyapp-mastodon git:(main) ✗ fly logs -a kernelpoppers-social-db | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
^C% ➜ flyapp-mastodon git:(main) ✗ flyctl postgres connect -a kernelpoppers-social-db | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
Oops, something went wrong! Could you try that again? | |
➜ flyapp-mastodon git:(main) ✗ fly apps restart kernelpoppers-social-db | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
Error postgres apps should use `fly pg restart` instead | |
➜ flyapp-mastodon git:(main) ✗ fly pg restart kernelpoppers-social-db | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
Error app kernelpoppers-social is not a postgres app | |
➜ flyapp-mastodon git:(main) ✗ fly pg restart -a kernelpoppers-social-db | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
Error no active leader found | |
➜ flyapp-mastodon git:(main) ✗ fly status -a kernelpoppers-social-db | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
ID STATE ROLE REGION HEALTH CHECKS IMAGE CREATED UPDATED | |
e784373f140083 starting error ord 3 total flyio/postgres:14.4 (v0.0.32) 2022-11-21T03:17:09Z 2022-11-27T08:24:03Z | |
➜ flyapp-mastodon git:(main) ✗ fly status -a kernelpoppers-social-db | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
ID STATE ROLE REGION HEALTH CHECKS IMAGE CREATED UPDATED | |
e784373f140083 starting error ord 3 total flyio/postgres:14.4 (v0.0.32) 2022-11-21T03:17:09Z 2022-11-27T08:24:03Z | |
➜ flyapp-mastodon git:(main) ✗ fly pg restart -a kernelpoppers-social-db | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
Error no active leader found | |
➜ flyapp-mastodon git:(main) ✗ fly pg | |
Manage Postgres clusters. | |
Usage: | |
flyctl postgres [command] | |
Aliases: | |
postgres, pg | |
Available Commands: | |
attach Attach a postgres cluster to an app | |
config View and manage Postgres configuration. | |
connect Connect to the Postgres console | |
create Create a new PostgreSQL cluster | |
db Manage databases in a cluster | |
detach Detach a postgres cluster from an app | |
failover Failover to a new primary | |
list List postgres clusters | |
restart Restarts each member of the Postgres cluster one by one. | |
users Manage users in a postgres cluster | |
Flags: | |
-h, --help help for postgres | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
Use "flyctl postgres [command] --help" for more information about a command. | |
➜ flyapp-mastodon git:(main) ✗ fly pg restart -a kernelpoppers-social-db | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
Error no active leader found | |
➜ flyapp-mastodon git:(main) ✗ fly machines list | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
0 machines have been retrieved. | |
View them in the UI here (https://fly.io/apps/kernelpoppers-social/machines/) | |
kernelpoppers-social | |
ID NAME STATE REGION IMAGE IP ADDRESS VOLUME CREATED LAST UPDATED | |
➜ flyapp-mastodon git:(main) ✗ fly machines list -a kernelpoppser-social-db | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
Error Could not find App "kernelpoppser-social-db" | |
➜ flyapp-mastodon git:(main) ✗ fly version update | |
Update available 0.0.433 -> v0.0.435. | |
Run "flyctl version update" to upgrade. | |
/usr/bin/zsh -c | |
Running automatic update [curl -L "https://fly.io/install.sh" | sh] | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 1475 0 1475 0 0 2732 0 --:--:-- --:--:-- --:--:-- 2731 | |
######################################################################## 100.0% | |
set channel to shell | |
flyctl was installed successfully to /home/alex/.fly/bin/flyctl | |
Run 'flyctl --help' to get started | |
➜ flyapp-mastodon git:(main) ✗ fly machines list -a kernelpoppser-social-db | |
Error Could not find App "kernelpoppser-social-db" | |
➜ flyapp-mastodon git:(main) ✗ fly machines list -a kernelpoppser-social | |
Error Could not find App "kernelpoppser-social" | |
➜ flyapp-mastodon git:(main) ✗ fly machines list -a kernelpoppers-social-db | |
WARN The running flyctl agent (v0.0.433) is older than the current flyctl (v0.0.435). | |
WARN The out-of-date agent will be shut down along with existing wireguard connections. The new agent will start automatically as needed. | |
1 machines have been retrieved. | |
View them in the UI here (https://fly.io/apps/kernelpoppers-social-db/machines/) | |
kernelpoppers-social-db | |
ID NAME STATE REGION IMAGE IP ADDRESS VOLUME CREATED LAST UPDATED | |
e784373f140083 delicate-shadow-4399 starting ord flyio/postgres:14.4 (v0.0.32) fdaa:0:e4e5:a7b:20dc:6bc2:79f1:2 vol_mjn924ooyjx403lq 2022-11-21T03:17:09Z 2022-11-27T08:24:03Z | |
➜ flyapp-mastodon git:(main) ✗ flyctl machines -h | |
Commands that manage machines | |
Usage: | |
flyctl machine [command] | |
Aliases: | |
machine, machines, m | |
Available Commands: | |
api-proxy Establish a proxy to the Machine API through a Wireguard tunnel for local connections | |
clone Clone a Fly machine | |
kill Kill (SIGKILL) a Fly machine | |
list List Fly machines | |
remove Remove a Fly machine | |
restart Restart one or more Fly machines | |
run Run a machine | |
start Start one or more Fly machines | |
status Show current status of a running machine | |
stop Stop one or more Fly machines | |
update Update a machine | |
Flags: | |
-h, --help help for machine | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
Use "flyctl machine [command] --help" for more information about a command. | |
➜ flyapp-mastodon git:(main) ✗ flyctl machines remove delicate-shadow-4399 | |
Error could not retrieve machine delicate-shadow-4399 | |
➜ flyapp-mastodon git:(main) ✗ flyctl machines remove delicate-shadow-4399 -a kernelpoppers-social-db | |
Error could not retrieve machine delicate-shadow-4399 | |
➜ flyapp-mastodon git:(main) ✗ flyctl machines remove e784373f140083 -a kernelpoppers-social-db | |
machine e784373f140083 was found and is currently in starting state, attempting to destroy... | |
Error could not destroy machine e784373f140083: failed to destroy VM e784373f140083: unable to destroy machine, not currently stopped | |
➜ flyapp-mastodon git:(main) ✗ flyctl machines stop e784373f140083 -a kernelpoppers-social-db | |
Sending kill signal to machine e784373f140083... | |
Error could not stop machine e784373f140083: failed to stop VM e784373f140083: unable to stop machine, not currently started | |
➜ flyapp-mastodon git:(main) ✗ fly suspend -a kernelpoppers-social-db | |
Error: unknown shorthand flag: 'a' in -a | |
Usage: | |
flyctl suspend [APPNAME] [flags] | |
Flags: | |
-h, --help help for suspend | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
Error unknown shorthand flag: 'a' in -a | |
➜ flyapp-mastodon git:(main) ✗ fly suspend kernelpoppers-social-db | |
Error this command is deprecated. You may still resume suspended apps using 'fly resume'. Use 'fly scale count 0' if you need to stop an app temporarily | |
➜ flyapp-mastodon git:(main) ✗ fly scale count 0 -a kernelpoppers-social-db | |
WARN app flag 'kernelpoppers-social-db' does not match app name in config file 'kernelpoppers-social' | |
? Continue using 'kernelpoppers-social-db' Yes | |
Error it looks like your app is running on v2 of our platform, and does not support this legacy command: try running fly machine clone instead | |
➜ flyapp-mastodon git:(main) ✗ flyctl machines ls -h | |
List Fly machines | |
Usage: | |
flyctl machine list [flags] | |
Aliases: | |
list, ls | |
Flags: | |
-a, --app string Application name | |
-c, --config string Path to application configuration file | |
-h, --help help for list | |
-q, --quiet Only list machine ids | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
➜ flyapp-mastodon git:(main) ✗ flyctl machines ls -a kernelpoppers-social-db | |
1 machines have been retrieved. | |
View them in the UI here (https://fly.io/apps/kernelpoppers-social-db/machines/) | |
kernelpoppers-social-db | |
ID NAME STATE REGION IMAGE IP ADDRESS VOLUME CREATED LAST UPDATED | |
e784373f140083 delicate-shadow-4399 starting ord flyio/postgres:14.4 (v0.0.32) fdaa:0:e4e5:a7b:20dc:6bc2:79f1:2 vol_mjn924ooyjx403lq 2022-11-21T03:17:09Z 2022-11-27T08:24:03Z | |
➜ flyapp-mastodon git:(main) ✗ flyctl machines remove e784373f140083 -a kernelpoppers-social-db -h | |
Remove a Fly machine | |
Usage: | |
flyctl machine remove <id> [flags] | |
Aliases: | |
remove, rm | |
Flags: | |
-a, --app string Application name | |
-c, --config string Path to application configuration file | |
-f, --force force kill machine if it's running | |
-h, --help help for remove | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
➜ flyapp-mastodon git:(main) ✗ flyctl machines remove e784373f140083 -a kernelpoppers-social-db --force | |
machine e784373f140083 was found and is currently in starting state, attempting to destroy... | |
e784373f140083 has been destroyed | |
➜ flyapp-mastodon git:(main) ✗ fly machines list -a kernelpoppers-social-db | |
0 machines have been retrieved. | |
View them in the UI here (https://fly.io/apps/kernelpoppers-social-db/machines/) | |
kernelpoppers-social-db | |
ID NAME STATE REGION IMAGE IP ADDRESS VOLUME CREATED LAST UPDATED | |
➜ flyapp-mastodon git:(main) ✗ fly resume kernelpoppers-social-db | |
Warning: this command is deprecated. Only use it if you have a previously suspended app. Use 'fly scale count 0' if you need to stop an app temporarily. | |
resume complete - kernelpoppers-social-db is now deployed with 1 running instance | |
➜ flyapp-mastodon git:(main) ✗ fly machines list -a kernelpoppers-social-db | |
0 machines have been retrieved. | |
View them in the UI here (https://fly.io/apps/kernelpoppers-social-db/machines/) | |
kernelpoppers-social-db | |
ID NAME STATE REGION IMAGE IP ADDRESS VOLUME CREATED LAST UPDATED | |
➜ flyapp-mastodon git:(main) ✗ fly pg restart -a kernelpoppers-social-db | |
Error no active leader found | |
➜ flyapp-mastodon git:(main) ✗ fly pg -h | |
Manage Postgres clusters. | |
Usage: | |
flyctl postgres [command] | |
Aliases: | |
postgres, pg | |
Available Commands: | |
attach Attach a postgres cluster to an app | |
config View and manage Postgres configuration. | |
connect Connect to the Postgres console | |
create Create a new PostgreSQL cluster | |
db Manage databases in a cluster | |
detach Detach a postgres cluster from an app | |
failover Failover to a new primary | |
list List postgres clusters | |
restart Restarts each member of the Postgres cluster one by one. | |
users Manage users in a postgres cluster | |
Flags: | |
-h, --help help for postgres | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
Use "flyctl postgres [command] --help" for more information about a command. | |
➜ flyapp-mastodon git:(main) ✗ | |
➜ flyapp-mastodon git:(main) ✗ fly pg failover -a kernelpoppers-social-db | |
Error failover is not available for standalone postgres | |
➜ flyapp-mastodon git:(main) ✗ fly machines list -a kernelpoppers-social-db | |
0 machines have been retrieved. | |
View them in the UI here (https://fly.io/apps/kernelpoppers-social-db/machines/) | |
kernelpoppers-social-db | |
ID NAME STATE REGION IMAGE IP ADDRESS VOLUME CREATED LAST UPDATED | |
➜ flyapp-mastodon git:(main) ✗ | |
➜ flyapp-mastodon git:(main) ✗ fly status -a kernelpoppers-social-db | |
ID STATE ROLE REGION HEALTH CHECKS IMAGE CREATED UPDATED | |
➜ flyapp-mastodon git:(main) ✗ fly machine -h | |
Commands that manage machines | |
Usage: | |
flyctl machine [command] | |
Aliases: | |
machine, machines, m | |
Available Commands: | |
api-proxy Establish a proxy to the Machine API through a Wireguard tunnel for local connections | |
clone Clone a Fly machine | |
kill Kill (SIGKILL) a Fly machine | |
list List Fly machines | |
remove Remove a Fly machine | |
restart Restart one or more Fly machines | |
run Run a machine | |
start Start one or more Fly machines | |
status Show current status of a running machine | |
stop Stop one or more Fly machines | |
update Update a machine | |
Flags: | |
-h, --help help for machine | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
Use "flyctl machine [command] --help" for more information about a command. | |
➜ flyapp-mastodon git:(main) ✗ fly machine run -h | |
Run a machine | |
Usage: | |
flyctl machine run <image> [command] [flags] | |
Flags: | |
-a, --app string Application name | |
-c, --config string Path to application configuration file | |
--cpus int Number of CPUs | |
--dockerfile string Path to a Dockerfile. Defaults to the Dockerfile in the working directory. | |
--entrypoint string ENTRYPOINT replacement | |
-e, --env strings Set of environment variables in the form of NAME=VALUE pairs. Can be specified multiple times. | |
-h, --help help for run | |
--id string Machine ID, if previously known | |
--kernel-arg strings List of kernel arguments to be provided to the init. Can be specified multiple times. | |
--memory int Memory (in megabytes) to attribute to the machine | |
-m, --metadata strings Metadata in the form of NAME=VALUE pairs. Can be specified multiple times. | |
-n, --name string Machine name, will be generated if missing | |
--org string The organization that will own the app | |
-p, --port strings Exposed port mappings (format: edgePort[:machinePort]/[protocol[:handler]]) | |
-r, --region string The target region (see 'flyctl platform regions') | |
--schedule string Schedule a machine run at hourly, daily and monthly intervals | |
-s, --size string Preset guest cpu and memory for a machine, defaults to shared-cpu-1x | |
-v, --volume strings Volumes to mount in the form of <volume_id_or_name>:/path/inside/machine[:<options>] | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
➜ flyapp-mastodon git:(main) ✗ fly machine run -a kernelpoppers-social-db | |
Error: requires at least 1 arg(s), only received 0 | |
Usage: | |
flyctl machine run <image> [command] [flags] | |
Flags: | |
-a, --app string Application name | |
-c, --config string Path to application configuration file | |
--cpus int Number of CPUs | |
--dockerfile string Path to a Dockerfile. Defaults to the Dockerfile in the working directory. | |
--entrypoint string ENTRYPOINT replacement | |
-e, --env strings Set of environment variables in the form of NAME=VALUE pairs. Can be specified multiple times. | |
-h, --help help for run | |
--id string Machine ID, if previously known | |
--kernel-arg strings List of kernel arguments to be provided to the init. Can be specified multiple times. | |
--memory int Memory (in megabytes) to attribute to the machine | |
-m, --metadata strings Metadata in the form of NAME=VALUE pairs. Can be specified multiple times. | |
-n, --name string Machine name, will be generated if missing | |
--org string The organization that will own the app | |
-p, --port strings Exposed port mappings (format: edgePort[:machinePort]/[protocol[:handler]]) | |
-r, --region string The target region (see 'flyctl platform regions') | |
--schedule string Schedule a machine run at hourly, daily and monthly intervals | |
-s, --size string Preset guest cpu and memory for a machine, defaults to shared-cpu-1x | |
-v, --volume strings Volumes to mount in the form of <volume_id_or_name>:/path/inside/machine[:<options>] | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
Error requires at least 1 arg(s), only received 0 | |
➜ flyapp-mastodon git:(main) ✗ fly machine start -a kernelpoppers-social-db | |
Error: requires at least 1 arg(s), only received 0 | |
Usage: | |
flyctl machine start <id> [<id>...] [flags] | |
Flags: | |
-a, --app string Application name | |
-c, --config string Path to application configuration file | |
-h, --help help for start | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
Error requires at least 1 arg(s), only received 0 | |
➜ flyapp-mastodon git:(main) ✗ fly machine -h | |
Commands that manage machines | |
Usage: | |
flyctl machine [command] | |
Aliases: | |
machine, machines, m | |
Available Commands: | |
api-proxy Establish a proxy to the Machine API through a Wireguard tunnel for local connections | |
clone Clone a Fly machine | |
kill Kill (SIGKILL) a Fly machine | |
list List Fly machines | |
remove Remove a Fly machine | |
restart Restart one or more Fly machines | |
run Run a machine | |
start Start one or more Fly machines | |
status Show current status of a running machine | |
stop Stop one or more Fly machines | |
update Update a machine | |
Flags: | |
-h, --help help for machine | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
Use "flyctl machine [command] --help" for more information about a command. | |
➜ flyapp-mastodon git:(main) ✗ fly machine list | |
0 machines have been retrieved. | |
View them in the UI here (https://fly.io/apps/kernelpoppers-social/machines/) | |
kernelpoppers-social | |
ID NAME STATE REGION IMAGE IP ADDRESS VOLUME CREATED LAST UPDATED | |
➜ flyapp-mastodon git:(main) ✗ fly machine list -a kernelpoppers-social-db | |
0 machines have been retrieved. | |
View them in the UI here (https://fly.io/apps/kernelpoppers-social-db/machines/) | |
kernelpoppers-social-db | |
ID NAME STATE REGION IMAGE IP ADDRESS VOLUME CREATED LAST UPDATED | |
➜ flyapp-mastodon git:(main) ✗ fly machine list -a kernelpoppers-social-dbfly status -a | |
➜ flyapp-mastodon git:(main) ✗ fly status -a kernelpoppers-social-db | |
ID STATE ROLE REGION HEALTH CHECKS IMAGE CREATED UPDATED | |
➜ flyapp-mastodon git:(main) ✗ fly status -a kernelpoppers-social-db | |
➜ flyapp-mastodon git:(main) ✗ fly secret -h | |
Error: unknown command "secret" for "flyctl" | |
Did you mean this? | |
secrets | |
Run 'flyctl --help' for usage. | |
Error unknown command "secret" for "flyctl" | |
Did you mean this? | |
secrets | |
➜ flyapp-mastodon git:(main) ✗ fly secrets -h | |
Secrets are provided to applications at runtime as ENV variables. Names are | |
case sensitive and stored as-is, so ensure names are appropriate for | |
the application and vm environment. | |
Usage: | |
flyctl secrets [command] | |
Available Commands: | |
import Set secrets as NAME=VALUE pairs from stdin | |
list List application secret names, digests and creation times | |
set Set one or more encrypted secrets for an application | |
unset Unset one or more encrypted secrets for an application | |
Flags: | |
-h, --help help for secrets | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
Use "flyctl secrets [command] --help" for more information about a command. | |
➜ flyapp-mastodon git:(main) ✗ fly secrets set asdf=asdf -a kernelpoppers-social-db | |
Deploying with rolling strategy 🌍 Launching VM with image | |
Deploying with rolling strategy ✓ | |
Error failed to launch VM: config.image required | |
➜ flyapp-mastodon git:(main) ✗ ls | |
bin Caddyfile Dockerfile Dockerfile.redis fly.db.toml fly.predeploy.toml fly.redis.toml fly.setup.toml fly.toml Procfile README.md start-redis-server.sh | |
➜ flyapp-mastodon git:(main) ✗ vi fly.db.toml | |
➜ flyapp-mastodon git:(main) ✗ grep -R | |
➜ flyapp-mastodon git:(main) ✗ code . | |
Warning: 'enable-features' is not in the list of known options, but still passed to Electron/Chromium. | |
Warning: 'ozone-platform' is not in the list of known options, but still passed to Electron/Chromium. | |
➜ flyapp-mastodon git:(main) ✗ fly image update -a kernelpoppers-social-db | |
No changes to apply | |
➜ flyapp-mastodon git:(main) ✗ fly image update -a kernelpoppers-social-db | |
➜ flyapp-mastodon git:(main) ✗ fly image -h | |
Manage app image | |
Usage: | |
flyctl image [command] | |
Aliases: | |
image, img | |
Available Commands: | |
show Show image details. | |
update Updates the app's image to the latest available version. (Fly Postgres only) | |
Flags: | |
-h, --help help for image | |
Global Flags: | |
-t, --access-token string Fly API Access Token | |
-j, --json json output | |
--verbose verbose output | |
Use "flyctl image [command] --help" for more information about a command. | |
➜ flyapp-mastodon git:(main) ✗ fly image show -a kernelpoppers-social-db | |
Image Details | |
MACHINE ID REGISTRY REPOSITORY TAG VERSION DIGEST |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment