I can't login in foreman login page

Hi.

I have installed foreman system. I have read this instructions:
http://www.smoose.org/blog/theforeman-journey/

But the users table in my database (postgres ) is empty:

id | login | firstname | lastname | mail | admin | last_login_on |
auth_source_id | created_at | updated_at |
password_hash | password_salt
> domains_andor | hostgroups_andor | facts_andor | filter_on_owner
> compute_resources_andor | organizations_andor | locations_andor |
subscribe_to_all_hostgroups | locale | avatar_hash |
default_organization_id | default_location_id

··· ----+-------+-----------+----------+------+-------+---------------+----------------+----------------------------+----------------------------+------------------------------------------+------------------------------------------+---------------+------------------+-------------+-----------------+-------------------------+---------------------+-----------------+-----------------------------+--------+-------------+-------------------------+---------------------

How I can create the foreman_admin, foreman_api_admin, admin users?

Thans a lot.

First thing - that guide appears to be nearly two years old, and
Foreman's installation process has changed since then.

I'd strongly recommend you use the official quickstart guide on our
website, at least for the initial installation, which includes the
database and Puppet integration:
http://theforeman.org/manuals/1.6/quickstart_guide.html

However you're determined to get that to work, you'll need to run:

RAILS_ENV=production rake db:seed

(in addition to the db:migrate step)

··· On 23/10/14 11:41, Sergio Cubero Torres wrote: > Hi. > > I have installed foreman system. I have read this instructions: > http://www.smoose.org/blog/theforeman-journey/ > > But the users table in my database (postgres ) is empty: > > id | login | firstname | lastname | mail | admin | last_login_on | > auth_source_id | created_at | updated_at > > password_hash | password_salt > > domains_andor | hostgroups_andor | facts_andor | > filter_on_owner | compute_resources_andor | organizations_andor | > locations_andor | subscribe_to_all_hostgroups | locale | avatar_hash | > default_organization_id | default_location_id > ----+-------+-----------+----------+------+-------+---------------+----------------+----------------------------+----------------------------+------------------------------------------+------------------------------------------+---------------+------------------+-------------+-----------------+-------------------------+---------------------+-----------------+-----------------------------+--------+-------------+-------------------------+--------------------- > > How I can create the foreman_admin, foreman_api_admin, admin users? >


Dominic Cleal
Red Hat Engineering