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

[Bug]: Create a new service hangs on "Extracting service - this may take a while" #1167

Closed
LeShadow opened this issue Nov 28, 2024 · 4 comments
Labels

Comments

@LeShadow
Copy link

Platform

macOS

Operating system version

macOS 15.1 (24B82)

System architecture

ARM64 (M1, M2, etc)

Herd Version

1.13.0

PHP Version

No response

Bug description

When I try to add a new service, it hangs for a long time (I folded laundry, I started cooking) on:

Extracting service - this may take a while

This happened with both:

  • PostgreSQL
  • Meilisearch

Is there something I am missing/something I did wrong?
I bought the pro license, went to services, wanted to install PostgreSQL and Meilisearch.

Steps to reproduce

  1. Open Herd
  2. Install pro license
  3. Go to services
  4. Add service
  5. Select Meilisearch (1.9.0 I think the version was, it is still loading)
  6. Select autostart
  7. Click on "Save"
    And now it hangs :/

Relevant log output

No response

@issuelabeler issuelabeler bot added the macOS label Nov 28, 2024
@LeShadow
Copy link
Author

I am so sorry for posting this bug report!

Apparently just restarting Herd helped. It almost looks like something didn't want to complete when I wanted to install a service straight after I installed my pro license?

So the steps to solve this for me:

  1. install pro license
  2. restart Herd
  3. Now it works!

@mpociot
Copy link
Member

mpociot commented Nov 28, 2024

Can you check the contents of /Users/Shared/Herd/services?

Maybe there's a broken zip file or something similar?

@mpociot
Copy link
Member

mpociot commented Nov 28, 2024

Oh perfect!
Then I'll just close this issue and investigate this in a fresh VM and see if I can reproduce this 🙂
Glad it's working now

@mpociot mpociot closed this as completed Nov 28, 2024
@chrisdeeming
Copy link

Hey @mpociot I also just activated my Pro license and seem to be experiencing the same as @LeShadow.

chrisdeeming [/Users/Shared/Herd/services/mysql] % ls -lah
total 355160
drwxr-xr-x  3 chrisdeeming  wheel    96B  2 Dec 14:15 .
drwxr-xr-x  3 chrisdeeming  wheel    96B  2 Dec 14:15 ..
-rwxr-xr-x  1 chrisdeeming  wheel   173M  2 Dec 14:15 8.0.36.zip

Seems as though the download finished nearly 15 minutes ago but I'm still on the create new service screen:

image

I'm able to unzip the file without issue so doesn't appear to be a broken zip. Restarting Herd allowed me to create the service without issue.

It was very quick! I'd go as far as to say the "this may take a while" text might be a tad pessimistic. I sat here for way too long until I thought maybe something was wrong 😄

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

No branches or pull requests

3 participants