Unrecognized descriptor: @168h #548

Closed
opened 2025-11-02 03:27:47 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @camlafit on GitHub (Mar 20, 2017).

  • Gitea version (or commit ref):
  • Git version: 2.1.4
  • Operating system: Jessie i386
  • 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

Hi

I use 386 binary from https://dl.gitea.io
With 1.0.1, gitea run without problem : su -l git -s /bin/bash -c "/var/opt/gitea/gitea web --config /var/opt/gitea/webelys/custom/conf/app.ini"

If I update binary to 1.0.2 or more recent 1.1.x, I get this error : Unrecognized descriptor: @168h

2017/03/20 17:06:37 [I] Log Mode: File(Info)
2017/03/20 17:06:37 [I] XORM Log Mode: File(Info)
2017/03/20 17:06:37 [I] Cache Service Enabled
2017/03/20 17:06:37 [I] Session Service Enabled
2017/03/20 17:06:37 [I] Migration: generate and migrate wiki Git hooks
2017/03/20 17:06:38 [I] Git Version: 2.1.4
2017/03/20 17:06:38 [...modules/cron/cron.go:28 NewContext()] [E] Cron[Update mirrors]: Unrecognized descriptor: @168h
Originally created by @camlafit on GitHub (Mar 20, 2017). - Gitea version (or commit ref): - Git version: 2.1.4 - Operating system: Jessie i386 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description Hi I use 386 binary from https://dl.gitea.io With 1.0.1, gitea run without problem : **su -l git -s /bin/bash -c "/var/opt/gitea/gitea web --config /var/opt/gitea/webelys/custom/conf/app.ini"** If I update binary to 1.0.2 or more recent 1.1.x, I get this error : `Unrecognized descriptor: @168h` ``` 2017/03/20 17:06:37 [I] Log Mode: File(Info) 2017/03/20 17:06:37 [I] XORM Log Mode: File(Info) 2017/03/20 17:06:37 [I] Cache Service Enabled 2017/03/20 17:06:37 [I] Session Service Enabled 2017/03/20 17:06:37 [I] Migration: generate and migrate wiki Git hooks 2017/03/20 17:06:38 [I] Git Version: 2.1.4 2017/03/20 17:06:38 [...modules/cron/cron.go:28 NewContext()] [E] Cron[Update mirrors]: Unrecognized descriptor: @168h ```
Author
Owner

@camlafit commented on GitHub (Mar 20, 2017):

Ok

About this was a mistmake. Config file in 1.0.1 allowed this :

[cron.update_mirrors]
SCHEDULE = @168h

But since 1.0.2 is not valid, must be updated to :

[cron.update_mirrors]
SCHEDULE = @every 168h
@camlafit commented on GitHub (Mar 20, 2017): Ok About this was a mistmake. Config file in 1.0.1 allowed this : ``` [cron.update_mirrors] SCHEDULE = @168h ``` But since 1.0.2 is not valid, must be updated to : ``` [cron.update_mirrors] SCHEDULE = @every 168h ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#548