Update¶
For updating PLOSSYS 5 follow the steps below:
-
Execute version specific steps needed to be done before the respective update as described in the sections below. If no steps are listed continue with the next step.
-
Execute the steps to update the management server and PLOSSYS 5 server separately.
-
Execute version specific steps needed to be done after the update as described in the sections below.
Hint - no Internet access
If the server on which you want to update the components does not have Internet access, use another server with Internet access for logging on to the SEAL Systems delivery platform and downloading the folder and packages. Then, copy the downloaded files to the server on which you want to update.
Update To 5.4.0¶
Notes (5.4.0)¶
Version 5.4.0 of PLOSSYS 5 is a breaking change to previous versions. The SEAL NATS message broker has been introduced to improve the message handling and has to be installed before updating to PLOSSYS 5.4.0.
With PLOSSYS 5.4.0, the MongoDB service has been replaced by a newer incompatible version. Therefore, the data stored in MongoDB has to be exported before the update and imported again after the update. For how to do this, refer to the SEAL-specific MongoDB documentation.
Before the Update (5.4.0)¶
- Stop PLOSSYS 5 due to updating a running system will not work properly.
- Export the data stored in MongoDB, refer to the SEAL-specific MongoDB documentation.
- Update the MongoDB service to the version 4.4.4, refer to the SEAL-specific MongoDB documentation.
- Install the SEAL NATS message broker, refer to the SEAL NATS documentation.
After the Update (5.4.0)¶
- Start PLOSSYS 5.
- Import the MongoDB data exported before, refer to the SEAL-specific MongoDB documentation.
- Add the keys relevant for the
seal-plossys-message-relay
service which is the connection to SEAL NATS. The relevant key is at leastBROKER_SERVERS
. - If you have customized
JOB_MAX_POSTPONED_COUNT
forseal-controller
, use the following steps to savely replace the old key with the new one: - Set the same value with
JOB_MAX_POSTPONED_COUNT
forseal-convert-dispatcher
. - Remove the
JOB_MAX_POSTPONED_COUNT
key forseal-controller
.
Update To 5.3.5¶
Notes (5.3.5)¶
-
With PLOSSYS 5.3.5, the v2 REST routes have been deactivated. Now, only v3 with authentication is supported. For this, easyPRIMA as of version 1.7.0 or version 1.4.0 (development release only) is required. For easyPRIMA 1.3.1, a patch concerning the version change of the REST routes is available.
-
With PLOSSYS 5.3.5, the
JOBNAME
andUSERNAME
parameters are stored in the job asjobName
anduserName
. A compatibility layer is active in the current version, but in a future PLOSSYS 5 version, it will be deactivated. In order that the job and user names are displayed correctly at the printer, which is important especially when using 3rd-party pickup printing systems or secure printing with a PIN, make sure you will soon update to printer templates from March 2022 or later.
After the Update (5.3.5)¶
PLOSSYS 5 versions previous to 5.3.5 opened the firewall ports automatically. However, as the older MSI packages are uninstalled during the update, Windows will automatically close those ports again during the update. Therefore, after updating to PLOSSYS 5.3.5, you have to open the ports with the script. For more information, refer to Open the Firewall Ports.
Update To 5.3.4¶
After the Update (5.3.4)¶
With PLOSSYS 5.3.4, the logs
permission for viewing the log data of jobs and printers has been introduced in the roles configuration in ALLOWED_OIDC_CLIENTS
. If you have solely ALL
permissions configured ("permissions": ["ALL"]
) nothing has to be done, but if you have explicit permissions configured, you have to add the logs
permission in order to allow the users to still view job and printer logs.
Example - configuration with logs
permission for jobs and printers
{
"seal-plossysadmin": {
"roles": {
"superadmin": {
"areas": {
"jobs": {
"set-xyz": {
"views": ["ALL"],
"permissions": ["tempfiles", "move", "pause", "cancel", "repeat", "resume", "delete", "collect", "logs"]
}
},
"printers": {
"set-xyz": {
"views": ["ALL"],
"permissions": ["add", "update", "pause", "redirect", "resume", "createTestJob", "checkPhysical", "logs"]
}
},
"dashboard": {}
}
}
}
}
Update To 5.3.3¶
After the Update (5.3.3)¶
With PLOSSYS 5.3.3, audit data has been introduced. For this, the filebeat.yml
configuration file has been changed. When updating to PLOSSYS 5.3.3, these changes have to be done manually.
-
Open the Filebeat configuration file on the PLOSSYS 5 server:
C:\ProgramData\SEAL Systems\config\filebeat.yml
-
Add the following entry below the
processors
section:- add_fields: when: has_fields: - metadata.audit target: "" fields: indextype: audit - rename: when: has_fields: - metadata.audit fields: - from: metadata.audit to: audit - from: application to: audit.application ignore_missing: true - copy_fields: when: has_fields: - audit fields: - from: timestamp to: audit.timestamp ignore_missing: true - drop_fields: when: has_fields: - audit fields: ["sourcefile", "hostname", "message", "application", "module", "level", "metadata", "agent", "host", "ecs", "processId"] ignore_missing: true
Update To 5.3.2¶
Before the Update (5.3.2)¶
With PLOSSYS 5.3.2, the MongoDB service has been replaced by a newer incompatible version. Therefore, the data stored in MongoDB has to be exported before the update and imported again after the update. For how to do this, refer to the SEAL-specific MongoDB documentation.
After the Update (5.3.2)¶
With PLOSSYS 5.3.2, the service evaluating PRINT_ERROR_SHEET
changed from the seal-dispatcher
to the seal-convert-dispatcher
service. If you have customized PRINT_ERROR_SHEET
for the seal-dispatcher
service, customize it for the seal-convert-dispatcher
service (or for any service).
In PLOSSYS 5.3.0 and with using the seal-dispatcher
service, CONVERT_ON_PRINTER_START
was evaluated by the seal-rest
service, with the version 5.3.2, it is evaluated by the seal-controller
service. If you have customized CONVERT_ON_PRINTER_START
for the seal-rest
service, customize it for the seal-controller
service.
With PLOSSYS 5.3.2, the seal-dispatcher
service has been replaced by other services and has to be removed manually after updating:
- Open the
Apps & Features
system dialog and uninstall theseal-dispatcher
service by selecting the service and clickingUninstall
as described in After the Update (5.2.1).
With PLOSSYS 5.3.2, the MongoDB service has been replaced by a newer incompatible version. Therefore, the MongoDB data exported before updating has to be re-imported. For how to do this, refer to the SEAL-specific MongoDB documentation.
Ensure that all keys required for the cooperation with MongoDB have been specified correctly. For more information, refer to Configure the MongoDB Keys in PLOSSYS 5
With PLOSSYS 5.3.2, the dashboard of PLOSSYS Administrator has been secured. In order that the user can see the dashboard, the dashbord
area has to be specified in the ALLOWED_OIDC_CLIENTS
key. For more information, refer to ALLOWED_OIDC_CLIENTS
.
Example - configuration with all views and all permissions
{
"seal-plossysadmin": {
"roles": {
"superadmin": {
"areas": {
"jobs": {},
"printers": {},
"dashboard": {}
},
"set-all": {
"views": ["ALL"],
"permissions": ["ALL"]
}
}
}
}
Update To 5.3.0¶
Notes (5.3.0)¶
With version 5.3.0, PRINT_ERROR_SHEET
does not work.
After the Update (5.3.0)¶
With PLOSSYS 5.3.0, the seal-controller
service has been introduced which will replace the seal-dispatcher
service in the next version. By default, the seal-dispatcher
service is still used but you can already activate the seal-controller
service by setting JOB_DISPATCHING
to next
.
When using the seal-controller
service and if you have customized the service keys for seal-dispatcher
in your PLOSSYS 5 installation before, you have to repeat the customization for seal-controller
after the update:
-
If you have customized
JOB_MAX_POSTPONED_COUNT
forseal-dispatcher
, set the same value withJOB_MAX_POSTPONED_COUNT
forseal-controller
. -
If you have customized
LOUNGE_TTL
forseal-dispatcher
, set the same value withJOB_RETRY_DELAY
forseal-controller
.
Update To 5.2.1¶
Notes (5.2.1)¶
-
The Consul service has been replaced by a newer incompatible version. Therefore, the system configuration has to be exported before the update and imported again after the update.
-
In MongoDB, a shared replica set has to be configured for the cluster mode and the database has to be initialized for the single server mode. For how to do this, refer to the SEAL-specific MongoDB documentation.
-
Some services have been replaced by other services or have become obsolete and have to be removed manually after updating.
Before the Update (5.2.1)¶
With PLOSSYS 5.2.1, the Consul service has been replaced by a newer incompatible version. Therefore, the system configuration has to be exported before the update and imported again after the update.
-
Save the system configuration:
plossys config export <config_save_filename>
-
Remove the Consul data directory:
C:\ProgramData\SEAL Systems\data\seal-consul
After the Update (5.2.1)¶
With PLOSSYS 5.2.1, the Consul service has been replaced by a newer incompatible version. The system configuration exported before updating has to be re-imported.
-
Import the system configuration exported before:
plossys config import <config_save_filename>
With PLOSSYS 5.2.1, the following services have been replaced by other services or have become obsolete and have to be removed manually after updating:
seal-pdf2ps
seal-pdfstamp
seal-ps2pdf
seal-router
-
seal-sapgof
-
Open the
Apps & Features
system dialog and uninstall the services listed above one by one by selecting the service and clickingUninstall
:
Update To 5.1.0¶
Notes (5.1.0)¶
-
With PLOSSYS 5.1.0, the directory structure of the installation has been changed. Therefore, it is required to execute some manual steps before and after the update.
-
When updating to PLOSSYS 5.1.0 and using easyPRIMA as of version 1.3.1, the
20181204_perl_soap-lite_1.27_part.zip
package has to be installed with easyPRIMA. Otherwise, the export from easyPRIMA to PLOSSYS 5 does not work and the500 SSL negotiation failed
error message is output to the logfile of easyPRIMA (edc.log
).Hint - stop the system
Before installing the
20181204_perl_soap-lite_1.27_part.zip
package, stop the system and all Perl processes completely (sysstop -full
). Otherwise, the Perl environment will break. -
Up to version 5.0.5, an error sheet was output in case of error. As of version 5.1.0, the error sheet is not output by default but can be activated by setting
PRINT_ERROR_SHEET
toY
. ThePRINT_ERROR_SHEET
environment variable is available as of version 5.1.0.
Before the Update (5.1.0)¶
With PLOSSYS 5.1.0, the directory structure of the installation has been changed. Therefore, it is required to execute some manual steps before and after the update.
-
Stop the PLOSSYS 5 system completely:
plossys service stop --full
-
In the Command Prompt (Administrator), copy the following directories to the new locations:
robocopy "%ProgramData%\SEAL Systems\plossys\config" "%ProgramData%\SEAL Systems\config" * /e /b /copyall /fp /ns /nc /np /nfl /ndl
robocopy "%ProgramData%\SEAL Systems\plossys\data" "%ProgramData%\SEAL Systems\data" * /e /b /copyall /fp /ns /nc /np /nfl /ndl
Caution - access rights
Do not copy the directories via Windows Explorer. Use the
robocopy
command in the Command Prompt (Administrator) in order to retain the correct access rights. -
In the Command Prompt (Administrator), save the following configuration files:
rename "%ProgramData%\SEAL Systems\config\mongod.conf" mongod.conf.bak 2>NUL
rename "%ProgramData%\SEAL Systems\config\consul.json" consul.json.bak 2>NUL
rename "%ProgramData%\SEAL Systems\config\filebeat.yml" filebeat.yml.bak 2>NUL
-
When using MongoDB in a cluster, you have to update MongoDB as described in the SEAL-specific MongoDB documentation.
After the Update (5.1.0)¶
With PLOSSYS 5.1.0, the directory structure of the installation has been changed. Therefore, it is required to execute some manual steps before and after the update.
-
Stop the PLOSSYS 5 system completely:
plossys service stop --full
-
In the Command Prompt (Administrator), adjust the following new configuration files according to the settings in the configuration files saved with the
.bak
extension before the update:%ProgramData%\SEAL Systems\config\mongod.conf
%ProgramData%\SEAL Systems\config\consul.json
%ProgramData%\SEAL Systems\config\filebeat.yml
-
When running PLOSSYS 5 in a cluster, edit
%ProgramData%\SEAL Systems\config\mongod.conf
and insert the following line into thenet
section:bindIp: 0.0.0.0
-
In the Command Prompt (Administrator), remove the configuration files saved with the
.bak
extension before the update and the previous installation directory:del /S /Q "%ProgramData%\SEAL Systems\config\mongod.conf.bak"
del /S /Q "%ProgramData%\SEAL Systems\config\consul.json.bak"
del /S /Q "%ProgramData%\SEAL Systems\config\filebeat.yml.bak"
rmdir "%ProgramData%\SEAL Systems\PLOSSYS"
-
plossys service start
Update the Management Server¶
Caution - SEAL Elastic Stack
incompatible to seal-elk
SEAL Elastic Stack
contains the new version of Elasticsearch and Kibana and replaces seal-elk
. Before installing SEAL Elastic Stack
, you have to uninstall seal-elk
!
-
In a browser, log on to the SEAL Systems delivery platform with your logon data:
https://delivery.sealsystems.de
Hint - logon data
You receive the logon data from your Technical Project Manager at SEAL Systems.
-
For updating the server part of SEAL Elastic Stack, refer to the SEAL Elastic Stack documentation.
-
Download seal-bos2gyros-1.0.56.326.msi.
-
Install
seal-bos2gyros-1.0.56.326.msi
. -
For updating easyPRIMA, refer to the easyPRIMA documentation.
Update the PLOSSYS 5 Server¶
-
In the cluster mode, each PLOSSYS 5 server has to be shutdowned gracefully before being updated.
-
In a browser, log on to the SEAL Systems delivery platform with your logon data:
https://delivery.sealsystems.de
Hint - logon data
You receive the logon data from your Technical Project Manager at SEAL Systems.
-
Download the PLOSSYS 5 - 5.4.0.929 - msi folder. It is saved as
PLOSSYS 5 - 5.4.0.929 - msi.zip
. -
Extract the
PLOSSYS 5 - 5.4.0.929 - msi.zip
file. -
Open a PowerShell (Administrator), change to the
PLOSSYS 5 - 5.4.0.929 - msi
directory and start the installation of the packages:cd "PLOSSYS 5 - 5.4.0.929 - msi"
Set-ExecutionPolicy Bypass -Scope Process -Force; .\install.ps1
Hint - specifying privileges explicitly
Unless you have specified the privileges for executing PowerShell scripts globally as described in the requirements for the PLOSSYS 5 server, execute the installation script with the following command:
Set-ExecutionPolicy Bypass -Scope Process -Force; .\install.ps1
-
plossys service start
-
For updating the client part of SEAL Elastic Stack, refer to the SEAL Elastic Stack documentation.