Skip to content

[Anytype server] Installation fail mongodbΒ #14336

@danielceinos

Description

@danielceinos

βœ… Have you read and understood the above guidelines?

yes

πŸ”Ž Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

πŸ“œ What is the name of the script you are using?

Anytype Server

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/anytype-server.sh)"

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Ubuntu 24.04

πŸ“ˆ Which Proxmox version are you on?

9.1.9 (running kernel: 7.0.0-3-pve)

πŸ“ Provide a clear and concise description of the issue.

The installation fails after it tries to conect to the mongodb.

πŸ”„ Steps to reproduce the issue.

Just run the install script.

❌ Paste the full error output (if available).

βœ”οΈ Storage space validated
βœ”οΈ Storage local (Free: 41.1GB Used: 23.2GB) [Template]
βœ”οΈ Storage local-lvm (Free: 24.7GB Used: 116.6GB) [Container]
βœ”οΈ Storage 'local-lvm' (lvmthin) validated
βœ”οΈ Template storage 'local' validated
βœ”οΈ Template search completed
βœ”οΈ Template ubuntu-24.04-standard_24.04-2_amd64.tar.zst [local]
βœ”οΈ LXC Container 112 was successfully created.
βœ”οΈ Started LXC Container
βœ”οΈ Network in LXC is reachable (ping)
βœ”οΈ Customized LXC Container
πŸ’‘ No SSH keys to install (skipping).
βœ”οΈ Set up Container OS
βœ”οΈ Network Connected: 192.168.1.35
βœ”οΈ IPv4 Internet Connected
βœ–οΈ IPv6 Internet Not Connected
βœ”οΈ Git DNS: github.com:(βœ”οΈ ) raw.githubusercontent.com:(βœ”οΈ ) api.github.com:(βœ”οΈ ) git.community-scripts.org:(βœ”οΈ )
βœ”οΈ Updated Container OS
βœ”οΈ Setup MongoDB 8.0
βœ–οΈ in line 31: exit code 1 (General error / Operation not permitted): while executing command mongosh --eval rs.initiate({_id: "rs0", members: [{_id: 0, host: "127.0.0.1:27017"}]})

--- Last 20 lines of log ---

info: Adding system user mongodb' (UID 107) ... info: Adding new user mongodb' (UID 107) with group nogroup' ... info: Not creating /nonexistent'.
info: Selecting GID from range 100 to 999 ...
info: Adding group mongodb' (GID 110) ... info: Adding user mongodb' to group `mongodb' ...
Setting up mongodb-org-shell (8.0.21) ...
Setting up mongodb-database-tools (100.16.1) ...
Setting up mongodb-org-mongos (8.0.21) ...
Setting up mongodb-org-database-tools-extra (8.0.21) ...
Setting up mongodb-org-database (8.0.21) ...
Setting up mongodb-org-tools (8.0.21) ...
Setting up mongodb-org (8.0.21) ...
Processing triggers for man-db (2.12.0-4build2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/mongod.service β†’ /usr/lib/systemd/system/mongod.service.
[2026-05-08 18:49:12] [OK] Setup MongoDB 8.0
[2026-05-08 18:49:12] [INFO] Configuring MongoDB Replica Set
MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017
[2026-05-08 18:50:21] [ERROR] in line 31: exit code 1 (General error / Operation not permitted): while executing command mongosh --eval rs.initiate({_id: "rs0", members: [{_id: 0, host: "127.0.0.1:27017"}]})

full-log.txt

πŸ–ΌοΈ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions