Project

General

Profile

How to set up the database on hosted environments

Added by Marc Duerst over 15 years ago

Hi,

Just followed the installation instructions to set up a Redmine instance an a hosting account (that supports Rails etc.) but stuck at http://www.redmine.org/wiki/redmine/RedmineInstall Step 5 and 6. I am totally new to Rails and therefore don't have clue how to do this on a server where I have no console access? Any help would be great!

Cheers,
Marc


Replies (4)

RE: How to set up the database on hosted environments - Added by Joe Clarke over 15 years ago

You will need to request SSH access from your hosting provider, then ssh in, change to the directory where you installed redmine and run those commands.

cd redmine
rake db:migrate RAILS_ENV="production"
rake redmine:load_default_data RAILS_ENV="production"

RE: How to set up the database on hosted environments - Added by Marc Duerst over 15 years ago

I don't think I can get SSH access to the hosting provider at all as this is a "shared hosting" account and therefore would mean get access to the entire host.

Is there a way to get the initial DB-schema - maybe including default data - as a MYSQL-Backupfile or a SQL-dump or something like this? I think that would do the trick.

RE: How to set up the database on hosted environments - Added by Joe Clarke over 15 years ago

Most shared hosting companies give you SSH access which limits you to your home directory.

I've attached a mysql dump just in case you can't get SSH access.

RE: How to set up the database on hosted environments - Added by Marc Duerst over 15 years ago

thanks a lot! i'll see what i can make.

    (1-4/4)