I have done everything still i didnt able to see my custom app in production server as it shows in my development server but not in production i hve used all command:-
bench --site production.local clear-cache
bench --site production.local clear-website-cache
sudo supervisorctl restart all
bench --site production.local reload-doc real_estate_crm_app fixtures report
bench --site production.local reload-doc real_estate_crm_app fixtures custom_field
bench --site production.local reload-doc real_estate_crm_app fixtures property_setter
bench --site production.local execute frappe.utils.fixtures.sync_fixtures
Maybe you have not installed the custom app on the production site yet:
bench --site production.local install-app custom-app-name
bench --site production.local migrate
If the issue is just that the fixtures are not shown in your production site, then I think you just need to migrate the production.local site after you do the export-fixture command on your development site:
bench --site development.local export-fixture
bench --site production.local migrate
Already done this one
Could you share more info on the environment or setup of your Frappe?
Based on the provided information those are the only solutions I can think of
Check if your app name is showing when you migrate the site.
If yes, then execute the following commands:
bench build
bench update --patch
If not, it means your custom app is not installed properly.
I have created a custom app and a site called abc.local. I pushed both my custom app and ERPNext to this site. Since my bench is in production mode, I then used this site and ran:
bench build --productionbench migratebench export-fixtures
After that, I ran bench restart.
Now, I am able to see that my custom DocTypes appear in the Build section, but they do not appear in the Lead section. For example, when I try to create a Lead, I am unable to see my DocTypes like Visit Data in the ready section.
Additionally, in the Dashboard section, I am unable to see my custom dashboards, and I get an error saying:
is_section = 1 is not valid
my app name is migrating with that and
if this is possible that in my local the erp is of version 15.74.1 and in my vm the version of erp is 15.75.1 as in my local code is working smoothly but not in my bare-metal vm
Maybe the bench export-fixtures command on the production site is overriding those on the app. Try re-install the app on your production server, then just install the app, and migrate the site. Do not do export-fixtures in the production server.
Can you share some screenshots?
Thank for your help after spending 2 days and 2 nights i finally find the issue and solved it , the issue is in erpnext, it’s not able to access my custom app. So i use only frappe and my_custom_app in the site and then all the changes are now shown.
Thanks for your help and effort , I really appreciate that.
It’s great.
Please note: if you intend to install ERPNext in the future, the bench database must be cleared beforehand. Therefore, based on your requirements, it may be advisable to install ERPNext at this stage.