Friday, July 6, 2018

Joomla - White screen with text error : Enable Error Logging

Open file configuration.php. Set value default for error_reporting.
$error_reporting = 'default';
Add these lines at last of the file configuration.php.

ini_set( 'display_errors', true );
error_reporting( E_ALL );

Now hit the same page again in browser, it shows the error message.

gitlab 11 - Keep git data on partition or external hard disk

gitlab change git data path in gitlab 11

1. Mount the partition or external hark disk on the system. It should be accessible by absolute path like /home/partition or /mnt/nfs etc

2. Open file /etc/gitlab/gitlab.rb and data dir path in it.


git_data_dirs({
  "default" => { "path" => "/mnt/nfs/gitlab/git-data" },
  "storage" => { "path" => "/mnt/nfs/gitlab/git-data" },
}) 

It depends on your path.

Reconfigure gitlab.
gitlab-ctl reconfigure

Now you will not get 500 or 502 error and Repositories will be accessed from defined path. 

Note : gitlab completely deprecated git_data_dir "/git-data/path" parameter in gitlab 11.
You need to use path like mentioned above. If you do not change the attribute, you will not be able to reconfigure gitlab successfully.