Hi, On Thu, Jun 6, 2019 at 7:43 PM 'J Cornily' via Trac Users <[email protected]> wrote: > Thank you for you reply. > > I enabled the cache in the git section, and it does something in the uuuu.log, > and as you suggested, resync the depot with > > sudo trac-admin /srv/uuuu repository resync '(default)' > > Bus as you can see in gui.png > I still can't see any revision for my depot '(default)' > neither trace of my commits
The following messages are logged in trac.log. It means that your web server cannot read the git repository '/srv/gtrac/.git'. (140259752396928) Trac[uuuu:git_fs] INFO: detected GIT version 1.8.3.1 (140259752396928) Trac[uuuu:PyGIT] DEBUG: Missing Git control file 'HEAD' in '/srv/gtrac/.git' (140259752396928) Trac[uuuu:git_fs] ERROR: GitError: Git control files not found in '/srv/gtrac/.git' I suggest to make sure the git repository is readable by the web server like this: (www-data should be replaced with user id of your web server) $ sudo -u www-data git --git-dir=/srv/gtrac/.git count-objects -v -- Jun Omae <[email protected]> (大前 潤) -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAEVLMaiuX34ZwAqOVWP1QiziEdp6R9RmfWK%3D5QMqa2zRow_T0Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
