跳到主要内容
WARNING You're browsing the documentation for an old version of Deskpro. Consider updating to Deskpro Horizon.

Update From Source

在 Updating 中
作者列表
已发布: 2017年3月21日|最后更新: 2023年12月21日

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)

请登录或注册以提交评论。