These are chat archives for ushahidi/Community

17th
Sep 2015
Ushbot
@ushbot
Sep 17 2015 05:05
[Jess Shorland, Ushahidi] hey @Jason and @AngelaOduor I think i'm in the call? am I in the right room? There's also no chance of video on my connection and very little chance of audio, so luckily @Jason gets to do all the talking anyway :-)
[Angela Oduor Lungati, Ushahidi] I'm here
[Angela Oduor Lungati, Ushahidi] sorry - took me a while to get into the office
[Angela Oduor Lungati, Ushahidi] :D
[Jason Mule, Ushahidi] Am I in the right room? :-)
[Angela Oduor Lungati, Ushahidi] Just sent you the right link :D @Jason
Ushbot
@ushbot
Sep 17 2015 06:24
[Angela Oduor Lungati, Ushahidi] Hey Friends! @Jason just walked us through how to install v3 on Ubuntu, and we recorded it for everyone who wants to give it a go :)

[Angela Oduor Lungati, Ushahidi] Here's the video walkthrough: https://www.youtube.com/watch?v=E6ckr9V5Cns

Documentation: http://docs.ushahidi.org/install/installing-on-linux.html

Ushbot
@ushbot
Sep 17 2015 06:38
[Vaibhav Bhawsar, Ushahidi] (thumbsup)
Ushbot
@ushbot
Sep 17 2015 07:59

[Angela Oduor Lungati, Ushahidi] @Jason @Robbie just got this via our dev mailing list

"Is there any chance that someone would update the ushahidi install script for OSGeoLive and issue a pull request?
https://github.com/OSGeo/OSGeoLive/blob/master/bin/install_ushahidi.sh"

Ushbot
@ushbot
Sep 17 2015 08:04
[Angela Oduor Lungati, Ushahidi] i'll add that as an issues and tag as wishlist
Hapee
@hapee
Sep 17 2015 08:15
On the wiki I saw a few people with the "unable to find a route to match the URI" which is probably a .htaccess issue but if you have experience with it, it might be nice to answer: https://wiki.ushahidi.com/display/WIKI/Installing+Ushahidi+3.X+on+a+Windows+Wampserver?focusedCommentId=27951162#comment-27951162
And while you are on it, could you tell me what went wrong here: https://opendevelopments.org/html/platform/httpdocs/install.php
Hapee
@hapee
Sep 17 2015 08:20
thanks for that video by the way, very helpful if you know more or less what you are doing. If I would show it to my non geek friends they will still not understand half of it ;-)
Ushbot
@ushbot
Sep 17 2015 08:38
[Angela Oduor Lungati, Ushahidi] Thanks for the heads up Hapee!!! We've got more series of hangouts around installations for our non technical audience coming soon.. :).. i'll let @Robbie or @Jason help you with your question above :)
Ushbot
@ushbot
Sep 17 2015 09:07
[Jason Mule, Ushahidi] @hapee could you check if application/logs /application/cache are owned by the apache user?
Hapee
@hapee
Sep 17 2015 09:15
Hi Jason, thanks for getting back, yes they are, and even world readable for now so guess error is at upper level, let me start all over again
Ushbot
@ushbot
Sep 17 2015 09:18
[Robbie Mackay, Ushahidi] @AngelaOduor OSGeoLive update should be easy enough once we have time :) (ie. post launch)
[Angela Oduor Lungati, Ushahidi] Yay!! @Robbie :)..
Hapee
@hapee
Sep 17 2015 09:47
Done again on server, done a fresh install on another machine, exactly the same issue so I am consequent ;-)
Ushbot
@ushbot
Sep 17 2015 10:18
[Robbie Mackay, Ushahidi] hapee: whats the error?
Ushbot
@ushbot
Sep 17 2015 10:21
[Robbie Mackay, Ushahidi] why are you hitting install.php ?
[Robbie Mackay, Ushahidi] Also were you expecting an SSL error?
[Robbie Mackay, Ushahidi] If you go to https://opendevelopments.org/html/platform/httpdocs/
[Robbie Mackay, Ushahidi] it looks like you haven't configured the base_url to match your URL..
[Robbie Mackay, Ushahidi] You need to create application/config/environments/development/
[Robbie Mackay, Ushahidi] copy application/config/init.php into application/config/environments/development/init.php
[Robbie Mackay, Ushahidi] then edit base_url in that file to be /html/platform/httpdocs/
[Robbie Mackay, Ushahidi] .. see where that gets you to
Hapee
@hapee
Sep 17 2015 10:29
will try straight away after my call
Ushbot
@ushbot
Sep 17 2015 10:36
[Robbie Mackay, Ushahidi] Alright. I'm going to sleep :) but let us know how it goes
[Jess Shorland, Ushahidi] weee! go have a drink!
[Angela Oduor Lungati, Ushahidi] Give that man a cookie... and a drink...
[Jess Shorland, Ushahidi] (poolparty)
Ushbot
@ushbot
Sep 17 2015 10:44
[Robbie Mackay, Ushahidi] hah
Ushbot
@ushbot
Sep 17 2015 10:51
[Vaibhav Bhawsar, Ushahidi] nice! i just created my deployment
[Vaibhav Bhawsar, Ushahidi] !
[Vaibhav Bhawsar, Ushahidi] http://cats.ushahidi.io/views/map
Hapee
@hapee
Sep 17 2015 10:52
nice Vaibhav
Ushbot
@ushbot
Sep 17 2015 10:55
[Jess Shorland, Ushahidi] hey platform v3 team!
[Jess Shorland, Ushahidi] how's everyone doing today
[Jess Shorland, Ushahidi] @all good?
[Angela Oduor Lungati, Ushahidi] i'm awesome!
[Angela Oduor Lungati, Ushahidi] excited about today's hangout :D
[Jason Mule, Ushahidi] hey !
[Jess Shorland, Ushahidi] i'm pumped too!
[Vaibhav Bhawsar, Ushahidi] yes me too
[Jess Shorland, Ushahidi] what features are we going to cover?
[Vaibhav Bhawsar, Ushahidi] hey how do you post gifs
Ushbot
@ushbot
Sep 17 2015 11:00
[Jess Shorland, Ushahidi] just link to the .gif
[Vaibhav Bhawsar, Ushahidi] /gif dinosaurs
[Vaibhav Bhawsar, Ushahidi] nope
[Jess Shorland, Ushahidi] copy and paste it
[Angela Oduor Lungati, Ushahidi] @Jess i think features will depend on deployment type we settle on for the walkthrough
Ushbot
@ushbot
Sep 17 2015 11:07
[Jess Shorland, Ushahidi] ah ok cool
Ushbot
@ushbot
Sep 17 2015 11:51
[Henry Addo, Ushahidi] Quick question. Does the ushahidi instances use the same oauth_client_id and oauth_client_secret as the open source?
[Henry Addo, Ushahidi] if not I have a huge technical difficult to fix so the android app work with ushahidi
Ushbot
@ushbot
Sep 17 2015 13:48

[Angela Oduor Lungati, Ushahidi] We're just about to get started on our #UshahidiV3 Community Hangout #2:

Join us in 15 minutes

https://plus.google.com/events/cubt86k4h3s5mvdl4udvod81ej4

[Ush Bot, Ushahidi] Issue 2: API /posts ushahidi/platform#2
Ushbot
@ushbot
Sep 17 2015 14:06
[Angela Oduor Lungati, Ushahidi] if any of you are joining our hangout today and have questions, feel free to jump in and ask us questions in here
[Sophie Shepherd, Ushahidi] i'm watching - so far so great!
[Sophie Shepherd, Ushahidi] jess killin it with showing the set up
[Angela Oduor Lungati, Ushahidi] :)
remBETA
@remBETA
Sep 17 2015 14:42
Thanks!
Hapee
@hapee
Sep 17 2015 14:44
Thank Angela, great show
Ushbot
@ushbot
Sep 17 2015 14:45
[Angela Oduor Lungati, Ushahidi] Thanks so much for joining us :)
[Sophie Shepherd, Ushahidi] Great hangout! We should reuse some of those demos in the documentation :) why make a new video of jess explaining deployment settings if we already have that
Ushbot
@ushbot
Sep 17 2015 15:21
[Flock] <img src="[https://s3.amazonaws.com/files.heyflock.com/avatar/60x60/330677596431843772-1441419841749.jpg](https://s3.amazonaws.com/files.heyflock.com/avatar/60x60/330677596431843772-1441419841749.jpg)" height="24" width="24" /> <strong>Seth Hall</strong><br /><b>What did you accomplish yesterday?</b><br /><ul><li>Case Studies Data Model</li></ul><b>What are you planning to do today?</b><br /><ul><li>focusing on Oct 1st cloud launch</li></ul><a href="[https://heyflock.com/app/teams/333231897847005474?date=2015-09-17#](https://heyflock.com/app/teams/333231897847005474?date=2015-09-17#)339765960955134883">View this status on Flock</a>
Hapee
@hapee
Sep 17 2015 15:51
I went a little further, I think the core is running but now the client looks like this for a long time, any ideas: http://www.hapee.org/
Ushbot
@ushbot
Sep 17 2015 16:27
[Angela Oduor Lungati, Ushahidi] @sophie thanks for hangin :). we'll definitely reuse them
[Angela Oduor Lungati, Ushahidi] @hapee, looks like there's someone else who's having the same problem as you
[Angela Oduor Lungati, Ushahidi] he just reported it on the fb page
[Angela Oduor Lungati, Ushahidi] let's open up a github issue for it
[Fabio Montenegro] If someone speak spanish will be great
[Fabio Montenegro] :)
[Brian Herbert, Ushahidi] @DavidLosada does, but he's probably not the best person to help :)
[Brian Herbert, Ushahidi] I don't know what the solution may be, but the API likely isn't configured properly
[Fabio Montenegro] I followed all steps of this video
https://www.youtube.com/watch?v=E6ckr9V5Cns
[Fabio Montenegro] but doesn't work to me
[Brian Herbert, Ushahidi] Perhaps @Jason can help if he's around
[Fabio Montenegro] thanks Brian
Ushbot
@ushbot
Sep 17 2015 16:40
[Jason Mule, Ushahidi] Hi Fabio, sorry to hear you are having issues.
[Fabio Montenegro] Hi Jason. Surely I did something wrong.
[Fabio Montenegro] you can see my instance ushahidi.technoar.co
[Jason Mule, Ushahidi] Could you remove the node_modules directory and run npm install again?
[Fabio Montenegro] ok
Ushbot
@ushbot
Sep 17 2015 16:45
[Jason Mule, Ushahidi] and then run gulp build after that.
[Fabio Montenegro] its running
[Fabio Montenegro] one moment please
Ushbot
@ushbot
Sep 17 2015 16:52
[Fabio Montenegro] Show me the next error "Error: Cannot find module 'orchestrator'"
Ushbot
@ushbot
Sep 17 2015 16:59
[Jason Mule, Ushahidi] this is when you run gulp build?
[Fabio Montenegro] yeah
[Jason Mule, Ushahidi] are you installing on an ubuntu server?
[Fabio Montenegro] yes, ubuntu server 14.04
[Jason Mule, Ushahidi] did you install the build-essential package?
[Fabio Montenegro] yeah
[Jason Mule, Ushahidi] ok, give me a minute. Let me try to reproduce.
Ushbot
@ushbot
Sep 17 2015 17:04
[Fabio Montenegro] ok, thanks
Ushbot
@ushbot
Sep 17 2015 17:15
[Fabio Montenegro] I wrote #npm install orchestrator , and i did pass but still show me errors for others packages
Ushbot
@ushbot
Sep 17 2015 17:24
[Jason Mule, Ushahidi] I removed my node_modules directory but wasn't able to reproduce the issue. I am using nodejs v0.10.37
[Fabio Montenegro] I'm using v0.10.25
[Jason Mule, Ushahidi] ok, could you rerun npm install without node_modules and share the last few lines of output. Sorry
[Fabio Montenegro] ok
Ushbot
@ushbot
Sep 17 2015 18:00
[Chris Meszler] hello, i have a question about version 2.1 if that's possible to do here? up to now, it hasn't been answered via other methods.
Ushbot
@ushbot
Sep 17 2015 18:06
[Angela Oduor Lungati, Ushahidi] Hey @ChrisMeszlerGuest. Sure, shoot
[Chris Meszler] thanks! in the dashboard, every link and tab reroutes back to the initial dashboard view. the only one that works is "Addons". our team would just like to get to the reports tab but lost the ability.
[Chris Meszler] it worked a month ago and we've made no changes in that time.
Ushbot
@ushbot
Sep 17 2015 18:14
[Fabio Montenegro] Hello again @Jason, I deleted the complete folder, and reinstall. but when I write gulp build some packages still having problems.
if I write npm install <package name> it works
[Angela Oduor Lungati, Ushahidi] Hey @ChrisMeszlerGuest, we stopped supporting v2.1 a while back and recommended folks to upgrade to v2.7.4 which is the most stable version of Ushahidi v2.. we're switching focus to version 3, but will continue to provide limited support for v2.7.4 for a couple of months
[Angela Oduor Lungati, Ushahidi] @ChrisMeszlerGuest you can see more info on how to upgrade here: https://wiki.ushahidi.com/display/WIKI/Ushahidi+v2.X+Upgrades
Ushbot
@ushbot
Sep 17 2015 18:21
[Chris Meszler] i'll forward that info to appropriate parties. thanks.
[Angela Oduor Lungati, Ushahidi] no worries. Let me know if you hit any quirks! @ChrisMeszlerGuest
[Jason Mule, Ushahidi] @Fabio are you seeing any errors when you run npm install?
[Chris Meszler] will do. have fun!
[Fabio Montenegro] many WARN like that
[Fabio Montenegro] npm WARN unmet dependency /var/www/html/platform-client/node_modules/transifex/node_modules/mocha requires commander@'2.0.0' but will load
npm WARN unmet dependency /var/www/html/platform-client/node_modules/transifex/node_modules/commander,
npm WARN unmet dependency which is version 2.1.0
Ushbot
@ushbot
Sep 17 2015 18:42
[Jason Mule, Ushahidi] @Fabio you installed npm and nodejs from the ubuntu repos?
[Fabio Montenegro] yes, npm install, but now I´m updating to your version from packages of the official website
[Jason Mule, Ushahidi] ok, could you give the updated version a try and let me know?
[Fabio Montenegro] ok, thanks
Ushbot
@ushbot
Sep 17 2015 18:49
[Jason Mule, Ushahidi] on ubuntu, you can also add a ppa
[Jason Mule, Ushahidi] sudo add-apt-repository ppa:chris-lea/node.js
[Jason Mule, Ushahidi] then run sudo apt-get update
[Jason Mule, Ushahidi] then install nodejs with sudo apt-get install nodejs
[Jason Mule, Ushahidi] and finally install npm with sudo npm install npm -g
Ushbot
@ushbot
Sep 17 2015 18:55

[Fabio Montenegro] I have v0.10.37 now, but when write npm install show these errors
You can however run a command with sudo using --allow-root option
npm ERR! Linux 3.13.0-43-generic
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.10.37
npm ERR! npm v2.14.3
npm ERR! file /root/.npm/uid-safe/2.0.0/package/package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! No data, empty input at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: /root/.npm/uid-safe/2.0.0/package/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

npm ERR! Please include the following file with any support request:
npm ERR! /var/www/html/platform-client/npm-debug.log

[Jason Mule, Ushahidi] try putting sudo infront of the command
[Fabio Montenegro] I´m working with root, and i tried with sudo but the same mesagge appears
Ushbot
@ushbot
Sep 17 2015 19:01
[Jason Mule, Ushahidi] on the directory where you cloned the repo, try running npm install as a non-root user.
[Jason Mule, Ushahidi] gulp build as well. You can copy the resulting server/www after you are done
[Fabio Montenegro] ok
Ushbot
@ushbot
Sep 17 2015 19:09
[Fabio Montenegro] @Jason I need to go out now, I´m going to try and i hope that works, if doesn´t, i´ll back for your help :) thanks
[Jason Mule, Ushahidi] sure. Thanks for the feedback.
[Fabio Montenegro] bye
[Jason Mule, Ushahidi] bye. Let us know if this works for you.
Ushbot
@ushbot
Sep 17 2015 19:33
[Robbie Mackay, Ushahidi] @Fabio @jason I think that npm needs to be run as a non-root user.
[Robbie Mackay, Ushahidi] but if your doign the whole this as root you can run "npm install --allow-root"
[Gee (guest), irc.freenode.net] hello, I have a problem with enabling public listing on my crowdmap deployment. anyone can help?
[Jason Mule, Ushahidi] Noted. Thanks @Robbie.
Ushbot
@ushbot
Sep 17 2015 21:13
[Sophie Shepherd, Ushahidi] @Robbie & @Will well, my attempt at getting Sphinx all up and running on my own has failed & i'm too confused by the back end. I have it running locally, but am still thoroughly confused by how to manage the structure and how to customize a theme (can't even figure out which config docs to update)
[Sophie Shepherd, Ushahidi] Is one of you free for an hour or so to run through it will me and get me on my way? Figure that will be much faster than me reading around in circles in the docs
[Will, Ushahidi] hey @sophie, yep, I can help with that I think. I updated the ticket and pushed a new version of the docs with an updated ToC but we can run through the structure to make it clear
[Sophie Shepherd, Ushahidi] are you free now?
[Will, Ushahidi] yep
Ushbot
@ushbot
Sep 17 2015 21:35
[Sophie Shepherd, Ushahidi] Shout out to Will for helping out! Turns out Sphinx is way more complicated than I thought
[Will, Ushahidi] :)
Ushbot
@ushbot
Sep 17 2015 21:47

[Will, Ushahidi] @sophie: quick question how many changes do you need to make? Essentially we have two options

  1. using the sphinx_rtd_theme, properties can be set like this in the conf.py
    html_theme_options = {
    "rightsidebar": "true",
    "relbarbgcolor": "black"
    }
    this changes the side bar to the right side and sets the relation bar background to black
  2. We create a custom theme that sphinx will pick up and drop into the generated content

Option 2 is probably more flexible

[Sophie Shepherd, Ushahidi] yeah, it will be a lot more than just colors
[Will, Ushahidi] ok grand, I'll make the theme dir and push it up
[Sophie Shepherd, Ushahidi] thank you so much
[Sophie Shepherd, Ushahidi] going to switch to another task for now, and back to this first thing in the morning
[Will, Ushahidi] cool, will let you know when I have it functional
Ushbot
@ushbot
Sep 17 2015 21:53
[Robbie Mackay, Ushahidi] @will one thing I couldn't figure out is even once we customize the theme.. will read the docs pick it up?
[Will, Ushahidi] that's a good question given that it's currently only set to use the custom locally - I'll investigate
[Robbie Mackay, Ushahidi] they seem to have some hacks around their theme.. So maybe check that you can get custom templates running there, before we get a whole theme built only to find we can't deploy it :)
[Will, Ushahidi] smart!
[Robbie Mackay, Ushahidi] although this certainly looks like a custom theme: http://celery.readthedocs.org/en/latest/userguide/calling.html
Robbie Mackay
@rjmackay
Sep 17 2015 21:59
@hapee were you deploying from current master in github? or the v3.0.0 tag? or a downloaded tar.gz ?
I suspect that JS error is something we missed when JS compression was turned off.. but should be an easy fix once I know which version to check