Giter VIP home page Giter VIP logo

pialab-back's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pialab-back's Issues

[ERROR] Application with name « Default App » was not found

Hello,

I have try to deploy pialab and i have this error:

psql -qt --no-align -w -h 172.18.0.3 -c 'select count(*) from pia_user where email='''[email protected]''';' -U pia_user_pialab -d pia_db_pialab

  • testuserexist=0
  • '[' 0 -eq 0 ']'
  • bin/console pia:user:create [email protected] api42 '--application=Default App'

[ERROR] Application with name « Default App » was not found**
The command '/bin/sh -c git clone https://github.com/pia-lab/pialab-back.git -b ${BACKBRANCH} /usr/share/pialab-back && cd /usr/share/pialab-back && BUILDENV=${BUILDENV} Suffix=${NAME} CLIENTURL=${FRONTURL} ./bin/ci-scripts/set_env_with_etcd.sh && ./bin/ci-scripts/set_pgpass.sh && . /usr/share/pialab-back/.env && ./bin/ci-scripts/install.sh && ./bin/ci-scripts/create_database.sh && psql -w -h ${DBHOST} -c "ALTER USER ${DBUSER} WITH PASSWORD '${DBPASSWORD}';" -U ${DBROOTUSER} && ./bin/ci-scripts/create_schema.sh && if [ "$CREATEUSER" = "true" ]; then ./bin/ci-scripts/create_user.sh; fi && CLIENTURL=${FRONTURL} ./bin/ci-scripts/create_client_secret.sh && ./bin/ci-scripts/update_users_app.sh && ./bin/ci-scripts/post_install.sh' returned a non-zero code: 42>

Unable to login after last git updates

Already added this issue on the frontend side, but probably here is more appropriate...

Summary

After a couple of last git updates I'm not able to do login from frontend anymore.

Steps to reproduce

Pull the code from git, make the necessary composer update, npm install and doctrine migrations, then run the server and the client. Try to login from the client.

Expected behavior

Make a succesful login

Actual behavior

Opening the Chrome Develper console, you can see that when the client calls the following service, it gets an error in response:
http://[host]:[port]/profile
Response: {
"code": 500,
"message": "Notice: unserialize(): Error at offset 0 of 29 bytes"
}

error during installation

Hello, i have a problem when i install pialab:

In EnvVarProcessor.php line 77:

Environment variable not found: "DATABASE_VERSION".

The command '/bin/sh -c cd /usr/share/pialab-back     && rm ./composer.lock     && . /usr/share/pialab-back/.env     && ./bin/ci-scripts/install.sh     && ./bin/ci-scripts/create_database.sh     && psql -w -h ${DBHOST} -c "ALTER USER ${DBUSER} WITH PASSWORD '${DBPASSWORD}';" -U ${DBROOTUSER}     && ./bin/ci-scripts/create_schema.sh     && CLIENTURL=${FRONTURL} ./bin/ci-scripts/create_client_secret.sh     && if [ "$CREATEUSER" = "true" ]; then ./bin/ci-scripts/create_user.sh; fi     && ./bin/ci-scripts/update_users_app.sh     && ./bin/ci-scripts/post_install.sh' returned a non-zero code: 1

Proposition de Roadmap

  1. Authentification/identification des acteurs
  2. Gestion de rôles et permissions
  3. Ajout d'un accès à une banque de modèles de registres (privative?)
  4. Workflows d'intervention dans la définition des traitements du registre
  5. Possibilité de limiter la PIA à tout ou partie des étapes exhaustives en fonction de choix arbitraires ou guidés (via la définition de la sensibilité des données par exemple)
  6. Possibilité de déterminer des risques et des mesures à appliquer à plusieurs PIA
  7. Gestion de crises
  8. Gestion des demandes d'accès aux données personnelles par les personnes référencées
  9. Tableau de bord personnalisé
  10. Identification formelle des acteurs + sous-traitants + etc.
  11. Regroupement des PIAs par traitement de référence (traçabilité)
  12. Extraction de bilans généraux (aggrégation de chaque PIA, et de l'historique des évolutions)
  13. Gestion réelle de calendriers
  14. etc.

À compléter.

issue at install (pialab-docker)

Hi,

I use the pialab-docker configuration but when i launch the install.sh script i have a problem:

2018-09-27T15:47:47Z 7210c6c032fa confd[127]: DEBUG Using source template etc/confd/templates/env.tmpl
2018-09-27T15:47:47Z 7210c6c032fa confd[127]: DEBUG Compiling source template etc/confd/templates/env.tmpl
2018-09-27T15:47:47Z 7210c6c032fa confd[127]: ERROR template: env.tmpl:49:16: executing "env.tmpl" at <getv "/smtp/default/...>: error calling getv: key does not exist: /smtp/default/sender
2018-09-27T15:47:47Z 7210c6c032fa confd[127]: FATAL template: env.tmpl:49:16: executing "env.tmpl" at <getv "/smtp/default/...>: error calling getv: key does not exist: /smtp/default/sender
The command '/bin/sh -c cd /usr/share/pialab-back && echo '\n' >> etc/confd/templates/env.tmpl && echo "MAILER_SENDER=[email protected]" >> etc/confd/templates/env.tmpl && BUILDENV=${BUILDENV} Suffix=${NAME} CLIENTURL=${FRONTURL} ./bin/ci-scripts/set_env_with_etcd.sh && ./bin/ci-scripts/set_pgpass.sh' returned a non-zero code: 1

Twig error runtime

Hello,

When i create a user with option "send mail for reseting password", i got this message :

image

thanxs

Create Database issue

Hi,

I try to install Pialab on a shared server. From SSH, when I try to create database, I have these issue messages :

In AbstractPostgreSQLDriver.php line 73: An exception occurred in driver: SQLSTATE[08006] [7] FATAL: no pg_hba.conf entry for host "::1", user "user_pialab", database "postgres", SSL off ;

In PDOConnection.php line 31: SQLSTATE[08006] [7] FATAL: no pg_hba.conf entry for host "::1", user "user_pialab", database "postgres", SSL off ;

In PDOConnection.php line 27: SQLSTATE[08006] [7] FATAL: no pg_hba.conf entry for host "::1", user "user_pialab", database "postgres", SSL off ;

It seems that Console can't connect to Postgres.
I can't find the "pg_hba.conf" file on the server

Do you have an idea to fix the problem?

Thanks a lot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.