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

  1. Stop all running scan tasks.

  2. Stop Staffcop operations:

sudo staffcop stop
  1. 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.

  1. Stop the file scanner:

sudo file-scanner stop
  1. Update the Staffcop server to the latest version

  2. Start Staffcop:

sudo staffcop start
  1. 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
  1. Run the installation:

sudo dpkg -i file-scanner.deb

Note

If the file volume is large, the operation may take a long time.

  1. Verify that the version has been updated and the service is running:

apt list | grep -i 'file-scanner'
sudo systemctl status file-scanner
  1. 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