Versions Compared

Key

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

...

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.

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

File System backup

It is recommended that a backup of the container volume mounted to /home/oracle in case a back out is needed.

...

Step 3. Upgrade the FlexDeploy schemas

See details in Upgrading FlexDeploy Schemas.

...

Step 4. Copy plugins from download zip for auto upload.

FlexDeploy download zip contains plugin jar files. You just need to copy plugin jars from download zip to plugins folder in your installation (details explained below), and all plugins will be automatically uploaded and activated on server startup.

  1. Plugin files to copy are in the unzipped Tomcat Complete file.

  2. Copy the plugins into the <Mounted Volume>/Plugins directory.

...

Step 5 . Pull and start new docker image for FlexDeploy.

Note

If using Kubernetes you will instead need to modify your manifest to use the newer version, and to add any new required environment variables.

...

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

...

Step 6. Launch FlexDeploy in your browser

http://<hostname>:<port>/flexdeploy

There is no need to activate plugins manually. FlexDeploy will automatically upload and activate new versions of plugins once they are copied to plugins folder. You will notice that plugins that you copied in Step 8 will eventually be uploaded automatically and folder will not have any jar files left. You can also look at Administration - Plugins in UI and see newer versions of plugins.

...