Closed tbaumann closed 2 years ago
Error message:
Whoops! An error occurred.
Unfortunately, this error was not recoverable :(. Firefly III broke. The error is:
bcadd(): Argument #2 ($num2) must be of type string, float given
Thanks, indeed as you noted a new version of firefly iii is scheduled to be released ASAP with a bug fix, I'll align the addon as soon as this is done
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Corrected in latest version
Hi, Sorry to post in this existing issue. I went ahead and updated to this latest release (without doing a backup of the previous one unfortunately) and now I'm facing with error https://github.com/firefly-iii/firefly-iii/issues/6080 . I thought it might be an original code issue, but their developer says no main changes have been done in that code so far.. Not sure if there's a database optimisation script that has occurred and now even restoring an old version just has the same issue for me now.
Does the error on that log message in the commented link is anything familiar?
@alexbelgium Apparently the author has found the bug in the latest release for HA addon. Could you please take a look and fix it? Thanks!
https://github.com/firefly-iii/firefly-iii/issues/6080#issuecomment-1128620751
I have the same trouble
:(
I can replicate - I'll correct that this evening. Typo in my correction for the absence of ui bug ;-)
Sorry guys. It's crazy I had tested it on my system and it worked, and now it doesn't anymore and I can replicate your error message. It seems an issue with sed escaping special characters. I'll look at it this evening
Restoring doesn't work as I was so sure of myself that I stopped tagging the build to a specific release and put it back in latest tag
Take your time, as long as there's not data loss in firefly it's fine :) (corrupting the transactions database would be bad though haha).
@alexbelgium i have removed an extra ')' into file GroupCollector.php to fix the issue i assume the problem it is on this replace on docker file can you check?
I hope will help to fix.
Thanks
Hi, it was a wrong escaping in sed due to the very complex string. I cheated by using this tool to create the escape code and it worked great! I'm rebuilding and if it works I'll issue a new version in a minute. EDIT : version 5.7.5-issuesolvedreally works on my system
There is no database loss that I know of - it's just a continuation of the initial issue reported at top of the thread
However please take the habit of doing backups when updating my addons :-) as update is automated based on upstream releases, if there is an issue in upstream release (like for 5.7.5) then my addon will stop working :-) I myself have set an automation to do a full backup of my installation every week or 2 weeks to limit the potential of data loss including in case of sd card failure (that would lose all your date)
EDIT : version 5.7.5-issuesolvedreally works on my system
Working here too. Thanks!
Thanks all!
Which addon?
Firefly
Describe the bug
The newly updated version doesn't work out of the box. It seems to be this error https://github.com/firefly-iii/firefly-iii/issues/6058
To Reproduce
Update to latest version I guess
Full addon log
Full addon config defaults, sqlite
System