Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Tom Elam
    @tomelam
    Namaste [Indian greeting], Ushahidi developers! Thank you for a great utility! I have a small, easy suggestion and use case.
    The deployment I created, yadavagiri.ushahidi.io, is finally beginning to make converts. My friend down the road realised it's easier to locate issues in a real database like Ushahidi's than to search through his 20+ WhatsApp groups.
    That being said, he still wasn't able, on his own, to share a link to his post about litter on his street. (He made the post anonymously from the web.) The web interface of Ushahidi provides only Facebook, Twitter, and Embed options to share the post. I mentioned to him that he could just go to his web browser's address bar to copy the URL, then paste it into our WhatsApp group, but although he is a very intelligent, well-read man (he speaks 7 languages fluently and is now learning Dutch), he was unable to do it.
    Tom Elam
    @tomelam
    Please provide an explicit option for copying just the URL--maybe something like the Embed option but without the iframe.
    Thanks again for a great app and service!
    rohit
    @rohit645
    Quick question: My travisCI build is failing. Is it failing for everyone?
    Ushbot
    @ushbot
    [David Losada, Ushahidi] mm yes I think so, it looks like there is a need to update the travis build specifications
    rohit
    @rohit645
    I was thinking of adding a reset zoomoption in the area that shows world map. Currently, it only has + and - buttons only. Any suggestions?
    Ushbot
    @ushbot
    [Anna Iosif, Ushahidi] @rohit645 I added an issue for Travis, if you would like to have a go at trying to fix the travis-settings, it would be much appreciated :) :) You could try it in your own fork first and see if it works. ushahidi/platform#3845
    rohit
    @rohit645
    Surely, I would love to fix it.
    I found an issue related to platform-client. Where should I open it : platform or platform-client ?
    Ushbot
    @ushbot
    [Anna Iosif, Ushahidi] @rohit645 in the platform-repo. we keep all out issues there :)
    rohit
    @rohit645
    Please review my PR for Travis build settings ushahidi/platform-client#1431
    Ushbot
    @ushbot

    [David Losada, Ushahidi] yes, indeed in https://github.com/ushahidi/platform/issues thumbsup emoji

    @rohit645 about reset zoom, I think that’s an interesting idea! I don’t think we have an issue at the moment regarding that, but if you would like to open one about it, it could be a great space to discuss about it and throw in suggestions

    rohit
    @rohit645
    What versions of Node are currently in use in production? Issue related to .travis.yml as it sayswe have dropped support for node < 10 but local env still works for node v8? I am confused? However, local environment fails at node v11?
    Salvatore La Fiura
    @salvolf
    Hi all, i was trying to deploy on an ec2 instance the v3 and i'm having some issues.
    I tried multiple times following tthe guide for production and as well with the bundle release install guide, can someone help me out ?
    Ushbot
    @ushbot
    [David Losada, Ushahidi] hi @salvolf, definitely, just give us the details and we’ll help you out thumbsup emoji
    Salvatore La Fiura
    @salvolf
    Ok, i managed. I deployed on an ec2 the bundle release.
    Now i'm facing 2 other issues:
    1. How can i secure access only to authenticated users?
    2. How can i connect an application to a bundle release? I don't have access to the config.json file, right ?
    Ushbot
    @ushbot
    [David Losada, Ushahidi] @salvolf could you please let me know where are those instructions found? They seem outdated and would like to remove them. The latest up-to-date docs are at https://docs.ushahidi.com
    [David Losada, Ushahidi] Regarding your other questions:
    1. There is a setting (available under Settings > General) to make the deployment private . That means that unauthenticated guests will not see the map or any of the deployment information until they log in
    2. Are you referring to the mobile application?
    Salvatore La Fiura
    @salvolf
    I'm facing some issues on using the bundle release on https, is there something i have to enable in the docker configuration ?
    Salvatore La Fiura
    @salvolf
    platform-release_ushahidi_1 /bin/bash /run.sh run Up 0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp, 8080/tcp
    Salvatore La Fiura
    @salvolf
    I tried during the weekend to change the configuration of docker-compose.yml adding the port
    gninx and apache conf
    but still no success, both locally and on a ec2
    Ushbot
    @ushbot
    [David Losada, Ushahidi] sorry @salvolf, what issue are you referring about exactly?
    Salvatore La Fiura
    @salvolf
    I am not able to setup the entire platform with ssl
    not even the bundle release that should be the easiest, right ?
    Salvatore La Fiura
    @salvolf
    I cannot find any documentation about which file to modify in order to have the ssl up
    Ushbot
    @ushbot
    [David Losada, Ushahidi] mmm right, I don’t think there is a streamlined way, documented way of getting set up with tls/ssl . Is that what you are having trouble with exactly?
    Salvatore La Fiura
    @salvolf

    Thanks David i managed to have it up and running.
    Now i tried to deploy the platform stand alone without docker containers following this :
    https://docs.ushahidi.com/platform-developer-documentation/development-and-code/setup_alternatives/installing-for-production-environments

    But when i access the ip of the machine where is running i always get an empty response

    18-Feb-2020 14:54:46] NOTICE: ready to handle connections
    [18-Feb-2020 14:54:46] NOTICE: systemd monitor interval set to 10000ms
    66.249.93.230 - - [18/Feb/2020:14:58:32 +0000] "GET / HTTP/1.1" 200 31 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon"
    66.249.93.232 - - [18/Feb/2020:14:58:32 +0000] "GET /favicon.ico HTTP/1.1" 200 31 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon"
    So i see proper log, but empty response instead of the {now....}
    www-data 31405 0.0 0.7 144072 7100 ? S 14:54 0:00 nginx: worker process
    but nginx is up and running

    server {

    listen 80 ;
    listen [::]:80 ;
    server_name *********;
    charset UTF-8;
    root /var/www/platform/httpdocs;
    index index.php;
    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    
    location / {
    try_files $uri $uri/ /index.php$uri?$args;
    }
    
    # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
    location ^~ /index.php {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
        fastcgi_index index.php;
        client_max_body_size 10m;
        fastcgi_read_timeout 600;
        include fastcgi_params;
        break;
    }

    }

    configuration of the nginx
    @uish
    @ushbot any idea ?
    Shreyansh Soni
    @noone0212
    Hello! This is Shreyansh Soni, a sophomore from Indian Institute of Technology, Roorkee, India. I'm new to Open Source Community, and want to contribute to Ushahidi. For the same when I started building platform-pattern-library using the link . But got an error message after running gulpcommand
    noone@Aspire-A515-51G:~/Ushahidi/platform-pattern-library$ gulp
    [21:20:24] Using gulpfile ~/Ushahidi/platform-pattern-library/gulpfile.js
    [21:20:24] Starting 'default'...
    [21:20:24] Starting 'webserver'...
    [21:20:24] Starting server...
    [21:20:24] Finished 'webserver' after 5.42 ms
    [21:20:24] Starting 'watchFiles'...
    [21:20:24] Finished 'watchFiles' after 39 ms
    [21:20:24] Finished 'default' after 47 ms
    events.js:183
          throw er; // Unhandled 'error' event
          ^
    
    Error: listen EADDRINUSE 127.0.0.1:8000
        at Server.setupListenHandle [as _listen2] (net.js:1360:14)
        at listenInCluster (net.js:1401:12)
        at GetAddrInfoReqWrap.doListen [as callback] (net.js:1510:7)
        at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:72:10)
    What am I doing wrong please help!
    rohit
    @rohit645
    Hi @noone0212 error code Eaddrinuse suggests that the port you are using is already in use, you might try with some other port.
    Shreyansh Soni
    @noone0212
    Thanks @rohit645! It worked!
    Salvatore La Fiura
    @salvolf
    Hi all, I was wondering if there was the chance to register an user through the app.
    Is this the correct api call? POST http://demo.api.ushahidi.io/api/v3/users. ?
    Salvatore La Fiura
    @salvolf
    Ushbot
    @ushbot
    [David Losada, Ushahidi] GET / HTTP/1.1" 200 31 does this mean 31 bytes transferred? That’s very short indeed. Is this just supposed to be for the index.html of the frontend ? Is the document root pointing at the proper place?
    Salvatore La Fiura
    @salvolf
    Thanks @tuxpiper that problem is solved. But if you could help on : the registration of new user through the api it would be nice.
    I saw: saw this: https://docs.ushahidi.com/platform-developer-documentation/tech-stack/api-documentation#register-a-new-user
    and this: POST http://demo.api.ushahidi.io/api/v3/users.
    rohit
    @rohit645
    @tuxpiper I have opened issue for reset zoom option. I will send PR for it shortly.