You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I could not replicate issue on my local instance, I tracked down issue to user table column keep_activity_private had null values instead of false. Still have no idea how they got there... could be either broken migration when column was added or ldap sync adding null values there 🤔
Anyway we should really make rule in database that all bool columns in database should be not null this would prevent such issues.
in case anyone else has this issue, temporary fix is to run this update in gitea database:
update"user"set keep_activity_private = false where keep_activity_private is null;
Description
When server is private than when opening user profile it's public activity is shown only for admin users, for other users it's hidden
Gitea Version
1.17.2
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?
Not relevant
Database
No response
The text was updated successfully, but these errors were encountered: