How to upgrade UVdesk!



  • How to upgrade?

    If you want to update your old version to the latest one.

    You need to update all dependent bundles of this project by running below commands.

    composer update uvdesk/core-framework
    
    composer update uvdesk/support-center-bundle
    
    composer update uvdesk/mailbox-component
    
    composer update uvdesk/automation-bundle
    
    composer update uvdesk/extension-framework
    

    Note: Before running above command take a backup of swiftmailer.yaml, uvdesk_mailbox.yaml, uvdesk.yaml translation.yaml (You will find these files under config->packages of your project).

    services.yaml under config folder of your project should be backup too for have the default native language links in sent emails.

    If you don't want to set your site_url, swiftmailer, mailbox, translation again.

    If you are updating from the zip file you need also backup public folder.
    A full UVdesk root folder and database backup is always suggested.


    OR


    You can simply create a new project by this command it will always install the latest version of the project:

    composer create-project uvdesk/community-skeleton helpdesk-project

    For a better security save a backup also of your database.

    At the end of the update you should need to run php bin/console c:c inside the root uvdesk directory

    If you are updating from the zip file you need also backup public folder. A full uvdesk root folder and database backup is always suggested.

    After you placed the new files you will need to replace your new project public folder by old project public folder.
    In the public folder there are some folders/files that maybe is better not replace so I suggest to avoid to replace the following folders: css, scripts, boundles folders and the index.php file

    In any case when you run php bin/console assets:install suggested below you will get all latest CSS and Js automatically updated in public folder.

    Also you should need some SSH commands:

    php bin/console d:s:u --force
    php bin/console assets:install

    As mentioned here.

    Thank You!!




Log in to reply