Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Update Redis installation method in installation guidance #725

Closed
davidpiedrarojas opened this issue Apr 25, 2017 · 7 comments
Closed

Update Redis installation method in installation guidance #725

davidpiedrarojas opened this issue Apr 25, 2017 · 7 comments

Comments

@davidpiedrarojas
Copy link

Hello, I'm trying to install enketo-express on a ubuntu server, I followed the steps in this guide https://blog.enketo.org/install-enketo-production-ubuntu/, but when the redis servers start one of them don't work. Al first was the main process, then after a name change the cache stop working. I run the service start command and says that the process is running but get a connection refused.

If I continuethe rest of the guide, whe I try run the grunt command there's a Econnrefused 127.0.0.1:6380.

Do you have any suggestions?

Thanks.

David

@MartijnR
Copy link
Member

Hi David,

I wonder if what you are running into is that the redis-server is using systemd instead of upstart to run services. If so, this is the new recommendation for installing redis: 569a789

I want to update the installation guidance to using systemd (and Ubuntu 16.04) but don't have time to test this at the moment as it takes a lot of time to do. The PPA from which redis is installed in the guidance, is no longer available I believe.

@davidpiedrarojas
Copy link
Author

Thanks, your recommendation worked! Enketo is now up.

@MartijnR
Copy link
Member

Great. Thanks. I rename this issue.

@MartijnR MartijnR changed the title Enketo-express install - connection refused Update Redis installation method in installation guidance Apr 25, 2017
@davidpiedrarojas
Copy link
Author

Where do I find the enketo api url for ODK? I've tested a couple and with no luck. I've used http://xxx.xxx.xxx.xxx:8005/ and get "Resource not found in database" and http://xxx.xxx.xxx.xxx:8005/api/v1/ and get "There was an error obtaining the webform. (message:Bad Request. Server URL is not a valid URL.)".

Thanks

David

@MartijnR
Copy link
Member

Your second one is correct. The issue is likely that from the VM or host on which you have installed Enketo, the ODK Aggregate server is not reachable. When ODK Aggregate makes the API call (to /survey) it passes it's own server_url as a parameter. This is where Enketo will attempt to obtain the webform. So you'd have to do some network configuration to get the 2 apps to communicate with each other (locally, I presume).

@davidpiedrarojas
Copy link
Author

Thank you for all your help.

@MartijnR
Copy link
Member

updated blog post

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

2 participants