Unable to upload files after moving /vashare

  • 7024546
  • 07-Apr-2020
  • 07-Apr-2020

Environment

Filr 4
XEN Virtualization Hypervisor
NFS Exported Mount Point from SLES 12 SP1

Situation

After moving the NFS exported mount point from one SLES 12 SP1 server to another, users were no longer able to upload files to their Filr Home Folders.

The /var/opt/novell/tomcat-filr/logs/appserver.log will display I/O errors such as:

2020-04-04 12:59:32,213 ERROR [http-apr-8443-exec-9] [kablink] [org.kablink.teaming.gwt.server.util.GwtNetFolderHelper] - Error modifying net folder root: ensaf8.abcde.fg-ENSAF8
org.kablink.teaming.UncheckedIOException: I/O error: Could not set the last-modified time of the file [/vashare/filr/conf/rdcc-4] to 1586026772198

Resolution

After copying Filr data to the new server, ensure that the owner for files is set to "wwwrun", and the group is set to "www". This can be accomplished using the command "chown -R wwwrun:www filr" from the root of /vashare

The ownership should look similar to:

Filr41-Node1:/vashare # ls -al
total 4
drwxr-xr-x  1 root   root    8 Dec 21 14:50 .
drwxr-xr-x 25 root   root 4096 Dec 21 14:52 ..
drwxr-xr-x  1 wwwrun www   134 Dec 22 14:58 filr

Filr41-Node1:/vashare/filr # ls -al
total 0
drwxr-xr-x 1 wwwrun www  134 Dec 22 14:58 .
drwxr-xr-x 1 root   root   8 Dec 21 14:50 ..
drwxr-xr-x 1 wwwrun www   14 Dec 21 17:48 cachefilestore
drwxr-xr-x 1 wwwrun www   96 Dec 21 15:11 conf
drwxr-xr-x 1 wwwrun www   14 Dec 21 15:00 extensions
drwxr-xr-x 1 wwwrun www   14 Dec 21 17:48 filerepository
drwxr-xr-x 1 wwwrun www   14 Dec 22 14:58 siteBranding
drwxr-xr-x 1 wwwrun www   52 Dec 22 14:58 telemetry
drwxr-xr-x 1 wwwrun www   40 Jan 16 08:29 temp

Cause

Filr uses the wwwrun user to create cache files. If this user is not the file's owner, it does not have rights to write to the file system, resulting in the I/O errors seen in the appserver.log.