ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Dashboard not available for production environment


#1

I have installed the ErpNxt on my AWS ec2 instance using the easy install steps as given on the GitHub page. However, I am not able to access the dashboard feature of ErpNext. It’s not showing on the menu. Can someone please help me.


#2

The dashboard you refer to is perhaps the desktop? [Version 12] Killing the iconic desktop

If not, to post a screenshot would illustrate what context you mean here


#3

Hi clarke, i mean the dashboard where we could put multiple charts for comparison. I have attached the picture.


#4

ok excuse me I have no experience but there’s this doc https://erpnext.com/docs/user/manual/en/customize-erpnext/dashboard

or a forum search for relevant q&a pointers


#5

Thank you, but the problem is that I am not able to find the dashboard window.


#6

@keshavgaddhyan Please check if your ERPNext version is 12.


#7

HI @netchampfaris how do i check that? i have used this script to install ErpNext on my ec2 instance.


#8

From the web gui client under Help > About, or alternatively on the server from the frappe-bench directory:

frappe@ubuntu:~/frappe-bench$ pwd
/home/frappe/frappe-bench

You run this bench command:

frappe@ubuntu:~/frappe-bench$ bench version
erpnext 11.1.3
frappe 11.1.3

Hence this example corresponds to v11 - the production version to be found on the master branch:

frappe@ubuntu:~/frappe-bench$ cd apps/erpnext/
frappe@ubuntu:~/frappe-bench/apps/erpnext$ git status
On branch master
Your branch is up-to-date with 'upstream/master'.

#9

Hi @clarkej @netchampfaris I checked my ErpNext and frappe version which is 11.x . How can I upgrade it to version 12 so that i can access the dashboard API. Also is there a production environment yet for version 12 or would i have to work on develop mode? Thanks in advance!


#10

Version 12 is not released yet, so there is no “v12” officially, it won’t even show up via the command bench version. The only way to make sure you are using v12 is switching to the develop branch and pulling the latest changes.

You can use the develop branch in production. That is what we do for our own ERPNext instance.


#11

Hi, can you please give me the steps to run production mode using erpnext develop branch. I am using the ubuntu AWS EC2 instance and have installed erpnext using the easy install steps. Really appreciate your help.


#12

You could try the command bench switch-to-develop or do a reinstall with --develop

For production mode run sudo supervisorctl start all or for development mode run bench start

edit: Other notes

  • either mode works on any branch (master, develop, etc) IOW there are no restrictions to switch modes.

  • however to switch to another branch may not work as expected since with data migration the patches work just one way, to move forward in the code. So for eg to run switch-to-master from develop may fail since you are returning to an earlier codebase.


#13

Thanks @clarkej. Appreciate your help