I can’t login to the CubeBackup web console. It keeps asking me to input the “Admin email” and “password”.


A few CubeBackup users have found themselves suddenly locked out of the web console so they can’t login even with the correct email and password.

Possible causes

There are 2 possible reasons for this issue:

  1. Your backup storage is full. If you backup G Suite data to a local disk or a NAS, the login will fail if the storage is completely full. Please check your backup storage to see if there is any space remaining.

  2. Cannot connect to the backup storage. If CubeBackup cannot connect to the configured NAS or cloud storage, the login will fail.
    Please note that in a DHCP network, your storage device might be assigned a dynamic IP when it reboots. If the IP address of the storage device has changed, CubeBackup will not be able to connect to the target backup storage and will not let you login.

Solution

If the backup storage is full:

You need to migrate your G Suite backups to a larger storage. You can find detailed instructions on how to do this at https://www.cubebackup.com/docs/tutorials/migrate-gsuite-data/.

If the IP address or network path has changed:

CubeBackup will need to be reconfigured to point to the new storage. You can do this by modifying the storage.json configuration file. Please follow the instructions below to setup CubeBackup properly again:

Tip: You can find detailed information and examples of the storage.json file at Configuration Guide: storage.json.

For Windows Users:

  1. Open the file “<CubeBackup installation folder>\db\storage.json” with a text editor. Update the WinsLocation value to the new IP address.

  2. Restart the backup service.
    Enter services.msc in the command line, then in the Services list that pops up, right-click the CubeBackup entry, and select Restart.

For Linux Users:

  1. Unmount the old storage path from the directory. For example:

    sudo umount /mnt/gs_backup/
    
  2. Mount the network storage which has a new IP address to the same directory. For example:

    sudo mount -t cifs -o username=someone  //192.168.1.184/sharename  /mnt/gs_backup/
    

    Note: The command to mount a network storage may vary greatly depending on the type of network storage and the protocol used.

  3. Restart the CubeBackup service

    sudo /opt/cubebackup/cbsrv start