[GH-ISSUE #4570] [Bug]: Apply template fails #27735

Closed
opened 2026-04-18 04:19:41 -05:00 by GiteaMirror · 15 comments
Owner

Originally created by @Avidsensei on GitHub (Mar 7, 2025).
Original GitHub issue: https://github.com/actualbudget/actual/issues/4570

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

Actual budget hosted in TrueNas Scale with docker app.

When I click check templates I get: All templates passed.
When I click Apply templates I get: Something internally went wrong. You may want to restart the app if anything looks wrong. Please report this as a new issue on GitHub.

I am not sure where to look for logs.
Docker logs show nothing.

How can we reproduce the issue?

Click apply template and then you have the issue.

Please let me know what details to provide.

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Desktop App (Electron)

Operating System

Windows 11

Originally created by @Avidsensei on GitHub (Mar 7, 2025). Original GitHub issue: https://github.com/actualbudget/actual/issues/4570 ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? Actual budget hosted in TrueNas Scale with docker app. When I click check templates I get: All templates passed. When I click Apply templates I get: Something internally went wrong. You may want to restart the app if anything looks wrong. Please report this as a new issue on GitHub. I am not sure where to look for logs. Docker logs show nothing. ### How can we reproduce the issue? Click apply template and then you have the issue. Please let me know what details to provide. ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Desktop App (Electron) ### Operating System Windows 11
GiteaMirror added the bug label 2026-04-18 04:19:41 -05:00
Author
Owner

@youngcw commented on GitHub (Mar 7, 2025):

If you apply to single categories, does one of them fail?

<!-- gh-comment-id:2707660169 --> @youngcw commented on GitHub (Mar 7, 2025): If you apply to single categories, does one of them fail?
Author
Owner

@Avidsensei commented on GitHub (Mar 7, 2025):

Ah yes, all but one work.

Here is what I have in it:
#template schedule Amazon prime
#template schedule Hulu
#template schedule Ifly
#template schedule Zululog
#template schedule Nebula
#template schedule Sleep as android
#template schedule Usenetblock
#template schedule Stronglifts
#template schedule NoIP Managed
#template schedule Geekhub
#template schedule No ip Domain
#template schedule Patreon peter zeihan
#template schedule Patreon goonfleet

<!-- gh-comment-id:2707662228 --> @Avidsensei commented on GitHub (Mar 7, 2025): Ah yes, all but one work. Here is what I have in it: #template schedule Amazon prime #template schedule Hulu #template schedule Ifly #template schedule Zululog #template schedule Nebula #template schedule Sleep as android #template schedule Usenetblock #template schedule Stronglifts #template schedule NoIP Managed #template schedule Geekhub #template schedule No ip Domain #template schedule Patreon peter zeihan #template schedule Patreon goonfleet
Author
Owner

@youngcw commented on GitHub (Mar 7, 2025):

If you check syntax does it pass or does it fail?

<!-- gh-comment-id:2707662623 --> @youngcw commented on GitHub (Mar 7, 2025): If you check syntax does it pass or does it fail?
Author
Owner

@Avidsensei commented on GitHub (Mar 7, 2025):

It passes check template.
How do I check syntax?

<!-- gh-comment-id:2707663287 --> @Avidsensei commented on GitHub (Mar 7, 2025): It passes check template. How do I check syntax?
Author
Owner

@youngcw commented on GitHub (Mar 7, 2025):

Just the check template option. Does anything show up if you open the browser console then run templates?

<!-- gh-comment-id:2707665138 --> @youngcw commented on GitHub (Mar 7, 2025): Just the check template option. Does anything show up if you open the browser console then run templates?
Author
Owner

@Avidsensei commented on GitHub (Mar 7, 2025):

Same problem in the browser

<!-- gh-comment-id:2707669192 --> @Avidsensei commented on GitHub (Mar 7, 2025): Same problem in the browser
Author
Owner

@youngcw commented on GitHub (Mar 7, 2025):

what does the console show?

<!-- gh-comment-id:2707669696 --> @youngcw commented on GitHub (Mar 7, 2025): what does the console show?
Author
Owner

@Avidsensei commented on GitHub (Mar 7, 2025):

How do I access console?

<!-- gh-comment-id:2707670891 --> @Avidsensei commented on GitHub (Mar 7, 2025): How do I access console?
Author
Owner

@youngcw commented on GitHub (Mar 7, 2025):

ctrl-shift-i. Then look for any errors after applying the tempalates

<!-- gh-comment-id:2707671641 --> @youngcw commented on GitHub (Mar 7, 2025): ctrl-shift-i. Then look for any errors after applying the tempalates
Author
Owner

@Avidsensei commented on GitHub (Mar 7, 2025):

I dont see any errors

Image

<!-- gh-comment-id:2707676552 --> @Avidsensei commented on GitHub (Mar 7, 2025): I dont see any errors ![Image](https://github.com/user-attachments/assets/1dee8cb7-16eb-4908-aa98-ff8895eda2c1)
Author
Owner

@youngcw commented on GitHub (Mar 7, 2025):

There should be a section that says "console"

<!-- gh-comment-id:2707678216 --> @youngcw commented on GitHub (Mar 7, 2025): There should be a section that says "console"
Author
Owner

@Avidsensei commented on GitHub (Mar 8, 2025):

[Exception] TypeError: Cannot read properties of null (reading 'op')
at bh (goalsSchedule.ts:33:23)
at async bb (goalsSchedule.ts:215:15)
at async bN.runTemplatesForPriority (categoryTemplate.ts:152:23)
at async bB (goaltemplates.ts:223:19)
at async bD (goaltemplates.ts:15:15)
index.web.ts:5 Syncing since 2025-03-07T23:04:01.541Z-0000-99d13abb2b7d909c 18 (attempt: 0)
index.web.ts:5 Got messages from server 0

<!-- gh-comment-id:2707870418 --> @Avidsensei commented on GitHub (Mar 8, 2025): [Exception] TypeError: Cannot read properties of null (reading 'op') at bh (goalsSchedule.ts:33:23) at async bb (goalsSchedule.ts:215:15) at async bN.runTemplatesForPriority (categoryTemplate.ts:152:23) at async bB (goaltemplates.ts:223:19) at async bD (goaltemplates.ts:15:15) index.web.ts:5 Syncing since 2025-03-07T23:04:01.541Z-0000-99d13abb2b7d909c 18 (attempt: 0) index.web.ts:5 Got messages from server 0
Author
Owner

@Avidsensei commented on GitHub (Mar 8, 2025):

The desktop app shows this

VM98:2 Server Log: [Exception] TypeError: Cannot read properties of null (reading 'op')
at _p (C:\Program Files\WindowsApps\actualbudget.org.ActualBudget_25.3.1.0_x64__6q3amkrs0bv0p\app\resources\app.asar\build\loot-core\lib-dist\electron\bundle.desktop.js:217:34024)
at async _m (C:\Program Files\WindowsApps\actualbudget.org.ActualBudget_25.3.1.0_x64__6q3amkrs0bv0p\app\resources\app.asar\build\loot-core\lib-dist\electron\bundle.desktop.js:217:35702)
at async _I.runTemplatesForPriority (C:\Program Files\WindowsApps\actualbudget.org.ActualBudget_25.3.1.0_x64__6q3amkrs0bv0p\app\resources\app.asar\build\loot-core\lib-dist\electron\bundle.desktop.js:233:1368)
at async _B (C:\Program Files\WindowsApps\actualbudget.org.ActualBudget_25.3.1.0_x64__6q3amkrs0bv0p\app\resources\app.asar\build\loot-core\lib-dist\electron\bundle.desktop.js:240:137)
at async _R (C:\Program Files\WindowsApps\actualbudget.org.ActualBudget_25.3.1.0_x64__6q3amkrs0bv0p\app\resources\app.asar\build\loot-core\lib-dist\electron\bundle.desktop.js:233:7402)

<!-- gh-comment-id:2708419786 --> @Avidsensei commented on GitHub (Mar 8, 2025): The desktop app shows this VM98:2 Server Log: [Exception] TypeError: Cannot read properties of null (reading 'op') at _p (C:\Program Files\WindowsApps\actualbudget.org.ActualBudget_25.3.1.0_x64__6q3amkrs0bv0p\app\resources\app.asar\build\loot-core\lib-dist\electron\bundle.desktop.js:217:34024) at async _m (C:\Program Files\WindowsApps\actualbudget.org.ActualBudget_25.3.1.0_x64__6q3amkrs0bv0p\app\resources\app.asar\build\loot-core\lib-dist\electron\bundle.desktop.js:217:35702) at async _I.runTemplatesForPriority (C:\Program Files\WindowsApps\actualbudget.org.ActualBudget_25.3.1.0_x64__6q3amkrs0bv0p\app\resources\app.asar\build\loot-core\lib-dist\electron\bundle.desktop.js:233:1368) at async _B (C:\Program Files\WindowsApps\actualbudget.org.ActualBudget_25.3.1.0_x64__6q3amkrs0bv0p\app\resources\app.asar\build\loot-core\lib-dist\electron\bundle.desktop.js:240:137) at async _R (C:\Program Files\WindowsApps\actualbudget.org.ActualBudget_25.3.1.0_x64__6q3amkrs0bv0p\app\resources\app.asar\build\loot-core\lib-dist\electron\bundle.desktop.js:233:7402)
Author
Owner

@youngcw commented on GitHub (Mar 8, 2025):

That error sounds like one of your schedules is broken. Check all those schedules and see if they look normal

<!-- gh-comment-id:2708420871 --> @youngcw commented on GitHub (Mar 8, 2025): That error sounds like one of your schedules is broken. Check all those schedules and see if they look normal
Author
Owner

@Avidsensei commented on GitHub (Mar 8, 2025):

Interesting, one of them was set to $0 and putting an amount in seems to have fixed the problem.

Thanks for your help!

<!-- gh-comment-id:2708423505 --> @Avidsensei commented on GitHub (Mar 8, 2025): Interesting, one of them was set to $0 and putting an amount in seems to have fixed the problem. Thanks for your help!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#27735