Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgresql support is not documented #1405

Closed
ssbarnea opened this issue Aug 17, 2015 · 3 comments · Fixed by #2090
Closed

postgresql support is not documented #1405

ssbarnea opened this issue Aug 17, 2015 · 3 comments · Fixed by #2090
Milestone

Comments

@ssbarnea
Copy link

PostreSQL is the defacto DB used by most open source apps and I was surprised to find out that it's support (or lack of) is not documented in http://rundeck.org/docs/administration/setting-up-an-rdb-datasource.html

I was able to get get rundeck to create the database tables using the settings below but it seems that all tables are also empty, which makes me think that the configuration was not fully completed.

dataSource.dbCreate = update
dataSource.url = jdbc:postgresql://db.example.com/rundeck
dataSource.username=rundeck
dataSource.password=secret
@ahonor
Copy link
Contributor

ahonor commented Aug 17, 2015

You might have to specify the driver class name.

dataSource.driverClassName = org.postgresql.Driver

@ssbarnea
Copy link
Author

I would have thinked about about the same, but to my surprise it it did work without specifying the driverClassName, still this was needed:

rundeck.projectsStorageType=db

Any I found another documentation page at http://rundeck.org/docs/jp/administration/07-relational-database.html that is saying something about adding

rundeck.v14.rdbsupport=true

For me this option looks quite weird to me, looks more like an option to test some experimental feature. Didn't try it yet as now is kinda working... but extremely slow. see https://groups.google.com/forum/#!topic/rundeck-discuss/2zc5HbBTIKY

@CodingMinds
Copy link

The following configuration seems to work well with rundeck 2.5.3-1 and PostgreSQL 9.1:

# Use PostgreSQL as data source
dataSource.driverClassName = org.postgresql.Driver
dataSource.dbCreate = update
dataSource.url = jdbc:postgresql://localhost/rundeck
dataSource.username = rundeck
dataSource.password = secret

# Enables DB for Project configuration storage
rundeck.projectsStorageType=db

# Enable DB for Key Storage
rundeck.storage.provider.1.type=db
rundeck.storage.provider.1.path=keys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants