• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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