Mounting a volume on rasa x

Hi :blush:
I’m working on rasa x trying to deploy it on a server.
Right now it is running on a VM in azure. I tryed to mount a volume on models folder (so that I can access it from others resources) and it loads the models (that are in the volume) in rasa x in the right way.
The problem is that when I train a new one from rasa x interface it always gave me “Training failed”.
The strange things is that if I look inside my volume I can find the new model (so the training hasn’t failed?) but I cannot find it in rasa x interface.
I had a look at the logs of rasa x:

[2021-04-21 08:00:48 +0000] [28] [ERROR] Exception occurred while handling uri: 'http://<ip>/api/projects/default/models/jobs'
rasa-x_1           | Traceback (most recent call last):
rasa-x_1           |   File "/usr/lib/python3.8/shutil.py", line 788, in move
rasa-x_1           |     os.rename(src, real_dst)
rasa-x_1           | OSError: [Errno 18] Invalid cross-device link: '/tmp/tmpv_d1dlkx' -> '/app/models/20210421-075930.tar.gz'
rasa-x_1           |
rasa-x_1           | During handling of the above exception, another exception occurred:
rasa-x_1           |
rasa-x_1           | Traceback (most recent call last):
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/sanic/app.py", line 973, in handle_request
rasa-x_1           |     response = await response
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/rasax/community/api/decorators.py", line 216, in decorated_function
rasa-x_1           |     return await await_and_return_response(args, kwargs, request)
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/rasax/community/api/decorators.py", line 146, in await_and_return_response
rasa-x_1           |     response = await response
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/rasax/community/api/decorators.py", line 53, in decorated_function
rasa-x_1           |     return await f(request, user=user, *args, **kwargs)
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/rasax/community/api/blueprints/models.py", line 214, in train_model
rasa-x_1           |     model_name = await _model_service(request).save_trained_model(
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/rasax/community/services/model_service.py", line 250, in save_trained_model
rasa-x_1           |     model_path = self._store_trained_model_on_disk(content)
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/rasax/community/services/model_service.py", line 268, in _store_trained_model_on_disk
rasa-x_1           |     return self._store_zipped_model(
rasa-x_1           |   File "/usr/local/lib/python3.8/dist-packages/rasax/community/services/model_service.py", line 391, in _store_zipped_model
rasa-x_1           |     shutil.move(file_path, zpath)
rasa-x_1           |   File "/usr/lib/python3.8/shutil.py", line 802, in move
rasa-x_1           |     copy_function(src, real_dst)
rasa-x_1           |   File "/usr/lib/python3.8/shutil.py", line 433, in copy2
rasa-x_1           |     copystat(src, dst, follow_symlinks=follow_symlinks)
rasa-x_1           |   File "/usr/lib/python3.8/shutil.py", line 372, in copystat
rasa-x_1           |     lookup("utime")(dst, ns=(st.st_atime_ns, st.st_mtime_ns),
rasa-x_1           | PermissionError: [Errno 1] Operation not permitted

It seems to be a problem of permission with the volume I have mounted but I wasn’t able to solve. Can anyone help me with this?

Any update regarding this? I’m facing the same issue