@Daniel Johnson
I am trying to do silent installation of DeveloperPortal 4.16.05 on CentOS 7.2 (on a VM with NO internet access)
I installed Edge (4.16.05), with
URL: http://keng01-dev01-api01-gtw.dev.internal:9000/login
Credentials: foo@bar.com / Secret@123!
Installed Developer Portal, say http://dev-portal-fqdn
Now when I hit the developer portal url above, I see web forms, wherein I am supposed to provide devportal database details, edge details etc.
I skip the above process and went for drush commands suggested by you. Before that I changes permission of settings.php:
chmod a+w /var/www/html/sites/default/settings.php
chmod a+w /var/www/html/sites/default
Now when I run the following drush commands, I get Authentication error from Edge (through I can login using the URL and credentials of Edge, in following command):
[root@keng01-dev01-api01-cms html]# drush site-install apigee \
apigee_install_api_endpoint.org=‘myorg’
apigee_install_api_endpoint.endpoint=‘http://keng01-dev01-api01-gtw-dev.internal:8080/v1’
apigee_install_api_endpoint.user=‘foo@bar.com’
apigee_install_api_endpoint.pass=‘Secret@123!’
apigee_install_create_admin_user.firstname=‘Test’
apigee_install_create_admin_user.lastname=‘User’
apigee_install_create_admin_user.username=‘test.user@foobar.com’
apigee_install_create_admin_user.pass=‘Secret@123!’
apigee_install_create_admin_user.emailaddress=‘test.user@foobar.com’
–sites-subdir=default
–db-url=‘mysql://devportal:devportal@127.0.0.1:3306/devportal’
You are about to DROP all tables in your ‘devportal’ database. Do you want to continue? (y/n): y
Starting Drupal installation. This takes a while. Consider using the --notify global option. [ok]
WD php: Warning: reset() expects parameter 1 to be array, boolean given in faq_insert() (line 242 of /var/www/html/profiles/apigee/modules/contrib/faq/faq.module). [warning]
WD php: Warning: reset() expects parameter 1 to be array, boolean given in faq_insert() (line 242 of /var/www/html/profiles/apigee/modules/contrib/faq/faq.module). [warning]
WD php: Warning: reset() expects parameter 1 to be array, boolean given in faq_insert() (line 242 of /var/www/html/profiles/apigee/modules/contrib/faq/faq.module). [warning]
WD php: Warning: reset() expects parameter 1 to be array, boolean given in faq_insert() (line 242 of /var/www/html/profiles/apigee/modules/contrib/faq/faq.module). [warning]
exception ‘Exception’ with message ‘Edge Endpoint responded with 401 Unauthorized. Check the username and password____.’ in [error]
/var/www/html/includes/install.core.inc:415
Stack trace:
#0 /var/www/html/includes/install.core.inc(339): install_run_task(Array, Array)
#1 /var/www/html/includes/install.core.inc(77): install_run_tasks(Array)
#2 /usr/local/share/drush/includes/drush.inc(719): install_drupal(Array)
#3 /usr/local/share/drush/includes/drush.inc(705): drush_call_user_func_array(‘install_drupal’, Array)
#4 /usr/local/share/drush/commands/core/drupal/site_install_7.inc(80): drush_op(‘install_drupal’, Array)
#5 /usr/local/share/drush/commands/core/site_install.drush.inc(289): drush_core_site_install_version(‘apigee’, Array)
#6 [internal function]: drush_core_site_install(‘apigee’, ‘apigee_install_…’, ‘apigee_install_…’, ‘apigee_install_…’, ‘apigee_install_…’, ‘apigee_install_…’,
‘apigee_install_…’, ‘apigee_install_…’, ‘apigee_install_…’, ‘apigee_install_…’)
#7 /usr/local/share/drush/includes/command.inc(359): call_user_func_array(‘drush_core_site…’, Array)
I am NOT sure why the authentication failed to Edge, as I can login to:
http://keng01-dev01-api01-gtw-dev.internal:9000/login
using: foo@bar.com / Secret@123!
Current status is that, I am able to get the home page of Devloper Portal, but NOT able to login using:
foo@bar.com / Secret@123!
OR
test.user@foobar.com / Secret@123!
Any pointers, how should I proceed?