Skip to content

default_repository_dir from config.yml don't work #925

@dronmaxman

Description

@dronmaxman

My setup

Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

Apache 2.4.54-1~deb11u1
php8.1 8.1.16+repack-1+0~20230214.36+debian11~1.gbpb38498

The settings file (config.yml) does not work.

I'm add ENV to .htaccess "SetEnv DEFAULT_REPOSITORY_DIR "/var/lib/git/repositories", after this gitlist start show name of only one repository from /var/lib/git/repositories. When I try to open the repository, I get an error 404.

In prod.log
[2023-02-24T01:04:06.435503+02:00] request.INFO: Matched route "repository_list". {"route":"repository_list","route_parameters":{"_route":"repository_list","_controller":"GitList\\App\\Controller\\Repository::list"},"request_uri":"https://test- git.deps.kiev.ua/","method":"GET"} []

How to apply settings from config.yml?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions