The second method is to use your existing server, but re-configure the necessary components to support the new version of Deskpro. This will involve updating server software and changing web server configuration.
Download DeskPRO from https://www.deskpro.com/deskpro.zip
Extract the Zip and upload it somewhere on your server. Keep the absolute path of the files handy; the next section will walk you through configuring your web server.
Extract to a NEW directory on your server. Do NOT extract to your existing DeskPRO directory.
IMPORTANT: The older Deskpro #443 does NOT support PHP7. This means that when you update your server with a new version of PHP, your live helpdesk will stop working. So you should only start this process when you are sure you are ready to move to the new system. If you want to test the new system before comitting to it, we recommend you Upgrade via New Install instead.
Refer to the guide for your web server.
Going forward, we will refer to two directory
OLD_deskpro which is your current installation, and
NEW_deskpro, which is the path of the NEW Deskpro files.
The idea here is that you are leaving your old installation in place; those files are not being deleted or touched at all. After you are fully moved over to the new version you can delete them if you wish.
Make sure that your web server can write to the
var/ directory and all sub-directories.
Windows users, you may need to manually change permissions yourself. See:https://technet.microsoft.com/en-us/library/cc754344(v=ws.11).aspx
New configuration files are used with the new version. Use the following command to generate a set of new config files:
cd /path/to/NEW_deskpro /path/to/php bin/console install:fresh-config
cd "C:\path\to\NEW_deskpro\" "C:\path\to\php.exe" bin\console install:fresh-config
After config files are generated, you need to manually edit two files:
config/config.database.php- Enter your database details in here
config/config.paths.php- Enter paths to php, mysql and mysqldump here
Finally, if you have a data/encryption-key.bin file on your old server, copy it to the config/ directory.
If you have blobs stored in the filesystem, you will need to move them to the new Deskpro directory:
mv /path/to/OLD_deskpro/data/files/* /path/to/NEW_deskpro/attachments
move "C:\path\to\OLD_deskpro\data\files\*" "C:\path\to\NEW_deskpro\attachments"
Now you must update your database for the new version. Before you do this make sure you have made a database backup! If you don’t make a backup and there is a problem during the upgrade, there is NO WAY to reverse it. Make a backup.
From the command-line, run the upgrader script:
cd /path/to/NEW_deskpro bin/console dp:upgrade
cd "C:\path\to\NEW_deskpro" "C:\path\to\php.exe" bin\console dp:upgrade
Depending on the size of your database, this may take a long time. The process is completely automated and can be left unattended.
Update the path in your cron/scheduled task. For example, the paths become:
Now you’re all done! You can re-enable your helpdesk from Admin > Setup > Settings.