mardi 3 mars 2015

Ubuntu Database Error

I`m trying to get WarVOX working but when I get to the command: 'make database' I get an error:



nick@NICKUBUNTU:~/warvox$ make database Checking the database.. RAILS_ENV=production bundle exec rake db:migrate /home/nick/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rex-2.0.5/lib/rex/proto/http/server.rb:83: warning: duplicated key at line 84 ignored: "jpeg" /home/nick/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rex-2.0.5/lib/rex/proto/smb/exceptions.rb:11: warning: duplicated key at line 12 ignored: 0 /home/nick/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rex-2.0.5/lib/rex/proto/smb/exceptions.rb:17: warning: duplicated key at line 18 ignored: 128 == 20121228171549 InitialSchema: migrating ==================================== -- execute("CREATE EXTENSION IF NOT EXISTS intarray") rake aborted! StandardError: An error has occurred, this and all later migrations canceled:


PG::InsufficientPrivilege: ERROR: permission denied to create extension "intarray" HINT: Must be superuser to create this extension. : CREATE EXTENSION IF NOT EXISTS intarray/home/nick/warvox/db/migrate/20121228171549_initial_schema.rb:5:in up' ActiveRecord::StatementInvalid: PG::InsufficientPrivilege: ERROR: permission denied to create extension "intarray" HINT: Must be superuser to create this extension. : CREATE EXTENSION IF NOT EXISTS intarray /home/nick/warvox/db/migrate/20121228171549_initial_schema.rb:5:inup' PG::InsufficientPrivilege: ERROR: permission denied to create extension "intarray" HINT: Must be superuser to create this extension. /home/nick/warvox/db/migrate/20121228171549_initial_schema.rb:5:in `up' Tasks: TOP => db:migrate (See full trace by running task with --trace) Makefile:20: recipe for target 'database' failed make: *** [database] Error 1



Any help appreciated!


Thanks, Nick


P.S. http://ift.tt/1GOcSxc (Problem error paste, like above but neater)


Aucun commentaire:

Enregistrer un commentaire