-
Notifications
You must be signed in to change notification settings - Fork 517
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
500 Internal Server Error #908
Comments
Not really possible to debug this without some PHP logs. Have you checked the application log folder, or PHP's log? |
I'm getting a similar issue ```[2022-07-31T12:05:11.804734+01:00] php.CRITICAL: Uncaught Error: GitList\SCM\Repository::__construct(): Argument #1 ($path) must be of type string, bool given, called in /home/share/gitlist/src/Repository/Index.php on line 34 {"exception":"[object] (TypeError(code: 0): GitList\SCM\Repository::__construct(): Argument #1 ($path) must be of type string, bool given, called in /home/share/gitlist/src/Repository/Index.php on line 34 at /home/share/gitlist/src/SCM/Repository.php:9)"} [] [2022-07-31T12:05:11.807265+01:00] request.CRITICAL: Uncaught PHP Exception TypeError: "GitList\SCM\Repository::__construct(): Argument #1 ($path) must be of type string, bool given, called in /home/share/gitlist/src/Repository/Index.php on line 34" at /home/share/gitlist/src/SCM/Repository.php line 9 {"exception":"[object] (TypeError(code: 0): GitList\SCM\Repository::__construct(): Argument #1 ($path) must be of type string, bool given, called in /home/share/gitlist/src/Repository/Index.php on line 34 at /home/share/gitlist/src/SCM/Repository.php:9)"} []``` By the way, I'm using gitolite. |
|
I'm getting the same error using gitlist 2.0.0 & apache 2.24.54 and php 8.1.8
Since there is no /index.php this sorta makes sense.
if you go to http://localhost/gitlist/public/index.php you get the following You can see our implementation here https://github.com/Bearsampp/module-gitlist |
Did you guys download the release zip/tarball, or cloned the repo? If you cloned the repo, you won't have the compiled assets, so you have to do it all by yourself by following the developer instructions. |
we downloaded https://github.com/klaussilveira/gitlist/releases/download/2.0.0/gitlist-2.0.0.zip |
Seems like a duplicate of #917 Can you check that thread and see if the proposed fixes yield anything for you? |
@klaussilveira I'm getting confused ( i'm old 🤣 ) so I'm going to have my partner take a look @ this. |
@klaussilveira , The error being reported is error 500 not 404. Are you saying that the recommended steps for the 404 error will work for a 500 error? |
if it matters our users typically have several repos They all are like |
After installing all the dependencies, I get a pretty print 500 internal server error page. Upon checking the nginx error logs, I only get
2022/06/14 17:04:03 [notice] 25559#25559: signal process started
and no diagnostic error messages.
I have not touched the default config.yml. I am running php version
and symfony version
Symfony CLI version 5.4.11
on ubuntu
Linux ip-172-31-22-46 5.13.0-1029-aws #32~20.04.1-Ubuntu SMP Thu Jun 9 13:03:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
I have narrowed down the source of the crash to this line of the code
but am unable to dig further due to limited php knowledge. Thank you.
The text was updated successfully, but these errors were encountered: