Skip to content

4. Start The New Server

With all database data and application dependencies properly configured in the new installation, all we need to do now is start the server.

1. SSH into the server

ssh <database-server-ip>

For example:

ssh app.openboxes.com

2. Start Tomcat

sudo service tomcat9 start

Or if the server is already running:

sudo service tomcat9 restart

Note that this may take a while if there are lots of data migrations.

Verify App Startup

Once the server is started, you'll want to make sure that it's actually running properly.

To verify that the application can start up correctly, the first thing to do (aside from visiting the site url to see if it loads) is to check the logs for startup errors.

sudo tail -f /opt/tomcat/logs/catalina.out

While there, you can also verify that any new database migrations are being applied correctly.