i modify the Folder containing to the git repos in /etc/pagure/pagure.cfg just like GIT_FOLDER = os.path.join( '/srv/git', 'repos' )
and “/srv/git” is the home of user git, When I open the pagure page, there is always the following prompt “The permissions on this repository are being updated. This may take a while. During this time, you or some of the project's contributors may not be able to push to this repository” and i can't delete project at the same time
What should I set the permissions to /srv/git
and “/srv/git” is the home of user git, When I open the pagure page, there is always the following prompt “The permissions on this repository are being updated. This may take a while. During this time, you or some of the project's contributors may not be able to push to this repository” and i can't delete project at the same time What should I set the permissions to /srv/git
This message does not relate to the permission on the filesystem. It was a message set and displayed while pagure was re-generated the gitolite configuration (when pagure was using gitolite in the backend). If you see this today it is likely that you do not have one of the pagure workers working correctly. Sometime a task fail for the worker (which you should be able to see in the workers' log) and the DB doesn't get updated. You can then manually change this status using pagure-admin, see pagure-admin read-only -h for more info
pagure-admin read-only -h
Thank you very much. After I configured the log, I found that pagure.cfg did not have permission when creating the project. The problem was solved by modifying the path corresponding to pagure.cfg
Metadata Update from @zwl: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)