jberger / Galileo

A Simple Modern Perl CMS
http://galileo-cms.herokuapp.com
166 stars 38 forks source link

galileo setup not working #30

Closed StarsoftAnalysis closed 10 years ago

StarsoftAnalysis commented 10 years ago

I've just installed Galileo by running 'sudo cpanm galileo' on Linux Mint 17. That all worked OK (once I'd installed the build-essential package).

But running 'galileo setup' (with or without sudo) and browsing to localhost:3000 gives:

[Tue Aug 26 17:48:42 2014] [info] Listening at "http://*:3000".

Server available at http://127.0.0.1:3000. [Tue Aug 26 17:48:49 2014] [debug] Your secret passphrase needs to be changed!!! [Tue Aug 26 17:48:49 2014] [debug] GET "/configure". [Tue Aug 26 17:48:49 2014] [debug] Template "galileo_config.html.ep" not found. [Tue Aug 26 17:48:49 2014] [debug] Template "not_found.development.html.ep" not found. [Tue Aug 26 17:48:49 2014] [debug] Template "not_found.html.ep" not found. [Tue Aug 26 17:48:49 2014] [debug] Rendering inline template "8122878e3bc1034543706fb58b4de464". [Tue Aug 26 17:48:49 2014] [debug] Rendering inline template "4fcf2af99f1803a7a26c2e9b04430f8c". [Tue Aug 26 17:48:49 2014] [debug] 404 Not Found (0.123141s, 8.121/s). [Tue Aug 26 17:49:29 2014] [debug] GET "/". [Tue Aug 26 17:49:29 2014] [debug] Template "galileo_setup.html.ep" not found. [Tue Aug 26 17:49:29 2014] [debug] Template "not_found.development.html.ep" not found. [Tue Aug 26 17:49:29 2014] [debug] Template "not_found.html.ep" not found. [Tue Aug 26 17:49:29 2014] [debug] Rendering cached inline template "8122878e3bc1034543706fb58b4de464". [Tue Aug 26 17:49:29 2014] [debug] Rendering cached inline template "4fcf2af99f1803a7a26c2e9b04430f8c". [Tue Aug 26 17:49:29 2014] [debug] 404 Not Found (0.043879s, 22.790/s).

and the browser says 'Page not found... yet!' etc.

Any idea what I've done wrong?

cheers

Chris

jberger commented 10 years ago

Yikes! I see it too! I wonder what I broke!

jberger commented 10 years ago

Funny I should use that language. I didn't break it, Mojolicious did!

https://github.com/kraih/mojo/commit/54f0926c118efa2512c0ffec76def0a5aebec8be

jesteves commented 10 years ago

Hello Joel,

I've installed Galileo a few minutes ago. I have Mojolicious 5.35 (also from "a few minutes ago" :-) ) and I'm afraid setup it's still not working...

kraih/mojo@54f0926 refers to Mojolicious 5.30

What I get is:

[...]
Perl:       v5.18.2 (darwin)
Mojolicious:    5.35 (Tiger Face)
[...]
Template classes:   
[
  "main",
  "Galileo::Plugin::Modal",
  "Mojolicious::Plugin::Humane",
  "Galileo::Command::setup"
]
[...]
[Sat Aug 30 18:04:30 2014] [debug] GET "/".
[Sat Aug 30 18:04:30 2014] [debug] Template "galileo_setup.html.ep" not found.
[...]
jberger commented 10 years ago

@jesteves correct, you need Mojo version 5.29 or less in order to run properly right now. I'm working on a fix. Note that you can use Carton to install specific versions of modules

jberger commented 10 years ago

This should be addressed by version 0.036 which I have just released. Thanks for the report!

StarsoftAnalysis commented 10 years ago

Thanks. I'm away this week, but I'll give it another try when I get back.

jesteves commented 10 years ago

For me it's working now (on Mojo 5.35 + Galileo 0.036). Thanks a lot.