SolusVM 'Cannot change to source directory' error generally happens when the FTP destination directory is wrong in AutoFTP backup settings.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform related SolusVM queries.
In this context, we shall look into how we can fix this SolusVM error quickly.
SolusVM is known for its built-in feature to take regular snapshots of virtual servers. These Snapshots act exactly as a restore point in the Windows PC.
For instance, the software can take an image of the VPS server whilst it is still online then store that image in a separate location.
With the AutoFTP restore commands, we can always restore the SolusVM AutoFTP backups from the command line.
However, it is not a success every time. We have customers who were unable to run the SolusVM AutoFTP backup.
The log page in the SolusVM > Nodes > the_node > Auto FTP Backup > Log may show the error below:
Cannot change to source directory
In order to fix this error easily, we change the FTP destination directory in the AutoFTP backup settings.
To do so, we follow the below steps:
This article covers how to fix SolusVM 'Cannot change to source directory' error which happens when the FTP destination directory is wrong in AutoFTP backup settings. It can also be caused as a result of Permissions / ownership of /usr/local/solusvm/tmp/ directory on source and target servers are incorrect.
To fix SolusVM not accessible: No such file or directory error, Set correct ownership and permissions:
$ chown solusvm:solusvm /usr/local/solusvm/tmp/ && chmod 755 /usr/local/solusvm/tmp/