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