Search is based on keyword.
Ex: "Procedures"
Do not search with natural language
Ex: "How do I write a new procedure?"
Installing and Managing Flix Server
Flix Server System Requirements
Mac |
Sierrra (10.12), High Sierra (10.13), Mojave (10.14) 4GB of RAM |
Linux |
CentOS/RHEL 7 (recommended) or 6.10 and higher, Ubuntu 18.04 LTS A 64 bit processor @ 2GHz or higher 4GB of RAM |
Note: Flix Server is currently not available on Windows.
Other operating systems may work with Flix Server, but have not been fully tested.
Flix Server is the server application for Flix. Installation of MySQL 5.7 is required for Flix Server to run.
Installing and Running MySQL 5.7
Install MySQL and check that your MySQL server is running. Instructions for this can be found online.
Note: The MySQL database doesn't need to be running on the same machine as the Flix Server. Instead, it can be accessed over a network.
Download Flix Server
Download Flix Server at https://www.foundry.com/products/flix/download.
Note: You must be logged in to your Foundry account to download Flix Server.
Configuring Flix Server
You will need to setup a config.yml file, which by default is read from the same directory as the Flix Server binary (flix_server), before you can run the server.
Here's an example config.yml. You can download and edit a sample here.
hostname: flix001.mycompany.com http_port: 8080 mysql_hostname: db1.mycompany.com mysql_username: root mysql_password: password
Note: You will need to make sure that the hostname option is set to a publicly available hostname or IP address. We recommend a fully qualified domain name and unique hostname for each server.
Tip: Your firewall settings may need to be adjusted or disabled entirely to allow access on the port through which the Flix Server communicates with clients.
The Flix Server Address end users require is in the following format: http://[hostname]:[port]. Using the example config.yml above, the Flix Server Address is: http://flix001.mycompany.com:8080.
Warning: macOS users: If you're installing the server on Mac OS, hostnames contain .local and aren't supported. Multicast DNS (mDNS) domains are not supported.
As a workaround, set the public IP and hostname in your /etc/hosts file, for example: 172.168.3.42 flix.local
See Flix Server Options for a full list of configuration options.
Setting a Custom Assets Directory
By default, your Flix assets are stored in an 'assets' directory, which is located in your install folder alongside the flix_server binary. We recommend that you change this to a custom location using the asset_directory option. For example:
asset_directory: /mnt/flix-assets
Note: If you were previously using Flix without specifying the asset directory, or changed the value of the asset_directory option, see Migrating Assets When Switching to a New Assets Directory to import assets from the original directory.
Setting up Shared Storage
Flix can be configured to store assets on shared storage, accessible by all servers. This way assets aren't siloed across multiple servers. To switch to shared storage, add the shared_storage setting into the config.yml file.
By default, under the assets directory, each server will have its own directory specified by the server identification number (a long string of numbers/characters) where it stores its own assets. If you want all the servers to store assets in a shared directory, set the shared_storage option to true. Every Flix Server stores the assets in the same directory specified by the asset_directory folder.
Note: If you were previously using Flix without shared storage and want to switch, see Migrating Assets When Switching to a New Assets Directory to import assets from each server’s asset directory to the shared one.
Licensing Flix Server
Single server
If you plan on using only a single Flix Server then all you need is a nodelocked license for the Flix Server machine.
Note: Please refer to our Licensing Documentation for instructions on installing a nodelocked license.
Multiple servers
If you plan on using more than one Flix server, we recommend using a floating license, either hosted on one of the Flix Servers or from another dedicated license server.
Note: Please refer to our Licensing Documentation for instructions on installing a floating license.
You will then need to point all of your Flix Servers to use the license floating from your Foundry License Server by setting the floating_license_hostname and floating_license_port config options.
For example, if your Foundry License Server is running on a machine called "my_license_server" and using the default port 4101 then you would set the following:
floating_license_hostname: my_license_server
floating_license_port: 4101
Tip: If you’re unsure about the hostname and/or port to point your Flix Server to, you can refer to this section in our Licensing Documentation.
Setting Run Permission
Your OS may not give run permission to the flix_server binary by default. To ensure you can run it, enter the following command:
chmod +x flix_server
Note: If you are upgrading to a new version, see Installing and Managing Flix Server.
Running the Server
Run Flix server as follows:
./flix_server --verbose
Note: The --verbose flag is optional, but is useful as it displays a more detailed log output in the console.
Note: The first time the Flix Server is run, it automatically creates an admin user with the username and password both set to admin, which you can use to log in to Flix for the first time. It is recommended that you change the default password after the first log in.
Note: If Arial font is not installed or cannot be located on the operating system running Flix Server, publishes will fail with the following error: “cannot find font ‘arial.ttf’ in user or system directories”. We recommend that you install the Arial font into your system's default font directory, or specify a custom font directory using the font_directory option. For example: font_directory: /mnt/flix-fonts.
Command Line (CLI) Arguments
For a complete list of Command Line Arguments, simply run Flix Server with the --help flag. For example:
./flix_server --help
Upgrading to a new version of Flix
Depending on the version you are upgrading to, Flix may ask you to upgrade the database. For example, Flix 6.1 needs database version 12. See the table below for corresponding server and database versions. If you need to upgrade your database, you can use the upgrade mode to mutate the database schema to the latest version:
./flix_server --db-upgrade
Once the database has been upgraded, you can start the server normally.
Note: You will need to upgrade the Flix Client to the same version as your server. You can download the Flix Client from our website.
Flix Server Version | Required Database Version |
6.0.0 | 4 |
6.0.1 |
5 |
6.0.2 | |
6.0.3 | |
6.0.4 | |
6.0.5 | |
6.1.0 | 12 |
Rolling back to an earlier version of Flix
Your production may at some stage want to roll back to an earlier version of Flix. You can do so with the following command:
./flix_server --db-downgrade
1. | Flix asks if you want to backup the database. Type Y (yes) or N (no). |
2. | Enter the desired database version to roll back to. Please refer to the table above for reference. |
3. | Type Y (yes) to confirm the database version or N (no) to enter a different version. |
Adding Servers
To add an additional server to an existing Flix installation:
1. | Follow the steps from Installing and Managing Flix Server. |
2. | In the mysql_hostname parameter, make sure the new server is configured to use the same database as the other Flix Server(s). For example: |
mysql_hostname: db1.mycompany.com
There is no need to upgrade the database schema as the Flix database was already populated during the initial setup.
Tip: You can check if a server has been added by going to Flix > Management Console > Servers in your Flix Client. See Server Management for more information.
Migrating Assets When Switching to a New Assets Directory
After changing the asset directory option in the config.yml file, you will need to migrate the data from the original assets directory to the new one.
Assets directories are named with their server identification, for example '8c17bef2-2fd9-439b-a5cf-8a1b082ee9d3'. To migrate your assets from their previous assets directory, run the server using the --import-from flag, pointing Flix Server to the old assets directory to import data from. Flix Server imports everything from the specified old assets directory to the new one now specified in the config.yml file by the asset_directory option.
For example, if the previous asset directory was '/mycompany/assets/directory' and your server ident was '8c17bef2-2fd9-439b-a5cf-8a1b082ee9d3', you would use the following command:
./flix_server --import-from /mycompany/assets/directory/8c17bef2-2fd9-439b-a5cf-8a1b082ee9d3
Your assets are copied to the new asset directory. If files already exist in that directory, they will not copied to avoid duplication.
Server Management
You can check the list of servers running Flix by going to File > Management Console > Servers in your Flix Client. Here you can see the server ID, which version of Flix each server is running and download logs for Foundry support if needed.
Sorry you didn't find this helpful
Why wasn't this helpful? (check all that apply)
Thanks for your feedback.
If you can't find what you're looking for or you have a workflow question, please try Foundry Support.
If you have any thoughts on how we can improve our learning content, please email the Documentation team using the button below.
Thanks for taking time to give us feedback.