Problems with deploying Rasa X on Server

Hi,

I have been facing an issue with deploying Rasa X on a server these past days. I am following the Quick Installation described on the [Deploy to Server ](https://rasa.com/docs/rasa-x/deploy/#quick-installation) tutorial on a my local VM (using Ubuntu 18.04). Based on previously posted issues, I have used the  `https://storage.googleapis.com/rasa-x-releases/0.22.2/install.sh`  installation for this (pinned version).

I am able to connect to the Rasa X UI through the provided public IP address and can upload models using the  `sudo curl  -k -F "model=@my_model.tar.gz" http://127.0.0.1/api/projects/default/models?api_token=50e97c8de8232c6a9af7e84f082020ee3d173796  -v -i`  command.
After I run this command  I get a error.
Warning: setting file my_model.tar.gz  failed!
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
> POST /api/projects/default/models?api_token=50e97c8de8232c6a9af7e84f082020ee3d173796 HTTP/1.1
> Host: 127.0.0.1
> User-Agent: curl/7.58.0
> Accept: */*
> Transfer-Encoding: chunked
> Content-Type: multipart/form-data; boundary=------------------------f19d9c5a28828777
> Expect: 100-continue
> 
< HTTP/1.1 100 Continue
HTTP/1.1 100 Continue

* read function returned funny value
* stopped the pause stream!
* Closing connection 0
curl: (26) read function returned funny value

my docker information is as follows:
base) pentian@pentian-virtual-machine:/etc/rasa$ sudo docker ps
[sudo] password for pentian: 
CONTAINER ID        IMAGE                       COMMAND                  CREATED             STATUS              PORTS                                         NAMES
d644932f2c2b        rasa/logger:0.22.2          "/bin/sh -c 'docker-…"   22 minutes ago      Up 22 minutes                                                     rasa_logger_1
ed8e47920469        rasa/nginx:0.22.2           "/opt/bitnami/entryp…"   22 minutes ago      Up 22 minutes       0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp   rasa_nginx_1
d61afa1ea355        rasa/rasa-x-demo:0.22.0     "./entrypoint.sh run…"   22 minutes ago      Up 22 minutes       5055/tcp                                      rasa_app_1
73194ee390c0        rasa/rasa:1.4.2-full        "rasa x --no-prompt …"   22 minutes ago      Up 22 minutes       5005/tcp                                      rasa_rasa-worker_1
73b6a2e22468        rasa/rasa:1.4.2-full        "rasa x --no-prompt …"   22 minutes ago      Up 22 minutes       5005/tcp                                      rasa_rasa-production_1
4f6f8f6a6355        rasa/rasa-x:0.22.2          "python -m rasax.com…"   22 minutes ago      Up 22 minutes       5002/tcp                                      rasa_rasa-x_1
1830184bfa12        bitnami/rabbitmq:3.7.17     "/entrypoint.sh /run…"   23 minutes ago      Up 22 minutes       4369/tcp, 5672/tcp, 15672/tcp, 25672/tcp      rasa_rabbit_1
38fcd3a2e34f        rasa/duckling:latest        "duckling-example-ex…"   23 minutes ago      Up 22 minutes       8000/tcp                                      rasa_duckling_1
1872d79af474        bitnami/postgresql:11.2.0   "/entrypoint.sh /run…"   23 minutes ago      Up 22 minutes       5432/tcp                                      rasa_db_1
764e8a465c22        bitnami/redis:5.0.5         "/entrypoint.sh /run…"   23 minutes ago      Up 22 minutes       0.0.0.0:6379->6379/tcp                        rasa_redis_1


Any help would be greatly appreciated as I’m quite new to this and have no experience with debug rasa.

Thanks so much!

most likely there is a problem with volumes / disk not being accessible in the VM. May I ask why you’re running in server mode on your local machine? Rasa X can be run locally and the feature set for local mode makes more sense if you’re running that way.