Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation doesn't work #1122

Closed
coneng opened this issue Sep 19, 2019 · 7 comments
Closed

Installation doesn't work #1122

coneng opened this issue Sep 19, 2019 · 7 comments

Comments

@coneng
Copy link

coneng commented Sep 19, 2019

Installation doesn't work
I followed the process

  • setup nginx, mariadb and php with all add-ons required.
  • install git and composer
  • clone and run composer install
    On the part :
    bin/console kimai:install -n
    I got hit with multiple errors about 'user' @ 'localhost' Access Denied.
    Nothing is mentioned about the configuration of database for Kimai2 nor nginx.

kimai2

@kevinpapst
Copy link
Member

Seems Kimai is working perfectly fine.
You just need to pass a database user with sufficient permission.

See https://www.kimai.org/documentation/installation.html

Configure the database connection in the .env file:
eg. DATABASE_URL=mysql://user:[email protected]:3306/database

This could also help:
https://www.kimai.org/documentation/fresh-ubuntu-18.html#create-database

@coneng
Copy link
Author

coneng commented Sep 19, 2019

Ok I figured that out.
you need to create a username/password in mysql server and grant privileges for that user in mysql.
Then configure .env file

@kevinpapst
Copy link
Member

Happy time-tracking!

@coneng
Copy link
Author

coneng commented Sep 19, 2019

wait!
it still doesn't work.
I can't see the website. How to configure nginx to make kimai2 work?

@kevinpapst
Copy link
Member

This could also help:
https://www.kimai.org/documentation/fresh-ubuntu-18.html

@coneng
Copy link
Author

coneng commented Sep 20, 2019

ah, permissions are essential. Vendor directory was created after I applied general setup permissions and until I discovered that the application didn't work.
Thank you.

@lock
Copy link

lock bot commented Nov 19, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai.

@lock lock bot locked and limited conversation to collaborators Nov 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants