Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

GodziLaravel's avatar

GitLab - ERROR: Job failed: custom executor is missing RunExec

I configured my CI/CD on gitlab, the configuration on the server seems okay I had no errors during the installation.

Now when I go to CI/CD I see the Status is failed ! Then when I click on Failed button I see :

build                            test                            deploy
(X) building                  >> testing                       >>deploying

Building has an error (X) , then by clicking on that icon (X) :

Running with gitlab-runner 15.9.1 (d540b510)
  on runner for my project osCzbG4D, system ID: s_e85d748d31c7
Preparing the "custom" executor
00:00
WARNING: custom executor is missing RunExec
ERROR: Job failed: custom executor is missing RunExec

I really dont know if this error is coming from the configuration during the installation or from my .gitlab-ci.yml

.gitlab-ci.yml:

before_script:
  - echo "Before script"
  - cd /var/www/click #your project path
building:
  stage: build
  script:
    - git reset --hard
    - git pull origin develop
    - composer install
    - cp .env.example .env
    - php artisan key:generate
    - php artisan migrate
    - php artisan db:seed --class=Pixe
    - php artisan db:seed --class=icon_detailsSeeder
    - php artisan cache:clear
    - php artisan config:clear
    - php artisan storage:link
    - sudo chown -R deployer:www-data /var/www/click/
    - find /var/www/click/ -type f -exec chmod 664 {} \;
    - find /var/www/click/ -type d -exec chmod 775 {} \;
    - chgrp -R www-data storage bootstrap/cache
    - chmod -R ug+rwx storage bootstrap/cache
testing:
  stage: test
  script:
    - php ./vendor/bin/phpunit
deploying:
  stage: deploy
  script:
    - echo "Deployed"
    - php artisan queue:restart #if you use queue

Any idea ?

0 likes
1 reply

Please or to participate in this conversation.