Installation with existing database

This page covers the installation wizard steps for connecting SigningHub to an existing database. The wizard will guide you through selecting the correct deployment mode, skipping database creation, and pointing to the existing database instance. This flow is best suited when you are reusing an enterprise-managed database or restoring SigningHub from a backup.


Run Interactive Installation

Run the included script to launch the installation wizard. It will configure your environment, update settings, and start the required containers.

# Make script executable
chmod +x startup.sh

# Run interactive installation wizard
./startup.sh

# To run the installation wizard with progress details and logs
VERBOSE=1 ./startup.sh
circle-info
  1. Before installing SigningHub with an existing database, run the database scripts provided on the Prerequisites page.


Wizard Flow

The installation wizard takes you through these steps:


Step 1: Select Installation Type

The wizard presents three options:

Select an option (e.g., 2 for EXISTING DATABASE) and confirm output:


Step 2: Configure Mandatory Settings

You will be prompted to enter:

  1. Public Host Configuration

    • IP address or hostname where SigningHub will be accessible.

    • Examples: 192.168.1.100, mydomain.com

    • Wizard output confirms:

  2. SigningHub Package Configuration

    • Select an option (e.g., 1 2) to confirm the SigningHub Package, in case multiple .zip files are available in the directory. In case of a single .zip file, no confirmation will be required.

    • Wizard output confirms:


Step 3: Select Database Type

Choose the database to use:

Confirm output:


Step 4: Select Installation Mode

Against the installation mode, only the custom mode is supported, with the existing database.


Step 5: Configure Custom Settings

Provide the credentials to the existing database:

Confirm output:


Step 6: Select Modules to Deploy

Choose which SigningHub services you want to deploy:

Confirm output:


Step 7: Configuration Summary

Review the final summary:


Step 8: Apply Configuration

Wizard updates all configuration files and confirms:


Step 9: Start Installation

The installation now takes place with info and success messages appearing periodically.

Wizard output:


Access Information

When installation is complete, the wizard displays the access URLs:


circle-info
  1. The Docker images for SigningHub were built using Debian GNU/Linux as the base operating system.

  2. To stop and remove all containers, networks, and volumes, run the following command. This will completely remove the deployed containers and associated data volumes. docker compose --profile existing-database down -v If you want to run the installer a second time, you should first stop and remove any already running containers. After that, run the ./state-remove.sh script to remove the state, and then you can initialise the startup again.

  3. If you want to view other Docker-related commands, refer to the README.md file in the SigningHub Docker Package.

Last updated

Was this helpful?