Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page provides instructions for manually upgrading a FlexDeploy docker install to use newer version of FlexDeploy Docker image. You will need to download appropriate version of FlexDeploy Tomcat distribution for database scripts and plugins. 

...

Info

If you aren’t using Kubernetes or have a very unique configuration we recommend using the automated installer.

Step 1. Stop the container

Stop the Docker container using name. docker stop <name>.

Info

If you are using Kubernetes you’ll need to translate these docker commands into the equivalent Kubernetes.

...

Step 2. Backup the FlexDeploy schemas and Artifact Repository.

...

For back-out purposes, it is highly recommended that a database backup of the database be taken using standard tools like RMAN for Oracle. Another option would be to export the FD, FD_ADMIN, and FF schemas using data pump. The schemas can be exported using the following data pump command for Oracle as shown below. Follow standard procedures for PostgreSQL for database backup.

...

Recommendation for Oracle database backup

...

It is recommended that a backup of the artifact repository file system be taken in case a back-out is required. The location of the artifact repository will be wherever you mounted the /home/oracle directory in the container the inside the repository folder. Standard file backup procedures can be followed. Optionally, the following command can be used to create a tar file backup of the entire directory.

...

languagebash

...

Insert excerpt
Manual Upgrade Instructions
Manual Upgrade Instructions
nameBackup current implementation
nopaneltrue

...

Step 3. Upgrade the FlexDeploy schemas

...

See details in Upgrading FlexDeploy Schemas.

...

Step 4. Copy plugins from download zip for auto upload. This would be inside of volume that you had configured during installation process.

...

Code Block
docker run --name flexdeploy -p 8000:8080 -e FLEX_DB_URL="jdbc:oracle:thin:@URL:PORT:xe" -e FD_ADMIN_PWD=DATABASEPASSWORD -e TZ=America/Chicago -e dbtype=oracle|postgres -e INFLUX_DB_USER=flexdeploy -e INFLUX_DB_PASSWORD=INFLUXDBPASSWORD -e INFLUX_DB_TOKEN=INFLXUDBTOKENHERE -v /scratch/DockerVolume/flexdeploy:/home/oracle flexdeploy/fd_tcat:VERSION
Tip

Example JDBC URL (FLEX_DB_URL)

  • Oracle

    • Localhost XE connection will look like this. jdbc:oracle:thin:@localhost:1521:XE

    • SID based JDBC URL Syntax - jdbc:oracle:thin:@HOSTNAME:PORT:SID

    • Service Name based JDBC URL Syntax - jdbc:oracle:thin:@//HOSTNAME:PORT/SERVICENAME

  • PostgreSQL

...