diff --git a/test-and-deploy.yml b/test-and-deploy.yml
index fce1e391fd3b552c9a5495e397c408731b0b5abe..a6095902786c32dc22c1f8d0411a977088fdf19e 100644
--- a/test-and-deploy.yml
+++ b/test-and-deploy.yml
@@ -563,7 +563,7 @@ Debug:
     - mkdir -p /data/${CI_COMMIT_REF_NAME}/files/private
     - mkdir -p /data/${CI_COMMIT_REF_NAME}/files/db
     - mkdir -p /data/${CI_COMMIT_REF_NAME}/redis
-    - if [[ -f nginx/in-vhost.conf ]]; then mkdir -p /data/${CI_COMMIT_REF_NAME}/in/app/public; mkdir -p /data/${CI_COMMIT_REF_NAME}/in/app/storage; chown -R 1500:1500 /data/${CI_COMMIT_REF_NAME}/in; fi
+    - if [[ -f nginx/in-vhost.conf ]]; then mkdir -p /data/${CI_COMMIT_REF_NAME}/in/public; mkdir -p /data/${CI_COMMIT_REF_NAME}/in/storage; chown -R 1500:1500 /data/${CI_COMMIT_REF_NAME}/in/public; chown -R 1500:1500 /data/${CI_COMMIT_REF_NAME}/in/storage; fi
     - cd /data/${CI_COMMIT_REF_NAME}/files/public
     - if [[ ! -L config ]]; then ln -s /var/www/html/config/default config; fi
     - cd -