• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question plesk git deploy gives artisan error

mudassar

Basic Pleskian
Server operating system version
ubuntu 22
Plesk version and microupdate number
obsidian 18.0.47
I have just about managed to mess around and deploy a laravel project on my ubuntu plesk server. I tried using composer etc via plesk panel but it was just failing at a million different places.
It doesnt help that the dev has left and made such a messy system. 2 different websites, Nuxt SPA's pulling info from laravel API's and all god knows what. Trying to set it up so they talk to each other has been a nightmare for a layman like me.

I used plesk git to pull the repo and then finalized the installation via CLI. Everything is finally working, but when I go to pull another branch via plesk, I get the error:
Switching the application to maintenance mode
Execution /opt/plesk/php/7.4/bin/php has failed with exit code 1, stdout: Could not open input file: artisan
, stderr:.
Firstly, I already put the project into maintenance mode. Secondly, why is this happening and how do i fix it? :-/
 
The error is related to a Laravel configuration issue, but it is very hard to tell what exactly is happening. I think that probably the path to the Laravel project is wrong. There are some discussions on similar issues on the Internet like
that basically all point to the same reason.
 
The error is related to a Laravel configuration issue, but it is very hard to tell what exactly is happening. I think that probably the path to the Laravel project is wrong. There are some discussions on similar issues on the Internet like
that basically all point to the same reason.

The whole project works fine though. Through CLI I can run everything, all Artisan and composer commands. It is only via plesk git pull when I get this error.
 
Back
Top