Upgrade Parse Server
To upgrade the Bitnami Parse Server Stack to the latest version, follow the steps below:
-
Change to the root user:
$ sudo su
-
Stop the Parse server:
$ sudo /opt/bitnami/ctlscript.sh stop parse $ sudo /opt/bitnami/ctlscript.sh stop parse-dashboard
-
Update with npm:
$ cd /opt/bitnami/parse $ npm update -g npm $ npm install parse-server parse-dashboard
-
Modify the serverURL property in the file /opt/bitnami/parse/server.js
*SERVER-IP* placeholder with the public IP of your machine.
-
Modify the serverURL property in the file /opt/bitnami/parse-dashboard/server.js
*SERVER-IP* placeholder with the public IP of your machine.
-
Change file permissions:
$ chown bitnami:daemon -R .
-
Restart the Parse server:
$ sudo /opt/bitnami/ctlscript.sh restart parse $ sudo /opt/bitnami/ctlscript.sh restart parse-dashboard