Version Update

Windows

General version update steps

  1. Backup OMFLOW

Please back up OMFLOW first. Please refer to the [Backup and Restore] chapter for details on the backup method.

  1. Execute update file

OMFLOW's Windows update file can be executed directly. Right-click on the update file and select "Execute as system administrator".

  1. Select language

Select the displayed language and click "OK".

  1. Agree to the Terms of Use

Check "I agree" to the terms of use and click "Next".

  1. Start updating

The executable file will check whether your device can use the current update. After checking, click "Update"

If there is a version inconsistency, please first check whether the OMFLOW version and the update file version can be used. For versions of OMFLOW after 1.1.4, you can directly use the latest update file to upgrade to the latest version. If the OMFLOW version on the device is less than 1.1.4, please follow the OMFLOW version order and update to 1.1.4.0 before using the latest update file.

  1. Service restart

After the update is completed, the OMFLOW service will be automatically restarted. After the service is restarted, press "End" to complete the update.

After updating to the previous version 1.1.4.0, please confirm that the OMFLOW service has been restarted before continuing the update.

Now you can continue using OMFLOW!

1.2.0, 1.2.2 Notes - 2024/9/3 Update

OMFLOW upgraded the Python version in versions 1.2.0 and 1.2.2 respectively. If the user installed an additional python package in the past version, the update process will require the user to manually update the package. The following are the relevant steps:

  1. The Python path is C:\PROGRA\~1\OMFLOW Server\Python311 or C:\PROGRA\~1\OMFLOW Server\Python311x64

  2. Open the CMD window with administrator rights and enter the command to install.

  3. Run the command python.exe -m pip install <package name> --target "Lib\site-packages"

  4. After installation, click Next to check and continue this cycle until there are no missing packages.

  5. Close all Python-related CMD windows

Linux

General update steps

  1. Backup OMFLOW

Please back up OMFLOW first. Please refer to the [Backup and Restore] chapter for details on the backup method.

  1. Unzip the update file

Unzip the patch file

  1. Execute update file

Move to the path of patch.sh and execute patch.sh

  1. Restart the service

Confirm whether the OMFLOW service starts normally

If the service has not been started, please enable it.

Now you can continue using OMFLOW!

Linux update 1.2.0.0 version steps

OMFLOW has further improved the environment requirements in version 1.2.0.0. Users using Linux environment need to update manually. The following are the relevant steps:

python version: 3.8 → 3.11 django version: 2.2 → 4.2.6

  1. Stop OMFLOW

  2. Delete the python folder under the /opt/omflow folder

  3. Install ubuntu package

Kit list

  • python 3.11

  • python3.11-dev

  • python3.11-venv

  • python3-pip

Installation method one: Online installation version (requires Internet connection)

  • Installation method two: no network environment, offline installation method, please see the supplement

    • Download the Ubuntu package offline installation package

    • Install Ubuntu packages offline

  1. Set python 3.11 as an environment variable (so that python3.11 can be called with the command python3)

  2. Create a virtual environment for python 3.11 under the /opt/omflow folder

  3. Enter the virtual environment and install the python package

python package list

  • wheel -django==4.2 -ldap3

  • mod_wsgi

  • openpyxl

  • python package used by DB

  • Other packages that will be used...

  • Online installation version (requires Internet connection)

  • Please see the supplement for no network environment and offline installation methods.

    • Download the python suite offline installation package (.whl)

    • Install python package offline

  1. Modify the wsgi_module path in apache http.conf to a new path

  2. Update OMFLOW 1.2.0.0

  3. Start OMFLOW (usually no need to start manually)

Replenish:

  1. Download the Ubuntu package offline installation package

    • Find an Ubuntu with the same environment as OMFLOW server, and an Internet connection is required.

Kit list

  • python 3.11

  • python3.11-dev

  • python3.11-venv

  • python3-pip

  • Download instructions:

  • The downloaded installation package will be saved in the /var/cache/apt/archives/ directory. You can use FTP software to take it out and put it into the OMFLOW server environment.

  1. Install Ubuntu packages offline

Kit list

  • python 3.11

  • python3.11-dev

  • python3.11-venv

  • python3-pip

  • Copy the .deb file to a directory in Ubuntu. This uses /tmp/Downloads as an example.

  • Ubuntu instructions:

  1. Export the installed python package list from the existing environment

    • If you already have the package list used by the original OMFLOW, you can skip this step.

    • Export instructions:

    • Use FTP software to take it out and put it in an Ubuntu environment with Internet access, as a reference for subsequent downloading of packages.

  2. Download the python suite offline installation package (.whl)

    • Please prepare an environment with python3.11 installed so that you can download the package version suitable for python3.11. This environment must be connected to the Internet.

    • Download instructions:

    • Use FTP software to take out and put it back into the OMFLOW server.

    • Supplement: mod_wsgi will get tar.gz, and the installation method is more special. Please see offline installation of mod_wsgi.

  3. Install python package offline

    • Assume that the offline installation package (.whl) of the python package is placed under this path **/opt/omflow/tmp**

    • Installation instructions:

  4. Install mod_wsgi offline

    • Installation instructions:

Notice:

After replacing python & django, you need to update the OMFLOW version to 1.2.0.0 to start successfully; the previous version cannot be used with django 4.2.

Error handling

If the service cannot be started after updating OMFLOW, please restore OMFLOW according to the [Backup and Restore] chapter, and then perform the update steps again.

Last updated

Was this helpful?