Skip to content

Clean install from Docker gitea/gitea:latest ends with error 'open /data/gitea/LOG: is a directory' #13023

Closed
@kondelik

Description

@kondelik
  • Gitea version (or commit ref): sorry but no idea, this one - image: gitea/gitea:latest
  • Git version:
  • Operating system: WSL2 Docker
  • 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

Brand new instalation from Docker with gitea/gitea:latest (sorry, guys, no idea what current version is, but this one ) ends with error

version: "3.8"

services:
    gitea:
        image: gitea/gitea:latest # with 1.12.5 everything work - image: gitea/gitea:1.12.5
        environment:
            USER_UID: 1000
            USER_GID: 1000
            DB_TYPE: mysql
            DB_HOST: gitea-db:3306
            DB_NAME: gitea
            DB_PASSWD: 123 # please note these are not my real passwords
            SECRET_KEY: 456 # please note these are not my real secrets
            REQUIRE_SIGNIN_VIEW: "true"
#        restart: always # commented to better see the log after failing
        volumes:
            - ./gitea/data:/data
        depends_on:
            - gitea-db
        ports:
            - "3000:3000"
            - "222:22"

    gitea-db:
        image: mariadb:latest
        environment:
            MYSQL_DATABASE: gitea
            MYSQL_ROOT_PASSWORD: 123 # please note these are not my real passwords
            MYSQL_PASSWORD: 123 # please note these are not my real passwords
        restart: always
        volumes:
            - ./gitea/maria-db:/var/lib/mysql

Log (i formated it a little, it was one-liner):

2020/10/03 10:29:02 ...eue/queue_wrapped.go:231:Run() 
[F] Unable to set the internal queue for issue_indexer-wrapper 
Error: Unable to create queue level for issue_indexer with cfg
{"Addresses":"","BatchLength":20,"BlockTimeout":1000000000,"BoostTimeout":300000000000,"BoostWorkers":5,"ConnectionString":"/data/gitea","DBIndex":0,"DataDir":"/data/gitea/indexers/issues.queue","MaxWorkers":10,"Name":"issue_indexer","Network":"","Password":"","QueueLength":20,"QueueName":"issue_indexer_queue","SetName":"","Workers":1} 
by max attempts: 
error: open /data/gitea/LOG: is a directory

(looks like you guys are trying to open log directory as a file? IDK 😃 )

When i pull older version (image: gitea/gitea:1.12.5) everything works. Still, cant update to :latest with the same error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions