Note: This page applies to SFTP Gateway version 2.x. Visit Here for documentation on version 3.x.
The movetos3.log file is located here:
This file logs output of the incron service, which listens for file events.
The uploads folder (and its subfolders) are monitored by the incron service. File events such as
IN_CLOSE_WRITE trigger the
movetos3 script, which moves files to Blob storage.
If files are getting stuck in the
uploads directory, tail the log file:
sudo su tail -f /var/log/sftpgw/movetos3.log
Then, create a test file in an SFTP user's
cd /home/robtest/home/robtest/uploads/ touch test.txt
If there is no log output at all, try re-registering the SFTP user's uploads folder in incron:
Or try restarting the incron service:
service incrond restart
If you do see log output, see if there are any errors which might give a clue as to what's happening on the server side. For example, the Azure Blob container might not exist.