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

Deploying fail #84

Open
gputier opened this issue Sep 26, 2024 · 2 comments
Open

Deploying fail #84

gputier opened this issue Sep 26, 2024 · 2 comments

Comments

@gputier
Copy link

gputier commented Sep 26, 2024

Hello

Trying to deploy puppetDB in docker environnement

I get this error and cannot find how to solve it.
Maybe you have any idea ?
Regards

puppetdb      | (/ssl.sh) Securing permissions on /opt/puppetlabs/server/data/puppetdb/certs
puppetdb      | Setting ownership for /opt/puppetlabs/server/data/puppetdb/certs to puppetdb:puppetdb
puppetdb      | [0.000s][error][logging] Error opening log file '/opt/puppetlabs/server/data/puppetdb/logs/puppetdb_gc.log': No such file or directory
puppetdb      | [0.000s][error][logging] Initialization of output 'file=/opt/puppetlabs/server/data/puppetdb/logs/puppetdb_gc.log' using options '(null)' failed.
puppetdb      | Invalid -Xlog option '-Xlog:gc*:file=/opt/puppetlabs/server/data/puppetdb/logs/puppetdb_gc.log', see error log for details.
puppetdb      | Error: Could not create the Java Virtual Machine.
puppetdb      | Error: A fatal exception has occurred. Program will exit.
@rwaffen
Copy link
Member

rwaffen commented Sep 26, 2024

can you please provide the docker-compose file oder docker run command you used to start?

@liam-harrington
Copy link

Its a permissions error.
You need to create and change the owner and group(puppetdb:puppetdb) for the folder:
/opt/puppetlabs/server/data/puppetdb/logs
You also need to change the permission for:
/opt/puppetlabs/server/data/puppetdb/logs/puppetdb_gc.log

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

No branches or pull requests

3 participants