3035app / pialab-back Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Affero General Public License v3.0
License: GNU Affero General Public License v3.0
Already added this issue on the frontend side, but probably here is more appropriate...
After a couple of last git updates I'm not able to do login from frontend anymore.
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.
Make a succesful login
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"
}
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>
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
Hello,
When i want to edit a user, once the change is done, when I save the change, I'm redirected to https://www.example.fr/manageUsers instead of https://www.example.fr/back/manageUsers
=> which generates a 404 response!
Here pictures:
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
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
À compléter.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.