Bug #17968
closedForeman fails with MySQL
Description
Trying to install foreman with mysql support and it fails.
Happens on both Jessie and CentOS 7.
The installation command is:
foreman-installer -i --verbose \
--foreman-db-adapter=mysql2 \
--foreman-db-type=mysql \
--foreman-db-manage=false \
--foreman-db-host=10.10.24.2 \
--foreman-db-database=foreman\
--foreman-db-username=foreman \
--foreman-db-password=XXXXXXXXXXXXXX
The database exists and is empty.
The installation does populate it (73 tables are created and populated).
Files
Updated by Anonymous over 7 years ago
I guess this is fixed by https://github.com/theforeman/puppet-foreman/pull/488 which is part of the 1.14 installer.
Updated by Raul Dias over 7 years ago
Michael Moll wrote:
I guess this is fixed by https://github.com/theforeman/puppet-foreman/pull/488 which is part of the 1.14 installer.
Retrying with 1.14.
Updated by Anonymous over 7 years ago
- Project changed from Foreman to Installer
- Category changed from Database to Foreman modules
- Priority changed from Immediate to High
- translation missing: en.field_release deleted (
213)
Updated by Raul Dias over 7 years ago
- File foreman.log foreman.log added
Michael Moll wrote:
I guess this is fixed by https://github.com/theforeman/puppet-foreman/pull/488 which is part of the 1.14 installer.
Same problem with 1.14:
----8<-----
Something went wrong! Check the log for ERROR-level output
* Foreman is running at https://foreman.base.mydomain.com
Initial credentials are admin / aHcQE6ScpBEVjovP
* Foreman Proxy is running at https://foreman.base.mydomain.com:8443
* Puppetmaster is running at port 8140
The full log is at /var/log/foreman-installer/foreman.log
[ INFO 2017-01-06 15:59:42 verbose] All hooks in group post finished
root@foreman:~# dpkg l foreman>8----
ii foreman 1.14.0~rc3-1 amd64 Systems management web interface
----
Uploading the new logs too.
Updated by Anonymous over 7 years ago
Please grep for ERROR messages in the logfile and fix the "Could not resolve 'httpredir.debian.org'" error, then re-run foreman-installer and report back, please.
Updated by Raul Dias over 7 years ago
Michael Moll wrote:
Please grep for ERROR messages in the logfile and fix the "Could not resolve 'httpredir.debian.org'" error, then re-run foreman-installer and report back, please.
You were right. It worked now.