entire settings tab became disabled #157

Closed
opened 2020-09-21 13:57:13 +00:00 by gitlab-ghost-3733 · 8 comments

(solo-user instance, so im the only admin)

after changing some instance-icons settings and restarting, entire settings tab became disabled, without any relevant errors in console

server-restart and re-login didnt help

settings_disabled

(solo-user instance, so im the only admin) after changing some instance-icons settings and restarting, entire settings tab became disabled, without any relevant errors in console server-restart and re-login didnt help ![settings_disabled](/attachments/d508fd89-2dd6-473e-b373-38c7a04982ce)
Owner

Any chance at all you've removed config :pleroma, configurable_from_database: true from the config file by accident?

I have a very faint memory of this happening but I don't remember the cause.

Any chance at all you've removed `config :pleroma, configurable_from_database: true` from the config file by accident? I have a very faint memory of this happening but I don't remember the cause.
Author
Member
> cat /opt/pleroma/config/prod.secret.exs | grep configurable_from_database
config :pleroma, configurable_from_database: true

i did not even do anything on the server console, just pressed "restart instance" after setting change in admin-fe

```sh > cat /opt/pleroma/config/prod.secret.exs | grep configurable_from_database config :pleroma, configurable_from_database: true ``` i did not even do anything on the server console, just pressed "restart instance" after setting change in admin-fe
Author
Member

the /web (masto-fe) also became the white void.

last thing i did was adding [:rel] [apple-touch-icon] in instance-icons (uploaded new one into static/static/)

trying to reproduce it on a new install atm

the `/web` (masto-fe) also became the white void. last thing i did was adding [`:rel`] [`apple-touch-icon`] in instance-icons (uploaded new one into `static/static/`) trying to reproduce it on a new install atm
Member

Hey @dym! Do you still have this issue?

Hey @dym! Do you still have this issue?
Author
Member

on my instance i still have no access to settings – nothing changed

so, yes, this is still relevant

on my instance i still have no access to settings – nothing changed so, yes, this is still relevant
Member

We had a similar issue in another instance and it was caused by wrong format of config that came to admin-fe. :mrf_user_allowlist config had depricated format, it couldn't be parsed and admin-fe disabled the Settings tabs. Can you please check, maybe it's the same issue you have? Or you can send me response for /api/pleroma/admin/config that you get in admin-fe and I will check it myself.

We had a similar issue in another instance and it was caused by wrong format of config that came to admin-fe. `:mrf_user_allowlist` config had depricated format, it couldn't be parsed and admin-fe disabled the Settings tabs. Can you please check, maybe it's the same issue you have? Or you can send me response for /api/pleroma/admin/config that you get in admin-fe and I will check it myself.
Author
Member

sure;

i looked thorough it and this looked kinda suspicious:

        {
          "tuple": [
            ":icons",
            {}
          ]
        }
sure; i looked thorough it and this looked kinda suspicious: ``` json { "tuple": [ ":icons", {} ] } ```
Member

Yes, you are right, it is the issue with :icons being an Object, and it is expected to be an Array as it has type ['list', 'map']. We will fix that!

btw, I think you should remove the json above as it might have some keys etc

Yes, you are right, it is the issue with `:icons` being an Object, and it is expected to be an Array as it has type `['list', 'map']`. We will fix that! btw, I think you should remove the json above as it might have some keys etc
Sign in to join this conversation.
No labels
blocked
stale
No milestone
No project
No assignees
3 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#157
No description provided.