Category: | Bug report |
Priority: | Urgent |
Status: | New |
Project: | Severity: | Critical |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
Unable to install jasper-server while trying to do it silently.
using below command
--mode unattended --prefix /dev/shm/test/jasperreports-server-cp-6.2.0 --jasperLicenseAccepted yes --postgres_password password
[root@ip-10-10-2-157 test]# ./jasperreports-server-cp-6.2.0-linux-x64-installer.run\?r\=http\:%2F%2Fcommunity.jaspersoft.com%2Fproject%2Fjasperreports-server%2Freleases --mode unattended --prefix /dev/shm/test/jasperreports-server-cp-6.2.0 --jasperLicenseAccepted yes --postgres_password postgres
There has been an error.
Error running su postgres -s /bin/sh -c "\"/dev/shm/test/jasperreports-server-cp-6.2.0/postgresql/bin/psql\" -U postgres -c \"ALTER USER postgres PASSWORD '****'\"": child process exited abnormally
It is not taking postgress_password tried various passwords tough.
2 Comments:
I confirm the bug
This bug have been reproduced with jasperserver 6.4.0.
To workaround it, set <postgresql_passwd> to PGPASSWORD environment variable or store it into file referenced by PGPASSFILE before execute jasper installation
export PGPASSWORD=<postgresql_passwd>
/jasperreports-server-cp-6.2.0-linux-x64-installer.run --mode unattended ....