IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    How to upgrade Firefly III on self-managed server

    R0uter发表于 2025-02-14 01:29:40
    love 0

    去落格博客阅读完整排版的<span lang ="en">How to upgrade Firefly III on self-managed server</span>

    最近更新:17th 2 月, 2025

    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:

    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 and storage/framework/views/twig has the correct ownership, there could be a lot of new cache folder that under root, run chown hestia:hestia -R storage/framework/cache/data and chown hestia:hestia -R storage/framework/views/twig to bring it back to hestia.

    Now u can un-suspend the site and check if it works normal.

    <span lang ="en">How to upgrade Firefly III on self-managed server</span>,首发于落格博客。

    其他推荐:
    1. 把 Ubuntu Server 滚动更新 到 16.04
    2. Hestia mail server can only send but receiving email
    3. Ubuntu 16.04 为 PHP7 添加 memcached 以及 redis 扩展
    4. Hestia add spamassassin and clamav
    5. imapsync 邮箱迁移 Plesk 到 Hestia



沪ICP备19023445号-2号
友情链接