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
fatal error: all goroutines are asleep - deadlock! #6
Comments
I have pushed a fix that should fix the deadlock issue. Note that I suspect this situation only happens in error situations, so your problem is most likely not 100% fixed, but now it should be easier to debug. |
And please let me know if this helped -- if you don't see any error in the console, I may have to dig some more. |
Using the latest version I get:
I just cd into my hugo site directory which contains a I've also set the IAM action permissions for my bucket, just a copy/paste from the README.md and inserted my actual bucket name. I've tried it with and without a Forestry.io has been handling my deploys up until now, so it's not an empty bucket, but I've also tried deleting all objects in my bucket before executing the command. |
This is hard for me to debug with what you say. I have not experienced this, and I have used it a lot. May be a path issue. Are you on Windows? |
@01AutoMonkey see #8 -- while it may not solve your issue, I notice that there are some errors that should be handled better -- I will fix that. |
I'm on Ubuntu and I've tried all variations of the source path (absolute path, ~/... path, relative path). Also, playing around with the code I notice |
That is weird, I have several sites that deploys from CircleCI on LInux, e.g.: https://github.com/bep/bego.io/blob/master/circle.yml I will do more on the error handling on this in a day or two. |
Adding print like so: // List all files in the remote bucket
contents, err := destBucket.GetBucketContents()
if err != nil {
fmt.Println(err)
return stats, err
} Results in:
Which lead me to realize that
The URL is now a bit better but not quite (though it would be wrong anyway given my actual region is This is most likely the same error Alan_F got at: https://discourse.gohugo.io/t/howto-deploying-hugo-on-s3-and-cloudfront/2800/26 |
The solution is probably in #3 |
When I try to deply, such as
s3deploy -v -source=public/ -region=eu-west-2 -bucket=mybucketname.com -key=<mykey> -secret=<mysecret>
, I just get:Any ideas?
The text was updated successfully, but these errors were encountered: