hoodiehq-archive / my-first-hoodie

⛔ deprecated
Other
157 stars 35 forks source link

CouchDB not reachable, again #20

Closed robhrt7 closed 11 years ago

robhrt7 commented 11 years ago

Running "hoodie start" I'm always getting an error

Initializing...
CouchDB started: http://couch.myappname.dev:80
Waiting for CouchDB [*-----] FAILED

At the time when app is waiting for CouchDB, it is reachable on other port here http://couch.myappname.dev:6003/.

Maybe I need to change couchDB port? If so, where could I do this?

robhrt7 commented 11 years ago

Have found where I can change ports for couchDB, and now I'm stuck at

[users] [Setup] creatinging object in modules database …
gr2m commented 11 years ago

@caolan could you help out here? @janl is travelling

robhrt7 commented 11 years ago

Tried to connect to working and initialised couchdb database at nodejitsu, but still, hoodie app starting stucks at the same process:

[users] [Setup] creatinging object in modules database …
robhrt7 commented 11 years ago

I finally started hoodie server, the problem was in local-tld, that I didn't installed because of this issue https://github.com/hoodiehq/local-tld/issues/18 .

I followed troubleshoot guide and had set hosts myself, but it was not enough. I came up with deleting this code part in hoodie-app/lib/environment.js:

if (platform === 'darwin') {
        cfg.local_tld = true;
    }

that tried to turn on local-tld module in spite of that was not installed.

gr2m commented 11 years ago

does it work now, without local_tld enabled?

We plan to make it optional, also for Mac, but not there yet. I'm sorry I can't help you better, I'm more the frontend guy at Hoodie. I hope @janl or @caolan can help as soon as they are back online

janl commented 11 years ago

On Jun 13, 2013, at 11:38 , Gregor Martynus notifications@github.com wrote:

does it work now, without local_tld enabled?

We plan to make it optional, also for Mac, but not there yet. I'm sorry I can't help you better, I'm more the frontend guy at Hoodie. I hope @janl or @caolan can help as soon as they are back online

I’ll get to it later today, making local-tld entirely optional.

robhrt7 commented 11 years ago

That would be totally great, now using hoodie app as service on other port for main application.

janl commented 11 years ago

Magic domains are now (0.6.0) optional. Can you uninstall local-tld, fetch the new version of Hoodie and try again?

Reopen if this persists.

robhrt7 commented 11 years ago

It okay now, works without ltd and my hacks :) Thank you!

janl commented 11 years ago

Excellent, thanks for letting us know!