diff --git a/gitlab-ci-1.2.yml b/gitlab-ci-1.2.yml
index 0326cf943f6e9a4ea6931ea6ed21fb9b10c81bf1..f7d5af4a0d50b8d66fe1677a29427aad8f257ec5 100644
--- a/gitlab-ci-1.2.yml
+++ b/gitlab-ci-1.2.yml
@@ -448,6 +448,8 @@ library:
     - mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/functional
     - mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/unit
     - chmod -R a+w ${APACHE_DOCUMENT_ROOT}/wp-content/uploads
+    - touch ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
+    - chmod a+w ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
     - echo "End before"
   script:
     - vendor/bin/codecept run --report --steps --xml --html