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

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Default password for MySQL database

Default password for MySQL database

Added by Kendell Welch almost 10 years ago

Hi. I’m trying to do a reconfigure of openproject-ce as suggested to me to solve a problem in a different thread. However, I don’t recall ever being asked to provide a password for the database during the packaged installation. In order to reconfigure, I need to provide a password.

Does anybody know what the default is? Also, how would I go about changing the default?

Thanks
Kendell


Replies (10)

RE: Default password for MySQL database - Added by Sonny Mendoza almost 10 years ago

I also had the same problem. I installed using the core packaged mode but didn’t put any password. MySQL was running on Ubuntu and I was able to find the username and password on /etc/MySQL/debian.cnf.

It work though even if I didn’t enter any password on the core packaged installation. I just need to put back my previous database from 4.0 and all seems working.

RE: Default password for MySQL database - Added by Karsten Gallinowski almost 10 years ago

Hi,

the database password is auto generated. You can find it and a lot of other variables in /etc/openproject-ce/install.dat. The folder etc/openproject-ce is generally used to store all configuration data for the OpenProject CE instance. So if you are looking for other configuration like email and so on you will find it there too.

If you have any further questions regarding this topic please feel free to ask.

Cheers,
Karsten

RE: Default password for MySQL database - Added by Sonny Mendoza almost 10 years ago

Nice! do you happen to know where I can put also the attachments by default. I made an openproject backup and I have attachments on my previous openproject. I was restoring it and don’t know where to put the attachment folder.

Karsten Gallinowski wrote:

Hi,

the database password is auto generated. You can find it and a lot of other variables in /etc/openproject-ce/install.dat. The folder etc/openproject-ce is generally used to store all configuration data for the OpenProject CE instance. So if you are looking for other configuration like email and so on you will find it there too.

If you have any further questions regarding this topic please feel free to ask.

Cheers,
Karsten

RE: Default password for MySQL database - Added by Sonny Mendoza almost 10 years ago

Oh I think I got it based on the installer.dat.

/var/db/openproject/files

RE: Default password for MySQL database - Added by Karsten Gallinowski almost 10 years ago

Hi Sonny,

please have a look at this documentation: https://www.openproject.org/open-source/packaged-installation/packaged-installation-community/. Under OpenProject command line tool you can read how to configure OpenProject CE. All configuration changes made via this tool will be stored in /etc/openproject-ce. There is also a backup mechanism included: openproject-ce run backup. Just if you are not aware of this feature ;-) …

Cheers,
Karsten

RE: Default password for MySQL database - Added by Sonny Mendoza almost 10 years ago

Thanks Karsten.

Now I’m having trouble restoring the last file SVN. Not sure though why it is not getting it. I’ve set back the API key but still it gives me an internal error.

File paths seems correct. Am I missing to restore something for SVN?

Karsten Gallinowski wrote:

Hi Sonny,

please have a look at this documentation: https://www.openproject.org/open-source/packaged-installation/packaged-installation-community/. Under OpenProject command line tool you can read how to configure OpenProject CE. All configuration changes made via this tool will be stored in /etc/openproject-ce. There is also a backup mechanism included: openproject-ce run backup. Just if you are not aware of this feature ;-) …

Cheers,
Karsten

RE: Default password for MySQL database - Added by Karsten Gallinowski almost 10 years ago

Maybe a permissions issue? Can you paste some logs so we can figure it out together. Logs are located at /var/log/openproject-ce.

RE: Default password for MySQL database - Added by Sonny Mendoza almost 10 years ago

Here are the last lines .

cron-create-svn-repositories.log
Unable to connect to http://127.0.0.1:6000: 757: unexpected token at ‘Access denied. Repository management WS is disabled or key is invalid.’

RE: Default password for MySQL database - Added by Sonny Mendoza almost 10 years ago

Karsten Gallinowski wrote:

Maybe a permissions issue? Can you paste some logs so we can figure it out together. Logs are located at /var/log/openproject-ce.

Thanks for pointing me on the right direction Karsten.

I checked the production log instead and found out that the system is running low on memory.
I was able to make it work. It is running on low memory and need to change instance type on AWS for it to work.

RE: Default password for MySQL database - Added by Patrick Di Martino about 9 years ago

Besides the /etc/openproject/installer.dat also check the /etc/openproject/conf.d/database as it contains the database URL:
export DATABASE_URL="mysql2://<mydbuser>:<mydbpass>localhost:3306/openproject"@

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