AdminFE settings blank (was: migrate_to_db isn't working) #162

Closed
opened 2020-10-12 16:44:40 +00:00 by EpicKitty · 2 comments
Member

Environment

  • Installation type (OTP or From Source): Source (Docker)
  • Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): 2.1.50-517-gbc3cf0fe-develop
  • Elixir version (elixir -v for from source installations, N/A for OTP): Elixir 1.10.4
  • Operating system: elixir:1.10.4-alpine (Docker container on Ubuntu)
  • PostgreSQL version (psql -V): psql (PostgreSQL) 9.6.19

Bug description

After an upgrade to 2.1.50-517-gbc3cf0fe-develop, we migrated our settings back to the database using the mix pleroma.config migrate_to_db command as usual. However, the AdminFE interface isn't allowing us to actually edit any settings as all of the tabs are grayed out. I've confirmed that the config :pleroma, configurable_from_database: true row is indeed inside our production config file and that we are also running in production mode.

When running the mix command to migrate, it does show the standard debug SQL queries and I have confirmed that it has placed the config rows into the database. I've also attempted to truncate the config table and re-run the command which has injected the rows back into the table.

We've also rebooted the instance a number of times and rebuilt the web container based upon the recommended config located here: https://github.com/angristan/docker-pleroma

Any further information is available upon request.

<!-- ### Precheck * For support use https://git.pleroma.social/pleroma/pleroma-support or [community channels](https://git.pleroma.social/pleroma/pleroma#community-channels). * Please do a quick search to ensure no similar bug has been reported before. If the bug has not been addressed after 2 weeks, it's fine to bump it. * Try to ensure that the bug is actually related to the Pleroma backend. For example, if a bug happens in Pleroma-FE but not in Mastodon-FE or mobile clients, it's likely that the bug should be filed in [Pleroma-FE](https://git.pleroma.social/pleroma/pleroma-fe/issues/new) repository. --> ### Environment * Installation type (OTP or From Source): Source (Docker) * Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): 2.1.50-517-gbc3cf0fe-develop * Elixir version (`elixir -v` for from source installations, N/A for OTP): Elixir 1.10.4 * Operating system: elixir:1.10.4-alpine (Docker container on Ubuntu) * PostgreSQL version (`psql -V`): psql (PostgreSQL) 9.6.19 ### Bug description After an upgrade to `2.1.50-517-gbc3cf0fe-develop`, we migrated our settings back to the database using the `mix pleroma.config migrate_to_db` command as usual. However, the AdminFE interface isn't allowing us to actually edit any settings as all of the tabs are grayed out. I've confirmed that the `config :pleroma, configurable_from_database: true` row is indeed inside our production config file and that we are also running in production mode. When running the `mix` command to migrate, it does show the standard debug SQL queries and I have confirmed that it has placed the config rows into the database. I've also attempted to truncate the config table and re-run the command which has injected the rows back into the table. We've also rebooted the instance a number of times and rebuilt the web container based upon the recommended config located here: https://github.com/angristan/docker-pleroma Any further information is available upon request.
Owner

Hello! This is a bug in AdminFE due to an incompatibility with a recent change, we'll have it fixed shortly.

Hello! This is a bug in AdminFE due to an incompatibility with a recent change, we'll have it fixed shortly.
Owner

100% related to pleroma/pleroma#6435/diffs

100% related to https://git.pleroma.social/pleroma/pleroma/pulls/6435/diffs
Sign in to join this conversation.
No labels
blocked
stale
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/admin-fe#162
No description provided.