Skip to content

[Mastodon] Operation not permitted while running the install script #16808

Description

@frontend-report

Script: Mastodon

Reported by: @ALittlePatate

Guidelines

  • Read and understood guidelines: yes
  • Verbose mode used: yes

Issue occurs during: Initial Creation / Installation

Environment

  • Linux distribution: Debian
  • Proxmox version: 9.1
  • Default settings: Yes
  • Advanced settings: No
  • Exact command: bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/mastodon.sh)"

Description

During the install, Mastodon throws an error and the script fails.

Steps to reproduce

Start the install script in the proxmox PVE shell, then install with default settings.

Error output

==> Downloading ruby-4.0.5.tar.gz...
-> curl -q -fL -o ruby-4.0.5.tar.gz https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.5.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22.7M 100 22.7M 0 0 17.7M 0 0:00:01 0:00:01 --:--:-- 17.7M
==> Installing ruby-4.0.5...
-> ./configure "--prefix=$HOME/.rbenv/versions/4.0.5" --enable-shared --with-ext=openssl,psych,+
-> make -j 4
-> make install
==> Installed ruby-4.0.5 to /root/.rbenv/versions/4.0.5

NOTE: to activate this Ruby version as the new default, run: rbenv global 4.0.5
✔️ Setup Ruby 4.0.5
✔️ Deployed: mastodon (4.7.0)
⏳ Installing Ruby Dependenciesrbenv: version `4.0.6' is not installed (set by /opt/mastodon/.ruby-version)
✖️ in line 60: exit code 1 (General error / Operation not permitted): while executing command bundle config set --local without 'development test'

--- Last 20 lines of log ---
[2026-08-27 00:29:31] [INFO] Installing Dependencies
[2026-08-27 00:30:08] [OK] Installed Dependencies
[2026-08-27 00:30:08] [INFO] Setup FFmpeg latest (full)
[2026-08-27 00:36:56] [OK] Setup FFmpeg 9.0.1
[2026-08-27 00:36:56] [INFO] Setup Node.js 24
[2026-08-27 00:37:03] [OK] Setup Node.js 24
[2026-08-27 00:37:03] [INFO] Installing corepack
[2026-08-27 00:37:04] [OK] Installed corepack
[2026-08-27 00:37:04] [INFO] Enabling corepack
[2026-08-27 00:37:04] [OK] Enabled corepack
[2026-08-27 00:37:06] [INFO] Setup PostgreSQL 17
[2026-08-27 00:37:24] [OK] Setup PostgreSQL 17
[2026-08-27 00:37:24] [INFO] Setting up PostgreSQL Database
[2026-08-27 00:37:24] [OK] Set up PostgreSQL Database
[2026-08-27 00:37:24] [INFO] Setup Ruby 4.0.5
[2026-08-27 00:41:24] [OK] Setup Ruby 4.0.5
[2026-08-27 00:41:24] [INFO] Fetching GitHub release: mastodon (4.7.0)
[2026-08-27 00:41:30] [OK] Deployed: mastodon (4.7.0)
[2026-08-27 00:41:30] [INFO] Installing Ruby Dependencies
[2026-08-27 00:41:30] [ERROR] in line 60: exit code 1 (General error / Operation not permitted): while executing command bundle config set --local without 'development test'

✖️ Installation failed in container 140 (exit code: 1)
📋 Installation log: /tmp/mastodon-140-7bc44d1d.log

Error: General error / Operation not permitted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions