Liferay Marketplace is more than just a store for Liferay applications. Under the hood, it provides both the store and Liferay DXP’s application deployment features. For this reason, you must ensure that Marketplace can run and configure itself.
Here are some scenarios to work around to ensure Marketplace works successfully:
The firewall scenario is discussed first.
Your server might be behind a firewall that prevents access to the Internet. Or your security policy might not allow direct download and installation from the Internet. In these cases, you have two options:
Alternately, once you have the downloaded
.lpkgfile, deploy it using the App Manager.
Next you’ll learn how to work around database access restrictions.
Some production environments do not have the necessary database permissions for Liferay DXP, apps, modules, and plugins to maintain their tables. In these cases:
Grant the Liferay DXP database user temporary full rights to the database.
Install Liferay DXP and start it so that it populates its database.
Once the database is created, remove the permissions for creating tables and dropping tables from the Liferay DXP database user.
See the database server and new database instructions for more information. Note that many sophisticated Liferay DXP apps—not just the Marketplace app—require new tables when deployed. If your environment restricts database access, you may need to repeat the above steps whenever you deploy a new app.
You’ve prepared Liferay DXP for installing Marketplace and additional apps.