upgrade step unclea...
 
Notifications
Clear all

upgrade step unclear

3 Posts
3 Users
0 Likes
467 Views
(@msmcknight)
Joined: 2 years ago
Posts: 9
Topic starter  

The upgrade steps state the following:

Note: Take a close at the list of packages that are going to be upgraded in this process.
If it has any DB(-db) package in this list, then you need to bootstrap the corresponding Database by running:

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

But when I run it, it keeps asking me for:

Password for user carbonio_adm:

Is this the actual database user name, or am I supposed to replace it with some other name?

I have no idea what this password would be.  I checked /var/lib/service-discover/password but apparently it's  not that one.  How can I reset or find out what this password is?

In addition, the command as listed is invalid.  There should be a semicolon (;) between setting the variable and the command being executed.


   
Quote
(@stefanodavid)
Joined: 3 years ago
Posts: 153
 

@msmcknight

The DB_ADM_PWD password is the one you set for the carbonio_adm user in step 6 of Single-Server installation  or in SRV1 of Multi-Server installation. I am not sure it is possible to retrieve it, because it is stored encrypted in the db. You can however change it by using the following SQL command (so you need to access the psql interface).

DISCLAIMER: Be aware that modifying the password may have unintended side effects.

ALTER USER carbonio_adm WITH PASSWORD 'my_new_password';

We will however improve the docs including more information on passwords used in Carbonio and their retrieval and recovery.

About the command: why do you say it is invalid? Do you receive any error message when you run it?


   
ReplyQuote
(@petter)
Joined: 2 years ago
Posts: 4
 

Hello,

 

I have some problems with my installation, and need to change the DB password. I'can't find any documentation about this.
Has there been any improvements of the documentation regarding retrieval and recovery, or maybe change of the Posgress user Carbonio password.


   
ReplyQuote