pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: hic.sunt.dracones.89@gmail.com
Subject: BUG #15439: Script Error
Date: Fri, 19 Oct 2018 00:36:21 +0000
Message-ID: <15439-c26b9b1504a0ea49@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15439
Logged by:          Hic Sunt Dracones
Email address:      hic.sunt.dracones.89@gmail.com
PostgreSQL version: 11.0
Operating system:   Windows 10 x64
Description:        

Today I tried the latest version (11.0) and because it returned to me an
error, I unninstalled it to get back the previous version (10.5). But this
version had the same behavior: at the installation end of PostgreSQL is
showed a message detailing the error then it continues normally to install
pgAdmin3. Here is the error described in the install log:



Script stderr:
 

Configuring PostgreSQL as auto start
Executing C:\Program Files\PostgreSQL/pgc config pg10 --autostart on
Script exit code: 1

Script output:
 Error running config-pg10

Script stderr:
 usage: usage: config-pg10.py [-h] [--port PORT] [--autostart={on,off}]
                      [--datadir DATADIR] [--logdir LOGDIR]
                      [--svcname SVCNAME]
config-pg10.py: error: argument --autostart: expected one argument

Error running C:\Program Files\PostgreSQL/pgc config pg10 --autostart on:
usage: usage: config-pg10.py [-h] [--port PORT] [--autostart={on,off}]
                      [--datadir DATADIR] [--logdir LOGDIR]
                      [--svcname SVCNAME]
config-pg10.py: error: argument --autostart: expected one argument
Problem running post-install step. Installation may not complete correctly
 Error running C:\Program Files\PostgreSQL/pgc config pg10 --autostart on:
usage: usage: config-pg10.py [-h] [--port PORT] [--autostart={on,off}]
                      [--datadir DATADIR] [--logdir LOGDIR]
                      [--svcname SVCNAME]
config-pg10.py: error: argument --autostart: expected one argument


To solve that, for the version 10.5 I just opened the cmd prompt in postgres
installation folder and runned (as Admin) the following code:

> pgc config pg10 --autostart=on

Seemingly, it was missing the signal " = ".
Before it, I tried the same process with version 11.0, the service was
correctly created, but pgAdmin3 didn't work very well. It was showing a lot
of errors when creating connections, databases, tables...



Message-ID: <15439-c26b9b1504a0ea49@postgresql.org>
Permalink:  ../15439-c26b9b1504a0ea49@postgresql.org/
Also on:    postgresql.org/message-id/15439-c26b9b1504a0ea49@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, hic.sunt.dracones.89@gmail.com
  Subject: Re: BUG #15439: Script Error
  In-Reply-To: <15439-c26b9b1504a0ea49@postgresql.org>
  References: <15439-c26b9b1504a0ea49@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox