Project

General

Profile

Actions

Bug #32002

closed

While using foreman-installer --reset-data throws few "Permission Denied" errors

Added by Eric Helms over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
Fixed in Releases:
Found in Releases:

Description

2020-12-28 22:33:26 [NOTICE] [pre_commit] All hooks in group pre_commit finished
2020-12-28 22:33:26 [NOTICE] [pre] Executing hooks in group pre
Executing: sudo -u postgres dropdb foreman
could not change directory to "/root": Permission denied  <<<<<<<<<<<<<<<
Executing: rm -f /var/lib/candlepin/.puppet-candlepin-cpdb*
Executing: sudo -u postgres dropdb candlepin
could not change directory to "/root": Permission denied   <<<<<<<<<<<<<<<
Executing: rm -f /var/lib/pulp/init.flag
Executing: mongo pulp_database   --host localhost --port 27017    --eval 'db.dropDatabase();'
MongoDB shell version v3.4.9
connecting to: mongodb://localhost:27017/pulp_database
MongoDB server version: 3.4.9
{ "dropped" : "pulp_database", "ok" : 1 }
Executing: rm -rf /var/lib/pulp/{distributions,published,repos,content}/*
2020-12-28 22:35:02 [NOTICE] [pre] All hooks in group pre finished

The installer does not exit with these permission denied errors, it continues its work but the error message is a bit concerning.

Actions

Also available in: Atom PDF