Edited 15 February 2025 with updated instructions from the Github repository
This page gives you instructions on how to upgrade your Firefly III Data Importer (FIDI).
Download the latest release as a tar.gz file from GitHub.
cd /srv/www
wget https://github.com/firefly-iii/data-importer/releases/download/v1.6.0/DataImporter-v1.6.0.tar.gz
Extract the archive with the new release.
mkdir fidi-new
cd fidi-new
tar xvf ../DataImporter-v1.6.0.tar.gz
rm -r storage
Copy the .env file and the entire storage folder from the old installation to the new one.
cp ../fidi/.env .
cp -a ../fidi/storage .
Run commands to upgrade the database and the application.
php artisan cache:clear
php artisan view:clear
Fix file ownership and permissions
cd ..
chown -R www:www fidi-new/
chmod -R og-w fidi-new/
Move old installation and replace with the latest version.
mv fidi fidi-old
mv fidi-new fidi
Finally restart php and nginx.