Project

General

Profile

Bug #36

Script upgrade procedure

Added by Fanie Riekert almost 7 years ago.

Status:
New
Priority:
Low
Assignee:
-
Start date:
2018-02-12
Due date:
% Done:

0%

Estimated time:

Description

Automate the following:

  1 rm /var/lib/postgresql/upgrade-pre-0.9.1*                                                            
  2 cp /usr/share/tomcat8/.guacamole/schema/upgrade/upgrade-pre-0.9.1[34]* /var/lib/postgresql/          
  3 chown postgres: /var/lib/postgresql/upgrade-pre-0.9.1*                                               
  4 cd /var/lib/postgresql/                                                                              
  5 sudo -u postgres psql                                                                                
  6 =# \c guacamole                                                                                      
  7 [PRODUCTION] [ui.hpc.ufs.ac.za] [local] postgres@guacamole                                           
  8 =# set role guacamole; 

Also available in: Atom PDF