borgbackupserver icon indicating copy to clipboard operation
borgbackupserver copied to clipboard

Templates can't be used in setting up plans any more

Open bekaha opened this issue 7 months ago • 2 comments

Description

Hi there,

i wanted to set up some new plans for my clients by using my configured templates. On Backup Schedules i chose one of my templates but none of the predefined values (Backup Directories, Exclude Patterns, ...) are shown. This also happens when i choose your standard templates.

I received no error messages.

Here are two pictures showing template setting:

Image

...and Backup Schedules

Image

Cheers

Steps to Reproduce

Set up a nes plan and chosse a template

Installation Type

Docker

BBS Version

2.26.4

Agent Version (if applicable)

2.25.0

Agent OS (if applicable)

None

Relevant Logs


bekaha avatar Apr 14 '26 23:04 bekaha

A previous change (the fix for the empty session files issue) was too aggressive and skipped session startup for all /api/* routes, including the browser-called ones like /api/templates/{id} that rely on your login session. That's why picking a template did nothing.

Fixed in the next release — sessions are now only skipped for agent Bearer-token endpoints (/api/agent/*). Thanks for reporting!

marcpope avatar Apr 15 '26 01:04 marcpope

Fixed in https://github.com/marcpope/borgbackupserver/releases/tag/v2.26.5

marcpope avatar Apr 15 '26 01:04 marcpope