500 error when installing the Advanced Hero Component

Tried to install via button or manually, keep getting 500 errors or it redirects me to 404 on our website. Is it just me?

Hello, for my part I had no problem installing the component.
If you install the component manually with the repository

Does that not work?

Tried on 3.4 and 3.5.

I just tried installing it and it worked, without the error you see. Are you using the correct URL to the github repo? Should be

https://github.com/thebestgoodguy/vibecommit-hero.git

It might be due to your Discourse version and the fact that when the versatile banner component was adopted, the compatibility file was not cleared. I suspect that the commit specified there for your version cannot be found in the current repository because it belongs to the versatile banner.

3 Likes

The .git at the end of the URL is what fixed it! Thank you!

lol nevermind, this is what I ended up with:

Looks like you created a new theme. You’d need to select “from a git repository”. But I guess that will fail

I also just tried it again without the .git at the end, and it still works on my end.

So yes looks like Moin may be on the right track with her advice. Have you updated your site to latest? Do you have another component already installed that is conflicting?

The error handling is fairly attrocious here - would be nice if a better error message could be shown! :upside_down_face: Can you check if more/better info about what is going wrong is appearing in the javascript console?

Yes I tried on our staging where we have 3.5. Perhaps it’s the versatile banner we have that’s causing conflict. Either way, thank you everyone for help.

Let us know if that works. I will shift this to a new Support topic so we can tie it off.

There is an error in .discourse-compatibility

< 3.6.0.beta1-dev: 9f248e18b35e4cf599e35a871e9348957077e7c6

That commit does not exist so it does not install on 3.5.1 stable.

That’s what happens when you “fork” something but throw away all git history.

(EDIT I see that’s basically what @moin said)

3 Likes