Libravatar, although enabled at install time, is not working #10050

Closed
opened 2025-11-02 08:56:54 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @strk on GitHub (Jan 3, 2023).

Description

I've deployed a new Gitea from current main branch v1.19.0-dev-263-gefa708501 and libravatar lookup is not occurring.

It may or may not be related to the recent deprecation of app.ini setting. The install procedure allows you to configure it and writes it into app.ini but evidently doesn't write it in database where it now belongs ?

Gitea Version

v1.19.0-dev-263-gefa708501

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

From build tree

Database

PostgreSQL

Originally created by @strk on GitHub (Jan 3, 2023). ### Description I've deployed a new Gitea from current main branch v1.19.0-dev-263-gefa708501 and libravatar lookup is not occurring. It may or may not be related to the recent deprecation of app.ini setting. The install procedure allows you to configure it and writes it into app.ini but evidently doesn't write it in database where it now belongs ? ### Gitea Version v1.19.0-dev-263-gefa708501 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? From build tree ### Database PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 08:56:54 -06:00
Author
Owner

@strk commented on GitHub (Jan 3, 2023):

Things only work after I enable federated avatar from the admin screen, where it appears as disabled despite the corresponding checkbox being checked at install time. The database table system_setting did not contain any record with setting_key = picture.enable_federated_avatar which was taken by Gitea as meaning DISABLED . I guess the previous behavior was for the default to be ENABLED judging from the install screen checkbox being checked by default.

@strk commented on GitHub (Jan 3, 2023): Things only work after I enable federated avatar from the admin screen, where it appears as disabled despite the corresponding checkbox being checked at install time. The database table `system_setting` did not contain any record with `setting_key` = `picture.enable_federated_avatar` which was taken by Gitea as meaning DISABLED . I guess the previous behavior was for the default to be ENABLED judging from the install screen checkbox being checked by default.
Author
Owner

@strk commented on GitHub (Jan 3, 2023):

Another problem (needs a separate ticket?) is that you can NOT re-enable gravatar after disabling it from the admin screen, as it has no effect (reloading the page keeps shows the control turned on even if you try to turn it off)

@strk commented on GitHub (Jan 3, 2023): Another problem (needs a separate ticket?) is that you can NOT re-enable gravatar after disabling it from the admin screen, as it has no effect (reloading the page keeps shows the control turned on even if you try to turn it off)
Author
Owner

@strk commented on GitHub (Jan 3, 2023):

I'm re-doing the process from scratch, from empty database and no app.ini -- doing so I realized that "libravatar" was NOT enabled by default, so I must have done that myself.

@strk commented on GitHub (Jan 3, 2023): I'm re-doing the process from scratch, from empty database and no app.ini -- doing so I realized that "libravatar" was NOT enabled by default, so I must have done that myself.
Author
Owner

@strk commented on GitHub (Jan 3, 2023):

The libravatar enabling at install time is fixed by #22326 so I'm closing this. Will file a new ticket for the inability to change configuration.

@strk commented on GitHub (Jan 3, 2023): The libravatar enabling at install time is fixed by #22326 so I'm closing this. Will file a new ticket for the inability to change configuration.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10050