500 server error occurs during new account creation, and confirmation emails are not sent even though accounts are created

Hi everyone,

I’m running into an issue when creating new Kobo accounts and was hoping someone here could help or point me in the right direction.

When a new user account is created, the process returns a: **“Server error (500) – Something went wrong when trying to process your request.”
**
Despite the error, the account does appear to be successfully created on the backend. However, the confirmation / welcome email is never sent to the newly created user.

Expected behavior:

  • Account creation completes without a 500 error

  • User receives the standard account confirmation or welcome email.

This happens consistently when creating new accounts. The error appears during the account creation flow, not login. I am unsure whether the 500 error and missing email are directly related as everything else works as expected.

Has anyone seen this before or knows what could cause a 500 error while still partially completing account creation?

Thanks in advance for any help!

Welcome to the community, @Curious! Are you one a public KoboToolbox server or are you on a self-hosted KoboToolbox server?

Thanks, glad to be here.

It is self-hosted server although I am not the one that originally set it up. So I found it with the issues.

@Curious, if it’s a self-hosted server then you may need to reach out to your sysadmin team. They should be able to fix this for you.

Lol to clarify, it was handed over to me to fix the issue. So I thought of seeking guidance on how to go about it from this forum

Hi everyone,

I’m running into an issue with my self-hosted Kobo instance and would appreciate some guidance.

All my Docker containers are running and appear healthy. However, when I access my site, the page does not load properly and the browser console shows the following errors:

GET https://my site/static/js/redirect_obsolete_browsers.js net::ERR_ABORTED 404 (Not Found)
GET https://my site/static/compiled/vendors-5016c34c3a72d4c608da.js net::ERR_ABORTED 404 (Not Found)
GET https://my site/static/compiled/app-934c4b32e27dd2af478a.js net::ERR_ABORTED 404 (Not Found)
GET https://my site/static/js/global_t.js net::ERR_ABORTED 404 (Not Found)

It looks like the static files are not being served correctly.

To troubleshoot, I ran collectstatic and manually copied the downloaded static files into the appropriate directories inside both:

  • the nginx container

  • the nginx-certbot container

Despite this, the site still does not load and the same 404 errors persist.

Has anyone encountered this before?

Any help would be greatly appreciated.

Thanks in advance!

Hi everyone,

I’m running into an issue with my self-hosted Kobo instance and would appreciate some guidance.

All my Docker containers are running and appear healthy. However, when I access my site, the page does not load properly and the browser console shows the following errors:

GET https://my site/static/js/redirect_obsolete_browsers.js net::ERR_ABORTED 404 (Not Found)
GET https://my site/static/compiled/vendors-5016c34c3a72d4c608da.js net::ERR_ABORTED 404 (Not Found)
GET https://my site/static/compiled/app-934c4b32e27dd2af478a.js net::ERR_ABORTED 404 (Not Found)
GET https://my site/static/js/global_t.js net::ERR_ABORTED 404 (Not Found)

It looks like the static files are not being served correctly.

To troubleshoot, I ran collectstatic and manually copied the downloaded static files into the appropriate directories inside both:

  • the nginx container

  • the nginx-certbot container

Despite this, the site still does not load and the same 404 errors persist.

Has anyone encountered this before?

Any help would be greatly appreciated.

Thanks in advance!

@Curious, pinging @stephenoduor for your support here.

Hello @stephenoduor

Hello @Curious Shoot me a DM and we can chat & can look at the issue

1 Like