Skip to content

Activity pages (besides Pulse) brocken - Server sends negative Unix-time  #31248

Closed
@snoweuph

Description

@snoweuph

Description

The Activity Tab are loading a long time, and then are just empty.
This does not seeme to be the same problem as: #30851

This happens to all Repos on my Instance:.
Test Repo: https://git.euph.dev/Snoweuph/Dotfiles/activity/contributors

it looks like my server is sending negative unix time:
https://git.euph.dev/Snoweuph/Dotfiles/activity/contributors/data
specificly all unixtimestamps are -62135596800000

Gitea Version

22.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://pastebin.com/LU9eVE2W

Screenshots

image
image

Git Version

2.20.1

Operating System

Debian 10 - Kernel 4.19.0-26

How are you running Gitea?

I run gitea as a Systemd Service.

gitea.service

[Unit]
Description=Gitea (Git with a cup of tea)
After=syslog.target
After=network.target

[Service]
RestartSec=2s
Type=simple
User=git
Group=git
WorkingDirectory=/var/lib/gitea/
ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini
Restart=always
Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/gitea

[Install]
WantedBy=multi-user.target

app.ini

APP_NAME = Giteuph
RUN_USER = git
RUN_MODE = prod
WORK_PATH = /var/lib/gitea

[oauth2]
JWT_SECRET = ...

[security]
INTERNAL_TOKEN = ...
INSTALL_LOCK = true
SECRET_KEY = ...

[database]
DB_TYPE = mysql
HOST = 127.0.0.1:3306
NAME = gitea
USER = gitea
PASSWD = ...
SCHEMA =
SSL_MODE = disable
CHARSET = utf8
PATH = /var/lib/gitea/data/gitea.db
LOG_SQL = false

[repository]
ROOT = /home/git/gitea-repositories

[attachment]
MAX_SIZE = 1000

[server]
SSH_DOMAIN = git.euph.dev
DOMAIN = git.euph.dev
HTTP_PORT = 3000
ROOT_URL = https://git.euph.dev/
DISABLE_SSH = false
SSH_PORT = 22
LFS_START_SERVER = true
LFS_JWT_SECRET = ...
OFFLINE_MODE = false

[storage.packages]
STORAGE_TYPE = local
PATH = /mnt/gitea-data/packages

[mailer]
ENABLED = true
SMTP_ADDR = box.euph.email:465
FROM = [email protected]
USER = [email protected]
PASSWD = ...

[service]
REGISTER_EMAIL_CONFIRM = true
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = true
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
ENABLE_CAPTCHA = true
REQUIRE_SIGNIN_VIEW = false
DEFAULT_KEEP_EMAIL_PRIVATE = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = noreply.localhost

[picture]
DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = false

[openid]
ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = false

[session]
PROVIDER = file

[log]
MODE = file
LEVEL = info
ROOT_PATH = /var/lib/gitea/log
REDIRECT_MACARON_LOG = true
MACARON = console

[ui]
THEMES = gitea-auto,gitea-light,gitea-dark,catppuccin-latte-blue,catppuccin-latte-flamingo,catppuccin-latte-green,catppuccin-latte-lavender,catppuccin-latte-maroon,catppuccin-latte-mauve,catppuccin-latte-peach,catppuccin-latte-pink,cat$
DEFAULT_THEME = gitea-auto

[actions]
ENABLED = true

Database

MySQL/MariaDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions