添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Question

Errors running tootctl after deploying Mastodon 1-Click

Hello all. After deploying the 1-Click Mastodon droplet from the Marketplace, the setup completes successfully, the web interface displays and all indications from the web look good. However, from the CLI I can’t run any of the tootctl commands.

For example:

RAILS_ENV=production bin/tootctl --version

responds with:

/home/mastodon/live/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.7/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec': PG::UndefinedTable: ERROR:  relation "accounts" does not exist (ActiveRecord::StatementInvalid)
LINE 8:  WHERE a.attrelid = '"accounts"'::regclass

And any tootctl command responds similarly. I selected the option to “Add a managed Database Cluster to work with your Mastodon Droplet” in order to simplify the db connection, and the info looks accurate in the .env.production file.

Any ideas as to what’s causing the tootctl message? I’ve blown away and created two instances and have had the same result.

Thanks for your assistance.