erwindon/SaltGUI

Gui issue on startup

mdtabrezpasha opened this issue · 5 comments

Describe the bug
Gui Not Loading up

To Reproduce
Did a fresh install of Salt, configured everthing including the GUI.. page is no loading as expected.
image

image

Expected behaviour
login page expected

Additional context
Its a fresh install. i have tried doing it on another server. same isue.

@mdtabrezpasha
can you please look at the console output?
you seem to be using Firefox: CTRL+SHIFT+K to open that.
the information there should provide more insight in what is going on...

on Chrome browser
image

the initial content that you see is from file index.html, so basic setup of rest_cherrypy is ok, and the app entry in the rest_cherrypy block is also ok.

but all other files are found using the entries static and static_path, please check both.
I get the same effect when value for static is not correct... (must be /static)
I get the same effect when value for static_path is not correct... (must be full path to .../SaltGUI/saltgui/static)

the directory static and everything below should be readable for user salt (which is the user-id used by salt-api).
I get the same effect when the files are not readable or when the directories are not readable+executable...

hope this helps...

you were right.. static folder setting was the problem. the path in the master file was wrong.. Thank's a lot of helping brother. you can close this issue. Thanks again.