How to correctly upgrade Jot Server?
Hello @Alexey
What is the correct way to upgrade my Jot Server (v1.0.3) to the latest version (v2.0.0). I would like to use the JWT auth and rooms features.
1. Can I just download the lastest Jot server from GitHub and upload it to my server via FTP to overwrite my existing Jot server files/installation and I done?
Or Do I need to stop Jot Server first using:
forever stop app.js
2. Will I need to reinstall all necessary dependencies using:
npm install
3. Will it be necessary to make Jot Server watch for changes in the certificate folder again using:
forever -w --watchDirectory=/path/to/certificates start app.js
4. Where/how to generate the 'secret' mentioned in the config.json? Is the the same with the JWT token App id in the Messenger settings? Also Where to get the JWT token App id?
5. Are the following lines no longer in used in the new congig.json file (Jot Server v2.0.0)?:
"OFFLINE":0,
"ONLINE":1,
"AWAY":2
6. Does this installation tutorial found here https://unacms.com/wiki/jot-server-installation still apply to the new Jot Server? I am a bit confused since there is another and completely different tutorial here: https://github.com/unacms/jot-server
Do we still need to create a /primus folder with a .htaccess file in it on the server?
Do we still need to 'Register/Deploy Application' in the 'Application Manager' of cPanel using Phusion Passenger as requested in the installation tutorial in the first link?
Thanks and happy holiday season! 😀