On 13/12/16 17:37, Raul Dias wrote:
> 
> 
> On Tuesday, December 13, 2016 at 6:58:54 AM UTC-2, Dominic Cleal wrote:
> 
>     On 12/12/16 23:38, Raul Dias wrote:
> 
>     > foreman-installer--foreman-db-type=mysql \
>     > --foreman-db-manage=false \
>     > --foreman-db-host=mysql \
>     > --foreman-db-database=foreman \
>     > --foreman-db-username=foreman \
>     > --foreman-db-password=mypassword
> 
>     Note that these options are different to the default in that they
>     assume
>     a pre-existing database.
> 
>  
> The database exists, but is empty.  The  installer did create the
> tables.  Is this what you meant?
> OTOH, just the tables roles and features have one row each.

production.log indicates it's missing some tables ('sessions') and the
end of foreman_install.log (line 580) suggests it didn't finish setting
up the database. Some tables seem to already be present so it skipped
everything else.

I'd suggest dropping all existing the tables (or recreate the DB) and
then run:

foreman-rake db:migrate
foreman-rake db:seed
foreman-rake apipie:cache:index

This will set up all of the tables and initial configuration. The
db:seed command will print a random admin password out, take note of it.

-- 
Dominic Cleal
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to