Skip to content

Preserving your customizations during upgrades ​

An update of the S-Filer Portal gateway replaces the directory containing the web interface file structure (.../sfiler-gateway/gateway/webapps). The themes directory — which contains the logos, CSS files, login page messages, and license and acknowledgment pages described in this section — is located under this structure. Before replacing it, the installer backs up the previous directory under the name webapps.backup.

shell
drwxrwxr-x. 9 root root 4096 Nov 30 17:17 .
drwxrwxr-x. 6 root root 132 Nov 1 13:25 ..
drwxrwxr-x. 2 root root 4096 Nov 1 13:26 conf
drwxrwxr-x. 2 root root 93 Mar 15 2021 etc
drwxrwxr-x. 3 root root 8192 Nov 1 13:26 lib
drwxr-xr-x. 2 root root 59 Nov 1 13:50 logs
-rwxrwxr-x. 1 root root 1214 Sep 16 13:30 sfiler.bat
-rwxrwxr-x. 1 root root 554 Dec 1 2023 sfiler-config-cli.bat
-rwxrwxr-x. 1 root root 424 Jan 14 2021 sfiler-config-cli.sh
-rw-r--r--. 1 root root 6 Nov 30 17:17 sfiler-gateway.pid
-rwxrwxr-x. 1 root root 14569 Sep 16 13:30 sfiler.sh
-rwxrwxr-x. 1 root root 1421 Sep 16 13:30 start.bat
drwxr-xr-x. 2 root root 6 Mar 16 2021 tmp
drwxrwxr-x. 4 root root 43 Nov 1 13:26 webapps
drwxrwxr-x. 4 root root 43 Mar 21 2021 webapps.backup
-rwxrwxr-x. 1 root root 111027 Sep 16 09:30 wrapper
-rwxrwxr-x. 1 root root 233984 Sep 16 13:30 wrapper.exe

Your own themes are carried over automatically ​

Once the new version is in place, the installer copies each theme folder found in webapps.backup/sfiler-gui-ajax/themes into the new webapps/sfiler-gui-ajax/themes folder. Your own themes, created as described in Creating your own theme, are therefore available after the update without any manual step. A theme folder is copied only when the new version does not already contain a folder with the same name.

The sfiler and commons themes are replaced ​

The sfiler and commons themes are not copied from the backup: they are replaced by the versions delivered with the update. Any change made directly in these two themes is lost; the modified files remain available only in the webapps.backup directory. This is why every customization must be made in a copy of the sfiler theme with its own name, never in the sfiler theme itself.

Please note that if we make any changes to the way themes work, we'll announce them in the S-Filer Portal release notes.

Warning

The text overrides described in Overriding the texts of the interface are stored in the database and are therefore not affected by an update of the web interface files.