• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Resolved Run additional commands composer

Sidimar Carniel

New Pleskian
To install all modules necessary for project is necessary in Websites & Domains > Applications > Manage My Applications > click the application name in the list > Install Dependencies.
As result is:
...
Generating autoload files
> php artisan clear-compiled
> php artisan optimize

After this, is necessary execute additional commands like:
php artisan db:seed --class=delete_tables
php artisan migrate

How is possible pass these commands to run?
 
If you have an SSH access you can do it in the command line.
There is one more trick. You can utilize Scheduled Tasks functionality without creation of the scheduled task :) Go to Websites & Domains -> Scheduled Tasks -> Add Task. Enter the command and click "Run Now" button.
 
Also you can use these commands for Event Manager for event "Web application installed" or "Web application reconfigured".
 
Back
Top