Skip to main content

How to Restart 1Gateway

This guide provides instructions for restarting 1Gateway. Restartinng 1Gateway may fix potential issues, such as display problems or error messages.


Restarting 1Gateway

  1. Access the Restart Option:

    • Navigate to the top-right corner of your screen.
    • Click on your profile icon.
  2. Select Restart:

    • From the dropdown menu that appears, click on Restart 1Gateway.
  3. Verify Restart:

    • Allow the system a few moments to process the restart. Refresh your browser to confirm that 1Gateway has restarted and is functioning properly.

Troubleshooting "This site can't be reached" Error

If you encounter this error when refreshing the page after restarting:

  1. Check the Docker Compose File:

    • Open your docker-compose.yml file.
  2. Verify the restart Policy:

    • Ensure that the restart: always property is specified for the 1Gateway service.

    Example:

   services:
1gateway:
image: your-image-name
restart: always
environment:
- ENV_VAR_1=value
- ENV_VAR_2=value
  1. Save and Apply Changes:

    • Save the file and restart the Docker containers using the command:
      docker-compose up -d
  2. Check 1Gateway:

    • Confirm that 1Gateway is running and accessible by refreshing your browser.

Ensuring the restart: always policy is in place allows Docker to automatically restart the container in case of unexpected shutdowns.