Ma G.
Ma G.

Reputation: 62

Cannot access installation page of directus

After Installation i navigate to /admin to access the installation page. But it redirects me to a login page (/admin/#/login). Because I didnt installed anything i cant log in to directus.

I tried to delete the config.php, because the support told me that should be the problem. The problem is I don't have any config.php file.

Upvotes: 0

Views: 2008

Answers (1)

Lozit
Lozit

Reputation: 71

The config file is : /config/api.php

If you have one, delete it and try again.

If it doesn't work, you can create a config file manually :

bin/directus install:config -n <database-name> -u <mysql-user> -p <mysql-password>
bin/directus install:database

Then create an user :

bin/directus install:install -e <admin-email> -p <admin-password> -t <project-title>

Upvotes: 4

Related Questions