Project

General

Profile

Actions

Idea #8331

open

[Documentation] Clarify PostgreSQL setup commands for Software Collections users

Added by Brett Smith almost 9 years ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Documentation
Target version:
Start date:
Due date:
Story points:
0.5
Release:
Release relationship:
Auto

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 almost 9 years ago

  • Target version set to Arvados Future Sprints
Actions #2

Updated by Ward Vandewege over 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions #3

Updated by Peter Amstutz almost 2 years ago

  • Release set to 60
Actions #4

Updated by Peter Amstutz 10 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF