Прескочи към главното съдържание
WARNING You're browsing the documentation for an old version of Deskpro. Consider updating to Deskpro Horizon.

Update From Source

в Updating
Списък с автори
Публикувани: 21.03.2017 г.|Последно обновено: 21.12.2023 г.

This page will describe how to manually update DeskPRO source files and run database migrations.

  1. Download a fresh Deskpro distrbution from https://deskpro.github.io/

  2. Before going any further, make sure to back-up the files on your LIVE server.

  3. Extract the zip and upload the contents to your LIVE server

Warning

NOTE: Make sure you do NOT delete/overwrite these directories:

  • attachments/

  • backups/

  • config/

If you are using a file transfer tool (e.g. using an SFTP client), some tools may default to deleting existing directories instead of merging. The directories in the ZIP will be blank, whereas on your LIVE server there will be real production data you want to keep.

  1. Finally, you need to run a database migrations script to update our database with any schema changes required by the new build:

cd /path/to/deskpro /path/to/php bin/console dp:upgrade
copy

Update using custom buildCopy link to Update using custom build to clipboard

There might come a moment when you need to upgrade to a custom Deskpro build.

Warning

Never try to downgrade your version of Deskpro. Your database will become most probably corrupted and unusable.

  1. Download the custom build. Change from 34670 to the desired build number.

bin/console dp:distro:download-build http://site34670.deskprodemo.com/deskpro.zip or bin/console dp:distro:download-build /tmp/my_custom_build_34670.zip
copy
  1. Activate the custom build

bin/console dp:update:activate-build 34670
copy
ПолезноНе беше полезно
следваща страницаTroubleshooting
предишна страницаUpdate Command (CLI)

Моля, логнете се или се регистрирайте, за да оставите коментар.