disable_functions php.ini directive must not be set. System update makes use of functions such as proc_open, exec and others.mysqldump, tar. They will be searched for via the PATH environment variable.app:upgrade command is used to perform database upgrades and complete the update. Maintenance mode is also disabled.php app-manager/artisan app:update
| Option | Description |
|---|---|
--agree-eula |
Explicitly agree to the SupportPro EULA. |
--no-backup |
The command generates a backup before making any changes to the help desk installation files. This can drastically slow down the speed of the command. If you've taken you're own backups, then this option will enable you to skip creating a backup. |
--mysqldump-binary-path |
The command will try to automatically find mysqldump. If it returns an error, you can manually specify the absolute path to mysqldump. For example:
|
--tar-binary-path |
The command will try to automatically find tar. If it returns an error, you can manually specify the absolute path to tar. For example:
|
--force |
Run the command non-interactively; use of the --agree-eula option is also necessary. |
For further assistance, please refer to the help information which can be found by running:
php app-manager/artisan help app:update
[2021-08-24 12:44:02] Checking if the application is able to upgrade...
You have version 3.6.0. Latest version available is 3.7.0.
[2021-08-24 12:44:02] Downloading version 3.7.0 to /tmp/supportpro-krpMCX/helpdesk-3.7.0.tar.gz...
[2021-08-24 12:44:03] Backing up database...
[2021-08-24 12:44:05] The backup was generated at /var/www/html/storage/app/backups/database-2021-08-24-12-44-03.sql.gz
[2021-08-24 12:44:05] Backing up filesystem...
[2021-08-24 12:44:05] Cloning filesystem to temporary path started
[2021-08-24 12:44:05] Creating filesystem skeleton clone
[2021-08-24 12:44:05] Cloning /var/www/html/app
[2021-08-24 12:44:06] Cloning /var/www/html/database
[2021-08-24 12:44:06] Cloning /var/www/html/config
[2021-08-24 12:44:06] Cloning /var/www/html/vendor
[2021-08-24 12:44:08] Cloning /var/www/html/resources
[2021-08-24 12:44:08] Cloning /var/www/html/bootstrap
[2021-08-24 12:44:13] Cloning filesystem completed
[2021-08-24 12:44:13] Backing up /var/www/html/storage/app/backups/filesystem-2021-08-24-12-44-05/...
[2021-08-24 12:44:39] OK (1 backup, 2 checks)
[2021-08-24 12:44:39] The backup was generated at /var/www/html/storage/app/backups/filesystem-2021-08-24-12-44-05.tar.gz
[2021-08-24 12:44:39] Combining backups...
[2021-08-24 12:44:39] The backup was generated at /var/www/html/storage/app/backups/app-2021-08-24-12-44-39.tar.
[2021-08-24 12:44:39] Extracting /tmp/supportpro-krpMCX/helpdesk-3.7.0.tar.gz...
[2021-08-24 12:44:49] Success
+--------------------------------------------+
|
| Upgrade Existing Installation
|
| 3.6.0 -> 3.7.0
|
+--------------------------------------------+
Our Upgrade Guide contains useful information regarding breaking changes and best practices for upgrading:
https://docs.supportpro.com/current/Upgrade+Guide
Please read our software license agreement below. By continuing, you are agreeing to the license.
https://www.supportpro.com/company/eula
Database setup complete.
+--------------------------------------------+
|
| Upgrade Complete
|
+--------------------------------------------+
Article Number: 171
Author: Jul 17, 2024
Last Updated: Jul 17, 2024
Online URL: https://docs.supportpro.vn/article/app-update-command-171.html