vBulletin import script


(Ali) #1

After playing with a lot of gems and ruby dependencies on DO drop install, having this issue.

Rails Error: Unable to access log file. Please ensure that /var/lib/docker/aufs/mnt/xx/var/www/discourse/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
/var/lib/docker/aufs/mnt/xx/var/www/discourse/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.5/lib/active_record/connection_adapters/postgresql_adapter.rb:888:in `initialize': FATAL:  Peer authentication failed for user "discourse" (PG::Error)

while running this command to import the csv from vbulletin.

RAILS_ENV=production ruby vbulletin.rb --user-group forum_usergroup.csv --user forum_user.csv --forum forum_forum.csv --forum-permission forum_forumpermission.csv --thread forum_thread.csv --post forum_post.csv

(Jens Maier) #2

Those paths look like you’re trying to run the script on the host. Are you sure you’ve entered the container via SSH or through ./launcher enter app?