[GH-ISSUE #3912] [BUG]: Stuck loading on upload documents module #2494

Closed
opened 2026-02-22 18:29:56 -05:00 by yindo · 4 comments
Owner

Originally created by @Milor123 on GitHub (May 29, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3912

How are you running AnythingLLM?

Docker (local)

What happened?

Image

I am using image: mintplexlabs/anythingllm in windows 11 wsl2 with version anythingllm v1.8.1

I was using Milvus but I've tested switch to Lance, but i got the same result, infinite loading

I'm not sure what happened, it had been working before without any problem, I don't even know when it went wrong.

Docker error log on anythingllm

[backend] error: Cannot read properties of null (reading 'startsWith') TypeError: Cannot read properties of null (reading 'startsWith')

    at Object.canWatch (/app/server/models/documentSyncQueue.js:56:21)

    at fileToPickerData (/app/server/utils/files/index.js:365:25)

    at async Promise.all (index 0)

    at async viewLocalFiles (/app/server/utils/files/index.js:64:23)

    at async /app/server/endpoints/system.js:419:28

[backend] error: Cannot read properties of null (reading 'startsWith') TypeError: Cannot read properties of null (reading 'startsWith')

    at Object.canWatch (/app/server/models/documentSyncQueue.js:56:21)

    at fileToPickerData (/app/server/utils/files/index.js:365:25)

    at async Promise.all (index 0)

    at async viewLocalFiles (/app/server/utils/files/index.js:64:23)

    at async /app/server/endpoints/system.js:419:28

Are there known steps to reproduce?

Open AnythingLLM
Try open the upload panel
Stuck loading

Then I've tried reboot containers, change milvus to Lance, and it keep stucked loading.

Originally created by @Milor123 on GitHub (May 29, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3912 ### How are you running AnythingLLM? Docker (local) ### What happened? ![Image](https://github.com/user-attachments/assets/72d25d28-7ee6-4c44-8f55-59ea4431a08b) I am using image: mintplexlabs/anythingllm in windows 11 wsl2 with version anythingllm v1.8.1 I was using Milvus but I've tested switch to Lance, but i got the same result, infinite loading I'm not sure what happened, it had been working before without any problem, I don't even know when it went wrong. Docker error log on anythingllm ```bash [backend] error: Cannot read properties of null (reading 'startsWith') TypeError: Cannot read properties of null (reading 'startsWith') at Object.canWatch (/app/server/models/documentSyncQueue.js:56:21) at fileToPickerData (/app/server/utils/files/index.js:365:25) at async Promise.all (index 0) at async viewLocalFiles (/app/server/utils/files/index.js:64:23) at async /app/server/endpoints/system.js:419:28 [backend] error: Cannot read properties of null (reading 'startsWith') TypeError: Cannot read properties of null (reading 'startsWith') at Object.canWatch (/app/server/models/documentSyncQueue.js:56:21) at fileToPickerData (/app/server/utils/files/index.js:365:25) at async Promise.all (index 0) at async viewLocalFiles (/app/server/utils/files/index.js:64:23) at async /app/server/endpoints/system.js:419:28 ``` ### Are there known steps to reproduce? Open AnythingLLM Try open the upload panel Stuck loading Then I've tried reboot containers, change milvus to Lance, and it keep stucked loading.
yindo added the possible bug label 2026-02-22 18:29:56 -05:00
yindo closed this issue 2026-02-22 18:29:56 -05:00
Author
Owner

@learning4life commented on GitHub (May 30, 2025):

How is the Docker volume configured?

https://docs.anythingllm.com/installation-docker/local-docker

@learning4life commented on GitHub (May 30, 2025): How is the Docker volume configured? https://docs.anythingllm.com/installation-docker/local-docker
Author
Owner

@Milor123 commented on GitHub (May 30, 2025):

How is the Docker volume configured?

https://docs.anythingllm.com/installation-docker/local-docker

this is my docker-compose.yml file, i am in windows 11, is it bad?

services:
  anythingllm:
    image: mintplexlabs/anythingllm
    container_name: anythingllm
    ports:
      - "3001:3001"
    cap_add:
      - SYS_ADMIN
    environment:
      - STORAGE_DIR=/app/server/storage # Esto es correcto
    restart: always
    #command: sleep infinity
    #entrypoint: ["tail", "-f", "/dev/null"] # <-- AÑADE ESTA LÍNEA AQUÍ
    volumes:
      # Mapeo de la carpeta SSL. Asegúrate que esta carpeta exista y contenga tus certificados si los usas.
      - C:\Linux\Linux-conf\anythingllm-desktop\sslcert/:/app/server/sslcert/
      - C:\Linux\Linux-conf\anythingllm-desktop\storage:/app/server/storage
      - C:\Linux\Linux-conf\anythingllm-desktop\storage\.env:/app/server/.env

      # Mapeo de la carpeta hotdir
      #- C:\Linux\Linux-conf\anythingllm-desktop\hotdir:/app/collector/hotdir

    extra_hosts:
      - "host.docker.internal:host-gateway"

#    networks:
#      - tunnel

# networks:
#   tunnel:
#     external: true

Problem Solved

I've change many things, and found the problem
In
Experimental Features >> Live Document Sync >> change of ON to OFF
Automatic Document Content Sync in OFF

When set it in OFF my upload panel works again!!!

@Milor123 commented on GitHub (May 30, 2025): > How is the Docker volume configured? > > https://docs.anythingllm.com/installation-docker/local-docker this is my docker-compose.yml file, i am in **windows 11**, is it bad? ```yaml services: anythingllm: image: mintplexlabs/anythingllm container_name: anythingllm ports: - "3001:3001" cap_add: - SYS_ADMIN environment: - STORAGE_DIR=/app/server/storage # Esto es correcto restart: always #command: sleep infinity #entrypoint: ["tail", "-f", "/dev/null"] # <-- AÑADE ESTA LÍNEA AQUÍ volumes: # Mapeo de la carpeta SSL. Asegúrate que esta carpeta exista y contenga tus certificados si los usas. - C:\Linux\Linux-conf\anythingllm-desktop\sslcert/:/app/server/sslcert/ - C:\Linux\Linux-conf\anythingllm-desktop\storage:/app/server/storage - C:\Linux\Linux-conf\anythingllm-desktop\storage\.env:/app/server/.env # Mapeo de la carpeta hotdir #- C:\Linux\Linux-conf\anythingllm-desktop\hotdir:/app/collector/hotdir extra_hosts: - "host.docker.internal:host-gateway" #    networks: #      - tunnel # networks: #   tunnel: #     external: true ``` ### Problem Solved I've change many things, and found the problem In Experimental Features >> Live Document Sync >> change of ON to **OFF** **Automatic Document Content Sync in OFF** When set it in **OFF** my upload panel works again!!!
Author
Owner

@learning4life commented on GitHub (Jun 2, 2025):

Maybe related to https://github.com/Mintplex-Labs/anything-llm/pull/3930

@learning4life commented on GitHub (Jun 2, 2025): Maybe related to https://github.com/Mintplex-Labs/anything-llm/pull/3930
Author
Owner

@timothycarambat commented on GitHub (Jun 3, 2025):

Fixed via https://github.com/Mintplex-Labs/anything-llm/pull/3930

@timothycarambat commented on GitHub (Jun 3, 2025): Fixed via https://github.com/Mintplex-Labs/anything-llm/pull/3930
yindo changed title from [BUG]: Stuck loading on upload documents module to [GH-ISSUE #3912] [BUG]: Stuck loading on upload documents module 2026-06-05 14:46:53 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2494