Problem during inst...
 
Notifications
Clear all

Problem during installation, how to see if something is not working correctly.

6 Posts
3 Users
0 Likes
1,015 Views
(@bellux)
Joined: 2 years ago
Posts: 12
Topic starter  

Hi,

i have encountered this error during installation and im worried if something is not set correctly. Carbonio is up and is able to send email already so i don't know if the installation is ok or not.

https://imgur.com/a/ENdNbyC

I followed the official guide: Single-Server Installation — Zextras Carbonio CE Documentation


   
Quote
(@bellux)
Joined: 2 years ago
Posts: 12
Topic starter  

May 26 02:41:34 mail.#########.org carbonio-files[674654]: 02:41:34.438 [main] ERROR com.zextras.carbonio.files.Boot - Service stopped unexpectedly: org.postgresql.util.PSQLException: FATAL: password authentication failed for >
May 26 02:41:34 mail.#########.org carbonio-files[674654]: Exception in thread "main" java.lang.NullPointerException
May 26 02:41:34 mail.#########.org carbonio-files[674654]: at com.zextras.carbonio.files.Boot.boot(Boot.java:63)
May 26 02:41:34 mail.#########.org carbonio-files[674654]: at com.zextras.carbonio.files.Boot.main(Boot.java:33)
May 26 02:41:34 mail.#########.org systemd[1]: carbonio-files.service: Main process exited, code=exited, status=1/FAILURE
May 26 02:41:34 mail.#########.org systemd[1]: carbonio-files.service: Failed with result 'exit-code'.


   
ReplyQuote
(@bellux)
Joined: 2 years ago
Posts: 12
Topic starter  

How to change the password of the user carbonio_adm?


   
ReplyQuote
(@bellux)
Joined: 2 years ago
Posts: 12
Topic starter  

i found the solution, i need to edit the carbonio_adm password again and now everything is working correctly.

 

su - postgres -c "psql --command=\"ALTER USER carbonio_adm WITH PASSWORD 'password';\""

 


   
ReplyQuote
dominix
(@dominix)
Joined: 11 years ago
Posts: 129
 
Posted by: @bellux

Hi,

i have encountered this error during installation and im worried if something is not set correctly. Carbonio is up and is able to send email already so i don't know if the installation is ok or not.

https://imgur.com/a/ENdNbyC

I followed the official guide: Single-Server Installation — Zextras Carbonio CE Documentation

 

i used imagetotext.info to transform image to text.

 

Welcome!
This server is hosted by Contabo. If you have any questions or need help, please don't hesitate to contact us at support@contabo.com.
Last login: Thu May 25 12:14:08 2023 from 92.245.173.212
root@mail:~#
root@mail:~#
root@mail:~# PGPASSWORD=|XXXXXXXX| [1] 1126
carbonio-files-db-bootstrap carbonio_adm 127.0.0.1
Database: 127.0.0.1:5432 user carbonio_adm
Password for user carbonio_adm:
Check postgres connection: psql: FATAL ERROR (exit code 2).
(see EXIT STATUS section in psql man documentation)
Password for user carbonio_adm:


   
ReplyQuote
(@rgering)
Joined: 2 months ago
Posts: 2
 

For future viewers of this topic: the PGPASSWORD variable must be exported before calling carbonio-files-db-bootstrap, like:

export PGPASSWORD='XXXXXXXX'

 

If PGPASSWORD was already set, you can also just run:

export PGPASSWORD

   
ReplyQuote