I was trying to update my gateway from version 10.0 to version 10.1 at this point we run this gateway in just one node and the databases is embedded,
sspc_0_0.log shows error,
2022-11-14T10:01:24.228-0300 INFO 107846 com.l7tech.server.processcontroller.patching.PatchServiceApiImpl: Output from patch install: rm: cannot remove ‘/opt/SecureSpan/Platform/data/cache’: Directory not empty
2022-11-14T10:01:24.237-0300 INFO 107846 com.l7tech.server.processcontroller.patching.PatchServiceApiImpl: Output from patch install: error: %preun(ssg-platform-1.9.00-594.noarch) scriptlet failed, exit status 1
Release :
# ls -alR /opt/SecureSpan/Platform/data/cache
Showed bundle files in this directory. Removing data underneath /cache and re-applying the failed platform patch allowed installation to succeed.