These are chat archives for ushahidi/Community

13th
Sep 2016
Kollin Rukundo
@kollinsayz_twitter
Sep 13 2016 08:46
Hello good people. I was successful with v2 and I did a lot of good things with it. Now I'm trying to get an instance of Ushahidi v3 up on a shared hosting service. I followed the instructions but I get a frontend error: "Sorry, something went wrong. Try reloading the page." which I gather means it hasn't linked up to the API. I need help
Ushbot
@ushbot
Sep 13 2016 11:28
[David Losada, Ushahidi] hello there! may I ask if you have been following some particular instructions?
Kollin Rukundo
@kollinsayz_twitter
Sep 13 2016 12:17
Hey David, Yes I have. I first deployed perfectly on Heroku then decided I'd have more control if I had it up on my own server. So I used these instructions: https://www.ushahidi.com/support/install-ushahidi more so the ones on using Apache and Shared hosting
Ushbot
@ushbot
Sep 13 2016 12:19
[David Losada, Ushahidi] sorry to hear about your trouble . Is that apache with mod_php , or apache with mod_fcgid ?
[David Losada, Ushahidi] we haven’t had experience with the latter
Kollin Rukundo
@kollinsayz_twitter
Sep 13 2016 12:20
probably with mod_php but support tells me all modules are enabled
Ushbot
@ushbot
Sep 13 2016 12:22
[David Losada, Ushahidi] well, usually it's either one or the other
Kollin Rukundo
@kollinsayz_twitter
Sep 13 2016 12:22
I created the .env file in platform and then used ssh in that folder to run the database migration. Which i think didn't work but I also got a bit lost on URL rewriting part
Ushbot
@ushbot
Sep 13 2016 12:22
[David Losada, Ushahidi] why do you think the db migration didn’t work? any error messages?
Kollin Rukundo
@kollinsayz_twitter
Sep 13 2016 12:23
No error messages but it didn't even blink.
Where do i configure the backend url to link to the api?
Ushbot
@ushbot
Sep 13 2016 12:26
[David Losada, Ushahidi] the release package is preconfigured to look for the api at ‘/platform’ (same domain)
[David Losada, Ushahidi] do you get any output from http://<your domain>/platform/api/v3/config ?
Kollin Rukundo
@kollinsayz_twitter
Sep 13 2016 12:26
Oh yeah. No I don't get any JSON output
:worried:
Ushbot
@ushbot
Sep 13 2016 12:27
[David Losada, Ushahidi] any particular error, http status code?
Kollin Rukundo
@kollinsayz_twitter
Sep 13 2016 12:28
Just a blank page
Ushbot
@ushbot
Sep 13 2016 12:29
[David Losada, Ushahidi] mm it looks like the past experiences with mod_fcgid
[David Losada, Ushahidi] another person came up with similar reports
Kollin Rukundo
@kollinsayz_twitter
Sep 13 2016 12:30
Yikes. Can I use AWS then? Where can I host and still have control more control? Heroku doesn't help
Ushbot
@ushbot
Sep 13 2016 12:30
[David Losada, Ushahidi] would you be able to access the logs and see if anything relevant comes up? information there may help us fix it
[David Losada, Ushahidi] it would also be helpful to know which hosting company and package you use so that we eventually polish such configuration by ourselves
[David Losada, Ushahidi] sure, AWS would let you do anything . we recommend to use apache with mod_php or nginx with fastcgid
[David Losada, Ushahidi] oh also php should be version 5.4 or 5.5 .. and definitely not 7
Kollin Rukundo
@kollinsayz_twitter
Sep 13 2016 12:34
I'm hosting with A Small Orange. With PHP 5.4 but I can change to 5.5/6
Ushbot
@ushbot
Sep 13 2016 12:54
[David Losada, Ushahidi] I think any of those PHP versions should be fine
Kollin Rukundo
@kollinsayz_twitter
Sep 13 2016 12:55
Alright can I perhaps get support for hosting with AWS ?
Has it been done before?
Ushbot
@ushbot
Sep 13 2016 12:57
[David Losada, Ushahidi] yea, once you’ve got your instance up and apache2/mod_php installed (I think that one is a bit easier), you can follow pretty much the same instructions you have been looking at ( https://www.ushahidi.com/support/install-ushahidi#installing-zipped-release-bundle )
[David Losada, Ushahidi] regarding AWS instance size, probably the smallest I’d recommend is a t2.micro (1 GB RAM) .. a t2.nano could present some challenges
Kollin Rukundo
@kollinsayz_twitter
Sep 13 2016 13:04
Ah sawa. Can I sidebar you for support on email or Skype?
Ushbot
@ushbot
Sep 13 2016 13:09

[David Losada, Ushahidi] That may not work very well as I’m not always around to help. This is our channel for support, that many of us watch, if you write here we will respond.

If you would like to leave your personal email so that we ping you back, you can also write us from the website, you’ll notice there is a chat bubble in the lower right corner of the page.

[David Losada, Ushahidi] just make sure you leave your e-mail there and you’ll get a notification when we respond to you
Kollin Rukundo
@kollinsayz_twitter
Sep 13 2016 13:12
Alright cool. Let me try this and I'll revert here if I get lost
And quick question, how stable is the deployment on Heroku?
Ushbot
@ushbot
Sep 13 2016 13:14
[David Losada, Ushahidi] I haven’t seen stability issues myself.. if anything, it may be pretty slow at times if you are in the free tier