Are you two using Docker for this?
If so you need to do a bench get crm --branch main (Assuming you want the current one)
but you must do it on all of the proper containers
- frappe_docker_backend-1
- frappe_docker-frontend-1
- frappe_docker-scheduler-1
- frappe_docker-websocket-1
- frappe_docker-queue-long-1
- frappe_docker-queue-short-1
those are my container names I don’t know how yours are set up
and then on the “frappe_docker_backend-1” container (I assume you need to do this on bare metal install as well)
- bench --site frontend install-app crm
- bench --site frontend migrate
- bench --site frontend clear-cache
- bench restart
Please Note frontend is the name of the default site in Docker but may not mimic yours
then I would run a restart on all containers
docker restart $(docker ps -q)
I have a script I made and tested for the other apps but its not tested for crm so if you would like you are welcome to run it from the repo I made, but maybe test it on a test system first.
directory - craftsman/apps
please note the wiki one will break your system so do not use it I need to figure out what to do for that one.