Hello Everyone, I had set up PostgreSQL to store the data in my old Openforis Collect. Since the new update/install of the Collect I couldn't find any of my work in Collect interface that was previously in PostgreSQL. As new Collect becomes entirely different than the previous one, could anyone suggest me how to set up PostgreSQL to store my database in the latest version?

Regards Milan

asked 27 Apr '17, 19:27

dhunganamilan's gravatar image

dhunganamilan
67713
accept rate: 0%


Hi Milan,

this should work. Go to this folder: C:\Users\USERNAME\OpenForis\Collect and take a safety copy of the original file collect.properties

Then change the settings to be as follows:


collect.http_port=8380

collect.db.jndiName=jdbc/collectDs

collect.db.driverClassName=org.postgresql.Driver

collect.db.url=jdbc:postgresql://localhost:5432/collect

collect.db.username=collect

collect.db.password=collect123

collect.db.initialSize=5

collect.db.maxActive=20

collect.db.maxIdle=5


Then start Collect with the Launcher.

Regards, Lauri

permanent link

answered 28 Apr '17, 03:51

Lauri%20%28OF%29's gravatar image

Lauri (OF) ♦♦
6952816
accept rate: 20%

Hi Milan,
In the Collect installation folder there is a file called collect.properties. Please modify it and set the correct parameters to access your database.
Many thanks,
Open Foris Team

permanent link

answered 27 Apr '17, 19:53

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×494
×71

question asked: 27 Apr '17, 19:27

question was seen: 5,036 times

last updated: 28 Apr '17, 03:51