-
Notifications
You must be signed in to change notification settings - Fork 508
Updating FreeScout
- After Updating
- Method 1. Update from web interface (recommended)
- Method 2. Update using console script
- Method 3. Update using GIT
- Method 4. Update via tools.php
- Method 5. Update manually
- Troubleshooting
Before updating the app make sure to backup application files and database.
If some updating method does not work or results in an error, simply use the next one or use manual updating which works always.
If after updating you receive some new errors re-update using manual updating method.
Go to Manage > System and make sure that "queue:work" is running and there are no duplicates (it may take a few minutes for it to start).
If you are receiving an error in some cases it may be needed to restart PHP FPM:**
etc/init.d/php8.0-fpm restart
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. It means updating process did not finish properly and you need to update FreeScout manually.
Updating via web interface may work or may not. Some releases may be installed fine via web interface and some - not. Today updating via the web interface may work, tomorrow - not. There are many factors involved.
If self-updater script fails:
- Try to update again.
- If still does not work, switch to another update methods.
This method requires SSH console and GIT.
- Go to the root of your FreeScout application.
- Run update script:
sudo -u www-data /var/www/html/tools/update.sh
- Follow instructions.
This method requires SSH console and GIT.
- Pull updates from GitHub:
git pull
- Run the following console command:
php artisan freescout:after-app-update
Use this method only if you can not use console or GIT.
- Enter APP_KEY from your
.env
file and click Update App button. - Open and check application.
- Remove /vendor directory:
rm -rf /path/to/freescout/vendor
- Download and extract archive into FreeScout directory on your server overwriting all existing files (no worries, no configuration files will be overridden).
- Login to FreeScout, go to "Manage » System » Tools", click "Clear Cache" and "Migrate DB".
- If previous step did not work use some other method to clear the cache.
- Click "Migrate DB".
- Open and check application.
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" and see https://github.com/freescout-helpdesk/freescout/wiki/Installation-Guide#-permissions-issue
open_basedir restriction in effect
Try this
FreeScout — Help desk & shared mailbox, free Zendesk & Help Scout alternative.
About
Installation
Configuration
- Sending Emails
- Fetching Emails
- Connect G Suite & Microsoft 365
- Console Commands
- Backup
- Update
- Upgrade PHP
Troubleshooting
Tools & Integrations
- API
- Migrate to FreeScout
- Zapier
- Make (Integromat)
- MacOS Menu Bar App
Development