AWS Thinkbox Discussion Forums

Import Settings from DL6

Hiya!

Just wondering if its possible to import the settings from DL6 to DL7? I am still running DL6 and have created a new repository server for DL7, I was hoping I could just import most of my settings!

If this is possible do let me know!

Kind regards,

David

Yup, you can do this from the Tools menu in the Deadline 7 Monitor while in Super User mode. It’s the Import Settings option. Just note that this does not transfer any passwords, so those will have to be set afterwards.

Cheers,
Ryan

Tried this last night and said something to the effect of “Could not find valid repository” even though I pointed it at our DL6 repo.

Just tried it when seeing this thread. got this back:

Error encountered while trying to connect to specified repository. The specified repository is either invalid, or too old to import settings from.

pointed it to the //nas/deadlinerepository6 folder and also tried //nas/deadlinerepository6/settings

does it still need to be running?

The settings are all stored in Mongo, so yeah, I’m guessing it would need to be running.

mmh… perhaps a stupid question… but how can i run the dl6 mongo db. when it’s updated and replaced by the newer mongo db. of dl7 ? :slight_smile:
in the end I don’t care so much (most is put back already… and it’s nice to go through the new context menu’s) but for the sake of making it work i figured to ask.

Well, the Deadline 7 installer won’t overwrite the Deadline 6 database on your Mongo server if you end up pointing them at the same server. If that’s the way you set it up, then it sounds like perhaps the settings import tool just isn’t working properly at present.

However, if the two are on different servers, you need to make sure the Mongo processes on both servers are running.

If they’re on the same physical server but different Mongo processes, you need to make sure to start the Deadline 6 Mongo server so it’s listening on a different port, and then edit the dbConnect.xml file in the Deadline 6 repository’s settings directory to reflect the new port.

Disclaimer: I do not work for Thinkbox, so proceed at your own risk. :wink:

Hi Ryan,

So I am running DL6 (this is still running on another server) and tried the import with DL7 but I was getting the same error as Nixx:

Error encountered while trying to connect to specified repository.
The specified repository is either invalid, or too old to import settings from.

Any pointers from here?

Cheers,

Dave

So it seems this is conflicting with another feature we put in to prevent the Monitor from connecting to older (v6) databases.

Fortunately, it’s fairly easy to trick the Monitor into thinking your older DB is a 7 DB long enough to import settings from it. You’ll need to open up the “settings/dbConnect.xml” file in your 6.2 repo, and add this line before the line:

  <Version>7</Version>

As an example, the whole file would look something like this:

<?xml version="1.0"?>
<ConnectionInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <DbType>MongoDB</DbType>
  <Authenticate>false</Authenticate>
  <Username />
  <PasswordHash />
  <Hostname>localhost</Hostname>
  <Port>27017</Port>
  <AlternatePort>0</AlternatePort>
  <DatabaseName>deadline62db</DatabaseName>
  <EnableSSL>false</EnableSSL>
  <Version>7</Version>
</ConnectionInfo>

Note that Limit Groups won’t be importable from 6 -> 7, since the structure of these have changed a bunch. Once you’ve imported settings, I’d go back and remove the 7 Version tag from the old dbConnect, just to be safe.

Perfect, thank you for this. Worked as expected.

Privacy | Site terms | Cookie preferences