Skip to content
Snippets Groups Projects
Commit 298065d7 authored by Ian Baum's avatar Ian Baum
Browse files

Moving log output to rescue block. Add changelog entry

parent 7b54cd76
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -8,6 +8,9 @@ omnibus-gitlab repository.
- Fix the issue that prevents registry from starting when user and group
are not the same (O Schwede) 62b5cc
 
8.17.3
- Changing call to create tmp dir as the database user 7b54cd76
8.17.0
 
- Add support for setting PostgreSQL's synchronous_commit and
Loading
Loading
Loading
Loading
@@ -155,14 +155,14 @@ add_command_under_category 'pg-upgrade', 'database',
"mkdir -p #{@db_worker.tmp_data_dir}.#{upgrade_version}"
)
rescue GitlabCtl::Errors::ExecutionError => ee
log "Error creating new directory: #{@db_worker.tmp_data_dir}.#{upgrade_version}"
log "STDOUT: #{ee.stdout}"
log "STDERR: #{ee.stderr}"
false
else
true
end
end
log "Error creating new directory: #{@db_worker.tmp_data_dir}.#{upgrade_version}"
log "STDOUT: #{ee.stdout}"
log "STDERR: #{ee.stderr}"
die 'Please check the output'
end
 
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