2019.08.23 - Services Updates - 2019.34.1

Description

The services update to 2019.34.1 contains security updates, performance enhancements, backup and database features, as well as clustering fixes.

DXP Stack 2019.34.1

Service NamePrevious ReleaseCurrent ReleaseDocker Images
Backup3.0.03.2.1liferaycloud/backup:3.2.1
Database3.0.03.2.1liferaycloud/database:3.2.1
CI3.0.03.1.1liferaycloud/jenkins:2.176.1-3.1.1
Liferay3.0.03.0.10liferaycloud/liferay-dxp:7.2.10-gal-3.0.10 liferaycloud/liferay-dxp:7.1.10-ga1-fp11-3.0.10 liferaycloud/liferay-dxp:7.0.10-sp10-fp84-3.0.10
Search3.0.03.0.3liferaycloud/elasticsearch:6.1.4-3.0.3 liferaycloud/elasticsearch:2.6.4-3.0.3
Webserver3.0.03.1.1liferaycloud/nginx:1.14.2-3.1.1

Update Instructions

To apply these updates, update the gradle.properties file the project root folder with the new docker image tags. Here is an example of applying update 2019.34.1 for a 7.2 Liferay project:

liferay.workspace.lcp.backup.image=liferaycloud/backup:3.2.1
liferay.workspace.lcp.database.image=liferaycloud/database:3.2.1
liferay.workspace.lcp.search.image=liferaycloud/elasticsearch:6.1.4-3.0.3
liferay.workspace.lcp.liferay.image=liferaycloud/liferay-dxp:7.2.10-ga1-3.0.10
liferay.workspace.lcp.webserver.image=liferaycloud/nginx:1.14.2-3.1.1
liferay.workspace.lcp.jenkins.image=liferaycloud/jenkins:2.176.1-3.1.1

Once the gradle.properties file contains the updates, commit the changes to your Git repository.

git add gradle.properties && git commit -m "update dxp cloud stack to 2019.34.1"

After pushing these changes to the remote repository, a build will be created in Liferay Cloud and it is ready to deploy.

Change Log

Service NameService VersionTicket NumberDescription
Backup3.2.1LCP-1606Add log on backup service when the client aborts an upload request
3.2.0LCP-1326Set a default value for LCP_BACKUP_CREATE_SCHEDULE
LCP-1382Allow the user to configure an automatic restore schedule
LCP-1266standardize service-backup docker image build
LCP-1394Downloading the wrong sized user because of client-side encryption
LCP-1397Improve backup list performance
LCP-1199Change the API (dxpcloud) Client to use the User token as authentication
LCP-1191The restore endpoint on backup service must be able to receive the user’s token for be use to communicate with API
LCP-1187change initialization of environment variables
LCP-1432Change the API (dxpcloud) Client to use the project master token as authentication
LCP-1325Automatic daily backup/restore for production
LCP-1502Add backwards compatibility in backup service
LCP-1375Update “googleapis” to fix security vulnerabilities
3.1.0LCP-1232Alternative approach to encrypt backups
LCP-906Update backup service dependencies to avoid vulnerabilities
LCP-1150Backup Restore, use specific database endpoint
LCP-1080Avoid broken startup state
LCP-948Change database-ap.backupList to get backups of project
3.0.8LCP-1002Fix authentication of API for AWS environment
LCP-750Restore backup between projects
3.0.7LCP-978Change function runCustomScript to execute scripts by environments
LCP-970Inform the progress of the backup upload in the log
LCP-968Fix google cloud validation in ApiClient
LCP-967Fix tar validation
3.0.6LCP-913Only use the masterToken in the parameters when the cloud is google
LCP-916Disable GTID in database dump generation
3.0.5LCP-862Prevent more than one backup upload at the same time
LCP-883Backup Upload - verify that the tgz file is valid
LCP-890Fix masterToken used to download the volume backup
LCP-889NET-5 Apply HTTP-Strict-Transport-Policy
3.0.4LCP-825Improve backup restore messages
LCPE-195Set volume owner after restore an external backup
3.0.3LCP-558Authentication by user and password
LCP-423Remove unused method ‘backupStatus’
LCP 145Remove unnecessary error messages when running a process by Scheduler
3.0.2LCP-620Force backup service to be restarted - Failed to delete NFS locked file
3.0.1LCP-491Google delete backup
LCP-492Download google cloud backups
LCP-442Optimize database restore dump
LCP-517Update the list of services that will not be stopped in the restore process
LCP-554List of services to be ignored by waitStop service
LCP-571Do not wait for the services to be started after a google backup has been restored
LCP-483Add backward compatibility of environment variables used only by AWS
Database3.2.1LCP-1657Retry the google API call if authentication failed
3.2.0LCP-1185Rename the environment variable from WEDEPLOY_PROJECT_TYPE to LCP_PROJECT_TYPE on database service
LCP-1186Change initialization of environment variables in the DATABASE service
LCP-1250standardize service-database docker image build
LCP-1374Update project dependencies to fix security vulnerabilities
LCP-1037Organize ‘dependencies’ and ‘devDependencies’
3.1.0LCP-1374Update ““googleapis”” to fix security vulnerabilities
LCP-1374Fix deprecation warning, replacing ““–compilers”” to ““register””
LCP-1250standardize service-database docker image build
LCP-1202Allow enable and configure mysql flags
LCP-301The restore fails, and the instance status returns that is available
LCP-1035Create a endpoint to return all backups of project
LCP-983Avoid the application broken in the start
3.0.7LCP-989Check the size of the database before restore the backup
3.0.6LCP-1053Fix authentication of API for AWS environment
LCP-1038Block backup / restore operations while a backup is being performed
LCP-903Update the dependencies of the database service, to avoid vulnerabilities
LCP-921Validate if the instance failed when the database service starts
3.0.5LCP-836Fix status of instance
LCP-893Do not update the disk size if the new value is smaller than the previous one
LCP-894Healthy checker report base error
LCP-914Only use the masterToken in the parameters when the cloud is google
3.0.4LCP-807Remove message ‘Network not configured, contact your Administrator’
LCP-826Friendly update messages for instances
LCP-827Fix message ‘Current instance’
3.0.3LCP-670Add private ip support to the database
3.0.2LCP-537When starting the database service, consider the status ‘creating’, ‘restoring’
LCP-740Change root password after create a new database and restored backup"
3.0.1LCP-125Google database support multiple availability zones
LCP-499Change the database instance ID pattern for the google cloud
LCP-553Add additional time in waitForInstance
LCP-556Add ‘databaseBackupId’ to google database restore result
LCP-564Try to run a google command again if the error is recoverable
CI3.1.1LCP-1009Run the entrypoint script as root to allow chown on dynamic volumes
3.1.0LCP-1068Remove ‘liferay-cloud’ credentials creation
3.0.4LCP-908Upgrade service-jenkins lcp CLI
LCP-884Allow to override the GitHub token of Jenkins
3.0.2LCP-595Update Jenkins to 2.164.3 from 2.164.1
LCP-594Fix JENKINS_CUSTOMER_PASSWORD
LCP-415Rename CLI to lcp
Liferay3.0.10LCPE-348update Dynatrace agent
3.0.9LCP-1852do not remove trailing ? after dbname
3.0.7LCPE-433fetch latest patching tool from files.liferay
LCPE-391Install fontconfig package needed to show fonts at Control Panel > Configuration > Server Administration
3.0.6LCP-1738Rename Liferay Connected Services Client file to Liferay 7.0
LCP-1697Fix Dockerfile Liferay DXP
LCP-1565Add fix pack 84 for Liferay 7.0
LCPE-265Fix Cluster startup fails due to trying to connect to mariadb
LCP-1424Fix version of Liferay DXP 7.2.10 for build-image.sh
LCP-13957.0 build for Liferay-dxp docker image fails because files.liferay changed the folder structure
LCP-1153Improve look up for database information (serve, database, username)
3.0.5LCPS-220update fix pack url to point to the correct path: change ‘de’ ‘dxp’
3.0.4 Fix cluster configuration
3.0.3 Switch back to MySQL driver
3.0.2 Fix start up error described at LPS-95458
3.0.1 Set a fake fix pack name to avoid increase the size of the image with garbage files
Search3.0.3LCP-1410Fix volume permissions for Elasticsearch 2.4 Service
3.0.2LCP-1225simplify docker image build script
LCP-973Use headless service when environment is not local
LCP-1010allow changing volumes permission for elastic search
Webserver3.1.1LCP-861Make sure the haproxy can work in ‘local’ environment
3.1.0LCP-775Remove client-file-upload from service-nginx
LCP-764Update Webserver to use headless service
3.0.2LCP-411Rename Nginx service env vars