Compare commits
14 Commits
9f236b6fa5
...
1.9.13
| Author | SHA1 | Date | |
|---|---|---|---|
| 88e1383202 | |||
| c9b4707cb2 | |||
| da9c610426 | |||
| c1a6da2aa8 | |||
| f1cd8c9a60 | |||
| 6010230a14 | |||
| c3d8b62504 | |||
| 4a409e37e9 | |||
| cb4d17f99e | |||
| 9569492e42 | |||
| 2a7b234f4e | |||
| 621d5310a3 | |||
| 6377a56d95 | |||
| dbd72f43a4 |
@@ -158,11 +158,11 @@ version:
|
|||||||
alloy: "1.13.0"
|
alloy: "1.13.0"
|
||||||
containers:
|
containers:
|
||||||
# common
|
# common
|
||||||
caddy: "2.10.2"
|
caddy: "2.11.2"
|
||||||
# infra
|
# infra
|
||||||
step: "0.29.0"
|
step: "0.29.0"
|
||||||
ldap: "v0.6.2"
|
ldap: "v0.6.2"
|
||||||
x509-exporter: "3.19.1"
|
x509-exporter: "3.21.0"
|
||||||
prometheus: "v3.9.1"
|
prometheus: "v3.9.1"
|
||||||
loki: "3.6.5"
|
loki: "3.6.5"
|
||||||
grafana: "12.3.3"
|
grafana: "12.3.3"
|
||||||
@@ -172,15 +172,15 @@ version:
|
|||||||
# pgvector: "v0.8.1"
|
# pgvector: "v0.8.1"
|
||||||
vectorchord: "0.5.3"
|
vectorchord: "0.5.3"
|
||||||
# Auth
|
# Auth
|
||||||
authelia: "4.39.15"
|
authelia: "4.39.19"
|
||||||
# App
|
# App
|
||||||
vaultwarden: "1.35.4"
|
vaultwarden: "1.35.4"
|
||||||
gitea: "1.25.5"
|
gitea: "1.26.1"
|
||||||
redis: "8.6.1"
|
redis: "8.6.1"
|
||||||
immich: "v2.7.4"
|
immich: "v2.7.5"
|
||||||
actualbudget: "26.3.0"
|
actualbudget: "26.3.0"
|
||||||
paperless: "2.20.13"
|
paperless: "2.20.15"
|
||||||
vikunja: "2.2.2"
|
vikunja: "2.2.2"
|
||||||
opencloud: "4.0.4"
|
opencloud: "4.0.6"
|
||||||
manticore: "25.0.0"
|
manticore: "25.0.0"
|
||||||
affine: "0.26.3"
|
affine: "0.26.3"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
- name: Reload postgresql
|
- name: Reload postgresql
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
/usr/bin/podman exec -u postgres postgresql sh -c "pg_ctl reload"
|
/usr/bin/podman exec -u postgres postgresql sh -c "pg_ctl reload"
|
||||||
when: not (is_postgresql_init_run | default(false))
|
when: is_postgresql_init.stat.exists
|
||||||
changed_when: false
|
changed_when: false
|
||||||
listen: "notification_reload_postgresql"
|
listen: "notification_reload_postgresql"
|
||||||
ignore_errors: true # noqa: ignore-errors
|
ignore_errors: true # noqa: ignore-errors
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
enabled: true
|
enabled: true
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
scope: "user"
|
scope: "user"
|
||||||
when: not (is_postgresql_init_run | default(false))
|
when: is_postgresql_init.stat.exists
|
||||||
changed_when: false
|
changed_when: false
|
||||||
listen: "notification_restart_postgresql"
|
listen: "notification_restart_postgresql"
|
||||||
ignore_errors: true # noqa: ignore-errors
|
ignore_errors: true # noqa: ignore-errors
|
||||||
@@ -73,10 +73,10 @@
|
|||||||
listen: "notification_restart_grafana"
|
listen: "notification_restart_grafana"
|
||||||
ignore_errors: true # noqa: ignore-errors
|
ignore_errors: true # noqa: ignore-errors
|
||||||
|
|
||||||
- name: Enable x509-exporter.service
|
- name: Restart x509-exporter.service
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
name: "x509-exporter.service"
|
name: "x509-exporter.service"
|
||||||
state: "started"
|
state: "restarted"
|
||||||
enabled: true
|
enabled: true
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
scope: "user"
|
scope: "user"
|
||||||
|
|||||||
@@ -55,6 +55,8 @@
|
|||||||
no_log: true
|
no_log: true
|
||||||
|
|
||||||
- name: Initiate ldap (When = false, If DB data does not exist in postgresql, activate this block)
|
- name: Initiate ldap (When = false, If DB data does not exist in postgresql, activate this block)
|
||||||
|
# The reason why this task doesn't use the way to check ".init" file is this tasks can override original database.
|
||||||
|
# Absent of ".init" file cannot guarantee DB is empty.
|
||||||
when: false
|
when: false
|
||||||
become: true
|
become: true
|
||||||
block:
|
block:
|
||||||
|
|||||||
@@ -88,15 +88,13 @@
|
|||||||
no_log: true
|
no_log: true
|
||||||
|
|
||||||
- name: Check data directory empty
|
- name: Check data directory empty
|
||||||
ansible.builtin.find:
|
ansible.builtin.stat:
|
||||||
paths: "{{ node['home_path'] }}/containers/postgresql/data/"
|
path: "{{ node['home_path'] }}/containers/postgresql/data/.init"
|
||||||
hidden: true
|
|
||||||
file_type: "any"
|
|
||||||
become: true
|
become: true
|
||||||
register: "is_data_dir_empty"
|
register: "is_postgresql_init"
|
||||||
|
|
||||||
- name: Prepare initiating DB
|
- name: Prepare initiating DB
|
||||||
when: is_data_dir_empty.matched == 0
|
when: not is_postgresql_init.stat.exists
|
||||||
become: true
|
become: true
|
||||||
block:
|
block:
|
||||||
# `init/pg_cluster.sql` should be fetched from postgresql's backup directory before running initiating
|
# `init/pg_cluster.sql` should be fetched from postgresql's backup directory before running initiating
|
||||||
@@ -118,9 +116,14 @@
|
|||||||
loop: "{{ connected_services }}"
|
loop: "{{ connected_services }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
index_var: index_num
|
index_var: index_num
|
||||||
- name: Set is_postgresql_init_run
|
|
||||||
ansible.builtin.set_fact:
|
- name: Create .init file
|
||||||
is_postgresql_init_run: true
|
ansible.builtin.file:
|
||||||
|
path: "{{ node['home_path'] }}/containers/postgresql/data/.init"
|
||||||
|
state: "touch"
|
||||||
|
mode: "0644"
|
||||||
|
owner: "{{ ansible_user }}"
|
||||||
|
group: "svadmins"
|
||||||
|
|
||||||
- name: Deploy container file
|
- name: Deploy container file
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
# Android application OIDC issue
|
||||||
|
|
||||||
|
## Status
|
||||||
|
- Processing
|
||||||
|
|
||||||
|
## Date
|
||||||
|
- 2026-04-20
|
||||||
|
|
||||||
|
## Version
|
||||||
|
- affine server: 0.26.3 (self-hosted)
|
||||||
|
- affine application: 0.26.3 (Android)
|
||||||
|
- IdP: Authelia:4.39.15
|
||||||
|
|
||||||
|
## Problem
|
||||||
|
- Affine android app cannot authenticate via OIDC
|
||||||
|
- IdP authentication succeeds, but the app does not establish a session
|
||||||
|
- The app remains on the "Sign In" screen
|
||||||
|
|
||||||
|
## Reason
|
||||||
|
- Affine uses callback deep link `affine://authentication`
|
||||||
|
- For self-hosted instances the deep link carries a 'server' parameter pointing to the correct origin, but android never read it.
|
||||||
|
- [Issue #12819: No SSO on Android](https://github.com/toeverything/AFFiNE/issues/12819)
|
||||||
|
- [PR #14809](https://github.com/toeverything/AFFiNE/pull/14809)
|
||||||
|
|
||||||
|
## Timeline
|
||||||
|
- 2025-06-14: Issue #12819
|
||||||
|
- 2026-04-08: PR #14809
|
||||||
|
- 2026-04-09: Canary branch merge
|
||||||
|
- 2026-04-15: Fork, cherry-pick
|
||||||
|
|
||||||
|
## Solution
|
||||||
|
- Wait for stable release which contains the merge above
|
||||||
|
- When the stable version releases, then verify after update
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
# Actual Budget crowdsec false positive issue
|
||||||
|
|
||||||
|
## Status
|
||||||
|
- Finished
|
||||||
|
|
||||||
|
## Date
|
||||||
|
- 2026-03-21
|
||||||
|
|
||||||
|
## Version
|
||||||
|
- Actual Budget: 26.3.0
|
||||||
|
|
||||||
|
## Problem
|
||||||
|
- When users access and log in actual budget, all connections to homelab services are refused.
|
||||||
|
- fw ban users' IP address.
|
||||||
|
|
||||||
|
## Reason
|
||||||
|
- Actual budget has local first policy.
|
||||||
|
- When the user log in actual budget, the client downloads all sql files from the server.
|
||||||
|
- LAPI decides that as an attack which sensitive file(sql) is downloaded concurrently.
|
||||||
|
|
||||||
|
## Timeline
|
||||||
|
- 2026-03-21: Release actual budget
|
||||||
|
- 2026-03-21: Find the false positive case, and add whitelist
|
||||||
|
|
||||||
|
## Solution
|
||||||
|
- Access to fw
|
||||||
|
- Check the ban list with `sudo cscli alerts list`
|
||||||
|
- Read the ban case with `sudo cscli alerts inspect $NUMBER`
|
||||||
|
- Add regex on whitelist
|
||||||
|
- evt.Meta.target_fqdn == '{{ services['actualbudget']['domain']['public'] }}.{{ domain['public'] }}' && evt.Meta.http_path contains '/data/migrations/'
|
||||||
|
- Delete false positive decision
|
||||||
|
- Check false positive decision with `sudo cscli decision list`
|
||||||
|
- Delete false positive decision with `sudo cscli decision list --id $ID`
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# Immich crowdsec false positive issue
|
||||||
|
|
||||||
|
## Status
|
||||||
|
- Finished
|
||||||
|
|
||||||
|
## Date
|
||||||
|
- 2026-03-21
|
||||||
|
|
||||||
|
## Version
|
||||||
|
- Immich: 2.6.1
|
||||||
|
|
||||||
|
## Problem
|
||||||
|
- When users access and log in Immich while Immich is generating thumbnail, all connections to homelab services are refused.
|
||||||
|
- fw ban users' IP address.
|
||||||
|
|
||||||
|
## Reason
|
||||||
|
- Immich sends 404 error to clients when the client request thumbnail while it is generating them.
|
||||||
|
- LAPI decides a ban when a lot of 404 errors occur in short time
|
||||||
|
|
||||||
|
## Timeline
|
||||||
|
- 2026-03-21: Release Immich
|
||||||
|
- 2026-03-21: Find the false positive case, and add whitelist
|
||||||
|
|
||||||
|
## Solution
|
||||||
|
- Access to fw
|
||||||
|
- Check the ban list with `sudo cscli alerts list`
|
||||||
|
- Read the ban case with `sudo cscli alerts inspect $NUMBER`
|
||||||
|
- Add regex on whitelist
|
||||||
|
- evt.Meta.target_fqdn == 'Immich.ilnmors.com' && evt.Meta.http_path contains '/api/assets/' && evt.Meta.http_path contains '/thumbnail'
|
||||||
|
- Delete false positive decision
|
||||||
|
- Check false positive decision with `sudo cscli decision list`
|
||||||
|
- Delete false positive decision with `sudo cscli decision list --id $ID`
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# OpenCloud crowdsec false positive issue
|
||||||
|
|
||||||
|
## Status
|
||||||
|
- Finished
|
||||||
|
|
||||||
|
## Date
|
||||||
|
- 2026-04-04
|
||||||
|
|
||||||
|
## Version
|
||||||
|
- OpenCloud: 4.0.4
|
||||||
|
|
||||||
|
## Problem
|
||||||
|
- When users download some files, all connections to homelab services are refused.
|
||||||
|
- fw ban users' IP address.
|
||||||
|
|
||||||
|
## Reason
|
||||||
|
- OpenCloud uses chunks when clients uploads or download files to it.
|
||||||
|
- LAPI decides a ban when a lot of chunks file is uploaded or downloaded from external devices
|
||||||
|
|
||||||
|
## Timeline
|
||||||
|
- 2026-04-04: Release OpenCloud
|
||||||
|
- 2026-04-04: Find the false positive case, and add whitelist
|
||||||
|
|
||||||
|
## Solution
|
||||||
|
- Access to fw
|
||||||
|
- Check the ban list with `sudo cscli alerts list`
|
||||||
|
- Read the ban case with `sudo cscli alerts inspect $NUMBER`
|
||||||
|
- Add regex on whitelist
|
||||||
|
- evt.Meta.target_fqdn == '{{ services['opencloud']['domain']['public'] }}.{{ domain['public'] }}' && evt.Meta.http_path contains '/js/chunks/'
|
||||||
|
- Delete false positive decision
|
||||||
|
- Check false positive decision with `sudo cscli decision list`
|
||||||
|
- Delete false positive decision with `sudo cscli decision list --id $ID`
|
||||||
@@ -117,6 +117,5 @@ Environment="AFFINE_SERVER_HTTPS=true"
|
|||||||
|
|
||||||
#### Flags
|
#### Flags
|
||||||
|
|
||||||
- [ ] Whether allow guest users to create demo workspaces
|
- [x] Whether allow guest users to create demo workspaces
|
||||||
- save
|
- save
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user