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.