Server: Task Running #8 (Process user deletions) not working

Operating system

Linux

Joplin version

3.5.2

Sync target

Joplin Server

What issue do you have?

Problem: Scheduled task #8 (Process user deletions) does not work, whether when fired by the schedule or manually from the web portal. The task shows as completed successfully both in the web portal and in the logs, however nothing is purged

Docker Image: joplin/server:latest (008535123bab)

Logs:

app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Starting server v3.5.2 (prod) on port 22300 and PID 80...
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Checking for time drift using NTP server: pool.ntp.org:123
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: NTP time offset: -5ms
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Running in Docker: true
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Public base URL: ''
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: API base URL: '
'
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: User content base URL: ''
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Log dir: /home/joplin/packages/server/logs
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: DB Config: {
app-1 | 18:22:13 1|app | client: 'pg',
app-1 | 18:22:13 1|app | name: 'joplin',
app-1 | 18:22:13 1|app | slowQueryLogEnabled: false,
app-1 | 18:22:13 1|app | slowQueryLogMinDuration: 1000,
app-1 | 18:22:13 1|app | maxConnections: 10,
app-1 | 18:22:13 1|app | autoMigration: true,
app-1 | 18:22:13 1|app | user: 'joplin',
app-1 | 18:22:13 1|app | password: '
',
app-1 | 18:22:13 1|app | port: 5432,
app-1 | 18:22:13 1|app | host: 'db'
app-1 | 18:22:13 1|app | }
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Mailer Config: {
app-1 | 18:22:13 1|app | enabled: true,
app-1 | 18:22:13 1|app | host: 'email-smtp.us-east-1.amazonaws.com',
app-1 | 18:22:13 1|app | port: 587,
app-1 | 18:22:13 1|app | security: 'MailerSecurity.Tls',
app-1 | 18:22:13 1|app | authUser: '',
app-1 | 18:22:13 1|app | authPassword: '
',
app-1 | 18:22:13 1|app | noReplyName: '',
app-1 | 18:22:13 1|app | noReplyEmail: '
',
app-1 | 18:22:13 1|app | }
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Content driver: { type: 1 }
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Content driver (fallback): null
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Trying to connect to database...
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Connection check: {
app-1 | 18:22:13 1|app | latestMigration: { name: '20251107113000_fix_delta_performance.js', done: true },
app-1 | 18:22:13 1|app | isCreated: true,
app-1 | 18:22:13 1|app | error: null
app-1 | 18:22:13 1|app | }
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Auto-migrating database...
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Latest migration: { name: '20251107113000_fix_delta_performance.js', done: true }
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Not using database replication...
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: [warn] TaskService: Found a task that was in running state: #13 (Log heartbeat message) - resetting it.
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Performing main storage check...
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Database storage is special and cannot be checked this way. If the connection to the database was successful then the storage driver should work too.
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Starting services...
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: TaskService: Scheduling #1 (Delete expired tokens): 0 */6 * * *
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: TaskService: Scheduling #2 (Update total sizes): 0 * * * *
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: TaskService: Scheduling #3 (Process oversized accounts): 30 */2 * * *
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: TaskService: Scheduling #6 (Delete expired sessions): 0 */6 * * *
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: TaskService: Scheduling #7 (Compress old changes): 0 0 */2 * *
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: TaskService: Scheduling #8 (Process user deletions): 10 * * * *
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: TaskService: Scheduling #10 (Process orphaned items): 15 * * * *
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: TaskService: Scheduling #11 (Process shared items): PT10S
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: TaskService: Scheduling #12 (Process emails): * * * * *
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: TaskService: Scheduling #13 (Log heartbeat message): * * * * *
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: TaskService: Scheduling #15 (Delete expired authentication codes): */15 * * * *
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: TaskService: Scheduling #16 (Delete archived account backups): 0 0 * * *
app-1 | 18:22:13 1|app | 2026-03-14 18:22:13: App: Call this for testing: curl https://********/api/ping

app-1 | 18:47:31 1|app | 2026-03-14 18:47:31: App: HkuSe1X44oQDAUAbOm6pom: 24.86.156.237: 89 B: POST /admin/tasks (302) (4ms)
app-1 | 18:47:31 1|app | 2026-03-14 18:47:31: TaskService: Running #8 (Process user deletions) (manual)...
app-1 | 18:47:31 1|app | 2026-03-14 18:47:31: TaskService: Completed #8 (Process user deletions) in 4ms
app-1 | 18:47:31 1|app | 2026-03-14 18:47:31: App: HkuSe1X44oQDAUAbOm6pom: 24.86.156.237: GET /admin/tasks (200) (16ms)
app-1 | 18:47:31 1|app | 2026-03-14 18:47:31: App: HkuSe1X44oQDAUAbOm6pom: 24.86.156.237: GET /css/bulma.min.css (200) (7ms)
app-1 | 18:47:31 1|app | 2026-03-14 18:47:31: App: HkuSe1X44oQDAUAbOm6pom: 24.86.156.237: GET /css/main.css (200) (2ms)
app-1 | 18:47:31 1|app | 2026-03-14 18:47:31: App: HkuSe1X44oQDAUAbOm6pom: 24.86.156.237: GET /css/fontawesome/css/all.min.css (200) (0ms)
app-1 | 18:47:31 1|app | 2026-03-14 18:47:31: App: HkuSe1X44oQDAUAbOm6pom: 24.86.156.237: GET /js/jquery.min.js (200) (0ms)
app-1 | 18:47:31 1|app | 2026-03-14 18:47:31: App: HkuSe1X44oQDAUAbOm6pom: 24.86.156.237: GET /js/main.js (200) (1ms)
app-1 | 18:47:31 1|app | 2026-03-14 18:47:31: App: HkuSe1X44oQDAUAbOm6pom: 24.86.156.237: GET /images/server_logo.png (200) (0ms)
app-1 | 18:47:32 1|app | 2026-03-14 18:47:32: App: 24.86.156.237: GET /images/icons/server/manifest.webmanifest (200) (2ms)
app-1 | 18:47:32 1|app | 2026-03-14 18:47:32: App: HkuSe1X44oQDAUAbOm6pom: 24.86.156.237: GET /css/fontawesome/webfonts/fa-solid-900.woff2 (200) (0ms)