Quantcast
Channel: BitNami Answers - latest questions
Viewing all articles
Browse latest Browse all 2052

Can not load gitlab assests after change the default URL to the root

$
0
0

On bitnami gitlab, the root url is point to /gitlab(http://192.168.0.100/gitlab), This settings does not allow me to clone repository using http clone (git clone http://192.168.0.100/repo.git)

Than I follow the how to on bitnami support

How to change the default URL to the root?

  On Linux and OS X, you can change the "installdir/apps/gitlab/conf/gitlab.conf" file to modify the "/gitlab" url to the root url. You can find below a configuration example. Please take into account that your current gitlab.conf file may be a little bit different. You should modify the "installdir/apps/gitlab/config/gitlab.conf" file according to the changes that you can see in bold:
DocumentRoot /installdir/apps/gitlab/htdocs/public

<Directory "/installdir/apps/gitlab/htdocs/public">
  Options -MultiViews
  allow from all
</Directory>

PassengerPreStart http://127.0.0.1:8080/

It is also necessary to recompile the assets to work with the new URL:
$ cd installdir/apps/gitlab/htdocs
$ bundle exec bin/rake assets:precompile RAILS_RELATIVE_URL_ROOT='/'

Now clone via http is work. But another problem is shows. The icon asset is mising or not show on gitlab and just blank.

I have try bundle exec rake assets:clean RAILS_ENV=production

But now the icon assest is missing and just show the blank image on gitlab.

Does any body have a clue, about my problem? Thaks for your reply.


Viewing all articles
Browse latest Browse all 2052

Trending Articles