Client Applications

How to Manually Initialize or Deploy a Nuxeo Drive Instance

Updated: October 22, 2018 Page Information Edit on GitHub

This page is about Nuxeo Drive 2 and still needs to be completed. For versions 1.x see the page Nuxeo Drive 1.x Admin Documentation.

Usually Nuxeo Drive is initialized when the user completes the Settings panel and successfully logs in. But for auto deployment you might want use the command line or MSI.

Command Line

You can bind a new engine on Nuxeo Drive by calling the ndrive executable with the following arguments. It is recommended to have your Drive not running while executing this command.

ndrive.exe bind-server [--password PASSWORD] [--local-folder LOCALFOLDER] USERNAME URL

More information about the parameters:

  • USERNAME: The username of the user who will be using Nuxeo Drive. Mandatory.
  • URL: The URL of the Nuxeo server. Mandatory.
  • PASSWORD: The password of the user who will be using Nuxeo Drive. If you don't specify the PASSWORD then it will be asked to the user when Nuxeo Drive is started.
  • LOCALFOLDER: The path to the Nuxeo Drive folder that will be created. Path must include the Nuxeo Drive folder. If LOCALFOLDER is not specified then the default location will be picked.

MSI

On Windows you can automatically call the bind-server command on install if you set up the MSI variables:

  • TARGETURL. The URL of the Nuxeo server. Mandatory.
  • TARGETUSERNAME: The username of the user who will be using Nuxeo Drive. Mandatory.
  • TARGETPASSWORD: The password of the user who will be using Nuxeo Drive. If you don't specify it then it will be asked to the user when Nuxeo Drive is started.
  • TARGETDRIVEFOLDER: The path to the Nuxeo Drive folder that will be created. Path must include the Nuxeo Drive folder. Mandatory.

To set up the MSI variables:

  1. In a command prompt, type the following command and replace the variable values with your own values.

    msiexec /i nuxeo-drive.msi TARGETURL=http://localhost:8080/nuxeo TARGETUSERNAME=username TARGETPASSWORD=password TARGETDRIVEFOLDER=\Path\to\Nuxeo\Drive\Folder
    

    Note: If the path to the Nuxeo Drive folder holds spaces, use quotes at the beginning and the end of the path. For instance: "C:\Users\John Doe\Documents\Nuxeo Drive". The Nuxeo Drive installer opens.

  2. Follow the installer steps.

  3. At the end of the installer, start Nuxeo Drive. The Settings window is displayed, with account settings prefilled with the variables values you filled in. If you haven't specified the password, you now need to fill it in to use Nuxeo Drive.


Other documentation about Nuxeo Drive
   
2 months ago manonlumeau NXDOC-1650 fix about integrating changes, add mention on multiple attempts
2 years ago RĂ©mi Cattiau 35
3 years ago Manon Lumeau 34
3 years ago Solen Guitter 33
3 years ago Solen Guitter 32
3 years ago Solen Guitter 31
3 years ago Solen Guitter 30
4 years ago Solen Guitter 29
4 years ago Antoine Taillefer 28
4 years ago Antoine Taillefer 27
4 years ago Solen Guitter 26 | link update
4 years ago Solen Guitter 25 | Update related pages, formatting
4 years ago Antoine Taillefer 24
4 years ago Antoine Taillefer 23
4 years ago Antoine Taillefer 22
4 years ago Antoine Taillefer 21
4 years ago Antoine Taillefer 20
4 years ago Antoine Taillefer 19
4 years ago Antoine Taillefer 18
4 years ago Antoine Taillefer 17
4 years ago Antoine Taillefer 16
4 years ago Antoine Taillefer 15
4 years ago Antoine Taillefer 14
4 years ago Antoine Taillefer 13
4 years ago Manon Lumeau 12
4 years ago Antoine Taillefer 11
4 years ago Antoine Taillefer 10
5 years ago Julien Carsique 9
5 years ago Julien Carsique 8
5 years ago Solen Guitter 7
5 years ago Solen Guitter 6
5 years ago Solen Guitter 5 | Added related topics
5 years ago Solen Guitter 4 | Formatting
5 years ago Antoine Taillefer 3
5 years ago Antoine Taillefer 2
5 years ago Antoine Taillefer 1
History: Created by Antoine Taillefer

We'd love to hear your thoughts!

All fields required