Re: [FOSSology] Installation issue on postinstall

2019-08-27 Thread Gaurav Mishra
Hello Sanjay,

It occurs due to a missing PHP library for PostgreSQL. You will need to install 
"php-pgsql" package for your distro.

I thought that dependency was added to the fo-installdeps. Will it be possible 
for you to create an issue for the same on GitHub?

With best regards
Gaurav Mishra

From: "Michael C. Jaeger" 
Sent: Tuesday, 27 August, 2019 21:13
To: Sanjay Kumar
Cc: fossol...@fossology.org
Subject: Re: [FOSSology] Installation issue on postinstall

Hi Sanjay,

maybe could you please indicate which version (or which source code commit) 
from FOSSology you are executing on which linux distro?

Kind regards, Michael



> On 22. Aug 2019, at 04:19, Sanjay Kumar  wrote:
>
> Hi Team,
> Below error i am getting when i try to run this command : "sudo 
> /usr/local/lib/fossology/fo-postinstall".
>
> Error 
>
> *** Running postinstall for everything ***
> *** Running postinstall for common actions***
> *** Creating user and group ***
> NOTE: group 'fossy' already exists, good.
> NOTE: user 'fossy' already exists, good.
> *** Making sure needed dirs exist with right ownership/permissions ***
> *** clearing file cache ***
> NOTE: Repository already exists at /srv/fossology/repository
> NOTE: Running the PostgreSQL vacuum and analyze command can result in a large 
> database performance improvement.
>   We suggest that you either configure postgres to run its autovacuum and 
> autoanalyze daemons, or maintagent -D in a cron job, or run Admin > 
> Maintenance on a regular basis.
>   Admin > Dashboard will show you the last time vacuum and analyze have 
> been run.
> *** Running postinstall for web-only actions***
> *** Setting up the FOSSology database ***
> NOTE: fossology database already exists, not creating
> *** Checking for plpgsql support ***
> NOTE: plpgsql already exists in fossology database, good
> *** update the database and license_ref table ***
> PHP Fatal error:  Uncaught Error: Call to undefined function pg_connect() in 
> /usr/local/share/fossology/lib/php/common-db.php:70
> Stack trace:
> #0 /usr/local/share/fossology/lib/php/common-sysconfig.php(108): 
> DBconnect('/usr/local/etc/...')
> #1 /usr/local/lib/fossology/fossinit.php(117): 
> ConfigInit('/usr/local/etc/...', Array)
> #2 {main}
>   thrown in /usr/local/share/fossology/lib/php/common-db.php on line 70
>
> Please help me .
>
> --
> Regards
> Sanjay Kumar
> 8197070023
> sanjaykumar080...@gmail.com
>





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#3282): https://lists.fossology.org/g/fossology/message/3282
Mute This Topic: https://lists.fossology.org/mt/33046423/21656
Group Owner: fossology+ow...@lists.fossology.org
Unsubscribe: https://lists.fossology.org/g/fossology/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [FOSSology] Installation issue on postinstall

2019-08-27 Thread Michael C. Jaeger
Hi Sanjay,

maybe could you please indicate which version (or which source code commit) 
from FOSSology you are executing on which linux distro?

Kind regards, Michael



> On 22. Aug 2019, at 04:19, Sanjay Kumar  wrote:
> 
> Hi Team,
> Below error i am getting when i try to run this command : "sudo 
> /usr/local/lib/fossology/fo-postinstall".
> 
> Error 
> 
> *** Running postinstall for everything ***
> *** Running postinstall for common actions***
> *** Creating user and group ***
> NOTE: group 'fossy' already exists, good.
> NOTE: user 'fossy' already exists, good.
> *** Making sure needed dirs exist with right ownership/permissions ***
> *** clearing file cache ***
> NOTE: Repository already exists at /srv/fossology/repository
> NOTE: Running the PostgreSQL vacuum and analyze command can result in a large 
> database performance improvement.
>   We suggest that you either configure postgres to run its autovacuum and 
> autoanalyze daemons, or maintagent -D in a cron job, or run Admin > 
> Maintenance on a regular basis.
>   Admin > Dashboard will show you the last time vacuum and analyze have 
> been run.
> *** Running postinstall for web-only actions***
> *** Setting up the FOSSology database ***
> NOTE: fossology database already exists, not creating
> *** Checking for plpgsql support ***
> NOTE: plpgsql already exists in fossology database, good
> *** update the database and license_ref table ***
> PHP Fatal error:  Uncaught Error: Call to undefined function pg_connect() in 
> /usr/local/share/fossology/lib/php/common-db.php:70
> Stack trace:
> #0 /usr/local/share/fossology/lib/php/common-sysconfig.php(108): 
> DBconnect('/usr/local/etc/...')
> #1 /usr/local/lib/fossology/fossinit.php(117): 
> ConfigInit('/usr/local/etc/...', Array)
> #2 {main}
>   thrown in /usr/local/share/fossology/lib/php/common-db.php on line 70
> 
> Please help me . 
> 
> -- 
> Regards
> Sanjay Kumar
> 8197070023
> sanjaykumar080...@gmail.com
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#3281): https://lists.fossology.org/g/fossology/message/3281
Mute This Topic: https://lists.fossology.org/mt/33046423/21656
Group Owner: fossology+ow...@lists.fossology.org
Unsubscribe: https://lists.fossology.org/g/fossology/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[FOSSology] Installation issue on postinstall

2019-08-27 Thread Sanjay Kumar
Hi Team,
Below error i am getting when i try to run this command : "sudo
/usr/local/lib/fossology/fo-postinstall".

Error 

*** Running postinstall for everything ***
*** Running postinstall for common actions***
*** Creating user and group ***
NOTE: group 'fossy' already exists, good.
NOTE: user 'fossy' already exists, good.
*** Making sure needed dirs exist with right ownership/permissions ***
*** clearing file cache ***
NOTE: Repository already exists at /srv/fossology/repository
NOTE: Running the PostgreSQL vacuum and analyze command can result in a
large database performance improvement.
  We suggest that you either configure postgres to run its autovacuum
and autoanalyze daemons, or maintagent -D in a cron job, or run Admin >
Maintenance on a regular basis.
  Admin > Dashboard will show you the last time vacuum and analyze have
been run.
*** Running postinstall for web-only actions***
*** Setting up the FOSSology database ***
NOTE: fossology database already exists, not creating
*** Checking for plpgsql support ***
NOTE: plpgsql already exists in fossology database, good
*** update the database and license_ref table ***
PHP Fatal error:  Uncaught Error: Call to undefined function pg_connect()
in /usr/local/share/fossology/lib/php/common-db.php:70
Stack trace:
#0 /usr/local/share/fossology/lib/php/common-sysconfig.php(108):
DBconnect('/usr/local/etc/...')
#1 /usr/local/lib/fossology/fossinit.php(117):
ConfigInit('/usr/local/etc/...', Array)
#2 {main}
  thrown in /usr/local/share/fossology/lib/php/common-db.php on line 70

Please help me .

-- 
*Regards*
*Sanjay Kumar*
*8197070023*
*sanjaykumar080...@gmail.com *

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#3280): https://lists.fossology.org/g/fossology/message/3280
Mute This Topic: https://lists.fossology.org/mt/33046423/21656
Group Owner: fossology+ow...@lists.fossology.org
Unsubscribe: https://lists.fossology.org/g/fossology/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-