Closed romans8 closed 8 years ago
This looks like it was because the external DB was already created when running --trace I was getting the error after it was trying to setup the DB when running rake snorby:setup. It looks like rake snorby:update worked but now I need to work through permission and will research and submit a new ticket based on that.
$ RAILS_ENV=production bundle exec rake snorby:setup (in /var/www/html/snorby)
[Hash Here]
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[datamapper] Finished auto_upgrade! for :default repository 'name_here'
[X] Error: Unable to start the Snorby worker process.
sed -i 's/(^._)(Mime::Type.register.application\/pdf.$)/\1if Mime::Type.lookup_byextension(:pdf) != "application\/pdf"\n\1 \2\n\1end/' vendor/cache/ruby/../bundler/gems/ezprint-/lib/ezprint/railtie.rb sed -i 's/(^.)(Mime::Type.register.application\/pdf.$)/\1if Mime::Type.lookup_byextension(:pdf) != "application\/pdf"\n\1 \2\n\1end/' vendor/cache/ruby/../gems/actionpack-_/lib/action_dispatch/http/mimetypes.rb sed -i 's/(^.)(Mime::Type.register.application\/pdf.$)/\1if Mime::Type.lookup_byextension(:pdf) != "application\/pdf"\n\1 \2\n\1end/' vendor/cache/ruby/../gems/railties-*/guides/source/action_controller_overview.textile