Updating File Scanner¶
The file scanner (FS) package is not included in the main server repository.
To ensure proper system operation, be sure to update this component separately, after updating the server.
To check the current FS version, run the following from the server command line:
apt list | grep -i 'file-scanner'
Update¶
Stop Staffcop operations:
sudo staffcop stop
Check the file parsing queue:
sudo du -h /var/lib/etl/scanner_queue/QUEUED_REPORTS
If the folder isn’t empty, wait for the running ETL process to process and delete files from it. Repeat the command to monitor the amount of files remaining.
Warning
Do not run the FS update until the folder is empty. Otherwise, the update will not be able to proceed correctly. If you encounter any issues, please contact technical support.
Stop the file scanner:
sudo file-scanner stop
Start Staffcop:
sudo staffcop start
Download the latest version of the file system from the server command line:
Ubuntu:
wget https://distr.staffcop.su/file-scanner/ubuntu-22.04/file-scanner-0.1.4-2-ubuntu-22.04.deb
Run the installation:
sudo dpkg -i file-scanner.deb
Note
If the file volume is large, the operation may take a long time.
Verify that the version has been updated and the service is running:
apt list | grep -i 'file-scanner'
sudo systemctl status file-scanner
If necessary, start the service manually:
sudo file-scanner start
If the file scanner web interface works properly, the update was successful.
Note
If you encounter any issues, please contact technical support.
Last Updated: 14.07.26