Timeline 5.3.0 patch installation
If you are using the Timeline 5.3.0 version and upload from an ODBC data source fails, you need to download the patch-file. Click here to download.
This issue is fixed in later versions.
Prerequisites
- If the target machine (HOST) is not connected to the Internet, you will need an additional machine that has internet connection and docker installed (BUILDER). You need to have the Dockerfile.odbcpatch on the respective machine (HOST or BUILDER) depending on the HOST internet connection. All actions in the instruction are marked on which machine to perform them.
- Make sure you have root access on both machines.
Step 1 - Setup
- HOST: Install the Timeline application.
- HOST: Stop the timeline service:
systemctl stop timeline
Step 2 - Patch
- Patch with internet connection on HOST.
- HOST: Patch the timeline/backend image with the received dockerfile:
cd <path_to_dockerfile> && docker build -f Dockerfile.odbcpatch -t timeline/backend:latest . - Patch without internet connection on HOST.
- HOST: Export the timeline/backend image:
docker save -o timeline-backend-latest.tar timeline/backend:latest - Move the exported timeline-backend-latest.tar to the BUILDER machine.
- BUILDER: Load the timeline/backend image:
docker load --input <path_to_image_tar>/timeline-backend-latest.tar - BUILDER: Patch the timeline/backend image with the received dockerfile:
cd <path_to_dockerfile> && docker build -f Dockerfile.odbcpatch -t timeline/backend:latest . - BUILDER: Export the patched timeline/backend image:
docker save -o timeline-backend-latest-patched.tar timeline/backend:latest - Move the exported timeline-backend-latest-patched.tar to the HOST machine
- HOST: Load the patched timeline/backend image:
docker load --input <path_to_image_tar>/timeline-backend-latest-patched.tar
Step 3 - Clean-up and start Timeline service
Perform these actions on the machine you have used for patch installation.
- (Optional) HOST/BUILDER: Remove the exported image files
- (Optional) HOST/BUILDER: Find the old timeline/backend image (repository: timeline/backend, tag: <none>):
docker image ls - (Optional) HOST/BUILDER: Delete the old timeline/backend image by id:
docker image rm <image_id_of_old_backend_image> - HOST: Restart timeline service:
systemctl start timeline
9/22/2023 8:59:47 AM