Re: Start.sh do not work when start-dev does...
BTW if you post your start.sh and start-dev.sh scripts I'll see if
there's something obvious there...
On Thu, Apr 28, 2011 at 2:08 PM, Evan Miller <emmiller@...> wrote:
> Hi Julien,
>
> I'm afraid I can't reproduce this issue. When I create a fresh project
> and set it up to connect to a non-loopback tyrant server, it seems to
> correctly connect in production mode. There does appear to be a bug
> with the /admin interface which doesn't always clear the browser cache
> correctly, but the data is correctly stored in the database.
>
> If you can demonstrate the problem with a series of reproducible steps
> (ideally starting with a fresh install), I can look into it further.
>
> Sorry this took so long to look into.
>
> Evan
>
> On Wed, Apr 27, 2011 at 9:29 AM, Julien <thewiseup@...> wrote:
>> No news on this issue ? It's really a blocking one... how to get on
>> production ?
>>
>> On 3 avr, 23:07, Julien <thewis...@...> wrote:
>>> Well... is there a deep problem withstart.sh?
>>>
>>> Thanks
>>>
>>> On 31 mar, 23:19, Julien <thewis...@...> wrote:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> > Nope, this change tostart.shdoesn't change anything... :(
>>>
>>> > On 31 mar, 20:14, Evan Miller <emmil...@...> wrote:
>>>
>>> > > On Thu, Mar 31, 2011 at 12:58 PM, Julien <thewis...@...> wrote:
>>> > > > Thanks ! it worked...
>>>
>>> > > Cool, pushed the fix to GitHub and will cut a new release soon.
>>>
>>> > > > Just strange behaviour : it doesn't seem to connect to my tyrant as
>>> > > > the dev server did (no data at all when in production, but all my data
>>> > > > when in development)..
>>> > > > Did I miss something ?
>>>
>>> > > I think I know the problem. Try changingstart.shto move "-config
>>> > > boss" before "-s boss". If that works I'll get this fixed too
>>>
>>> > > > Thanks a lot Evan for your patience (Chicago Boss is amazing).
>>>
>>> > > > On 31 mar, 15:55, Evan Miller <emmil...@...> wrote:
>>> > > >> Try replacing all the stuff starting with "-run" with this:
>>>
>>> > > >> -eval 'boss_load:load_all_modules("ebin")' -s init stop -noshell
>>>
>>> > > >> On Thu, Mar 31, 2011 at 8:29 AM, Julien <thewis...@...> wrote:
>>> > > >> > I tried...
>>> > > >> > I got this error :
>>>
>>> > > >> > erl -pa /Users/julienmarie/Documents/workspace/ChicagoBoss/ebin -run
>>> > > >> > 'boss_load:load_all_modules("ebin")' -s init stop
>>> > > >> > Erlang R14B01 (erts-5.8.2) [source] [64-bit] [smp:4:4] [rq:4] [async-
>>> > > >> > threads:0] [hipe] [kernel-poll:false]
>>>
>>> > > >> > {"init terminating in do_boot",{undef,
>>> > > >> > [{'boss_load:load_all_modules("ebin")',start,[]},{init,start_it,1},
>>> > > >> > {init,start_em,1}]}}
>>>
>>> > > >> > Crash dump was written to: erl_crash.dump
>>> > > >> > init terminating in do_boot ()
>>> > > >> > make: *** [all] Error 1
>>>
>>> > > >> > :(
>>>
>>> > > >> > On 31 mar, 14:17, Evan Miller <emmil...@...> wrote:
>>> > > >> >> With 0.5 you need to type "make" in your project dir before runningstart.sh
>>>
>>> > > >> >> Sent from my iPhone
>>>
>>> > > >> >> On Mar 31, 2011, at 0:00, Julien <thewis...@...> wrote:
>>>
>>> > > >> >> > Hi,
>>>
>>> > > >> >> > When I launch my app withstart.sh, here's what I got. What's wrong ?
>>>
>>> > > >> >> > Error:
>>> > > >> >> > {undef,
>>> > > >> >> > [{store_controller,new,
>>> > > >> >> > [{simple_bridge_request_wrapper,mochiweb_request_bridge,
>>> > > >> >> > {{mochiweb_request,#Port<0.2948>,'GET',"/",
>>> > > >> >> > {1,1},
>>> > > >> >> > {9,
>>> > > >> >> > {"host",
>>> > > >> >> > {'Host',"localhost:8001"},
>>> > > >> >> > {"connection",
>>> > > >> >> > {'Connection',"keep-alive"},
>>> > > >> >> > {"cache-control",
>>> > > >> >> > {'Cache-Control',"max-age=0"},
>>> > > >> >> > {"accept",
>>> > > >> >> > {'Accept',
>>> > > >> >> > "application/xml,application/xhtml
>>> > > >> >> > +xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"},
>>> > > >> >> > nil,
>>> > > >> >> > {"accept-encoding",
>>> > > >> >> > {'Accept-Encoding',"gzip,deflate,sdch"},
>>> > > >> >> > {"accept-charset",
>>> > > >> >> > {'Accept-
>>> > > >> >> > Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.3"},
>>> > > >> >> > nil,nil},
>>> > > >> >> > {"accept-language",
>>> > > >> >> > {'Accept-Language',
>>> > > >> >> > "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"},
>>> > > >> >> > nil,nil}}},
>>> > > >> >> > nil},
>>> > > >> >> > {"cookie",
>>> > > >> >> > {'Cookie',
>>>
>>> > > >> >> > "_victoire_session=97781f4632490d92f74949d0dfe1a9d676faa87d;
>>> > > >> >> > _boss_session=39773348d90c6eb2240d84490e3e07a787dceb4b;
>>> > > >> >> > _parisondemand_session=a588706ce2748ae3c73db3a634293c9ccc2a0b3d"},
>>> > > >> >> > nil,nil}},
>>> > > >> >> > {"user-agent",
>>> > > >> >> > {'User-Agent',
>>> > > >> >> > "Mozilla/5.0 (Macintosh; U; Intel Mac OS X
>>> > > >> >> > 10_6_4; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/
>>> > > >> >> > 10.0.648.204 Safari/534.16"},
>>> > > >> >> > nil,nil}}}},
>>> > > >> >> > "/Users/julienmarie/Documents/workspace/ParisOnDemand/
>>> > > >> >> > static"},
>>> > > >> >> > false,[],[],none}]},
>>> > > >> >> > {boss_web_controller,execute_action,3},
>>> > > >> >> > {boss_web_controller,trap_load_and_execute,2},
>>> > > >> >> > {boss_web_controller,process_request,1},
>>> > > >> >> > {boss_web_controller,handle_request,3},
>>> > > >> >> > {mochiweb_http,headers,5},
>>> > > >> >> > {proc_lib,init_p_do_apply,3}]}
>>>
>>> > > >> --
>>> > > >> Evan Millerhttp://www.evanmiller.org/
>>>
>>> > > --
>>> > > Evan Millerhttp://www.evanmiller.org/
>
>
>
> --
> Evan Miller
> http://www.evanmiller.org/
>
--
--
Evan Miller
http://www.evanmiller.org/