Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Ushbot
    @ushbot
    [Romina Suarez, Ushahidi] all good :)
    Mariangela
    @petrizzo
    [petrizzo@web556 platform]$ ls
    apache_heroku.conf config LICENSE-AGPL routes
    apiary.apib CONTRIBUTING.md LICENSE.md seeds
    app database mapping.json skeleton.php
    app.json docker migrations src
    artisan docker-compose.yml phinx.php storage
    bin Dockerfile phpspec.yml.coverage Vagrantfile
    bootstrap docs Procfile vendor
    captainhook.json example.env PULL_REQUEST_TEMPLATE.md
    composer.json Homestead.yaml README.md
    composer.lock httpdocs resources
    Ushbot
    @ushbot
    [Romina Suarez, Ushahidi] ah. ok good so at least the bin dir is in there. Can you run ls -lah ./bin too ?
    Mariangela
    @petrizzo
    let me see
    Captura de pantalla de 2019-08-11 15-35-41.png
    maybe something with the permissions?
    Ushbot
    @ushbot
    [Romina Suarez, Ushahidi] mmmm. That doesn't look right. There should be a phinx file in there.
    Mariangela
    @petrizzo
    I think is in /vendor
    let me see
    no. is not there
    what can I do?
    forget
    I found the problem.
    There are some missing files. I'm comparing local with remote files and can see the difference ...
    Ushbot
    @ushbot

    [Romina Suarez, Ushahidi] oh . right.
    https://docs.ushahidi.com/platform-developer-documentation/getting-started/setup_alternatives/installing-for-production-environments

    FYI, we have new production setup docs here that might be easier to follow to be honest and more complete than the ushahidi.com guides for new versions (we really need to link them from ushahidi.com so folks can find them , which I'll do..right now!)

    Mariangela
    @petrizzo
    thanks. thanks, THANKS!
    I have some issues with the documentation because I have noticed that all the documents have some (important) variations between them ... depends on which website do you see
    Ushbot
    @ushbot

    [Romina Suarez, Ushahidi] Yea, it's ... quite problematic, I'm really sorry about that.

    I've modified the header of https://www.ushahidi.com/support/install-ushahidi so at least folks know there's new docs coming, and I'm going to check with the team tomorrow if they're ok with just redirecting to the new gitbooks in there so it's less confusing . Thank you for your feedback !

    [Romina Suarez, Ushahidi] please let us know if you need any more assistance. I'm going out for the day but myself or someone else in the team will be around to answer any questions in the morning and help out.
    Mariangela
    @petrizzo
    I appreciate your dedication. I'm still working here for a while more to see if tomorrow we already have the ushahidi instance up =)
    for now, the phinx already does something, although it gives a different error. I keep investigating and any extreme help i need i come here. thank you!
    Mariangela
    @petrizzo

    @ushbot I am lost because the instructions are a quite different one to each other. So ...
    I still follow this -> https://www.ushahidi.com/support/install-ushahidi
    and at this point -> ./bin/phinx migrate -c application/phinx.php
    I have this issues:
    Warning: require(/home/petrizzo/webapps/yenchi_new/platform/bin/../app/phinx.php): failed to open stream: No such file or directory in /home/petrizzo/webapps/yenchi_new/platform/bin/phinx on line 27

    Warning: require(/home/petrizzo/webapps/yenchi_new/platform/bin/../app/phinx.php): failed to open stream: No such file or directory in /home/petrizzo/webapps/yenchi_new/platform/bin/phinx on line 27

    Fatal error: require(): Failed opening required '/home/petrizzo/webapps/yenchi_new/platform/bin/../app/phinx.php' (include_path='.:/usr/local/share/pear56') in /home/petrizzo/webapps/yenchi_new/platform/bin/phinx on line 27

    But, in this post, I found some instructions that, I think, helps to solve the problem -> https://forums.ushahidi.com/t/ssh-phinx-migrate-command-permission-denied-on-bluehost/4729/2

    And voilá ... the command migrate was executed!

    so, in the instructions says:

    chown -R www-data:www-data platform/application/{logs,cache,media/uploads}

    but I received this error:

    must be privileged to use -u

    any clue?

    Ushbot
    @ushbot
    [Romina Suarez, Ushahidi] hi. did you get the error while running crontab -u www-data -e?
    Mariangela
    @petrizzo
    yes
    I doubled check the permissions of the files.
    Ushbot
    @ushbot
    [David Losada, Ushahidi] in a shared hosting environment, I think you just want to run crontab -e
    [David Losada, Ushahidi] you are not superuser in those kind of environments
    [David Losada, Ushahidi] the standard instructions assume installing on an environment that you fully own and control
    Mariangela
    @petrizzo
    ok. I got it. let me see and I keep you informed about it
    Ushbot
    @ushbot
    [David Losada, Ushahidi] good luck! hope that helps!
    Mariangela
    @petrizzo
    Hi! I'm not sure, because following the instructions here -> https://www.ushahidi.com/support/install-ushahidi I must see some lines in crontab that I can see.
    Ushbot
    @ushbot
    [David Losada, Ushahidi] I think those are lines to be added
    [David Losada, Ushahidi] but
    Mariangela
    @petrizzo
    I have this output ->
    Captura de pantalla de 2019-08-14 13-01-19.png
    Ushbot
    @ushbot
    [David Losada, Ushahidi] docs.ushahidi.com will soon have all the docs . ushahidi.com/support is most likely outdated
    Mariangela
    @petrizzo
    oki.
    Ushbot
    @ushbot
    [David Losada, Ushahidi] oh ok, that must come by default, installed by your hoster
    [David Losada, Ushahidi] just add below
    Mariangela
    @petrizzo
    yes, I thought that.
    Dan G
    @danryu

    Hi, I'm working with a new Ushahidi v4 platform-release installation, Mysql DB and Apache 2.4 on Ubuntu 18.04. Also downgraded PHP to 7.1 and have all modules Have followed all setup instructions (readme, release notes and online user manual) as best as possible.
    However when I try to load the service in the browser after installation, I get:
    "The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths."

    There are no explicit Ushahidi docs on this, apart from the mention of "APP_KEY" on https://docs.ushahidi.com/platform-developer-documentation/getting-started/setup_alternatives/installing-for-production-environments, but that mentions a command "php artisan key:generate" which does not exist. Any ideas?

    Ushbot
    @ushbot
    [David Losada, Ushahidi] yep, that’s in the follow up documents that I was reviewing to send you now @danryu . APP_KEY needs to be set to any random key, but it must be 32 characters long
    [David Losada, Ushahidi] the correct command for the passport keys (those are a different set, used for oauth authentication) seems to be “php artisan passport:keys”
    [David Losada, Ushahidi] I’ll make sure to fix that
    Dan G
    @danryu
    thanks David, that's great...
    Yes I need to clarify a few of these instructions and maybe get it into some ansible ... for now I just manually updated APP_KEY and I have the service :)
    I will follow up later
    Ushbot
    @ushbot
    [David Losada, Ushahidi] we’ve got some ansible stuff we were looking to open up , if you would like to look at it, we would love the feedback
    Dan G
    @danryu
    sure that would be great!
    Ushbot
    @ushbot
    [David Losada, Ushahidi] awesome, I’ll get back to you a bit later about that as well thumbsup emoji
    Ushbot
    @ushbot

    [David Losada, Ushahidi] @danryu , re: ansible , I suggest to check these ansible roles
    https://github.com/ushahidi/ansible-laravel-api-code
    https://github.com/ushahidi/ansible-platform-client-code

    they are very raw and have seen internal use only (which also means hard-coded to Ubuntu), so probably nothing that will work out of the box for you. But maybe useful

    [David Losada, Ushahidi] we’ve got some more full-fleshed playbooks , but I’ve got to comb through those first