Changes

From SME Server
Jump to navigationJump to search
297 bytes added ,  17:00, 24 August 2016
Line 19: Line 19:  
  exit
 
  exit
   −
cd /root
+
You should now be able to install the rocketchat bundle with:
curl -L https://rocket.chat/releases/latest/download -o rocket.chat.tgz
  −
tar zxvf rocket.chat.tgz
  −
mv bundle /opt/Rocket.Chat
     −
  cd /opt/Rocket.Chat/programs/server
+
  yum --enablerepo=reetp install rocketchat
npm install
  −
npm install -g forever
     −
patch mailcomposer.js to add From header. You can use this from wherever the patch file is (where should it be ?):
+
This may take a while on first install as it installs the npm modules for the first time.
patch -p0 -i /opt/mailcomposer.patch
     −
Install rocket chat contrib:
+
Now you should be able to install the rocketchat contrib:
    
  yum enablerepo=reetp install smeserver-rocketchat
 
  yum enablerepo=reetp install smeserver-rocketchat
Line 80: Line 74:     
If you have an issue with no email sent/received then login using the email address and password you just set
 
If you have an issue with no email sent/received then login using the email address and password you just set
 +
 +
===Updates===
 +
 +
If there is an update to rocket chat you should just be able to run:
 +
 +
yum --enablerepo=reetp install rocketchat
 +
    
===Bugs===
 
===Bugs===
    
Look for bugs :-) As the contrib is not in CVS please report them in the forum
 
Look for bugs :-) As the contrib is not in CVS please report them in the forum
 +
 +
You ay get an error on install of the rocketchat rpm as follows:
 +
 +
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
 +
 +
This is due to the installed version of npm/node from SCL. Rocket.Chat should till work
    
===SSL - in progress===
 
===SSL - in progress===
   −
You will need smeserver-rocketchat-0.1-4
+
This works for me. You will need a minimum version of smeserver-rocketchat-0.1-4  
    
We need some extra settings to enable SSL with ProxyPass.
 
We need some extra settings to enable SSL with ProxyPass.
Line 112: Line 119:       −
We need to set Rocketchat to listen on localhost now:
+
We need to set Rocket.Chat to listen on localhost now:
    
  config setprop rocketchat rootURL localhost
 
  config setprop rocketchat rootURL localhost
Line 122: Line 129:  
  config setprop rocketchat access private
 
  config setprop rocketchat access private
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
      
==Letsencrypt support==
 
==Letsencrypt support==

Navigation menu