Upgrading FineOps on the Internal Network

  • Last update: 2026-11-18
  • Overview

    Version Description

    FineOps Version

    Functional Change

    V1.5.5

    /

    V1.9.0

    Included detecting and upgrading the Docker engine version during the manual upgrade process to prevent functional issues caused by an outdated version.

    V2.0.0

    Optimized the interaction by adjusting the function entry location.

    Application Scenario

    An upgrade on an internal network uses the FineKey containerized deployment tool and an offline installation package to upgrade FineOps and its components. This method applies when the image registry cannot connect to FanRuan's cloud registry.

    iconNote:

    If your environment can obtain images online, an online upgrade is recommended. For details, see Upgrading FineOps over the Internet.

    This document does not cover upgrades to the FineReport or FineBI applications in a project. For details, see Upgrading O&M Projects on the Internal Network.

    Before upgrading FineOps, review recent changes in the Update History.

    Upgrade Impact

    FineOps restarts during the upgrade. If a Docker engine upgrade is triggered, the containers on the corresponding server also restart.

    If FineOps and an O&M project are deployed on the same server, upgrading FineOps may affect access to FineOps or the project on that server.

    Schedule the upgrade during a maintenance window when your business can tolerate interruptions.

    Checking Upgrade Prerequisites

    Check Item
    Description
    Node connectivity

    The server hosting FineKey and the server hosting FineOps must be able to communicate with each other. Otherwise, this upgrade method cannot be used.

    You can upload FineKey to the FineOps server and run it.

    Available disk spaceThe disk containing the FineOps mounting directory must have sufficient space for the upgrade. Make sure that more than 100 GB of free disk space is available.
    Target version

    1. Choose Platform Management > O&M Component and record the version of the OPS component.

    2. Check the Update History for the latest version.

    If FineOps is already at the latest version, do not proceed with the upgrade.

    Original configurationObtain finekey.yaml in finekey/conf/finekey.yaml from the original deployment package so that you can migrate the configuration values individually.
    Docker engine upgrade requirementsBoth the server hosting FineOps and the servers hosting the connected O&M projects must meet the engine upgrade requirements.

    If the system prohibits the upgrade, FineKey stops the process.

    FineKey Tool Preparation

    Obtaining the FineKey Installation Package

    You can contact the technical support personnel to obtain the installation package of FineOps. For contact methods, see Technical Support Channel Introduction.

    Do not select the online installation package for an internal network environment. Full Offline Installation Package is recommended.

    Installation Package Type

    Description

    Online Installation Package

    1. In this type, the server can access the Internet. You can download images of O&M components. The installation package is small.

    2. It allows you to deploy projects via FineOps visually with component images of FanRuan applications that FineOps downloads from the cloud.

    3. You can connect FineOps to existing FanRuan applications.

    Pure Offline Installation Package

    1. In this type, the server is on an internal network. The installation package includes images of all O&M components and is large. 

    2. Component images of FanRuan applications are not built-in, so you cannot deploy projects via FineOps visually.

    3. You can connect FineOps to existing FanRuan applications.

    Full Offline Installation Package

    1. In this type, the server is on an internal network. The installation package includes images of all O&M components and is large. 

    2. It allows you to deploy projects via FineOps visually with built-in component images of FanRuan applications.

    3. You can connect FineOps to existing FanRuan applications.

    Uploading and Decompressing the FineKey Installation Package

    1. Upload the installation package to the server hosting FineOps. To run FineKey from another server, first complete the node connectivity check in the "Checking Upgrade Prerequisites" section.

    The following example shows that the package is uploaded to the /home directory on the FineOps server.

    2. Navigate to the directory where the tool package is located and decompress the package. (Adjust the command according to the actual package name and location.)

    cd /hometar zxvf finekey-amd64-tomcat-all-publish.tar.gz

    3. The FineKey tool directory is now available.

    Path
    Purpose

    finekey/bin

    This directory contains the FineKey executable.

    finekey/conf/finekey.yaml

    This file contains the deployment and upgrade configuration.

    finekey/resources/images

    This directory contains offline image resources.

    Migrating the Original Configuration

    iconNote:
    Configuration items may differ between versions. Keep the structure of finekey.yaml from the new installation package and migrate the original configuration values individually. Do not overwrite the new file with the old file or replace its entire contents.

    1. Open finekey.yaml (finekey/conf/finekey.yaml) in the original package obtained in the "Checking Upgrade Prerequisites" section.

    2. Check each item and enter the corresponding configuration value in finekey.yaml in the new package.

    3. If FineKey and FineOps are on different servers, add the connection details for the node to be upgraded.

    update:
    nodes:
      - ip: localhost            #Machine IP address
        port: 22                 #Machine SSH port number
        user:                    #Node SSH user
        password:                #Node SSH password
    #  - ip: 192.168.101.145
    #    port: 22
    #    user: 
    #    password:

    FineOps Upgrade

    Running the Upgrade Command

    1. Go to the bin directory in the FineKey package extracted in the "Uploading and Decompressing the FineKey Installation Package" section.

    cd /home/finekey/bin

    2. Run the following command to start the upgrade.

    ./finekey update

    icon

    Note:

    You must use the commands described in the document. Do not replace them with other commands (for example, sudo ./finekey update). Otherwise, deployment failure may occur.

    Executing the Upgrade Process

    After starting the upgrade, FineKey will follow these steps to upgrade FineOps. You should wait patiently for the upgrade to be completed.

    Step

    Content

    Check upgrade prerequisites.

    The FineKey tool will prioritize checking whether the upgrade prerequisites in the "Checking Upgrade Prerequisites" section are met.

    If the prerequisites are not met, the upgrade will end directly.

    If the prerequisites are met, FineKey will proceed to the next step.

    Check component versions.

    The FineKey tool will automatically check whether the versions of the components to be upgraded match the FineKey image versions.

    If they match, no upgrade is required, and the upgrade process ends.

    If they do not match, FineKey will proceed to the next step.

    Back up components automatically.

    The FineKey tool will automatically back up data mounted by components that need upgrading.

    icon

    Note:

    Upgrading specified components may stop or back up associated components.

    Replace and upgrade the image.

    The FineKey tool will automatically change the image for the upgrade.

    Restart FineOps.

    The FineKey tool will automatically restart FineOps.

    If the restart is successful, the upgrade is successful.

    If the restart fails, it will automatically roll back and cancel the upgrade.

    Upgrading O&M Components

    1. After FineOps becomes accessible again, log in as the admin.

    2. If the following message appears, wait for the upgrade to finish and keep FineOps open: "The FineOps upgrade is at the final step, and this page will be automatically refreshed after the upgrade is completed. Do not close FineOps during the upgrade!"

    3. If the prompt in the previous step does not appear, you need to choose Platform Management > O&M Component and click One-Click Upgrade to upgrade other components.

    Verifying the Upgrade

    1. Log in to FineOps as the admin. 

    2. Choose Platform Management > Update & Upgrade to view the version. The prompt "Already Latest Version" means the upgrade of FineOps is successful.

    Notes

    Problem Description

    During the upgrade process, a Docker engine-related error is reported.

    An error occurs (error message: can not update for non Finekey Docker) when you check the Docker version using the finekey command.

    Cause Analysis

    The versions of the Docker engine, FineOps, and the project's OPS Agent component must be compatible.

    If you need to manually upgrade FineOps, you must ensure that the server where FineOps is located and the server where the connected project is located both support upgrading the Docker engine.

    If FineKey detects that the system does not allow a Docker engine upgrade while executing the FineKey upgrade command, it reports an error and stops the upgrade.

    Solution

    1. Log in to the server where FineOps is located and each server where the connected projects are located, respectively.

    2. Execute the command to upgrade the Docker engine.

    ./finekey engine --update

    3. Start the upgrade again with the following command:

    ./finekey update

    Notes

    When FineOps is upgraded, the containers on any server where a Docker engine upgrade is triggered will restart.

    This will affect end users using the platform and projects. You are advised to perform upgrades during non-working hours to minimize the impact on your business.

    Attachment List


    Theme: Platform Management
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy