Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Open Project Installation Problem - Centos 7 and mySQL (MariaDB)

Open Project Installation Problem - Centos 7 and mySQL (MariaDB)

Added by Alexander Liebrecht about 9 years ago

Hello community and developers,

I need your help. I just install Open Project (the latest version) on a dedicated server with Centos 7 and MariaDB as MySQL.

I am at the final in the installation and when I run this SSH command, I get errors displayed.

bundle exec rake db:create:all

This Errors:

Couldn't create database for {"adapter"=>"mysql", "database"=>"xxxxxxx", "host"=>"localhost", "username"=>"xxxxxxxxxx", "password"=>"xxxxxxxxxx", "encoding"=>"utf8"}

Apparently the mysql adapter is not admitted or what may be there?

Everything else seems to be installed.

About a speedy assistance I am very pleased. Thanks in advance.


Replies (2)

RE: Open Project Installation Problem - Centos 7 and mySQL (MariaDB) - Added by Oliver Günther about 9 years ago

Hey Alexander,

you didn’t post your database.yml, but I expect that you configured it with a setting of the form: adapter: mysql.
mysql2 is the correct ActiveRecord adapter name for MySQL (and MariaDB).

Unrelated question: Did you try the packaged installation method ? It is also available for CentOs and you can simply use your existing MariaDB instance.

Best,
Oliver

RE: Open Project Installation Problem - Centos 7 and mySQL (MariaDB) - Added by Alexander Liebrecht about 9 years ago

Hey Oliver,

Thank you for your quick response and I have almost achieved it. I installed OpenProject according to these instructions: https://community.openproject.com/topics/1308

My Project was meant to be seen already under http://openproject.liebrecht-projekte.de, but not yet.

Something I can still see it or forgot.

The contents of the virtual hosts for this subdomain looks like this:

<VirtualHost xxxxxxxx:xxxxxx >
                ServerName "openproject.liebrecht-projekte.de:xxx"
                ServerAlias "www.openproject.liebrecht-projekte.de"
                ServerAlias "ipv4.openproject.liebrecht-projekte.de"
                ServerAdmin "power_sash@gmx.net"
                UseCanonicalName Off

                CustomLog /var/www/vhosts/system/openproject.liebrecht-projekte.de/logs/access_ssl_log plesklog
                ErrorLog "/var/www/vhosts/system/openproject.liebrecht-projekte.de/logs/error_log"

                  DocumentRoot /home/openproject/openproject/public
   <Directory /home/openproject/openproject/public>
      # This relaxes Apache security settings.
      AllowOverride all
      # MultiViews must be turned off.
      Options -MultiViews
      # Uncomment this if you're on Apache >= 2.4:
      #Require all granted
   </Directory>

Are you an idea of what I lack, or whether what could it be?

Thanks in advance.

  • (1 - 2/2)
Loading...