Hi, I have cloud setup working, probaby with core changes but that’s not an issue now.
I wants to copy same setup(eveything) to my vm. I dont want to perform any update on that, but needs to use same version & same setup currently running on cloud.
To do that in addition to my custom app what else I needs to take?
Frappe app,
ERPNext app?
I have done git push and database ready to restore.
That’s all you need I guess.
@netchampfaris
Hi, I was able to do that and succeeded but couldn’t update later to newer version. Is below right way of copy remote to local server?
- Downloaded & Installed VM production
- Deleted default frappe-bench dir
- made new dir through
bench init frappe-bench5 && cd frappe-bench5
- changed remote by
bench remote-set-url https://github.com/ownuser/frappe
- new site
bench new-site site5.local
bench get-app erpnext https://github.com/ownuser/erpnext
bench --site site5.local install-app erpnext
bench get-app CUSTOMAPP https://github.com/ownuser/CUSTOMAPP
bench --site site5.local install-app CUSTOMAPP
- downloaded database from remote website
- Restore by
bench --site site5.local --force restore ***.sql
- did
bench --site site5.local migrate
but got encryption key error so went to remote server, and copied a string od site_config and paste same new local site_config.
- migrate successful
- did ngix
- running successfully
- bench update gives error
1045, Access denied for user localhost using password YES
Point 16. is the issue. Please suggest.