Skip to content
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

Two buttons "Install Gitea" on the initial installation page #27934

Closed
serious-angel opened this issue Nov 6, 2023 · 2 comments
Closed

Two buttons "Install Gitea" on the initial installation page #27934

serious-angel opened this issue Nov 6, 2023 · 2 comments
Labels

Comments

@serious-angel
Copy link

serious-angel commented Nov 6, 2023

Description

Dear Gitea Developers,

Thank you very much for the ineffably marvelous project, solution, work...

I am sorry, but just wanted to report a behavior when two "Install Gitea" buttons appear at the very first installation procedure (with Docker) for currently unknown reason. It seems like there's no such condition in the template.

Considering some screenshots found online, it looked unintentional:

An example from the reference

image

Best and kind regards ✨

Gitea Version

1.20.5

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

chrome_Installation_-_Gitea_Git_with_a_cup_of_tea_-_Googl_2023-11-06_11-43-22_Z_9Zl24NGY chrome_DevTools_-_2023-11-06_12-08-34_Z_SAkJzWKZ

Git Version

2.40.1

Operating System

Docker at Ubuntu Server 22.04.3

How are you running Gitea?

Docker version 24.0.6, build ed223bc.

`docker-compose.yaml`
version: '3'

name: 'gitea'

services:

  gitea:
    image: 'gitea/gitea'
    hostname: "${APP_HOSTNAME}"
    environment:
      - 'USER_UID=1000'
      - 'USER_GID=1000'
      - 'GITEA__database__DB_TYPE=postgres'
      - 'GITEA__database__HOST=db:5432'
      - "GITEA__database__NAME=${DB_DATABASE}"
      - "GITEA__database__USER=${DB_USERNAME}"
      - "GITEA__database__PASSWD=${DB_PASSWORD}"
    volumes:
      - '/var/docker/gitea/data:/data'
    ports:
      - '2000:22'
    networks:
      - 'gitea'

    depends_on:
      db:
        condition: 'service_healthy'

  db:
    image: 'postgres'
    environment:
      - "POSTGRES_DB=${DB_DATABASE}"
      - "POSTGRES_USER=${DB_USERNAME}"
      - "POSTGRES_PASSWORD=${DB_PASSWORD}"
    volumes:
      - '/var/docker/gitea/db:/var/lib/postgresql/data'
    networks:
      - 'gitea'
    healthcheck:
      test: ["CMD-SHELL", "sh -c 'pg_isready -U ${DB_USERNAME} -d ${DB_DATABASE}'"]
      interval: 10s
      timeout: 3s
      retries: 3

networks:
  gitea:

Database

PostgreSQL

@lng2020
Copy link
Member

lng2020 commented Nov 7, 2023

Thanks! fix -> #27941

lunny pushed a commit that referenced this issue Nov 7, 2023
@lng2020
Copy link
Member

lng2020 commented Nov 7, 2023

Close as #27941 merged.

@lng2020 lng2020 closed this as completed Nov 7, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 23, 2023
project-mirrors-bot-tu bot pushed a commit to project-mirrors/forgejo-as-gitea-fork that referenced this issue Jan 23, 2025
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