Create a ticket
Follow

Q100437: Changing Paths for a Flix Install

 

SUMMARY

This article explains which files need to be updated to change the Flix installation location.

MORE INFORMATION

If you want to change your Flix share and/or mount point, you need to update the following files:

1. The Flix context config:

flixApp/flixConfig/context/localContext.py

The top 3 paths (self.localRoot, self.flixAppRoot, self.flixersRoot) are the paths your Flix servers and all Linux clients will use to determine where Flix is installed.

The 3 paths under 

        if platform.system().lower() == 'windows':

are the paths your Windows desktops will use to find the Flix install location.

The 3 paths under

        if platform.system().lower() == 'darwin':

are the paths your OSX (Mac) desktops will use to find the Flix install location.

 

2. Flix_Variables.yml:

flixApp/apps/linux/Flix_Variables.yml
flixApp/apps/osx/Flix_Variables.yml
flixApp/apps/windows/Flix_Variables.yml

3. Flix launcher configs need to be updated to point to the corresponding Flix_Variables.yml file:

flixApp/apps/linux/Flix/Flix.yml
flixApp/apps/osx/Flix/Flix.yml
flixApp/apps/windows/Flix/Flix.yml

4. Old Flix_Variables (only needed for Flix installations before 2015):

flixApp/apps/linux/launchers/Flix_Variables
flixApp/apps/osx/launchers/Flix_Variables
flixApp/apps/windows/launchers/Flix_Variables.bat

 

Examples

If you have a netshare \\flixFileServer\flix and want to move your flix data to \\newFlixFileServer\newFlixShare the flixApp/flixConfig/context/localContext.py file will have to change from:

 

self.localRoot   = '/mnt/flix//flixProjects'
self.flixAppRoot = '/mnt/flix/flixApp'
self.flixersRoot = '/mnt/flix/flixers'
if platform.system().lower() == 'windows':
    self.localRoot  = '\\\\flixFileServer\\flix/flixProjects'
    self.flixAppRoot = '\\\\flixFileServer\\flix/flixApp'
    self.flixersRoot = '\\\\flixFileServer\\flix/flixers'
if platform.system().lower() == 'darwin'
    self.localRoot = '/Volumes/flix/flixProjects
    self.flixAppRoot = '/Volumes/flix/flixApp'
    self.flixersRoot = '/Volumes/flix/flixers'

 

To: 

 

self.localRoot   = '/mnt/newFlixShare//flixProjects'
self.flixAppRoot = '/mnt/newFlixShare/flixApp'
self.flixersRoot = '/mnt/newFlixShare/flixers'
if platform.system().lower() == 'windows':
    self.localRoot  = '\\\\newFlixFileServer\\flix/flixProjects'
    self.flixAppRoot = '\\\\newFlixFileServer\\flix/flixApp'
    self.flixersRoot = '\\\\newFlixFileServer\\flix/flixers'
if platform.system().lower() == 'darwin'
    self.localRoot = '/Volumes/newFlixShare/flixProjects'
    self.flixAppRoot = '/Volumes/newFlixShare/flixApp'
    self.flixersRoot = '/Volumes/newFlixShare/flixers'

 

flixApp/apps/windows/Flix_Variables.yml will need to change from:

 

FLIX_RELEASE_CONTEXT: '\\flixFileServer\flix/flixApp/flixConfig.context.localContext.LocalContext'
FLIX_LOCAL_ROOT: '\\flixFileServer\flix'
FLIX_NEXT_CONTEXT: '\\flixFileServer\flix/flixApp/flixConfig.context.localContext.LocalNextContext'
FOUNDRY_LICENSE_FILE: 4101@192.168.1.11
FLIX_APP_ROOT: '\\flixFileServer\flix'
CONTEXT_NEXT_CLASS: LocalNextContext
FLIX_RELEASE_EXE: '\\flixFileServer\flix/flixApp/builds/flix_web.release/bin/flix'
CONTEXT_RELEASE_CLASS: LocalContext
FLIX_ROOT: '\\flixFileServer\flix'
CONTEXT_CONFIG: '\\flixFileServer\flix/flixApp/flixConfig.context.localContext'
FLIX_PYTHON: '\\flixFileServer\flix/flixApp/apps/windows/nuke/nuke9/python.exe'
FLIX_NEXT_EXE: '\\flixFileServer\flix/flixApp/builds/flix_web.next/bin/flix'
FLIXERS_ROOT: '\\flixFileServer\flix'

 

To:

 

FLIX_RELEASE_CONTEXT: '\\newFlixFileServer\newFlixShare/flixApp/flixConfig.context.localContext.LocalContext'
FLIX_LOCAL_ROOT: '\\newFlixFileServer\newFlixShare'
FLIX_NEXT_CONTEXT: '\\newFlixFileServer\newFlixShare/flixApp/flixConfig.context.localContext.LocalNextContext'
FOUNDRY_LICENSE_FILE: 4101@192.168.1.11
FLIX_APP_ROOT: '\\newFlixFileServer\newFlixShare'
CONTEXT_NEXT_CLASS: LocalNextContext
FLIX_RELEASE_EXE: '\\newFlixFileServer\newFlixShare/flixApp/builds/flix_web.release/bin/flix'
CONTEXT_RELEASE_CLASS: LocalContext
FLIX_ROOT: '\\newFlixFileServer\newFlixShare'
CONTEXT_CONFIG: '\\newFlixFileServer\newFlixShare/flixApp/flixConfig.context.localContext'
FLIX_PYTHON: '\\newFlixFileServer\newFlixShare/flixApp/apps/windows/nuke/nuke9/python.exe'
FLIX_NEXT_EXE: '\\newFlixFileServer\newFlixShare/flixApp/builds/flix_web.next/bin/flix'
FLIXERS_ROOT: '\\newFlixFileServer\newFlixShare'

 

flixApp/apps/osx/Flix_Variables.yml from:

 

FLIX_RELEASE_CONTEXT: /Volumes/flix/flixApp/flixConfig.context.localContext.LocalContext
FLIX_LOCAL_ROOT: /Volumes/flix
FLIX_NEXT_CONTEXT: /Volumes/flix/flixApp/flixConfig.context.localContext.LocalNextContext
FOUNDRY_LICENSE_FILE: 4101@192.168.1.11
_LICENSE: 4101@192.168.1.11
RLM_LICENSE:: 4101@192.168.1.11
FLIX_APP_ROOT: /Volumes/flix
CONTEXT_NEXT_CLASS: LocalNextContext
FLIX_RELEASE_EXE: /Volumes/flix/flixApp/builds/flix_web.release/bin/flix
CONTEXT_RELEASE_CLASS: LocalContext
FLIX_ROOT: /Volumes//flix
CONTEXT_CONFIG: /Volumes/flix/flixApp/flixConfig.context.localContext
FLIX_PYTHON: /Volumes/flix/flixApp/apps/osx/nuke/nuke9/Contents/MacOS/python
FLIX_NEXT_EXE: /Volumes/flix/flixApp/builds/flix_web.next/bin/flix
FLIXERS_ROOT: /Volumes/flix

 

To:

 

FLIX_RELEASE_CONTEXT: /Volumes/newFlixShare/flixApp/flixConfig.context.localContext.LocalContext
FLIX_LOCAL_ROOT: /Volumes/newFlixShare
FLIX_NEXT_CONTEXT: /Volumes/newFlixShare/flixApp/flixConfig.context.localContext.LocalNextContext
FOUNDRY_LICENSE_FILE: 4101@192.168.1.11
_LICENSE: 4101@192.168.1.11
RLM_LICENSE:: 4101@192.168.1.11
FLIX_APP_ROOT: /Volumes/newFlixShare
CONTEXT_NEXT_CLASS: LocalNextContext
FLIX_RELEASE_EXE: /Volumes/newFlixShare/flixApp/builds/flix_web.release/bin/flix
CONTEXT_RELEASE_CLASS: LocalContext
FLIX_ROOT: /Volumes/newFlixShare
CONTEXT_CONFIG: /Volumes/newFlixShare/flixApp/flixConfig.context.localContext
FLIX_PYTHON: /Volumes/newFlixShare/flixApp/apps/osx/nuke/nuke9/Contents/MacOS/python
FLIX_NEXT_EXE: /Volumes/newFlixShare/flixApp/builds/flix_web.next/bin/flix
FLIXERS_ROOT: /Volumes/newFlixShare

 

flixApp/apps/linux/Flix_Variables.yml from:

 

FLIX_RELEASE_CONTEXT: /mnt/flix/flixApp/flixConfig.context.localContext.LocalContext
FLIX_LOCAL_ROOT: /mnt/flix
FLIX_NEXT_CONTEXT: /mnt/flix/flixApp/flixConfig.context.localContext.LocalNextContext
FOUNDRY_LICENSE_FILE: 4101@192.168.1.11
FLIX_APP_ROOT: /mnt/flix
CONTEXT_NEXT_CLASS: LocalNextContext
FLIX_RELEASE_EXE: /mnt/flix/flixApp/builds/flix_web.release/bin/flix
CONTEXT_RELEASE_CLASS: LocalContext
FLIX_ROOT: /mnt/flix
CONTEXT_CONFIG: /mnt/flix/flixApp/flixConfig.context.localContext
FLIX_PYTHON: /mnt/flix/flixApp/apps/linux/nuke/nuke9/python
FLIX_NEXT_EXE: /mnt/flix/flixApp/builds/flix_web.next/bin/flix
LD_LIBRARY_PATH: /mnt/flix/flixApp/builds/flix_web.release/thirdParty/zlib/v1.2.8/linux/lib:/mnt/foundry/flixRoot/flixApp/builds/flix_web_5.2v5.0015/lib/aaf_utilities/linux:/mnt/foundry/flixRoot/flixApp/builds/flix_web_5.2v5.0015/lib/mxf_utilities/linux
FLIXERS_ROOT: /mnt/flix

 

To:

 

FLIX_RELEASE_CONTEXT: /mnt//newFlixShare/flixApp/flixConfig.context.localContext.LocalContext
FLIX_LOCAL_ROOT: /mnt//newFlixShare
FLIX_NEXT_CONTEXT: /mnt//newFlixShare/flixApp/flixConfig.context.localContext.LocalNextContext
FOUNDRY_LICENSE_FILE: 4101@192.168.1.11
FLIX_APP_ROOT: /mnt//newFlixShare
CONTEXT_NEXT_CLASS: LocalNextContext
FLIX_RELEASE_EXE: /mnt//newFlixShare/flixApp/builds/flix_web.release/bin/flix
CONTEXT_RELEASE_CLASS: LocalContext
FLIX_ROOT: /mnt//newFlixShare
CONTEXT_CONFIG: /mnt//newFlixShare/flixApp/flixConfig.context.localContext
FLIX_PYTHON: /mnt//newFlixShare/flixApp/apps/linux/nuke/nuke9/python
FLIX_NEXT_EXE: /mnt//newFlixShare/flixApp/builds/flix_web.next/bin/flix
LD_LIBRARY_PATH: /mnt//newFlixShare/flixApp/builds/flix_web.release/thirdParty/zlib/v1.2.8/linux/lib:/mnt/foundry/flixRoot/flixApp/builds/flix_web_5.2v5.0015/lib/aaf_utilities/linux:/mnt/foundry/flixRoot/flixApp/builds/flix_web_5.2v5.0015/lib/mxf_utilities/linux
FLIXERS_ROOT: /mnt//newFlixShare

 

flixApp/apps/osx/Flix/Flix.yml from:

 

flixVariablesWindows : ''
flixVariablesLinux   : ''
flixVariablesDarwin  : '/Volumes/flix/flixApp/apps/osx/Flix_Variables.yml'

flixBuild: flix_web.release.txt

commands:
        - '--port 35980 --context "%(FLIX_RELEASE_CONTEXT)s" --debug'

 

To:

 

flixVariablesWindows : ''
flixVariablesLinux   : ''
flixVariablesDarwin  : '/Volumes/newFlixShare/flixApp/apps/osx/Flix_Variables.yml'

flixBuild: flix_web.release.txt

commands:
        - '--port 35980 --context "%(FLIX_RELEASE_CONTEXT)s" --debug'

 

flixApp/apps/windows/Flix/Flix.yml from:

 

flixVariablesWindows : '\\flixFileServer\foundry\flix/flixApp/apps/windows/Flix_Variables.yml'
flixVariablesLinux   : ''
flixVariablesDarwin  : ''

flixBuild: flix_web.release.txt

commands:
        - '--port 35980 --context "%(FLIX_RELEASE_CONTEXT)s" --debug'

 

To:

 

flixVariablesWindows : '\\flixFileServer\foundry\newFlixShare/flixApp/apps/windows/Flix_Variables.yml'
flixVariablesLinux   : ''
flixVariablesDarwin  : ''

flixBuild: flix_web.release.txt

commands:
        - '--port 35980 --context "%(FLIX_RELEASE_CONTEXT)s" --debug'

 

Was this article helpful?
/

We're sorry to hear that!

Please tell us why.
0 out of 0 found this helpful

Comments