Migration to Passwork 7
...
Passwork update to version 6.5
Manual updates

Windows Server

16min
obtaining the latest passwork version go to the customer portal ; authorise on the customer portal with your email address; in the bottom left corner, click on the update → manual tab and download the latest passwork version in zip format move the zip archive to the server with passwork creating a backup and configuration file creating a backup to create a mongodb backup, you can use the following instructions — examples of creating and restoring mongodb backups docid\ p7lbrxvlncu0jzcicdejn if passwork is installed on a virtual or cloud based operating system, we recommend creating a restore point so that you can quickly roll back in case of errors creating a copy of the configuration file the main passwork parameters are specified in the config ini configuration file create a copy of the file and save it in a separate or root directory of the user powershell copy item ` path "c \inetpub\wwwroot\passwork\app\config\config ini" ` destination "$pwd\\" force updating the passwork code and creating an archive of the old version create a directory to store the temporary files of the old version powershell mkdir c \inetpub\copy files create a copy of the config ini configuration file and the license key powershell copy item ` path "c \inetpub\wwwroot\passwork\app\config\config ini" ` destination "c \inetpub\copy files\\" force copy item ` path "c \inetpub\wwwroot\passwork\app\keys\passwork " ` destination "c \inetpub\copy files\\" force create an archive of the old version of passwork in c \inetpub\ powershell $version = get content "c \inetpub\wwwroot\passwork\version" compress archive path "c \inetpub\wwwroot\passwork\\ " destinationpath "c \inetpub\\$version zip" remove the old version from the physical location of the code powershell remove item path "c \inetpub\wwwroot\passwork\\ " recurse force extract the new version of passwork to c \inetpub\wwwroot\passwork\ powershell expand archive ` path "$pwd\passwork xxxxxx zip" ` destinationpath "c \inetpub\wwwroot\passwork\\" move the configuration file and license key to the new version powershell move item ` path "c \inetpub\copy files\config ini" ` destination "c \inetpub\wwwroot\passwork\app\config\\" force move item ` path "c \inetpub\copy files\passwork " ` destination "c \inetpub\wwwroot\passwork\app\keys\\" force after the steps are completed, you can delete the temporary directory with the location of the configuration file and license key powershell remove item path "c \inetpub\copy files" recurse force create overwrite rules and assign permissions to passwork code create rules that modify url requests in iis create a web config for the url rewrite module powershell "\<?xml version=`"1 0`" encoding=`"utf 8`"?> \<configuration> \<system webserver> \<rewrite> \<rules> \<rule name=`"imported rule 1`" stopprocessing=`"true`"> \<match url=`"^app/( )/( )/template (\[a z a z0 9]+) html`" ignorecase=`"false`" /> \<conditions logicalgrouping=`"matchall`"> \<add input=`"{request filename}`" matchtype=`"isfile`" ignorecase=`"false`" negate=`"true`" /> \</conditions> \<action type=`"rewrite`" url=`"app/{r 1}/{r 2}/template html`" /> \</rule> \<rule name=`"imported rule 2`" stopprocessing=`"true`"> \<match url=`"^extension/js/( )/( )/template (\[a z a z0 9]+) html`" ignorecase=`"false`" /> \<action type=`"rewrite`" url=`"extension/js/{r 1}/{r 2}/template html`" /> \</rule> \<rule name=`"imported rule 3`" stopprocessing=`"true`"> \<match url=`"^( )$`" ignorecase=`"false`" /> \<conditions logicalgrouping=`"matchall`"> \<add input=`"{request filename}`" matchtype=`"isdirectory`" ignorecase=`"false`" negate=`"true`" /> \<add input=`"{request filename}`" matchtype=`"isfile`" ignorecase=`"false`" negate=`"true`" /> \</conditions> \<action type=`"rewrite`" url=`"index php? url=/{r 1}`" appendquerystring=`"true`" /> \</rule> \</rules> \</rewrite> \</system webserver> \</configuration>" | out file filepath "c \inetpub\wwwroot\passwork\public\web config" encoding utf8 assign rights to passwork physical location after that you need to change the system permissions of the directories and set permissions for the iis web server powershell invoke expression "icacls 'c \inetpub\wwwroot' /grant 'users (oi)(ci)`m'" invoke expression "icacls 'c \inetpub\wwwroot' /grant 'iis iusrs (oi)(ci)`m'" invoke expression "icacls 'c \inetpub\wwwroot' /grant 'iusr (oi)(ci)`m'" register the php version and restart the web server register php for the new version of passwork import modules for iis and php manager powershell import module iisadministration import module webadministration add pssnapin phpmanagersnapin unlock the iis configuration file for php registration powershell invoke expression "$env\ windir\system32\inetsrv\appcmd exe unlock config section\ system webserver/handlers" register the php version for the updated version of passwork powershell new phpversion scriptprocessor "$env\ programfiles\php8 2\php cgi exe" sitename "passwork web site" virtualpath "/" restart the iis web server to activate changes in iis, you must restart the iis web server powershell restart service name "w3svc" passwork update to version 6 5 docid\ jtxqa8355ecj3msn0qrew initial data migration docid\ f0t8dwhkgabf6yezhwrah