jamesrwhite / minicron

🕰️ Monitor your cron jobs
GNU General Public License v3.0
2.34k stars 154 forks source link

Installation unclear, can't run the service #274

Closed pesseyjulien closed 6 years ago

pesseyjulien commented 7 years ago

Hi,

I'm sorry but I did follow the installation process to the letter, but I'm getting the enclosed error.

This is my nginx config :

    location /minicron {
        # Pass the real ip address of the user to minicron
        proxy_set_header X-Real-IP $remote_addr;

        # minicron defaults to running on port 9292, if you change
        # this you also need to change your minicron.toml config
        proxy_pass http://127.0.0.1:9292;
    }

Any idea why ?

Thanks in advance, Julien

jamesrwhite commented 7 years ago

What is the error?

pesseyjulien commented 7 years ago

Sorry, I thought my screenshot was uploaded. Here it's !

capture d ecran 2017-03-26 a 19 12 08
jamesrwhite commented 7 years ago

By default minicron expects that is running at the root i.e. /, if you want it to be on /minicron you need to change the server.path and client.server.path configuration variables.

pesseyjulien commented 7 years ago

Indeed, it does work better now :)

Thanks for the quick help.

One more thing if I may, how can I install assets ?

jamesrwhite commented 7 years ago

What do you mean by assets?

pesseyjulien commented 7 years ago

css/js, because for now this is what I see :

capture d ecran 2017-03-26 a 19 40 54
pesseyjulien commented 7 years ago

I'm guessing it's because I'm running it from /minicron.

jamesrwhite commented 7 years ago

If you look in the page source do the links to the assets include /minicron?

pesseyjulien commented 7 years ago

They do : <link rel='stylesheet' href='/minicron/css/all.55b9f57137ab753d66cf6c82f671a475.css' media='screen' />

pesseyjulien commented 7 years ago

I change my nginx config file so assets would load, thanks !

Quick question, how can I specify an ssh key so I can connect to my host ?

Right now I have an 'Authentication failed for user' error.