dhelonious / mastodon-snap

Unofficial snap for Mastodon 🦣📦
GNU Affero General Public License v3.0
1 stars 0 forks source link

bundler: failed to load command: tootctl (/var/snap/mastodon-server/31/mastodon/bin/tootctl) #7

Closed eeegadds closed 1 week ago

eeegadds commented 1 month ago

Is there an existing issue for this?

Description

sudo mastodon-server.tootctl accounts create administrator --email xxxxxxxxx --role Owner --confirmed

get this error

bundler: failed to load command: tootctl (/var/snap/mastodon-server/31/mastodon/bin/tootctl) /var/snap/mastodon-server/31/mastodon/vendor/bundle/ruby/3.2.0/gems/actionpack-7.0.8.4/lib/action_dispatch/http/content_security_policy.rb:304:in `block in apply_mappings': Invalid content security policy source: nil (ArgumentError)

        raise ArgumentError, "Invalid content security policy source: #{source.inspect}"
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Version

newest

Architecture

amd64

OS

Ubuntu 24.04

dhelonious commented 1 month ago

I cannot reproduce this error. Could you please tell me what commands you used before this one?

By the way, names like "administrator" and "admin" are reserved and cannot be used. But tootctl would tell you if it was working properly.

dhelonious commented 1 week ago

I will close this for now. If this error occurs again, please reopen it.