Frontend unreachable : TypeError: can't access property "ldap", options.config is undefined

Hello everyone,

I’m running n8n in Docker on a Synology NAS with the following stack:

  • n8n container (official image docker.n8n.io/n8nio/n8n)

  • actual version is: 1.120.4

I recently faced the following issue, rebuilt my n8n stack, restored my backups (workflows, credentials, config), but the UI still crashes in the browser with the error:

TypeError: can’t access property “ldap”, options.config is undefined

initialize http://my_ip:5678/assets/sso.store-BN_yDmsC.js:16
wrappedAction http://my_ip:5678/assets/useTelemetry-BTUGwy7s.js:563
initializeCore http://my_ip:5678/assets/router-BjlAR2wH.js:389
async* http://my_ip:5678/assets/router-BjlAR2wH.js:1345
guardReturn http://my_ip:5678/assets/truncate-7XypoloM.js:2203
runWithContext http://my_ip:5678/assets/truncate-7XypoloM.js:2185
guardToPromiseFn http://my_ip:5678/assets/truncate-7XypoloM.js:2203
guardToPromiseFn http://my_ip:5678/assets/truncate-7XypoloM.js:2187
runWithContext http://my_ip:5678/assets/vue.runtime.esm-bundler-DDuXT-9r.js:3129
runWithContext http://my_ip:5678/assets/truncate-7XypoloM.js:2544
runGuardQueue http://my_ip:5678/assets/truncate-7XypoloM.js:2728
promise callback*createRouter/runGuardQueue/< http://my_ip:5678/assets/truncate-7XypoloM.js:2728
runGuardQueue http://my_ip:5678/assets/truncate-7XypoloM.js:2728
navigate http://my_ip:5678/assets/truncate-7XypoloM.js:2559
promise callback*navigate http://my_ip:5678/assets/truncate-7XypoloM.js:2555
pushWithRedirect http://my_ip:5678/assets/truncate-7XypoloM.js:2527
pushWithRedirect http://my_ip:5678/assets/truncate-7XypoloM.js:2512
push http://my_ip:5678/assets/truncate-7XypoloM.js:2484
install http://my_ip:5678/assets/truncate-7XypoloM.js:2701
use http://my_ip:5678/assets/vue.runtime.esm-bundler-DDuXT-9r.js:3076
<anonymous> http://my_ip:5678/assets/index-BGi9eWjd.js:26602
router-BjlAR2wH.js:1370:16

Has anyone faced this issue? What’s the safest way to restore backups without breaking the frontend?

Thanks!

it cas it can help here is my docker compose yml file content

n8n:
container_name: n8n
image: docker.n8n.io/n8nio/n8n
restart: always
ports:
- 5678:5678
environment:
- N8N_HOST=myDomain
- N8N_PORT=5678
- N8N_PROTOCOL=https
- N8N_SECURE_COOKIE=false
- NODE_ENV=production
- WEBHOOK_URL=myDomain
- N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true
- DB_SQLITE_POOL_SIZE=1
- N8N_RUNNERS_ENABLED=true
- N8N_BLOCK_ENV_ACCESS_IN_NODE=false
volumes:
- /volume/docker/n8n/n8n_data:/home/node/.n8n
user: “1000:1000”

1 Like

new version in docker caused same trouble, try to set earlier version (like image: n8nio/n8n@sha256:90bf64ec238b88908389694b5ace00e5c17ea5d4a0af812dd266d7cfcd40984f – worked for me)

2 Likes

It worked for me too. :+1:

Thx it did work for me too !