Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Problem installing saltpad #187

Open
ayeja opened this issue Dec 10, 2016 · 5 comments
Open

Problem installing saltpad #187

ayeja opened this issue Dec 10, 2016 · 5 comments

Comments

@ayeja
Copy link

ayeja commented Dec 10, 2016

I have a problem with saltpad installation. According the documentation, I need the file index.html, but the file is missing. Any suggest?

Regards.

@crashmaster18
Copy link

ayeja,

That sounds to me like it's a webserver install/configuration issue and not saltpad? Prior to installation, make absolutely certain you have carefully read and understand both the saltpad requirements found here. Take special care to ensure salt-api is working as documented/linked in the requirements and then look closely at your distro's web server setup documentation to make certain it is working properly as well. In my opinion, Boris has done an excellent job carefully documenting the requirements for a somewhat complex install process...

@ayeja
Copy link
Author

ayeja commented Dec 15, 2016

kevinrsalisbury,

Thanks for your answer. I deployed using nginx, according the link https://github.com/Lothiraldan/saltpad/blob/master/docs/installation/nginx-server.md

The configuration requires:

**server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;

# Saltpad specific
root /code/saltpad/;
index index.html;

server_name SALTPAD.YOURDNS;

location / {
    try_files $uri /index.html;
}

}**

But I don´t see the file index.html, the page is shown in blank in the browser.

Thanks again.

@workingmanrob
Copy link

index.html is inside the dist.zip which you should have extracted to /code/ then done mv /code/dist /code/saltpad. I set mine up using rest_tornado and used this info:

https://github.com/Lothiraldan/saltpad/blob/master/docs/installation/salt-api-tornado-cors.md

Saltpad installation

Released versions are available on github (https://github.com/Lothiraldan/saltpad/releases). You will need to download the latest version of saltpad from production:

wget https://github.com/Lothiraldan/saltpad/releases/download/v0.3.1/dist.zip

Unzip to a location of your choice (for example, /code/saltpad):

unzip dist.zip -d /code/

Rename the /code/dist directory to /code/saltpad:

mv /code/dist/ /code/saltpad/

Check that a static directory exists in the /code/saltpad directory which contains js and css files.

HTH

@thatsk
Copy link

thatsk commented Apr 30, 2018

is there anyone know when i am able to login to saltpad and fire some commands on cli it shows data on ui but when i logout and relogin it vanishes data.

@1450793561
Copy link

I am too,the page is blank,Through browser development tools, all JS and CSS are loaded.
I don't know how to why?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants