Firefly III is a great finance manager, I use Hestia to host it. It’s easy to use for docker but I already got it running for self-hosted mode anyway, so here is some tips in addition of the official doc: https://docs.firefly-iii.org/how-to/firefly-iii/upgrade/self-managed/
So first u download the zip from their github: https://github.com/firefly-iii/firefly-iii/releases
Then suspend ur website and put all old content to a folder.
Extract new version, and delete the storage folder. So we can bring our old storage folder back to the position. And check the permission should be 775
Also bring back the .env and the .htaccess file.
Now we can try the cmd:
1 2 3 4 5 |
php artisan migrate --seed php artisan cache:clear php artisan view:clear php artisan firefly-iii:upgrade-database php artisan firefly-iii:laravel-passport-keys |
If you got error of wrong php version, then need to update the hestia php version for the website (after un-suspend the site).
In addition, make sure the path storage/framework/cache/data has the correct ownership, there could be a lot of new cache folder that under root, run chown hestia:hestia -R data to bring it back to hestia.
Now u can un-suspend the site and check if it works normal.
本文由 落格博客 原创撰写:落格博客 » How to upgrade Firefly III on self-managed server
转载请保留出处和原文链接:https://www.logcg.com/archives/3883.html