Open timhae opened 1 week ago
@timhae This has been reported before and, for right now, I'd just recommend clearing the cache as mentioned in this bug report, which you've already done. I will change the maintenance script to do it manually the next time I push a firefly-iii
update. :)
Let's keep this bug open till then just to track this issue.
For anyone else who stumbles across this issue, just run rm /var/lib/firefly-iii/cache/config.php
and it should work.
Describe the bug
it seems like the update script in the current module implementation breaks when there are incompatible files in the cache (
/var/lib/firefly-iii/cache
). I had the same issue as the person reporting upstream here and was able to fix it by removing the cache dir.The other thing I did was change the artisan commands in the script to the ones given here, not sure if that should be preferred of what is given in the docs here.EDIT: I had to revert the artisan script changes for the secrets to be created so that seems fine, maybe there also is an artisan command to properly clear the cache dir? The error for reference is this:Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
firefly-iii-setup-service runs without errors
Notify maintainers
@savyajha @PatrickDaG @italoaa FYI
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.