Updating to FileRun 2026.1
The tasks to do before and after applying the FileRun 2026.1.0 update: the database server, the Docker image, the NGINX configuration, the PHP and ionCube versions, the cron jobs and the settings that need a change. The changes of the version are listed on FileRun 2026.1.0.
1. Things you need to do before updating
- Make a full backup of your installation. This will allow you to restore the installation to the previously working state in case something goes wrong. Ignore this at your own risk.
- Make sure you are using
MySQL 8.4or higher, orMariaDB 10.11or higher. FileRun will no longer work with versions older than that. See below for a tip on how to update the database server. - Archive the user activity logs if you wish to keep a copy of the old entries. This update will completely remove them.
- Install this update outside working hours: File uploads that have been started before installing this update will not be able to resume after the update, and they will restart from the beginning.
- Run the queued e-mail notifications. E-mail notifications will not be sent for user activity performed before installing this update, so make sure you run the notifications before installing the update, if any are queued. You can do so by clicking the button
Manually run notifications nowunder theE-mailcontrol panel section, or by running the command line script for sending notifications (see this documentation page). - Write down the FileRun license key. You can find it under the
FileRuncontrol panel section or get it from your FileRun client account. - If you encounter database errors during the update, try to restart/reboot your MySQL/MariaDB server/container and then try the update again. The reason why this works is that this update converts the database engine used in some of FileRun tables.
For users of the official FileRun Docker image:
- Update the database server:
Update
MariaDB
- Replace the server with version
10.11or higher. We recommend you to use the latest version.- When using Docker, you can start the container with
MARIADB_AUTO_UPGRADE=1- Or upgrade the databases by running
mysql_upgrade.
Update
MySQL
- Replace the server with version
8.4or higher. We recommend you to use the latest version.- Then upgrade the databases by running
mysql_upgrade.
- Install the FileRun update from the FileRun control panel.
- Replace the Docker image with
filerun/filerun - Restart the container.
If you are running NGINX
Make sure that your configuration location ~ \.php$ is updated to the regex version location ~ ^(.+\.php)(.*)$ which allows URLs like /index.php/sub/path. This regex captures both the PHP file and the PATH_INFO portion.
- Make sure your location block contains the following two lines:
1fastcgi_split_path_info ^(.+\.php)(.*)$; 2fastcgi_param PATH_INFO $fastcgi_path_info;
Without this, the new FileRun version will not function at all.
2. Things you need to do after updating
- Make sure PHP is version
8.2,8.3or8.4(recommended). - Make sure the PHP extension ionCube loader is version
14.4or higher (15.0recommended). Guide here. - If you are using a third-party OAuth2-based authentication, you will need to update the SSO redirect URL to
https://FILERUN/index.php/app/Core/auth/!public/sso. You will find your precise URL under theAuthenticationcontrol panel section. - Configure your HTTP server to block access to
.phpfiles inside the/appsfolder. FileRun applies a.htaccessfile for Apache and aweb.configfile for ISS. For NGINX, see the file/apps/security.nginxon suggested configuration that you will need to set in your NGINX configuration.- Test to make sure
.phpfiles are not accessible via the web server.
- Test to make sure
- Configure your HTTP server to block access to the folder
/system. FileRun applies a.htaccessfile for Apache and aweb.configfile for ISS. For NGINX, see the file/apps/security.nginxon suggested configuration that you will need to set in your NGINX configuration.- Test to make sure the folder is not accessible via the web server.
- If you are using the official FileRun Docker image, you will need to update the
Path to LibreOffice binarytosoffice. The setting can be found under theThumbnails and previewcontrol panel section. The manual change is required because the new docker image comes with a newer LibreOffice version. - If you are not using the official FileRun Docker image, you need to manually configure these cron jobs:
cron/email_notifications.php(as often as you need), for sending e-mail notifications. (For avoiding slowing down or breaking the user experience, notifications can no longer be sent in real-time.) More details here.cron/every5minutes.phpevery 5 minutes. It clears inactive sessions.cron/everyMinute.phpevery minute. It imports metadata from new files and sets files types (for filtering and searching).cron/daily.php(once a day). It deactivates expired and inactive user accounts, and deletes guest accounts that have no shares anymore. It archives old log entries. It keeps the FileRun's database clean.
- Review your theme customizations. Changes have been made to the theme, so unless you have made extensive customizations, it is recommended to press the
Reset all to defaultbutton underInterface → Branding → Themescontrol panel section, and then reapply the color theme of your choice. - If you are using the
ONLYOFFICEplugin: You will need to enableWOPIin yourONLYOFFICE DocumentServer: see https://api.onlyoffice.com/docs/docs-api/more-information/faq/using-wopi/ and https://api.onlyoffice.com/docs/docs-api/using-wopi/overview/#enabling-wopi - If you use the plugin
Google Editor: TheAuthorized redirect URIfor GoogleOAuth 2.0 Client IDschanged and needs to be updated. See this page. - If you have any custom event script, know that the new FileRun version will run these only for events defined by
$config['system']['custom_event_scripts'] = [];insidecustomizables/config.php. - If the logo URL was set with a relative URL, you will need to adjust it to use an absolute URL. For the FileRun logo, just type
FileRun(case-sensitive) in the URL fields. - To customize the favicons, please see this page.