-
Notifications
You must be signed in to change notification settings - Fork 518
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
default_repository_dir from config.yml don't work #925
Comments
this is what i needed to do to get my domain to work. NOTE: i do not use the name
apache2 config>>
setting I use hosting24.com's webhosting service and another thing that needed to be done was remove due to an odd version of
to
================================================================ disregard, the part about however, what worked for me. was to set up a folder just for , lets say
it needed to be
have symlinks going to that directory. and it will find whatever is in there. (this is what I found to work. also. PERMISSIONS. needs to be set for the user that runs the webserver. this line helped with that.
i am using the zip 2.0.0 of gitlist |
I think most of these issues may originate with how the cache is being handled here. The .php file which was importing the settings appears to be dynamically created in the cache with the values from config.yml the first time gitlist is run. If config.yml is changed after that point without the cache being cleared (rm -rf /var/cache) then any changes to this file do nothing at all and the user has no idea why. |
My setup
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?
The text was updated successfully, but these errors were encountered: