Skip to content

404 when access explore/code #25356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
webysther opened this issue Jun 18, 2023 · 1 comment
Closed

404 when access explore/code #25356

webysther opened this issue Jun 18, 2023 · 1 comment
Labels

Comments

@webysther
Copy link

webysther commented Jun 18, 2023

Description

I made a docker clean install and enable the code indexer with:

GITEA__indexer__REPO_INDEXER_ENABLED=true

Everything works like a charm, but the https://example.com/explore/code show 404 status code, every search in organization, repo works fine.

Another thing: I used gitea/gitea:latest and I get 1.20.0+rc0, RC is considered stable?

Gitea Version

1.20.0+rc0

Can you reproduce the bug on the Gitea demo site?

No, code search is disabled.

Log Gist

No response

Screenshots

image

Git Version

2.40.1, Wire Protocol Version 2 Enabled

Operating System

Container Manager (docker engine) on DSM 7.2

How are you running Gitea?

My deploy:

version: "3.9"

services:
  gitea:
    image: gitea/gitea:latest
    container_name: app-gitea
    env_file: .env
    networks:
      - gitea
    volumes:
      - "$STORAGE/data:/data"
      - /etc/TZ:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    expose:
      - 3000
      - 22
    restart: unless-stopped

networks:
  gitea:
    name: gitea

.env

USER_UID=1026
USER_GID=101
STORAGE=/volume1/docker/gitea
GITEA__migrations__ALLOW_LOCALNETWORKS=true
GITEA__indexer__REPO_INDEXER_ENABLED=true

Database

SQLite

@silverwind
Copy link
Member

Was fixed in #25181 and will be in next RC.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants