[Bug]: "Error in callback" after server migration #2860

Closed
opened 2026-04-25 00:11:20 +02:00 by adam · 2 comments
Owner

Originally created by @btxshark1 on GitHub (Jun 29, 2025).

What happened?

After moving services to a new server I can't get ABS to play nice with Authelia.
The migration was uncomplicated and went pretty smooth:

  • docker compose down on the old host
  • umount /opt on the old host
  • mounted /opt on the new host
  • docker compose up -d on the new host

Afterwards some 200 odd containers came up and eventually checked in as healthy - including abs.
Loading ABS from the Android app still works... I'm guessing because the credential is cached.
Trying to log in from the web returns the normal OIDC callback error.

Other services that rely on Authelia as both a middleware and OIDC provider are working post-migration.

I'm not sure where to start troubleshooting since nothing should™ have changed and I can't log into ABS to make any changes.

Some background:
All container data is store in /opt which is a SAN path. (So none of its data was modified during migration)
ABS is running behind Traefik with no middlewares.

Login flow:
Image

Authelia doesn't log anything because it thinks the login was successful.

What did you expect to happen?

Nothing changed.... I was hoping that meant nothing would change :/

Steps to reproduce the issue

  1. docker compose down on one host, then docker compose up on a different host

Audiobookshelf version

2.25.1

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs

audiobookshelf  | [2025-06-29 09:34:49.429] INFO: Listening on port :80
audiobookshelf  | [2025-06-29 09:37:12.209] ERROR: "[Auth] Error in openid callback - AggregateError"
audiobookshelf  | [2025-06-29 09:37:40.751] INFO: [Watcher] "Books" Ready
audiobookshelf  | [2025-06-29 11:48:27.166] ERROR: "[Auth] Error in openid callback - AggregateError"
audiobookshelf  | [2025-06-29 11:51:39.822] ERROR: "[Auth] Error in openid callback - AggregateError"
audiobookshelf  | [2025-06-29 11:54:30.581] ERROR: "[Auth] Error in openid callback - AggregateError"

Additional Notes

No response

Originally created by @btxshark1 on GitHub (Jun 29, 2025). ### What happened? After moving services to a new server I can't get ABS to play nice with Authelia. The migration was uncomplicated and went pretty smooth: - `docker compose down` on the old host - umount /opt on the old host - mounted /opt on the new host - `docker compose up -d` on the new host Afterwards some 200 odd containers came up and eventually checked in as healthy - including abs. Loading ABS from the Android app still works... I'm guessing because the credential is cached. Trying to log in from the web returns the normal OIDC callback error. Other services that rely on Authelia as both a middleware and OIDC provider are working post-migration. I'm not sure where to start troubleshooting since nothing *should*™ have changed and I can't log into ABS to make any changes. Some background: All container data is store in /opt which is a SAN path. (So none of its data was modified during migration) ABS is running behind Traefik with no middlewares. Login flow: ![Image](https://github.com/user-attachments/assets/c3ca3e17-a597-49db-9d47-745027f44744) Authelia doesn't log anything because it thinks the login was successful. ### What did you expect to happen? Nothing changed.... I was hoping that meant nothing would change :/ ### Steps to reproduce the issue 1. docker compose down on one host, then docker compose up on a different host ### Audiobookshelf version 2.25.1 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs ```shell audiobookshelf | [2025-06-29 09:34:49.429] INFO: Listening on port :80 audiobookshelf | [2025-06-29 09:37:12.209] ERROR: "[Auth] Error in openid callback - AggregateError" audiobookshelf | [2025-06-29 09:37:40.751] INFO: [Watcher] "Books" Ready audiobookshelf | [2025-06-29 11:48:27.166] ERROR: "[Auth] Error in openid callback - AggregateError" audiobookshelf | [2025-06-29 11:51:39.822] ERROR: "[Auth] Error in openid callback - AggregateError" audiobookshelf | [2025-06-29 11:54:30.581] ERROR: "[Auth] Error in openid callback - AggregateError" ``` ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:11:20 +02:00
adam closed this issue 2026-04-25 00:11:20 +02:00
Author
Owner

@advplyr commented on GitHub (Jul 9, 2025):

I'm not sure. Did you resolve this?

@advplyr commented on GitHub (Jul 9, 2025): I'm not sure. Did you resolve this?
Author
Owner

@btxshark1 commented on GitHub (Jul 9, 2025):

Unfortunately not. In the interest of time I just nuked the instance and started fresh. Restoring the backup taken before migration worked.

Speaking without any evidence to back it up... I think it may have been something lingering in authelia's redis store that wasn't ok with things moving, but it had aged out by the time I thought to go looking.

@btxshark1 commented on GitHub (Jul 9, 2025): Unfortunately not. In the interest of time I just nuked the instance and started fresh. Restoring the backup taken before migration worked. Speaking without _any_ evidence to back it up... I think it may have been something lingering in authelia's redis store that wasn't ok with things moving, but it had aged out by the time I thought to go looking.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2860