Version Update
Windows
General version update steps
Backup OMFLOW
Please back up OMFLOW first. Please refer to the [Backup and Restore] chapter for details on the backup method.
Execute update file
OMFLOW's Windows update file can be executed directly. Right-click on the update file and select "Execute as system administrator".
Select language
Select the displayed language and click "OK".
Agree to the Terms of Use
Check "I agree" to the terms of use and click "Next".
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.0, 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.0, please follow the OMFLOW version order and update to 1.1.4.0 before using the latest update file.
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.0 Notes
OMFLOW upgraded the Python version to 3.11 after version 1.2.0.0. If the user installed an additional python package in the past version, the update process will require the user to manually install Python. The following are the relevant steps:
Download Python3.11 (32 Bit) Windows Installer and execute
Select Customize installation custom installation path
Select the installation path
C:\PROGRA\~1\OMFLOW Server\Python311
After the installation is complete, you can click "Next" in the update window to check
At this time, the update window will check whether the original Python and Python311 package lists are consistent, and list the missing packages.
If there is a missing package, open the CMD window with administrator rights and enter the Python311 folder
Install with
python.exe -m pip install
commandAfter installation, click Next to check and continue this cycle until there are no missing packages.
Close all original Python and Python311 related CMD windows
Linux
General update steps
Backup OMFLOW
Please back up OMFLOW first. Please refer to the [Backup and Restore] chapter for details on the backup method.
Unzip the update file
Unzip the patch file
Execute update file
Move to the path of patch.sh and execute patch.sh
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
Stop OMFLOW
Delete the python folder under the /opt/omflow folder
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
Set python 3.11 as an environment variable (so that python3.11 can be called with the command python3)
Create a virtual environment for python 3.11 under the /opt/omflow folder
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
Modify the wsgi_module path in apache http.conf to a new path
Update OMFLOW 1.2.0.0
Start OMFLOW (usually no need to start manually)
Replenish:
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.
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:
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.
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.
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:
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