I got an error while replicating my ongoing frappecloud site onto a local site.
frappe.exceptions.CannotChangeConstantError: Value cannot be changed for Created By
Here is what I did till this point,
I downloaded my backup files (db, public,private) from my ongoing site hosted on frappecloud.
Installed frappe’s container setup on a vm ubuntu(23.04).
Built bench, frappe, erpnext, localsite using the ./development/installer.py
ran bench --site sitename.localhost migrate with --db…{path} --private…{path} --public…{path}
This ran successfully with no errors.
Now when I access the desk mode of my localsite and try to edit a custom doctype I had built earlier on the cloud, It shows me the above error.
I could create new doctypes, but some of my existing server scripts also errors out on several different reasons.
Is this a migartion issue? Am I missing some steps?
@Nasir_Khan, Thanks for the prompt response! Setting the developer mode on fixed the issue with server scripts discrepencies. Although I still get the following error when trying to edit an existing custom doctype.
Another heads up, since it’s “cached”(probably wrong term) in init.py…
I tried all the usual migrate/restart/clear-cache/down/up etc on a bare metal install and it didn’t work. I’m sure there’s a more elegant solution… but after deleting(read:commenting out) those lines I rebooted the server to make it work.