Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lease wait while we get your droplet ready... #49

Open
hasanals opened this issue Sep 13, 2023 · 1 comment
Open

lease wait while we get your droplet ready... #49

hasanals opened this issue Sep 13, 2023 · 1 comment

Comments

@hasanals
Copy link

hasanals commented Sep 13, 2023

I'm getting an error after running

packer build .

Error:

digitalocean.supabase: output will be in this color.

==> digitalocean.supabase: Creating temporary RSA SSH key for instance...
==> digitalocean.supabase: Importing SSH public key...
==> digitalocean.supabase: Creating droplet...
==> digitalocean.supabase: Waiting for droplet to become active...
==> digitalocean.supabase: Using SSH communicator to connect: 146.190.108.227
==> digitalocean.supabase: Waiting for SSH to become available...
==> digitalocean.supabase: Connected to SSH!
==> digitalocean.supabase: Uploading ./supabase => /root
==> digitalocean.supabase: Upload failed: lease wait while we get your droplet ready...
==> digitalocean.supabase: Provisioning step had errors: Running the cleanup provisioner, if present...
==> digitalocean.supabase: Destroying droplet...
==> digitalocean.supabase: Deleting temporary ssh key...
Build 'digitalocean.supabase' errored after 1 minute 41 seconds: lease wait while we get your droplet ready...

==> Wait completed after 1 minute 41 seconds

==> Some builds didn't complete successfully and had errors:
--> digitalocean.supabase: lease wait while we get your droplet ready...

==> Builds finished but no artifacts were created.

I have added the required details inside the supabase.auto.pkrvars.hcl as follows but still this error happens:

############
# IMP. The below token should not be stored in version control
############
do_token = "dop_v1_9xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

## REQUIRED ##
region = "sgp1"

## OPTIONAL ##
droplet_image = "140056866"
droplet_size  = "s-1vcpu-2gb-70gb-intel"
tags          = ["supabase"]
@zrtsky
Copy link

zrtsky commented Nov 28, 2023

@hasanals You can try use image 140878882

{
    "image": {
        "id": 140878882,
        "name": "23.04 x64",
        "distribution": "Ubuntu",
        "slug": "ubuntu-23-04-x64",
        "public": true,
        "regions": [
            "tor1",
            "syd1",
            "sgp1",
            "sfo3",
            "sfo2",
            "sfo1",
            "nyc3",
            "nyc2",
            "nyc1",
            "lon1",
            "fra1",
            "blr1",
            "ams3",
            "ams2"
        ],
        "created_at": "2023-09-21T15:48:53Z",
        "min_disk_size": 7,
        "type": "base",
        "size_gigabytes": 0.81,
        "description": "Ubuntu 23.04 x86",
        "tags": [],
        "status": "available",
        "error_message": ""
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants