[GH-ISSUE #4065] [Bug]: Saving cycle fails to restart #8669

Closed
opened 2026-04-10 18:58:07 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @mbrijun on GitHub (Jan 1, 2025).
Original GitHub issue: https://github.com/actualbudget/actual/issues/4065

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

Happy holidays!

I have a template that saves 300 for Christmas, with spending allowed from November.

#template 300 by 2024-12 spend from 2024-11 repeat every year

Out of this, I spent 37.45 in November and an additional 245.77 in December. This leaves the remaining balance of 16.69. As we are now in January, I would expect AB to start saving for the next Chrismas, but it does not. If I do "Apply budget template", it sets the budget to zero.

How can we reproduce the issue?

Please create a template described in the "What happened?" section.

Where are you hosting Actual?

Locally via Yarn

What browsers are you seeing the problem on?

Firefox

Operating System

Windows 11

Originally created by @mbrijun on GitHub (Jan 1, 2025). Original GitHub issue: https://github.com/actualbudget/actual/issues/4065 ### Verified issue does not already exist? - [X] I have searched and found no existing issue ### What happened? Happy holidays! I have a template that saves 300 for Christmas, with spending allowed from November. `#template 300 by 2024-12 spend from 2024-11 repeat every year` Out of this, I spent 37.45 in November and an additional 245.77 in December. This leaves the remaining balance of 16.69. As we are now in January, I would expect AB to start saving for the next Chrismas, but it does not. If I do "Apply budget template", it sets the budget to zero. ### How can we reproduce the issue? Please create a template described in the "What happened?" section. ### Where are you hosting Actual? Locally via Yarn ### What browsers are you seeing the problem on? Firefox ### Operating System Windows 11
GiteaMirror added the bug label 2026-04-10 18:58:08 -05:00
Author
Owner

@youngcw commented on GitHub (Jan 1, 2025):

can you try out PR #4066 and see if that fixes you issue?

<!-- gh-comment-id:2567079484 --> @youngcw commented on GitHub (Jan 1, 2025): can you try out PR #4066 and see if that fixes you issue?
Author
Owner

@mbrijun commented on GitHub (Jan 1, 2025):

Perhaps a stupid question... Normally I am tracking the master branch of the "actual-server". For testing the PR4066, I have checked out the "youngcw/fix-spend-template" of the "actual" (not "actual-server"). When I do "yarn start", it gives an error message below. I would appreciate some clues on what I am doing wrong.

Thank you in advance.

PS O:\test\actual> yarn start
Port 3001 is in use, trying another one...

  VITE v5.4.8  ready in 451 ms

  ➜  Local:   http://localhost:3002/
  ➜  Network: http://192.168.1.154:3002/
  ➜  Network: http://172.25.80.1:3002/
  ➜  Network: http://172.30.32.1:3002/
  ➜  press h + enter to show help
/bin/bash: O:\test\actual\packages\loot-core\bin\build-browser: No such file or directory
ERROR: "start:browser-backend" exited with 1.
<!-- gh-comment-id:2567092619 --> @mbrijun commented on GitHub (Jan 1, 2025): Perhaps a stupid question... Normally I am tracking the master branch of the "actual-server". For testing the PR4066, I have checked out the "youngcw/fix-spend-template" of the "actual" (not "actual-server"). When I do "yarn start", it gives an error message below. I would appreciate some clues on what I am doing wrong. Thank you in advance. ``` PS O:\test\actual> yarn start Port 3001 is in use, trying another one... VITE v5.4.8 ready in 451 ms ➜ Local: http://localhost:3002/ ➜ Network: http://192.168.1.154:3002/ ➜ Network: http://172.25.80.1:3002/ ➜ Network: http://172.30.32.1:3002/ ➜ press h + enter to show help /bin/bash: O:\test\actual\packages\loot-core\bin\build-browser: No such file or directory ERROR: "start:browser-backend" exited with 1. ```
Author
Owner

@youngcw commented on GitHub (Jan 1, 2025):

looks like you are trying to run two things on that port.

You can just use the netlify deploy on the PR. You don't need to build anything

<!-- gh-comment-id:2567093550 --> @youngcw commented on GitHub (Jan 1, 2025): looks like you are trying to run two things on that port. You can just use the netlify deploy on the PR. You don't need to build anything
Author
Owner

@mbrijun commented on GitHub (Jan 1, 2025):

I must admit this is outside of my area of knowledge :) I am not a developer, and not very familiar with Node.JS.

<!-- gh-comment-id:2567122182 --> @mbrijun commented on GitHub (Jan 1, 2025): I must admit this is outside of my area of knowledge :) I am not a developer, and not very familiar with Node.JS.
Author
Owner

@youngcw commented on GitHub (Jan 1, 2025):

no dev experience needed. Use the already built preview https://deploy-preview-4066.demo.actualbudget.org/

<!-- gh-comment-id:2567128096 --> @youngcw commented on GitHub (Jan 1, 2025): no dev experience needed. Use the already built preview https://deploy-preview-4066.demo.actualbudget.org/
Author
Owner

@mbrijun commented on GitHub (Jan 1, 2025):

Thank you for hosting this for me. I have created a test budget. The template is behaving correctly, I can see the new cycle of saving starting in January.

image

<!-- gh-comment-id:2567151277 --> @mbrijun commented on GitHub (Jan 1, 2025): Thank you for hosting this for me. I have created a test budget. The template is behaving correctly, I can see the new cycle of saving starting in January. ![image](https://github.com/user-attachments/assets/29fa97f6-ff20-49ac-9605-d0dc2ec28f5d)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#8669