Hi folks.
I'm getting this generic error during ths edge-ui installation. Cant find any logs with more information about what happened.
Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1
Here is the end of setup_root.log
Service setup edge-ui
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-
: disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package edge-ui.noarch 0:4.51.00-0.0.20191 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
edge-ui noarch 4.51.00-0.0.20191 apigee-release 67 M
Transaction Summary
================================================================================
Install 1 Package
Total download size: 67 M
Installed size: 86 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : edge-ui-4.51.00-0.0.20191.noarch 1/1
Uploading Package Profile
Unable to upload Package Profile
Verifying : edge-ui-4.51.00-0.0.20191.noarch 1/1
Installed:
edge-ui.noarch 0:4.51.00-0.0.20191
Complete!
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
Checking for required variables
Checking required variable ADMIN_EMAIL...OK
Checking required variable SMTPMAILFROM...Not Defined
Checking for optional variables
Found optional variable SKIP_SMTP...OK
Found optional variable APIGEE_ADMINPW...OK
[2021-09-10 11:29:25 AM] Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1
I've already installed Datastore Cluster and LDAP nodes before and got no errors.
I've already tried to clean the installation e reinstall the component, but didnt work.
SOLVED
SMTPMAILFROM var cannot be commented even if you are skipping SMTP configuration.
# SMTP information.
SKIP_SMTP=y # Skip now and configure later by specifying "y".
# SMTPHOST=smtp.example.com
# SMTPUSER=smtp@example.com
# SMTPPASSWORD=SMTP_PASSWORD
# SMTPSSL=n
# SMTPPORT=465 # If no SSL, use a different port, such as 25.
SMTPMAILFROM="Example <mail@example.com.br>"
https://docs.apigee.com/private-cloud/v4.51.00/edge-configuration-file-reference
SUGESTION FOR APIGEE STAFF
Throw out an error message about this missing parameters for better debugging and issue resolution.