can't evaluate field UseSendmail in type interface #2867

Closed
opened 2025-11-02 04:51:55 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @lsampaioweb on GitHub (Feb 6, 2019).

  • Gitea version (or commit ref): 4a747ae built with: bindata, sqlite, sqlite_unlock_notify
  • Git version: 2.18.1
  • Operating system: Mac OSX Mojave with docker 2.0.0.2 (30215)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
    template: admin/config:187:21: executing "admin/config" at <.Mailer.UseSendmail>: can't evaluate field UseSendmail in type interface {}

Description

Today I ran "docker image pull gitea/gitea:latest", and now every time I go to the page "admin/config" I get the error message above. The other pages are ok.

Originally created by @lsampaioweb on GitHub (Feb 6, 2019). - Gitea version (or commit ref): 4a747ae built with: bindata, sqlite, sqlite_unlock_notify - Git version: 2.18.1 - Operating system: Mac OSX Mojave with docker 2.0.0.2 (30215) - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [X] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [X] No - [ ] Not relevant - Log gist: template: admin/config:187:21: executing "admin/config" at <.Mailer.UseSendmail>: can't evaluate field UseSendmail in type interface {} ## Description Today I ran "docker image pull gitea/gitea:latest", and now every time I go to the page "admin/config" I get the error message above. The other pages are ok.
GiteaMirror added the type/bug label 2025-11-02 04:51:55 -06:00
Author
Owner

@techknowlogick commented on GitHub (Feb 6, 2019):

Thanks for reporting this 😄 This is likely related to this line: https://github.com/go-gitea/gitea/blob/master/templates/admin/config.tmpl#L187

There was recently a PR to add new mailer types, where this option was deprecated. I'll create a PR for this in a few hours, unless you want to create one first.

@techknowlogick commented on GitHub (Feb 6, 2019): Thanks for reporting this 😄 This is likely related to this line: https://github.com/go-gitea/gitea/blob/master/templates/admin/config.tmpl#L187 There was recently a PR to add new mailer types, where this option was deprecated. I'll create a PR for this in a few hours, unless you want to create one first.
Author
Owner

@zeripath commented on GitHub (Feb 6, 2019):

Sorry!

I missed that!

@zeripath commented on GitHub (Feb 6, 2019): Sorry! I missed that!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2867