Project

General

Profile

Actions

Story #8331

open

[Documentation] Clarify PostgreSQL setup commands for Software Collections users

Added by Brett Smith over 8 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Documentation
Target version:
-
Start date:
02/01/2016
Due date:
% Done:

0%

Estimated time:
Story points:
0.5

Description

API install guide tells you to run various database setup commands with sudo -u postgres …. It's not obvious how to run these when you install a PostgreSQL Software Collection. If you already enabled the collection, sudo loses that information. If you scl enable postgresql92 sudo -u postgres … throws a weird library error. The most direct translation is sudo -u postgres scl enable postgresql92 "…".

To help keep instructions cross-platform, install guide should tell users to start a shell as postgres, just like arv-git-httpd guide does for the git user. People using Software Collections will start the shell with sudo -u postgres scl enable postgresql92 bash. All others will use sudo -u postgres -i bash. From there, all PostgreSQL commands will be the same.

Actions #1

Updated by Brett Smith about 8 years ago

  • Target version set to Arvados Future Sprints
Actions #2

Updated by Ward Vandewege almost 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions

Also available in: Atom PDF