Title
Create new category
Edit page index title
Edit category
Edit link
Why am I getting a "stat /etc/mdss/docker-compose.onedrive.yml: no such file or directory" error when upgrading MetaDefender Storage Security from 3.6.1 to 4.1.0?
This article applies to MetaDefender Storage Security versions v4.1.0 deployed on Linux systems.
Issue
During an upgrade from MetaDefender Storage Security version 3.6.1 to 4.1.0, you may encounter the following error:

[error] stat /etc/mdss/docker-compose.onedrive.yml: no such file or directory [emergency] Cannot pull containers
This error occurs when the ENABLED_MODULES variable in the configuration file /etc/mdss/customer.env includes the value onedrive, which is no longer valid in version 4.1.0.
Cause
In version 4.1.0, the /etc/mdss/docker-compose.onedrive.yml has been replaced by the /etc/mdss/docker-compose.graph.yml.
The upgrade process expects the updated module name, and referencing onedrive in customer.env causes it to look for a non-existent configuration file (docker-compose.onedrive.yml), resulting in the error.
Resolution
To fix the issue:
- Open the file
/etc/mdss/customer.env. - Locate the line that starts with
ENABLED_MODULES=.

- If
onedriveis listed, replace it withgraph.

Example:
- Before: ENABLED_MODULES=smb,box,onedrive,sftp,nfs,mft,ftp
- After: ENABLED_MODULES=smb,box,graph,sftp,nfs,mft,ftp
- Save the file and re-run the upgrade command:
sudo mdss -u update
If Further Assistance is required, please proceed to log a support case or chatting with our support engineer.