Is there an existing issue for this?
Current Behavior
I created a smart filter in Kavita but didn't change the default name "New Filter". Upon creating the filter, I get an error: "New Filter - There is an encoding error in the filter. You need to recreate it."
But there's no option to access that filter from anywhere in the app. I can see the other filters alright but this filter doesn't appear in the list of smart filters, but I see that error at the top.
Is there a way to clean up this filter from the database?
Expected Behavior
There should be a way to delete the erroneous filter, and the error shouldn't have occurred in the first place.
Steps To Reproduce
- Create a Smart Filter but don't change the default name "New Filter".
- Apply the filter to test it, and then Save it.
- Go to Settings -> Customizations -> Smart Filter, and the error is displayed instead of the new filter being shown.
Environment
- OS: Raspberry Pi OS
- How docker service was installed:
Using portainer. The docker compose content is shown below.
CPU architecture
arm64
Docker creation
services:
kavita:
image: lscr.io/linuxserver/kavita:latest
container_name: kavita
volumes:
- /path/to/volumes/kavita/config:/config
- /path/to/books:/data
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Singapore
ports:
- "5000:5000"
restart: unless-stopped
Container logs
[Kavita] [2025-08-10 16:14:51.449 +08:00 78] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /settings responded 200 in 4.2833 ms
[Kavita] [2025-08-10 16:14:51.567 +08:00 78] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/license/info?forceCheck=false responded 204 in 13.3207 ms
[Kavita] [2025-08-10 16:14:51.571 +08:00 78] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/locale responded 200 in 2.2389 ms
[Kavita] [2025-08-10 16:14:51.571 +08:00 58] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/license/valid-license?forceCheck=false responded 200 in 1.7144 ms
[Kavita] [2025-08-10 16:14:51.574 +08:00 78] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /hubs/messages/negotiate?negotiateVersion=1 responded 200 in 0.9501 ms
[Kavita] [2025-08-10 16:14:51.580 +08:00 56] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/device responded 200 in 24.6562 ms
[Kavita] [2025-08-10 16:14:51.580 +08:00 78] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/theme responded 200 in 4.8381 ms
[Kavita] [2025-08-10 16:14:51.593 +08:00 57] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET "/api/plugin/version?apiKey=******REDACTED******" responded 200 in 24.3044 ms
[Kavita] [2025-08-10 16:14:51.598 +08:00 14] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/library/libraries responded 200 in 7.2094 ms
[Kavita] [2025-08-10 16:14:51.626 +08:00 3] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/theme responded 200 in 2.8329 ms
[Kavita] [2025-08-10 16:14:51.640 +08:00 3] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/server/media-errors responded 200 in 3.4894 ms
[Kavita] [2025-08-10 16:14:51.656 +08:00 56] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/stream/dashboard?visibleOnly=false responded 200 in 6.0427 ms
[Kavita] [2025-08-10 16:14:51.659 +08:00 14] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/filter responded 200 in 7.9553 ms
[Kavita] [2025-08-10 16:14:53.094 +08:00 14] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/filter responded 200 in 1.9318 ms
[Kavita] [2025-08-10 16:14:53.124 +08:00 56] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/filter/decode responded 200 in 1.3065 ms
[Kavita] [2025-08-10 16:14:53.167 +08:00 14] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/series/all-v2?context=4&pageNumber=0&pageSize=20 responded 200 in 14.4311 ms
Is there an existing issue for this?
Current Behavior
I created a smart filter in Kavita but didn't change the default name "New Filter". Upon creating the filter, I get an error: "New Filter - There is an encoding error in the filter. You need to recreate it."
But there's no option to access that filter from anywhere in the app. I can see the other filters alright but this filter doesn't appear in the list of smart filters, but I see that error at the top.
Is there a way to clean up this filter from the database?
Expected Behavior
There should be a way to delete the erroneous filter, and the error shouldn't have occurred in the first place.
Steps To Reproduce
Environment
CPU architecture
arm64
Docker creation
services: kavita: image: lscr.io/linuxserver/kavita:latest container_name: kavita volumes: - /path/to/volumes/kavita/config:/config - /path/to/books:/data environment: - PUID=1000 - PGID=1000 - TZ=Asia/Singapore ports: - "5000:5000" restart: unless-stoppedContainer logs