standardnotes / forum

Support from other community members. For 1-on-1 help, please contact help@standardnotes.com.
https://forum.standardnotes.org
196 stars 9 forks source link

Self hosting db:migrate doesn't work #1979

Closed MansoorMajeed closed 5 years ago

MansoorMajeed commented 5 years ago

I was following the doc HERE, but rails db:migrate is failing. The task itself is not found.

rails db:migrate
rails aborted!
Don't know how to build task 'db:migrate' (see --tasks)
/usr/local/rvm/gems/ruby-2.6.0/gems/railties-5.1.0/lib/rails/commands/rake/rake_command.rb:21:in `block in perform'
/usr/local/rvm/gems/ruby-2.6.0/gems/railties-5.1.0/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/usr/local/rvm/gems/ruby-2.6.0/gems/railties-5.1.0/lib/rails/command.rb:46:in `invoke'
/usr/local/rvm/gems/ruby-2.6.0/gems/railties-5.1.0/lib/rails/commands.rb:16:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
(See full trace by running task with --trace)

How do I get this working? (I'm using phusionpassenger + Nginx for production use)

moughxyz commented 5 years ago

DB migration is for the Standard File data server. For the web app, there are no migrations, so you don't need to do this step.

MansoorMajeed commented 5 years ago

Sorry, i think i misunderstood. I thought "web" was the file server. If i were to setup self hosted standard notes, which instructions should I follow?

On Sun, 17 Feb, 2019, 10:39 PM Mo Bitar <notifications@github.com wrote:

DB migration is for the Standard File data server. For the web app, there are no migrations, so you don't need to do this step.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/standardnotes/web/issues/274#issuecomment-464482440, or mute the thread https://github.com/notifications/unsubscribe-auth/AMFsZFSBGAysbmoRTiqu9Zs6_CFmqDGwks5vOYzagaJpZM4a_IMW .

moughxyz commented 5 years ago

To set up the syncing server, follow these instructions: https://docs.standardnotes.org/self-hosting/self-hosting-with-ec2-and-nginx

MansoorMajeed commented 5 years ago

Thank you so much.. I'll give it a shot. :)

On Sun, 17 Feb, 2019, 10:42 PM Mo Bitar <notifications@github.com wrote:

To set up the syncing server https://github.com/standardfile/ruby-server, follow these instructions: https://docs.standardnotes.org/self-hosting/self-hosting-with-ec2-and-nginx

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/standardnotes/web/issues/274#issuecomment-464482807, or mute the thread https://github.com/notifications/unsubscribe-auth/AMFsZJjwv2T2rJVhf8Tvo-vEGhYPxoOUks5vOY2WgaJpZM4a_IMW .