These are chat archives for ushahidi/Community

Nov 2015
Nov 18 2015 04:18
[Robbie Mackay, Ushahidi] Alright Ushahidi 3.1 changes are live on cc @Brandon @Jess @AngelaOduor
Nov 18 2015 10:08
[Angela Oduor Lungati, Ushahidi] hey @Brandon we've got none from v2.x to 3.x, but have some from v2.x versions. I'm umping in and responding to the person from florence for you ;)
[Angela Oduor Lungati, Ushahidi] for reference:


<p>Ushahidi v2.X Upgrades - Community Wiki - Ushahidi</p>

<p>The instructions below detail how to update your Ushahidi instance. It is intended for developers and admins who are running the engine on their own servers.</p>

Francesco Bartoli
Nov 18 2015 15:34
thanks @aoduor
Awesome guide!
Raghav Sharma
Nov 18 2015 16:01
Got a question regarding SMSSync. Can anybody help?
Nov 18 2015 16:02
[Wing Ho] I have question on installation in linux, can someone help?
[David Losada, Ushahidi] Hello Wing Ho, what is your question?
[Wing Ho] i have follow the instruction on the site and finish installing up to platform-client
[Wing Ho] when i open the site, it said "sorry, something went wrong. try reloading the page
Nov 18 2015 16:07
[Wing Ho] I went to the log and got an error "file does not exist: /var/www/html/plateform/httpdocs/api, referer:"
[Wing Ho] i'm not sure where it went wrong
[David Losada, Ushahidi] it looks like it's trying to reach the api in the same virtual host where the front-end files were deployed
[David Losada, Ushahidi] did you deploy two virtual hosts?
[Wing Ho] yes, i have the backend is and front end
[David Losada, Ushahidi] did you set the BACKEND_URL variable when you were building the front-end?
[Wing Ho] yes, on a .env file on platform-client folder
Raghav Sharma
Nov 18 2015 16:11
@ushbot Ah, can anybody help me?
Nov 18 2015 16:12
[David Losada, Ushahidi] ok, and is that log line you pasted coming from the backend server or the front-end server? just trying to establish that that part of the setup is right
[Wing Ho] that's from the backend server
[David Losada, Ushahidi] ok that's good
[David Losada, Ushahidi] then it must be something in the backend server configuration
[Wing Ho] when i open the backend server page, it's display {
"now": "2015-11-18T15:23:16+00:00",
"version": "3",
"endpoints": [
"user": {
"id": null,
"email": null,
"realname": null
Nov 18 2015 16:17
[RaghavFTW (guest),] Got a question regarding SMSSync. Can anybody help?
[David Losada, Ushahidi] @WingHoGuest I think it's probably something with the URL rewrites , can you check again that part of the instructions?
Nov 18 2015 16:22
[Wing Ho] since i have apache, all i need to do was to rename the template.htaccess to .htaccess
[Wing Ho] Do i have to cpy the init.php file to the other folder?
[David Losada, Ushahidi] mm no, don't think so..
[David Losada, Ushahidi] is AllowOverride set to "all" in the virtual host config?
[Wing Ho] no
[David Losada, Ushahidi] I think you would need that
[Wing Ho] to the back end virutal host or front end?
[David Losada, Ushahidi] back end
Nov 18 2015 16:29
[Wing Ho] Great! it works now
[Wing Ho] thank you so much
[David Losada, Ushahidi] awesome!
[Wing Ho] that's something need to add to documentation
[Wing Ho] Thank you for your help, i really appreicate it
[David Losada, Ushahidi] indeed, we'll take note of that
[David Losada, Ushahidi] thank you for reaching us!
[Wing Ho] if i have any more question, can i come to this chat to post my question?
[David Losada, Ushahidi] actually, it's a bit easier to track if you click the conversation icon in any page of our support website
[David Losada, Ushahidi]
[David Losada, Ushahidi] you should see an icon on the bottom right part of the screen
[Wing Ho] Great!
[Wing Ho] thank you for your help. you have a great day!
[David Losada, Ushahidi] you too!
Nov 18 2015 16:40
[RaghavFTW (guest),] Hey, David. Can you help regarding SMSSync?
[David Losada, Ushahidi] hello Raghav , I can try :) what is the problem you are having?
[RaghavFTW (guest),] Sending the correct JSON as response but message isn't going to publish list.
[RaghavFTW (guest),] I'm using an old phone which runs on gingerbread.
Nov 18 2015 16:45
[RaghavFTW (guest),] Earlier today I reported an issue on GitHub which is being looked.
[David Losada, Ushahidi] do you have the url to that issue?
[RaghavFTW (guest),] ushahidi/SMSSync#356 It isn't related to my problem though. I'm using JSON as data format now.
Nov 18 2015 16:52
[David Losada, Ushahidi] I see, I'm sorry that I can't really help much right now, SMSSync is not my forte. I think if you can make a capture of the JSON message that gets returned by your service back to SMSSync and paste it in the github issue.. that should help our devs give you better support.
[RaghavFTW (guest),] I wanted to ask someone here before creating an issue. I guess I'll wait. Thanks though.
[David Losada, Ushahidi] sorry I couldn't be of more help now. I have the feeling that capturing that JSON message will really help a speedy resolution, though
Nov 18 2015 16:59
[RaghavFTW (guest),] :q
[RaghavFTW (guest),] Its identical to what's stated in documentation.
[David Losada, Ushahidi] like.. the structure of the JSON is identical, or... all the values? you know, sometimes the devil is in the details :)
[RaghavFTW (guest),] It contains two string values. The structure is same. I think it must be because I use an older version of Android. Meh.
Nov 18 2015 17:04
[David Losada, Ushahidi] yea, it could very well be
[RaghavFTW (guest),] {
[RaghavFTW (guest),] "payload": {
[RaghavFTW (guest),] "error": "Secret key didn't match for LOCALHOST.",
[RaghavFTW (guest),] "success": false
[RaghavFTW (guest),] }
[RaghavFTW (guest),] }
[RaghavFTW (guest),] Here it is anyway.
Nov 18 2015 17:12
[RaghavFTW (guest),] I'm sorry. Using this new command line client. Here it is in one line.
[RaghavFTW (guest),] {"payload": {"error": "Secret key didn't match for LOCALHOST.", "success": false} }
Nov 18 2015 17:31
[David Losada, Ushahidi] btw, what server app are you sending those messages to?
Nov 18 2015 17:41
[RaghavFTW (guest),] It's a flask app hosted on Heroku using gunicorn.
[David Losada, Ushahidi] mm I just saw your comment on #356 , looks like you've nailed the problem
Nov 18 2015 17:53
[RaghavFTW (guest),] Yeah. Sounds like a serious bug.
[David Losada, Ushahidi] thank you very much for finding that, we'll do our best to get back to you with a fix soon
[RaghavFTW (guest),] Glad I could help. :)