I finished installed KoboTb on ubuntu and it runs from web whats weird is sometimes it works normally login and /admin from kf.kobo but the registration has always Server Error (500) which is related to smtp i assume but i installed and configured sendmail and i tested smtp settings which are working. now i restarted my server and the Server Error (500) popups after trying to login as user or as admin not just for creating new account.
what i’d like to know how to reset smtp settings while running ptyhon3 run.py --setup
and how to woraround this error its driving me nuts.
it is one of my main issues error 500 its been almost a month trying to figure out how to fix this error altho all my smtp settings are correct ( Not gmail or hotmail private exchange domain)
Could you check in the file kobo-docker/log/kpi/uwsgi.log and look for anything that says Traceback? If you find something, there should be several indented lines below Traceback that contain helpful programming information. Please share that here (as long as it doesn’t contain sensitive data like passwords). If it does contain sensitive information, we can start a private message with you for further troubleshooting.
Thanks, this is useful. Since we haven’t found the root cause of the 500 error here, could you also please check inside kobo-docker/log/kobocat/uwsgi.log?
I think i i bypassed the error 500 by using port 587 for the smtp settings with TLS using port 25 with tls doesnt seem to work, my exchange server operates on port 25 i always end up with error 500 with or without TLS on port 25, but here are the logs you asked for.
Yes I was able to get rid of error 500 but now I’m facing another error while finishing registration 502 bad gateway I have another thread open for it.
usually 500 error is related to SMTP settings, it might be some wrong smtp settings if u are using gmail make sure allow less secure apps is enabled and ur ports are correct.
i did not edit the smtp.txt file in the envfiles folder rather i used run.py --setup and set up the email from there usually i go to advanced mode it allows me to either select TLS or not but usually port 25 or 587 works.
The HTTP status code 500 is a generic error response. It means that the server encountered an unexpected condition that prevented it from fulfilling the request** . This error is usually returned 192.168.o.1 by the server when no other error code is suitable. What causes a 500 Internal Server error. This error means there is a problem on the server side. A server error can be caused by any number of things from **uploading the incorrect file to as bug in a piece of code . This error response is a generic catch-all" response.