Need to change pass...
 
Notifications
Clear all

[Solved] Need to change password for carbonio-files db user

4 Posts
1 Users
0 Reactions
399 Views
(@eliwap)
Joined: 10 months ago
Posts: 15
Topic starter  

Hi

I changed the password in postgresql for user "carbonio-files-db" without recording the old one that I had. Now carbonio-files service won't start and gives the error.

Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "carbonio-files-db"

How do I change the password that "carbonio-files-db" uses to access the database?

 

Thanks


   
Quote
(@eliwap)
Joined: 10 months ago
Posts: 15
Topic starter  

oops sorry about the double post.... If you can delete this one, it would be greatly appreciated.


   
ReplyQuote
(@eliwap)
Joined: 10 months ago
Posts: 15
Topic starter  

Fixed my own issue.....

Postgresql actions

1 Dumped the DB

2. Dropped the DB

3. Dropped the carbonio-files-db user

As Root

read -s -p "Insert Password:" DB_ADM_PWD

PGPASSWORD=$DB_ADM_PWD carbonio-files-db-bootstrap carbonio_adm 127.0.0.1

Postgre action

Restored the DB

 

All is well

 


   
ReplyQuote
(@eliwap)
Joined: 10 months ago
Posts: 15
Topic starter  

For those looking at this double post....

 

Fixed my own issue.....

Postgresql actions

1 Dumped the DB

2. Dropped the DB

3. Dropped the carbonio-files-db user

As Root

read -s -p "Insert Password:" DB_ADM_PWD

PGPASSWORD=$DB_ADM_PWD carbonio-files-db-bootstrap carbonio_adm 127.0.0.1

Postgre action

Restored the DB

 

All is well


   
ReplyQuote