The problem here is that
storage_path includes the
config.php file path, and it's not going to load the default config first, where it sees there is another
storage_path, and then try to load another config file instead. This is a logical issue, and the
storage_path therefore needs to be assigned before config is loaded.
To solve this, create a file
_filesconfig.php in the root alongside
'storage_path' => '/mnt/sda1',
With the above, it will first assign the correct
storage_path where it attempts to load (or create)
/mnt/sda1/config/config.php, and all your storage will be stored under
_filesconfig.php is basically a config override, and the minimum requirement when pointing to a different storage location, as it needs to set the
storage_path before it can know where config.php is located. We can't load config first from one storage location, and then change to another storage location ... That would mean you have some stuff stored in original location and some stuff stored in custom storage location.