JSON.parse: unexpected end of data at line 1 column 1 of the JSON data #1595

Closed
opened 2026-02-05 01:43:00 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @fwn0 on GitHub (Sep 7, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

paperless-ngx, part of script paperless-ai

📂 What was the exact command used to execute the script?

root-proxmox=paperless-ngx, paperless LXC user - part of script paperless-ai

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📈 Which Proxmox version are you on?

Proxmox Virtual Environment 9.0.6

📝 Provide a clear and concise description of the issue.

JSON.parse: unexpected end of data at line 1 column 1 of the JSON data -

🔄 Steps to reproduce the issue.

Proxmox Virtual Environment 9.0.6
LXC with Hetzner's MAC as vmbr0

  1. Creation of VM with Paperless-ngx script
  2. Setup of all dependencies for Ollama, Paperless-AI (raw setup script; pip, nodejs, curl, unzip, sudo, lshw, etc.)
  3. Install Ollama with Deepseek - testing in terminal
  4. Setup Paperless-AI according to raw paperless-ai-install.sh in VM (only the parts suitable for VM - no other parts of the entire script for root in Proxmox. (node-22)
  5. Paperless-AI editing .env and initial setup.
  6. Paperless-ngx and Ollama initialization OK.
  7. After approx. 6 seconds, the message: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data

Paste the full error output (if available).

JSON.parse: unexpected end of data at line 1 column 1 of the JSON data

🖼️ Additional context (optional).

GNU nano 7.2 logs.txt
[2025-09-07T19:11:56.469Z] [INFO] [DEBUG] Received SIGTERM signal. Starting graceful shutdown...
[2025-09-07T19:11:56.479Z] [INFO] [DEBUG] Closing database...
[2025-09-07T19:11:56.479Z] [INFO] [DEBUG] Database closed successfully
[2025-09-07T19:11:56.480Z] [INFO] [DEBUG] Database closed successfully
[2025-09-07T19:11:57.223Z] [INFO] OpenAPI specification saved to /opt/paperless-ai/OPENAPI/openapi.json
[2025-09-07T19:11:57.224Z] [INFO] Server running on port 3000
[2025-09-07T19:11:57.225Z] [INFO] PAPERLESS_API_URL not set. Starting setup process...
[2025-09-07T19:11:57.225Z] [INFO] Setup not completed. Visit http://your-machine-ip:3000/setup to complete setup.
[2025-09-07T19:11:57.226Z] [ERROR] [ERROR] fetching own user ID: Cannot read properties of null (reading 'get')
[2025-09-07T19:11:57.226Z] [ERROR] Failed to get own user ID. Abort scanning.
[2025-09-07T19:12:02.239Z] [INFO] [DEBUG] Received SIGTERM signal. Starting graceful shutdown...
[2025-09-07T19:12:02.240Z] [INFO] [DEBUG] Closing database...
[2025-09-07T19:12:02.240Z] [INFO] [DEBUG] Database closed successfully
[2025-09-07T19:12:02.240Z] [INFO] [DEBUG] Database closed successfully
[2025-09-07T19:12:03.048Z] [INFO] OpenAPI specification saved to /opt/paperless-ai/OPENAPI/openapi.json
[2025-09-07T19:12:03.050Z] [INFO] Server running on port 3000
[2025-09-07T19:12:03.051Z] [INFO] PAPERLESS_API_URL not set. Starting setup process...
[2025-09-07T19:12:03.052Z] [INFO] Setup not completed. Visit http://your-machine-ip:3000/setup to complete setup.
[2025-09-07T19:12:03.052Z] [ERROR] [ERROR] fetching own user ID: Cannot read properties of null (reading 'get')
[2025-09-07T19:12:03.052Z] [ERROR] Failed to get own user ID. Abort scanning.
[2025-09-07T19:12:07.987Z] [INFO] [DEBUG] Received SIGTERM signal. Starting graceful shutdown...
[2025-09-07T19:12:07.988Z] [INFO] [DEBUG] Closing database...
[2025-09-07T19:12:07.988Z] [INFO] [DEBUG] Database closed successfully
[2025-09-07T19:12:07.989Z] [INFO] [DEBUG] Database closed successfully
[2025-09-07T19:12:08.736Z] [INFO] OpenAPI specification saved to /opt/paperless-ai/OPENAPI/openapi.json
[2025-09-07T19:12:08.737Z] [INFO] Server running on port 3000
[2025-09-07T19:12:08.739Z] [INFO] PAPERLESS_API_URL not set. Starting setup process...
[2025-09-07T19:12:08.739Z] [INFO] Setup not completed. Visit http://your-machine-ip:3000/setup to complete setup.
[2025-09-07T19:12:08.739Z] [ERROR] [ERROR] fetching own user ID: Cannot read properties of null (reading 'get')
[2025-09-07T19:12:08.739Z] [ERROR] Failed to get own user ID. Abort scanning.
[2025-09-07T19:12:13.477Z] [INFO] [DEBUG] Received SIGTERM signal. Starting graceful shutdown...
[2025-09-07T19:12:13.479Z] [INFO] [DEBUG] Closing database...
[2025-09-07T19:12:13.479Z] [INFO] [DEBUG] Database closed successfully
[2025-09-07T19:12:13.479Z] [INFO] [DEBUG] Database closed successfully
[2025-09-07T19:12:14.223Z] [INFO] OpenAPI specification saved to /opt/paperless-ai/OPENAPI/openapi.json
[2025-09-07T19:12:14.224Z] [INFO] Server running on port 3000
[2025-09-07T19:12:14.225Z] [INFO] PAPERLESS_API_URL not set. Starting setup process...
[2025-09-07T19:12:14.226Z] [INFO] Setup not completed. Visit http://your-machine-ip:3000/setup to complete setup.
[2025-09-07T19:12:14.226Z] [ERROR] [ERROR] fetching own user ID: Cannot read properties of null (reading 'get')
[2025-09-07T19:12:14.226Z] [ERROR] Failed to get own user ID. Abort scanning.
[2025-09-07T19:12:18.969Z] [INFO] [DEBUG] Received SIGTERM signal. Starting graceful shutdown...
[2025-09-07T19:12:18.978Z] [INFO] [DEBUG] Closing database...
[2025-09-07T19:12:18.978Z] [INFO] [DEBUG] Database closed successfully
[2025-09-07T19:12:18.978Z] [INFO] [DEBUG] Database closed successfully

Originally created by @fwn0 on GitHub (Sep 7, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? paperless-ngx, part of script paperless-ai ### 📂 What was the exact command used to execute the script? root-proxmox=paperless-ngx, paperless LXC user - part of script paperless-ai ### ⚙️ What settings are you using? - [ ] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📈 Which Proxmox version are you on? Proxmox Virtual Environment 9.0.6 ### 📝 Provide a clear and concise description of the issue. JSON.parse: unexpected end of data at line 1 column 1 of the JSON data - ### 🔄 Steps to reproduce the issue. Proxmox Virtual Environment 9.0.6 LXC with Hetzner's MAC as vmbr0 1. Creation of VM with Paperless-ngx script 2. Setup of all dependencies for Ollama, Paperless-AI (raw setup script; pip, nodejs, curl, unzip, sudo, lshw, etc.) 3. Install Ollama with Deepseek - testing in terminal 4. Setup Paperless-AI according to raw paperless-ai-install.sh in VM (only the parts suitable for VM - no other parts of the entire script for root in Proxmox. (node-22) 4. Paperless-AI editing .env and initial setup. 5. Paperless-ngx and Ollama initialization OK. 6. After approx. 6 seconds, the message: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data ### ❌ Paste the full error output (if available). JSON.parse: unexpected end of data at line 1 column 1 of the JSON data ### 🖼️ Additional context (optional). GNU nano 7.2 logs.txt [2025-09-07T19:11:56.469Z] [INFO] [DEBUG] Received SIGTERM signal. Starting graceful shutdown... [2025-09-07T19:11:56.479Z] [INFO] [DEBUG] Closing database... [2025-09-07T19:11:56.479Z] [INFO] [DEBUG] Database closed successfully [2025-09-07T19:11:56.480Z] [INFO] [DEBUG] Database closed successfully [2025-09-07T19:11:57.223Z] [INFO] OpenAPI specification saved to /opt/paperless-ai/OPENAPI/openapi.json [2025-09-07T19:11:57.224Z] [INFO] Server running on port 3000 [2025-09-07T19:11:57.225Z] [INFO] PAPERLESS_API_URL not set. Starting setup process... [2025-09-07T19:11:57.225Z] [INFO] Setup not completed. Visit http://your-machine-ip:3000/setup to complete setup. [2025-09-07T19:11:57.226Z] [ERROR] [ERROR] fetching own user ID: Cannot read properties of null (reading 'get') [2025-09-07T19:11:57.226Z] [ERROR] Failed to get own user ID. Abort scanning. [2025-09-07T19:12:02.239Z] [INFO] [DEBUG] Received SIGTERM signal. Starting graceful shutdown... [2025-09-07T19:12:02.240Z] [INFO] [DEBUG] Closing database... [2025-09-07T19:12:02.240Z] [INFO] [DEBUG] Database closed successfully [2025-09-07T19:12:02.240Z] [INFO] [DEBUG] Database closed successfully [2025-09-07T19:12:03.048Z] [INFO] OpenAPI specification saved to /opt/paperless-ai/OPENAPI/openapi.json [2025-09-07T19:12:03.050Z] [INFO] Server running on port 3000 [2025-09-07T19:12:03.051Z] [INFO] PAPERLESS_API_URL not set. Starting setup process... [2025-09-07T19:12:03.052Z] [INFO] Setup not completed. Visit http://your-machine-ip:3000/setup to complete setup. [2025-09-07T19:12:03.052Z] [ERROR] [ERROR] fetching own user ID: Cannot read properties of null (reading 'get') [2025-09-07T19:12:03.052Z] [ERROR] Failed to get own user ID. Abort scanning. [2025-09-07T19:12:07.987Z] [INFO] [DEBUG] Received SIGTERM signal. Starting graceful shutdown... [2025-09-07T19:12:07.988Z] [INFO] [DEBUG] Closing database... [2025-09-07T19:12:07.988Z] [INFO] [DEBUG] Database closed successfully [2025-09-07T19:12:07.989Z] [INFO] [DEBUG] Database closed successfully [2025-09-07T19:12:08.736Z] [INFO] OpenAPI specification saved to /opt/paperless-ai/OPENAPI/openapi.json [2025-09-07T19:12:08.737Z] [INFO] Server running on port 3000 [2025-09-07T19:12:08.739Z] [INFO] PAPERLESS_API_URL not set. Starting setup process... [2025-09-07T19:12:08.739Z] [INFO] Setup not completed. Visit http://your-machine-ip:3000/setup to complete setup. [2025-09-07T19:12:08.739Z] [ERROR] [ERROR] fetching own user ID: Cannot read properties of null (reading 'get') [2025-09-07T19:12:08.739Z] [ERROR] Failed to get own user ID. Abort scanning. [2025-09-07T19:12:13.477Z] [INFO] [DEBUG] Received SIGTERM signal. Starting graceful shutdown... [2025-09-07T19:12:13.479Z] [INFO] [DEBUG] Closing database... [2025-09-07T19:12:13.479Z] [INFO] [DEBUG] Database closed successfully [2025-09-07T19:12:13.479Z] [INFO] [DEBUG] Database closed successfully [2025-09-07T19:12:14.223Z] [INFO] OpenAPI specification saved to /opt/paperless-ai/OPENAPI/openapi.json [2025-09-07T19:12:14.224Z] [INFO] Server running on port 3000 [2025-09-07T19:12:14.225Z] [INFO] PAPERLESS_API_URL not set. Starting setup process... [2025-09-07T19:12:14.226Z] [INFO] Setup not completed. Visit http://your-machine-ip:3000/setup to complete setup. [2025-09-07T19:12:14.226Z] [ERROR] [ERROR] fetching own user ID: Cannot read properties of null (reading 'get') [2025-09-07T19:12:14.226Z] [ERROR] Failed to get own user ID. Abort scanning. [2025-09-07T19:12:18.969Z] [INFO] [DEBUG] Received SIGTERM signal. Starting graceful shutdown... [2025-09-07T19:12:18.978Z] [INFO] [DEBUG] Closing database... [2025-09-07T19:12:18.978Z] [INFO] [DEBUG] Database closed successfully [2025-09-07T19:12:18.978Z] [INFO] [DEBUG] Database closed successfully
OVERLORD added the bug label 2026-02-05 01:43:00 +03:00
Author
Owner

@MickLesk commented on GitHub (Sep 7, 2025):

Heh wtf? What is the issue? We dont have any paperless ngx VM, and at all Not AIO VMs or something else? Are you Sure, that you are right Here?

Which Script are you excactly running? The bash call in issue Template is missing.

@MickLesk commented on GitHub (Sep 7, 2025): Heh wtf? What is the issue? We dont have any paperless ngx VM, and at all Not AIO VMs or something else? Are you Sure, that you are right Here? Which Script are you excactly running? The bash call in issue Template is missing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1595