Yes I also tried to script already.
[Expert@Management:0]# /opt/CPsuite-R81.10/fw1/webconsole/docker_reconf.sh
MWC reconf has been successful
[Expert@Management:0]# /opt/CPsuite-R81.10/fw1/webconsole/mwc.sh -d restart
Stopping WSC services...
No process to kill
Docker daemon is currently running, PID 28475...
stopping mwc container...
mwc
removing mwc container...
mwc
removing mwc image...
Untagged: mwc:latest Deleted: sha256:e519b6a4100d7158e61c1832601e7652a0a1dbb5419a106b93ca0cb114c77d55 Deleted: sha256:33560bf797a37c1ea8c239c6e34a21e78311ee4f6aa796901bb35d2f161f5406 Deleted: sha256:d7ddd7a50b0a9960ddb696be5f467568a36c54d78ce7da6c1c74880ce86bd0e5
WSC services stopped successfully
Starting WSC services...
Copying crs MGMT file to docker storage
Configuring management api
Docker daemon is currently running, PID 28475...
Giving permission to user 1000 for edit WSC storage folder
loading docker image: /opt/CPsuite-R81.10/fw1/webconsole/mwc.tgz
Loaded image: mwc:latest
removing mwc container...
No container to remove
starting container
0c9ee700f8c7726d3f38c4b0d6ca3c0cfead9fe577440a3d16c7cb51bdf1886d
Enable GUI clients
MWC reconf has been successful
WSC services started successfully. Login to https://MY.IP/smartconsole
[Expert@Management:0]# docker logs mwc
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
}
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
}
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
}
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
}
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
}
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
}
Error reading file EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
node:fs:594
handleErrorFromBinding(ctx);
^
Error: EACCES: permission denied, open '/app/storage/crs_MGMT.xml'
at Object.openSync (node:fs:594:3)
at Object.readFileSync (node:fs:462:35)
at readRelativeFile$1 (file:///app/dist/index.mjs:3736:22)
at readStorageFile$5 (file:///app/dist/index.mjs:3821:9)
at Object.234 (file:///app/dist/index.mjs:3833:18)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at Object.47096 (file:///app/dist/index.mjs:129692:12)
at __webpack_require__ (file:///app/dist/index.mjs:132470:41)
at file:///app/dist/index.mjs:132557:36
at ModuleJob.run (node:internal/modules/esm/module_job:193:25) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/app/storage/crs_MGMT.xml'
}
[Expert@Management:0]#