Monitoring page fails - probably during a problem with an unavailable source for mirrored repositories #1791

Closed
opened 2025-11-02 04:13:20 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @SlavekB on GitHub (May 16, 2018).

  • Gitea version (or commit ref): 1.4.1
  • Git version: 2.1.4
  • Operating system: Debian GNU/Linux 8.x
  • 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:

Description

In my instance of Gitea I have several mirrors of GIT repositories. However, the source server of these mirrors is now unavailable for some time.

Screenshots

System Notices are properly reported about failure of mirror synchronization:

Failed to update mirror repository...

But Monitoring page now fails:

template: admin/monitor:52:19: executing "admin/monitor" at <.Start.FormatLong>: can't evaluate field FormatLong in type time.Time

Originally created by @SlavekB on GitHub (May 16, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.4.1 - Git version: 2.1.4 - Operating system: Debian GNU/Linux 8.x - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description In my instance of Gitea I have several mirrors of GIT repositories. However, the source server of these mirrors is now unavailable for some time. ## Screenshots System Notices are properly reported about failure of mirror synchronization: > Failed to update mirror repository... But Monitoring page now fails: > template: admin/monitor:52:19: executing "admin/monitor" at <.Start.FormatLong>: can't evaluate field FormatLong in type time.Time <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/bug label 2025-11-02 04:13:20 -06:00
Author
Owner

@SlavekB commented on GitHub (May 18, 2018):

I can confirm that when the source server for mirrors is available, Monitoring page is working again.

@SlavekB commented on GitHub (May 18, 2018): I can confirm that when the source server for mirrors is available, Monitoring page is working again.
Author
Owner

@ghost commented on GitHub (May 31, 2018):

I think it's caused by this PR #3142

@ghost commented on GitHub (May 31, 2018): I think it's caused by this PR #3142
Author
Owner

@daviian commented on GitHub (Jun 9, 2018):

@SlavekB @yasuokav Are you able to verify that the PR fixes that issue?

@daviian commented on GitHub (Jun 9, 2018): @SlavekB @yasuokav Are you able to verify that the PR fixes that issue?
Author
Owner

@ghost commented on GitHub (Jun 10, 2018):

@daviian Yes, it works for me now.

@ghost commented on GitHub (Jun 10, 2018): @daviian Yes, it works for me now.
Author
Owner

@lunny commented on GitHub (Jun 10, 2018):

closed by #4203

@lunny commented on GitHub (Jun 10, 2018): closed by #4203
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1791