These are chat archives for ushahidi/Community

7th
Feb 2017
Liwei
@willis50317
Feb 07 2017 07:16
@ushbot
Hello. I got a weird problem.
Recently, I installed a ushahidi website on my server(ubuntu 16.04).
Now I can connect to it successfully.
However, when I logged in as "admin" and did some settings in "General", like "deployment name" and "website development", my website couldn't save those information. When I got out and went back to setting page, everything disappeared.
Could you tell me what would be the possible reason for this situation?
Liwei
@willis50317
Feb 07 2017 07:36
@ushbot
The other problem is that the location button (the arrow button to locate user's position) doesn't work on some browser such as "google chrome".
Also, if you use it on the browser of smart phones, it also doesn't work most of the time.
How could I fix this problem? Thank you!
Ushbot
@ushbot
Feb 07 2017 10:13
[David Losada, Ushahidi] Hi, willis. Does the location work reliably in the same cases in other websites? (i.e. openstreetmap.org) It may be a matter of making sure the mobile browser has permissions to access the location information provided by the phone
[David Losada, Ushahidi] regarding the problem with saving settings, did you get any error in your browser console when trying to make adjustments?
Arturo
@ArturoQuintana
Feb 07 2017 14:20
Hi @davidlosada
How are you?
Just to let you know that I finally changed the link, and it's working.
Thanks!
Ushbot
@ushbot
Feb 07 2017 14:21
[David Losada, Ushahidi] great! glad to hear
Arturo
@ArturoQuintana
Feb 07 2017 14:22
thanks
I would like to ask you something related to the update process
Ushbot
@ushbot
Feb 07 2017 14:35
[David Losada, Ushahidi] sure, what is the question?
Arturo
@ArturoQuintana
Feb 07 2017 14:37

I try to have the platform updated as soon as possible

To do this, I execute these instructions:

First the platform:
1- git pull
2- ./bin/phinx migrate -c application/phinx.php

and secondly the client:
1- git pull
2- npm install
3- gulp build

I do it for a suggestion from someone on the Ushahidi team.
However, the instructions on the Ushahidi website are different:

platform:
1- git pull
2- bin/update

client:
1- git pull
2- npm install

My questions are:

  1. Am I doing something wrong?
  2. Does order matter? (API, Client or Client, API)
Ushbot
@ushbot
Feb 07 2017 14:49
[David Losada, Ushahidi] I don’t think the order matters.. although I’d say it makes sense to update the API first
Arturo
@ArturoQuintana
Feb 07 2017 14:50
Great, it is what I do
Ushbot
@ushbot
Feb 07 2017 14:50
[David Losada, Ushahidi] I think gulp build is necessary to run in the client
Arturo
@ArturoQuintana
Feb 07 2017 14:51
Ok, then we will keep it (now everything is working using those steps)
Arturo
@ArturoQuintana
Feb 07 2017 15:10
And what about the difference of the instructions on updating the API?
Arturo
@ArturoQuintana
Feb 07 2017 15:49
@davidlosada I would like to ask you something about the links
Ushbot
@ushbot
Feb 07 2017 15:56
[David Losada, Ushahidi] what’s the question Arturo?
Arturo
@ArturoQuintana
Feb 07 2017 16:04
does not matter @davidlosada
I have already figured out how to solve the problem
Thanks in advance!