by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 14 19:34
    albogdano commented #183
  • Jul 14 19:34
    albogdano commented #183
  • Jul 14 19:34
    albogdano commented #183
  • Jul 14 19:33
    albogdano commented #183
  • Jul 14 19:32
    albogdano closed #183
  • Jul 14 19:32

    albogdano on master

    readme (compare)

  • Jul 14 19:31
    albogdano commented #183
  • Jul 14 14:22
    jorgeag68 opened #183
  • Jul 14 07:21
    jorgeag68 commented #182
  • Jul 14 03:47
    albogdano commented #182
  • Jul 13 20:46
    jorgeag68 commented #182
  • Jul 13 20:45
    jorgeag68 commented #182
  • Jul 13 20:45
    jorgeag68 commented #182
  • Jul 13 17:47

    albogdano on master

    updated Para Client to 1.37.1 (compare)

  • Jul 13 11:21
    albogdano commented #182
  • Jul 13 10:34
    jorgeag68 commented #182
  • Jul 13 10:18
    albogdano closed #182
  • Jul 13 10:00
    jorgeag68 edited #182
  • Jul 13 09:54
    albogdano labeled #182
  • Jul 13 09:33
    jorgeag68 edited #182
rafik777
@rafik777

Hi,
I would like to run:

para-cli rebuild-index --endpoint "http://x.x.x.x:8080" --accessKey "app:para" --secretKey "Xdlo...=="

but I get:

✖ Reindex failed. Invalid signature for request POST /v1/_reindex coming from app para (403 Forbidden)

I think I've lost my para:app generated secretKey. :/
What can I do now?

Alex Bogdanovski
@albogdano
@rafik777 you can have a look at the database and just copy the key from there or delete the app and call /v1/_setup again
rafik777
@rafik777
It works (secret from db)! Thank you!
Alex Bogdanovski
@albogdano
:thumbsup:
sawyerw-cadwell
@sawyerw-cadwell
@albogdano file attachments to answers doesn't seem to be working.
It does work if you drag/drop, for example, a PDF file into the answer/question text box but not if you click "Attach File"
Alex Bogdanovski
@albogdano
@sawyerw-cadwell issue confirmed and fixed! thank you!
mark-os
@mark-os
I'm getting the following error and it's not clear why: 2020-04-20 19:02:57,731 [ERROR] c.erudika.scoold.utils.ScooldUtils - No connection to Para backend. Retrying connection in 10s (attempt 1 of 10)...
I tried the para-cli and it worked from the same box, so that's weird
mark-os
@mark-os
tried to use trace logging but it did not give any relevant details
mark-os
@mark-os
You know what, I got it working, not sure how, just spun up a new EC2 instance and reinstalled
Alex Bogdanovski
@albogdano
@mark-os no idea what happened there but I'm glad you got it working. usually connection errors only happen when the access keys are incorrect or missing
Kevin
@pkevin_gitlab
Is it planned for admins/moderators to accept an answer (best answer)? I was hoping this works via API but you seem to have to be the post/question creator.
also: Congratulations on the latest releases, the API is much appreciated!
Alex Bogdanovski
@albogdano
@pkevin_gitlab The feature is implemented in the master branch but I will have to check that the same action is available through the API (it should be). I will do another release soon.
Cervangirard
@Cervangirard
Hi, is it possible to pre-fill the tag list without creating questions? Also, is it possible to block the creation of these tags ? Thanks a lot
Alex Bogdanovski
@albogdano
@Cervangirard it is possible to create tags through the API but not yet possible to prevent users from creating new tags with questions.
Cervangirard
@Cervangirard
Alex Bogdanovski
@albogdano
:thumbsup:
Kevin
@pkevin_gitlab
awesome Alex, looking forward to it! :) The API call was successful for me but did not mark the answer /reply as accepted, this will probably work with the master branch though!
Alex Bogdanovski
@albogdano
@pkevin_gitlab I can confirm this didn't work before but now works through the API as well
new release expected later today or tomorrow
Cervangirard
@Cervangirard
Hi @albogdano , I'm trying to create a new user via the API. Scoold tells me that the user is created but it is impossible to log in with this new user. Looking closer, it looks like the password is not created. Can you create a new user via the API? Thank you very much.
Alex Bogdanovski
@albogdano
@Cervangirard I'll check if that's a bug but you should be able to create users through the API and login after that
Cervangirard
@Cervangirard
Inside the json file, for my new user, i can' see the password fields : "id":"jean@test.fr","timestamp":1588596127152,"type":"sysprop","appid":"para","parentid":null,"creatorid":"5eb00d9eec3b7a119fe10f68","updated":null,"name":"identifier","tags":null,"votes":0,"version":0,"stored":true,"indexed":true,"cached":true,"objectURI":"/sysprop/jean%40test.fr","plural":"sysprops","_ObjectId":"5eb00d9fec3b7a119fe10f85"
Alex Bogdanovski
@albogdano
the password field is hidden on purpose
it's not even part of the user object
Cervangirard
@Cervangirard
But for my account, I have this password. Maybe because I'm the administrator?
"objectURI":"/sysprop/admin%40test.fr","plural":"sysprops","password":"$2a$12$b1/Y7HV3GHqNRmp1uwMi/uP3NdDeDCTfL2XVZSmSaIkJf0vqMCNei","etoken":"","_ObjectId":"5eb00b32ec3b7a119fe10f4e"
Alex Bogdanovski
@albogdano
what type of object is this? it should be sysprop
I can confirm there's an issue with logging in but the user is created
Cervangirard
@Cervangirard
yes the user is created ! and not sure to understand your question :)
you want me to open a issue on github ?
Alex Bogdanovski
@albogdano
it doesn't matter I saw the type - sysprop ("plural":"sysprops")
it's ok I'll fix this right away, there's no need to open an issue
Cervangirard
@Cervangirard
Thanks a lot ! :)
Alex Bogdanovski
@albogdano
thanks for reporting this!
Gautam Jain
@jin09
Hi I am trying to look into the codebase and I am facing trouble figuring out the flow when a user signs in for the first time using Google, how is the user created? Can someone guide me from SigninController
Alex Bogdanovski
@albogdano
@jin09 Scoold sends all backend requests to the Para server using the ParaClient object
so you will see a pc.signIn() method in there which executes the authentication request
the Para class hanling Google logins is called GoogleAuthFilter. more info here http://paraio.org/docs/#031-google
Gautam Jain
@jin09
thanks a lot @albogdano, found it :)
ganeshlt
@ganeshlt
Getting following error on para.log :
Failed to connect to SQL database: Could not create connection to database server
What could be the reason?
CC: @albogdano
I am trying to use MySQL as a backend storage instead of H2.
I can accesss the DB via CLI, and following is what I am using in para application.conf file:
para.plugin_folder = "/home/ubuntu/para/lib/"
# DB details
para.sql.driver = "com.mysql.jdbc.Driver"
para.sql.url = "mysql://<my-db-server-address>:3306/my-database"
para.sql.user = "xxxxxxxx"
para.sql.password = "xxxxxxx"
para.dao = "SqlDAO"
Alex Bogdanovski
@albogdano
@ganeshlt You must download the appropriate JDBC driver package for your database and put it in the lib/ folder. Try removing the property para.plugin_folder and instead set the system property loader.path=lib on startup:
java -jar -Dconfig.file=./application.conf -Dloader.path=lib  para.jar
The JDBC driver for MySQL should be inside the ./lib folder alongside the para-dao-sql.jar. Then restart Para
Kevin
@pkevin_gitlab
what is the easiest solution to add a new custom space and have every user added to it? Is see there's para.auto_assign_spaces however this is only for new users, correct?
Alex Bogdanovski
@albogdano
@pkevin_gitlab that's not actually implemented yet. You'd have to assign users manually to that space from the "bulk edit space" on the Users page
Kevin
@pkevin_gitlab
got it, thanks!