New to Frappe & ERPNext. Trying to install the Payments module for a Docker Self-hosted Production install.
I had ERPNext up and running. Everything was working great. Then I tried to install Payments for cc processing, and now I keep getting the dreaded Internal Server Error. When I check which sites I have installed I see:
I had ERPNext installed and running. But I did a docker build no-cache. I think my issue is that I’m installing the dev version of payments instead of my desired version-16. I have the following in my apps.json and installing with --secret=id=apps_json,src=apps.
“UNVERSIONED” is normal. Docker builds often strip the git metadata, so frappe and erpnext show that. The real concern is payments 0.0.1 develop, which says the build used the develop branch and not version-16.
Check how it’s passed to the build. The secret src= must point to the real file (for example src=apps.json, not src=apps). If the path is wrong, the build can silently fall back to default behaviour. Then rebuild with --no-cache.
After rebuilding, recreate the containers and run bench --site yoursite migrate. Then confirm with bench version that payments shows version-16.
For the Internal Server Error itself, look at the backend container logs (docker compose logs backend) or the site’s error log. The traceback will tell us whether it’s a version mismatch or something else, so please post it if the error continues.
Thank you for your response. I replaced all my double quotes to be sure. Maybe that was the issue. It seems to pull it in now.
I think I was getting my error cause after the build did not pull in payments, I was doing a get-app to add it which as I understand it now was then bringing in the dev build. Still learning. Seems to build now, but still no luck with payments. Adding a Stripe keeps giving me no account ID found error. I see the new payment-core app which just got released. Looks like it might be easier to work with, so I think I’ll try it.
This seems to be a really cool platform, hopefully I can get it to work! Thanks again.