HiEventsDev / hi.events

Open-source event management and ticket selling platform 🎟️
https://hi.events
GNU Affero General Public License v3.0
323 stars 27 forks source link

Error message when creating account #4

Closed zarevskaya closed 1 month ago

zarevskaya commented 1 month ago

Hi, When I create the account, it gives me this error message but the account is created.

Screenshot_20240530_123822

The account is successfully created because when I try to restart the creation I get this message:

Screenshot_20240530_124116

I tested on 3 different VPS and I got the same thing.

daveearley commented 1 month ago

Hi @zarevskaya,

Thanks for being the first person to create an issue!

Did you see any errors in the logs when the first failure occurred?

If you change your APP_DEBUG environment variable to true and then attempt to create an account with a different email you should see the error.

Also, please make sure you have set the APP_KEY and JWT_SECRET correctly in your environment. You can see instructions for that here: https://github.com/HiEventsDev/hi.events-digitalocean

Thanks

zarevskaya commented 1 month ago

Thanks for the answer!

Did you see any errors in the logs when the first failure occurred? => Nope. Only on the browser.

Also, please make sure you have set the APP_KEY and JWT_SECRET correctly in your environment. You can see instructions for that here: https://github.com/HiEventsDev/hi.events-digitalocean => I don't use Digital ocean.

I used this link: https://github.com/HiEventsDev/hi.events?tab=readme-ov-file#-quick-start-with-docker. I thought everything was already configured in docker-compose.

If you change your APP_DEBUG environment variable to true and then attempt to create an account with a different email you should see the error. => I try now :) I need to add it in the docker-compose, I suppose.

I think my email server may be set incorrectly. I'm at Zoho. I never received an email having configured this as the documentation requests.

MAIL_MAILER=smtp MAIL_HOST= smtp.zoho.eu MAIL_PORT=587
MAIL_USERNAME=mymail@mydomain.com
MAIL_PASSWORD=mystrongpassword

I added the 'bloc' mail in the docker-compose: Screenshot_20240530_164912

Maybe I'm wrong.

daveearley commented 1 month ago

Hi @zarevskaya, did you figure this out? Was there anything in the logs?

zarevskaya commented 1 month ago

Hi @daveearley I don't understand why, but it's positive, I no longer have errors.

Reinstallation from scratch. Mail server works perfectly too. Great!

In fact my idea is to write an article for a French-speaking blog, do you think it would be easy to contribute to the French translation of your application?

Thanks for the support :)

daveearley commented 1 month ago

Great! And yes, contributions are more that welcome for translations. Translations are high on my list of priorities. And French will be in the first set of languages included 🇫🇷

Also, I'd be very grateful for a mention in an article. Thanks!