Migration to Passwork 7
Passwork update to version 7

Docker

7min
these instructions are intended for a single passwork installation and are not suitable for a fault tolerant solution updating php and passwork go to the root location of the docker build of passwork shell cd /\<passwork> get the docker environment and passwork migration script shell wget https //repos passwork pro/repository/docker/migration 7 sh assign the script startup permissions shell chmod +x migration 7 sh ensure the following before running the script passwork has internet access and uses a containerized database if the passwork server has internet access and uses a containerized database ( psmdb5 ), run the migration with the following argument shell sudo /migration 7 sh now passwork is located in a closed circuit get the following zip archives and tar container images passwork xxxxxx zip format code from the customer portal ; passwork installation script archive with docker compose build files nginx container image percona server for mongodb container image php container image postfix container image alpine container image on the server with passwork, create a directory in the root location of the docker build ( / ) shell mkdir /passwork images move the resulting archives and images to the server with the docker build and arrange them in the following format shell /passwork xxxxxx zip /passwork compose install sh /passwork compose last tar gz /passwork images/alpine tar /passwork images/nginx tar /passwork images/php8 3 tar /passwork images/postfix tar /passwork images/psmdb6 tar an example of the location of received archives and images in a docker build run passwork migration with the following arguments shell sudo /migration 7 sh now o passwork has internet access and uses an external database run passwork migration with the following arguments shell sudo /migration 7 sh now nodb passwork is located in a closed loop and uses an external database perform actions to retrieve zip and tar image archives from the passwork server located in a closed circuit , without retrieving psmdb6 tar ; move the obtained archives and images to the server with docker build and arrange them in the provided format above; run passwork migration with the following arguments shell sudo /migration 7 sh now o nodb actions performed by the script reading the configuration file config ini and converting parameters to a new format changing the pw value in the mongodb database extracting the encryption key and saving it to a separate file creating a database backup using db backup sh archiving environment files into tar gz stopping compose build containers fetching and executing the update script for the docker build and passwork fetching and running the updated compose build restoring the passwork database in the new docker build performing a database object migration for passwork process of executing the installation script the script verifies the completion of the initial migration in the passwork web interface (6 5), converts configuration files, and initiates the migration if any errors occur, they will be displayed in the console this is what a successful script completion looks like passwork update to version 7 docid\ mirirltabi9ksiabc5ih1 migration of passwork database objects docid\ us6r fvttqytaxn hn3df