Skip to content
Snippets Groups Projects
Commit a9e2fa4c authored by Riyad Preukschas's avatar Riyad Preukschas
Browse files

Fix output of gitlab:check

parent 3bf0b4e2
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -53,14 +53,14 @@ namespace :gitlab do
end
 
def check_database_is_not_sqlite
print "Database is not SQLite ... "
print "Database is SQLite ... "
 
database_config_file = Rails.root.join("config", "database.yml")
 
unless File.read(database_config_file) =~ /sqlite/
puts "yes".green
puts "no".green
else
puts "no".red
puts "yes".red
for_more_information(
"https://github.com/gitlabhq/gitlabhq/wiki/Migrate-from-SQLite-to-MySQL",
see_database_guide
Loading
Loading
@@ -505,7 +505,6 @@ namespace :gitlab do
puts "yes".green
else
puts "no".red
puts "#{gitolite_config_path} is not writable".red
try_fixing_it(
"sudo chmod 750 #{gitolite_config_path}"
)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment