Logo-amall

I use cli version `Nhost CLI v0.8.11 for linux-amd64` on wsl2. I initiated the project by doing `nhost init --remote` cd into the directory and the `nhost up`. It then fails with: `> Starting functions... > Failed to start services > [exit status 1 Container comic-website-sweet_hugle-postgres-1 Creating Container comic-website-sweet_hugle-postgres-1 Created Container comic-website-sweet_hugle-graphql-1 Creating Container comic-website-sweet_hugle-graphql-1 Created Container comic-website-sweet_hugle-postgres-1 Starting Container comic-website-sweet_hugle-postgres-1 Started Container comic-website-sweet_hugle-postgres-1 Waiting container for service "postgres" is unhealthy ] Failed to start services ` Not sure how to fix it, any help is appreciated!

Last active 3 months ago

19 replies

14 views

  • CA

    I use cli version Nhost CLI v0.8.11 for linux-amd64 on wsl2.

    I initiated the project by doing
    nhost init --remote
    cd into the directory and the nhost up.

    It then fails with:
    > Starting functions... > Failed to start services > [exit status 1 Container comic-website-sweet_hugle-postgres-1 Creating Container comic-website-sweet_hugle-postgres-1 Created Container comic-website-sweet_hugle-graphql-1 Creating Container comic-website-sweet_hugle-graphql-1 Created Container comic-website-sweet_hugle-postgres-1 Starting Container comic-website-sweet_hugle-postgres-1 Started Container comic-website-sweet_hugle-postgres-1 Waiting container for service "postgres" is unhealthy ] Failed to start services

    Not sure how to fix it, any help is appreciated!

  • MS

    Execute

    nhost down, restart your docker and try nhost up again πŸ˜‰

  • MS

    Do you have an other running docker containers?

  • CA

    I don't have any other running.

  • MS

    Can you try to restart you computer and try again?

  • MS

    Sometimes i have this issue too. But after docker restart everything ist working

  • CA

    It still fails

  • EL

    @Cactus What do you see in the logs?

  • EL

    nhost logs -f

  • EL

    Do you have something locally in the database?

  • EL

    Or Nhost just never started successfully?

  • CA

    It never starts successfully. I'm trying to start a new project.

  • EL

    Can you try to stop nhost, then remove rm -rf .nhost (local database). And start Nhost again: nhost up -d.

  • EL

    Are you using sudo anywhere when running any command here or related to docker?

  • CA

    I'm not using sudo anywhere. I still get the same issue

  • EL

    Can you please create a GitHub issue here: https://github.com/nhost/cli

  • EL

    It would be great if you also provided information of who the owner is of .nhost and the folders inside

  • EL

    e.g. with ls -la

  • CA

    https://github.com/nhost/cli/issues/460

Last active 3 months ago

19 replies

14 views