Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Capitaler
@capitaler_gitlab

My apologies, I previously missed this message.

Any help at your convenience would be appreciated. At the moment I hit a wall with para/scoold so I am trying to salvage askbot. Tomorrow I should be able to try setting up scoold again in order to try reproducing the wall I hit.

Alex Bogdanovski
@albogdano
Hi, how can I help?
Capitaler
@capitaler_gitlab
@albogdano Thank you, I will spin up a vps and see if I can reproduce the wall I hit last time.
Alex Bogdanovski
@albogdano
ok, I'll be here if you need me
Capitaler
@capitaler_gitlab
I very much appreciate it.
Alex Bogdanovski
@albogdano
:thumbsup:
Capitaler
@capitaler_gitlab
Is their a particular distro you would recommend?
Alex Bogdanovski
@albogdano
not really, just use whichever you like
Capitaler
@capitaler_gitlab
Ty
Capitaler
@capitaler_gitlab

I'm having a hard time installing para. I logged into a vps, so I am not sure I have gotten the .jar file properly. I ended up cloning the repository.

Command java -jar -Dconfig.file=./application.conf para-*.jar is where I am stuck. I am not sure how I got around it last time.

Error: Unable to access jarfile para-*.jar

Alex Bogdanovski
@albogdano
that's weird..
Capitaler
@capitaler_gitlab
This is the path I cloned https://github.com/Erudika/para.git
Alex Bogdanovski
@albogdano
seems like your shell doesn't recognize the * wildcard
Capitaler
@capitaler_gitlab
It's a fresh install of ubuntu perhaps I am missing a dependency?
Alex Bogdanovski
@albogdano
no need to clone the repo - just execute the jar
Capitaler
@capitaler_gitlab
I don't know how to download just the ,jar in cli
Alex Bogdanovski
@albogdano
java -jar -Dconfig.file=./application.conf para-jar-1.30.1.jar
Capitaler
@capitaler_gitlab
Unable to access.
Alex Bogdanovski
@albogdano
wget https://oss.sonatype.org/service/local/repositories/releases/content/com/erudika/para-jar/1.30.1/para-jar-1.30.1.jar
Capitaler
@capitaler_gitlab
That did it.
TY!
Capitaler
@capitaler_gitlab
Is there a command I can run to test my para installation success?
Alex Bogdanovski
@albogdano
or curl -X GET http://localhost:8080/v1
Capitaler
@capitaler_gitlab

That is what I was afraid of, when running curl localhost:8080/v1/_setup I was getting this error:

curl: (7) Failed to connect to localhost port 8080: Connection refused

So I tried the docker installaltion. Same error, with that command.

Alex Bogdanovski
@albogdano
have you started the server jar?
Capitaler
@capitaler_gitlab
I tried installing apache2 and having it running. Is there another I had to start?
Alex Bogdanovski
@albogdano
I'm not sure what you're doing exactly but it basically boils down to starting the server and that's it - it will be accessible on localhost:8080/v1
why apache?
you should either run java -jar para.jar or docker run ...
nothing else
Capitaler
@capitaler_gitlab

Still getting Unable to access jarfile para.jar

Regarding apache2, I was just trying something.

Alex Bogdanovski
@albogdano
when I write para.jar I mean para-jar-1.30.1.jar or whatever version is the current one
use Tab for autocompletion
Dietmar Schinnerl
@dschinnerl

Hello, (for completeness sake: great stuff, thanks, but :) ) -- do I need to use a special version of "para-server" with "para-admin-ui" b/c I get several strange behaviours regarding tags.... (hopefully not know, but I didn't find anything regarding this)

  • E.g. if I want to create a new tag via the web UI I get: 'tag' must not be blank (Possibly unhandled rejection: {"data":{"code":400,"message":"'tag' must not be blank"},"status":400)

I can "fix" it if I send additionally a value for field "tag"... (but not sure if this is the proper fix...)

curl 'http://localhost:8080/v1/tag' -H 'Accept: application/json, text/plain, /' -H 'Origin: https://console.paraio.org' -H 'Authorization: Bearer XXXX' -H 'Content-Type: application/json;charset=UTF-8' --data-binary '{"id":null,"name": "administrator-name", "tag":"administrator","parentid":null,"creatorid":null,"tags":[],"votes":null,"stored":true,"indexed":true,"cached":true}' --compressed

  • After saving of changes it returns to the list which is empty. Fixable via reload though.

  • Tags handling for "user" seems to be "broken"... (can't delete tags, if I assign an unknown tag I get: 2018-10-05 11:19:30 [ERROR] null
    com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.util.ArrayList out of VALUE_STRING token
    at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.erudika.para.core.User["tags"]), ...)

Sorry for the long message. And I hope, it's not a PEBCAK. That would be very embarrassing...

Alex Bogdanovski
@albogdano
@dschinnerl Hi, thanks for the report. I am aware that the admin-ui project has a few issues which need some work.
I'll try to fix those as soon as possible.
Dietmar Schinnerl
@dschinnerl
yw. that would be awesome. b/c I'm not completely sure what the proper fix for this tag issue would be. (for reload issue I could try sometime)
Alex Bogdanovski
@albogdano
:thumbsup: I'll see what I can do. If you find any other issues, don't hesitate to report them here or at https://github.com/Erudika/para-admin-ui/issues
Alex Bogdanovski
@albogdano
@dschinnerl your issue should be fixed now :)
Dietmar Schinnerl
@dschinnerl
@albogdano it is, thx!
Dietmar Schinnerl
@dschinnerl
Hi, before I dig into the source... is there any restriction which prevents adding extra fields to type "user"? it works with freshly created types (to add additional fields on the fly). but I fail to do so for type "user".... (yes, too lazy to create linked objects....)
Alex Bogdanovski
@albogdano
yes, there is actually. Essentially, User is not a subclass of Sysprop so it has strictly defined fields/properties.
Dietmar Schinnerl
@dschinnerl
thx
Rick Doucette
@rickd1919_twitter
Running para locally with para.security.allow_unverified_emails = true, but new scoold accounts are locked for email verification. Any related steps/config I might be missing?
Alex Bogdanovski
@albogdano
@rickd1919_twitter I'll investigate this issue and get back to you shortly...
Alex Bogdanovski
@albogdano
@rickd1919_twitter it's probably because you've entered an invalid email address
Madhav
@ayyagari
How do we modify the default port local Para runs on? I tried para.port in application.conf file, and also JAVA_OPTS='-Dpara.port=8991' where 8991 is the port I would like Para to run on; both of these didn't work as para continues to start on port 8080.
Alex Bogdanovski
@albogdano
@ayyagari for Para the correct system property is -Dserver.port=8991
the same should also work for Scoold