Skip to content

Updating FreeScout

FreeScout edited this page Apr 3, 2021 · 84 revisions

Before updating the app make sure to backup application files and database.


Method 1. Update from web interface

Open FreeScout and go to Manage » System » Status. In App Version section click Check for updates and follow instructions:

Updating process may take several minutes, do not close browser window until it finishes or shows an error. Sometimes when updating finishes you may see the "Error occurred" message, but FreeScout shows a new version and functions normally.

If self-updater script fails:

  • Try to update again.
  • If still does not work, switch to another update methods.

Method 2. Update using console script

This method requires SSH console and GIT. Make sure to use Composer 1.x.

  1. Go to the root of your FreeScout application.
  2. Run update script:
tools/update.sh
  1. Follow instructions.

Method 3. Update using GIT

This method requires SSH console and GIT.

  1. Pull updates from GitHub:
git pull
  1. Run the following console command:
php artisan freescout:after-app-update

Method 4. Manual updating

Use this method only if you can not use console or GIT.

  1. Open https://example.com/tools.php

  1. Enter APP_KEY from your .env file and click Update App button.
  2. Open and check application.

Troubleshooting

First thing you need to do is to check logs in /storage/logs.

If self-updater script hits your hosting's PHP memory size limit or `PHP max execution time

  • Try to update again.
  • If still does not work, switch to another update methods.

If you are facing a database error

Try to run Migration via https://example.com/tools.php or by executing console command:

php artisan migrate

Permission denied when writing to some file

Check permissions section in "Manage > System > Status".

See https://github.com/freescout-helpdesk/freescout/wiki/Installation-Guide#if-you-are-receiving-failed-to-open-stream-error-message-upon-logging-in

Clone this wiki locally