diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f4129f3e2094564f85959686f85516a76cdfef2f..83fd00b94d470417518fc7d7eda4ccf3f6c162a0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,13 +24,13 @@ update(144.76.113.134):
     - scp -P 63824 metager@metager3.de:~/blacklistDomains.txt config/
     - touch storage/logs/laravel.log
     - touch storage/logs/worker.log
+    - touch database/metager.sqlite
     - chmod 777 config/sumas.xml config/sumasEn.xml database/metager.sqlite
     - chmod -R 777 storage
     - chmod -R 777 bootstrap/cache
     - npm install
-    - ./gulpbuild.sh
-    - touch database/metager.sqlite
     - php artisan migrate --force
+    - ./gulpbuild.sh
     - if [ -f ~/MetaGer/artisan ]; then php ~/MetaGer/artisan down;fi
     - cd ~/
     - while [ -d ~/MetaGer ]; do rm -rf ~/MetaGer;done
@@ -64,13 +64,13 @@ update(metager2):
     - scp -P 63824 metager@metager3.de:~/blacklistDomains.txt config/
     - touch storage/logs/laravel.log
     - touch storage/logs/worker.log
+    - touch database/metager.sqlite
     - chmod 777 config/sumas.xml config/sumasEn.xml database/metager.sqlite
     - chmod -R 777 storage
     - chmod -R 777 bootstrap/cache
     - npm install
-    - ./gulpbuild.sh
-    - touch database/metager.sqlite
     - php artisan migrate --force
+    - ./gulpbuild.sh
     - if [ -f ~/MetaGer/artisan ]; then php ~/MetaGer/artisan down;fi
     - cd ~/
     - while [ -d ~/MetaGer ]; do rm -rf ~/MetaGer;done
@@ -104,13 +104,13 @@ update(metager3.de):
     - scp -P 63824 metager@metager3.de:~/blacklistDomains.txt config/
     - touch storage/logs/laravel.log
     - touch storage/logs/worker.log
+    - touch database/metager.sqlite
     - chmod 777 config/sumas.xml config/sumasEn.xml database/metager.sqlite
     - chmod -R 777 storage
     - chmod -R 777 bootstrap/cache
     - npm install
-    - ./gulpbuild.sh
-    - touch database/metager.sqlite
     - php artisan migrate --force
+    - ./gulpbuild.sh
     - if [ -f ~/MetaGer/artisan ]; then php ~/MetaGer/artisan down;fi
     - cd ~/
     - while [ -d ~/MetaGer ]; do rm -rf ~/MetaGer;done