klaussilveira / gitlist

An elegant and modern git repository viewer
https://gitlist.org/
BSD 3-Clause "New" or "Revised" License
2.92k stars 520 forks source link

Gave up on installing this... #914

Open spicysomtam opened 2 years ago

spicysomtam commented 2 years ago

Installed php8.1 on ubuntu 20.04. Wired my roundcube to use php7.4 via fpm in a Directory block on apache2 so the 2 php versions can coexist. a2enmod set to use php8.1 (was set to php7.4). Just getting a page with no graphics rendered. Like this:

GitList
* Repositories
* Help
* Report an Issue

© 2012 - 2022 Powered by GitList.org

Spun up the docker-compose development env, but even that has an issue, so gave up on that. Think this really needs some documentation and a bit of love as the docs look like they are from an earlier version. I am not a php expert; linux, devops and cloud is more my thing. Would appreciate any help to get this working. Thanks in advance.

klaussilveira commented 2 years ago

Did you use the development version or the latest release? Development version is not suited for end-users: https://github.com/klaussilveira/gitlist#installation

image

You should not use the containers for production use. They exist for development purposes only.

spicysomtam commented 2 years ago

I used your latest release. I gave up and instead installed Gitea, which worked out well, although a learning curve on Gitea. Your troubleshooting notes are for a much older release? Anyhow no worries; Gitea has a much bigger community.

yangbo02 commented 2 years ago

Got similar issue, and I need to update my apache2 configuration, details below.

For setting up gitlist 1.0.2, I followed instructions here, and for the gitlist.conf, I used to have Alias /gitlist /var/www/gitlist/.

With gitlist 2.0.0, I need to update that line to Alias /gitlist /var/www/gitlist/public/ to see the "page with no graphics rendered"; and I found in my apache2 access.log lines similar to "GET /assets/ace/js/main.js HTTP/1.1" 404 .... To resolve it, I need to add Alias /assets /var/www/gitlist/public/assets to the gitlist.conf file.

Now I am able to see some of my git repo, yet I am hitting this bug. Also, the pages are extremely slow to navigate compared to gitlist 1.0.2 setup.

I guess I would just continue using gitlist 1.0.2 for now.