arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Restarting Your Server Without a Direct Connection

This page will show you how you can restart your server, even when your app isn't connected

circle-exclamation

This will only work if you have Firebase set up with your BlueBubbles Server. Your BlueBubbles Server will also need to be running. If your Mac is offline, shutdown, or logged out, this method will not work.

On the off-chance that you are unable to get the BlueBubbles App to connect to your BlueBubbles Server, and you also do not have remote access set up (i.e. TeamViewer or VNC), you can use this guide to force restart your server.

hashtag
Steps

This will restart the BlueBubbles Server, not your Mac itself

  1. Login to your

  2. Select/Open the Firebase project linked to your BlueBubbles set up

    • This is likely named something like bluebubbles-e82d1, where the part after the dash is randomly generated

If you used the "Continue with Google" button in the BlueBubbles Server to automate the Firebase project setup, this is what you need to follow.

  1. Expand the Build section in the left sidebar of your Firebase Console

  2. Select Firestore Database

Once the nextRestart field has been edited, the server will detect the modification, and restart. This restart process may take a couple of minutes, so be patient.

If the BlueBubbles Server has successfully restarted, your serverUrl should update with the newly assigned URL (if you are using a proxy service)

hashtag
Reasons Why You May Not Get a New Server URL

  • Your BlueBubbles Server is not running

  • Your Mac Server may be offline or not connected to the internet

  • Your home network is blocking connections to Firebase

The next steps will depend upon whether you've used the automated Firebase set up or the manual Firebase setup

Select the server collection (it should be pre-selected)

  • Select the commands document (it should be pre-selected)

  • You should now see a field called nextRestart within the fields of server/commands

    • Make a note of the current value of the serverUrl field within the server/config document

  • Go to https://currentmillis.com/arrow-up-right and copy the current "milliseconds since EPOCH"

    • It should be a large numeric value such as 1713753987263

  • Edit the nextRestart field and paste the numeric value into it

  • Click Update to save the value

  • If you've been using BlueBubbles for a long time, this may be how you originally setup BlueBubbles before the automated setup was available. If you did this manually, you had to create a Firebase project, enable the Realtime Database, and download the Firebase configuration files for the BlueBubbles Server.

    1. Expand the Build section in the left sidebar of your Firebase Console

    2. Select Realtime Database

    3. Select the config tree item

    4. You should now see a field called nextRestart

      • Make a note of the current value of the serverUrl field

    5. Go to and copy the current "milliseconds since EPOCH"

      • It should be a large numeric value such as 1713753987263

    6. Edit the nextRestart field and paste the numeric value into it

    7. Deselecting the field should apply the new value

    Your home network is blocking connections to your proxy service
    Firebase Consolearrow-up-right
    https://currentmillis.com/arrow-up-right