Vbulletin bulk importer can't find PG database


(Jay Pfaffman) #1

Continuing the discussion from Importers for large forums:

I’m sure I’m doing something silly, but I’m trying to run the vbulletin bulk importer and for some reason it can’t find the postgres database.

/home/pfaffman/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/pg-0.20.0/lib/pg.rb:56:in `initialize': fe_sendauth: no password supplied (PG::ConnectionBad)

It looks like it should get it here:

I ran a standard importer and it didn’t have any trouble.

What am I missing?

Edit: I’m not the only one: Fe_sendauth: No password supplied in bulk importer


(Jeff Atwood) #2

Did you ever figure this out?


(Jay Pfaffman) #3

No. But I’ve not tried again.


(Arpit Jalan) #4

Changing

to

@raw_connection = PG.connect(dbname: db[:database], host: db[:host_names]&.first, port: db[:port], password: "discourse")

(where discourse is the password for discourse_development database)

should fix this issue. I think this issue is specific to Linux and works fine on macOS.