Symptoms
The following error appears on attempt to upload a Custom Logo for a brand in System > Settings > Brands > Some Brand > Edit (button) > Custom Logo
:
Can't read data
pui.log
entry:
DEBUG c.p.p.c.e.b.BrandingWizardDataHelperImpl - BRAND logoItem=org.apache.turbine.util.upload.FileItem@32d03d18
DEBUG c.p.p.c.e.b.BrandingWizardDataHelperImpl - BRAND returning=false
The file used conforms the logo requirements.
Cause
Insufficient permissions assigned to a JVM temporary data directory on OA UI node. This directory is used to store uploaded files cache data.
Resolution
Perform the following steps on OA UI node.
Obtain the directory which is used for cache data storage:
pidof java
jinfo [java pid here] | grep "java.io.tmpdir"
Check the jboss
user (java process is running under) has write permissions to the directory obtained. It is /tmp
usually.
Request #POA-115000: "Generic I\O error in the BrandingWizardDataHelperImpl.java" has been addressed to Odin Development team in order to improve error reporting for similar cases.