Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »

This page is for administrators or expert users who need to move items from one PhixFlow instance to another

Overview

Exporting items from a PhixFlow instance produces a zip file that you can download; see Export Pane and Configuring the Download Area. You can then import the zip to another PhixFlow instance.

How to Import an Exported Zip

  1. In the  Administration, select Import → Import Configuration.
  2. PhixFlow opens the Import Configuration window, then immediately opens a file manage window, where you can browse for the zip file.

  3. Select the file and click  Upload File.
  4. If your zip file was created with encrypted fields, PhixFlow requires the file's security password. This was set when the zip file was exported.
    • PhixFlow prompts you to enter the password.
    • Optionally, untick Publish Streams, if you do not want PhixFlow to automatically publish stream data to its database.
    • Click 
  5. PhixFlow imports the selected zip file.

When the import is complete, the console reports log messages that list the imported items.

Very large imports may exceed limits on the server. If this happens, PhixFlow reports an Upload too large error.

Database

If Publish Streams is ticked, PhixFlow publishes data at the end of the import. This means that changes to streams and stream attributes will be applied to the stream data tables in the database. If publishing fails, the import will still complete successfully, and the publishing errors will appear in the console. See also Publishing Streams.

PhixFlow automatically rebuilds its database cache when the import completes. We recommend that you run large import processes during periods of low system usage, for example overnight. This gives PhixFlow time to complete the import and rebuild the caches without affecting the performance seen by users.

Very large imports may exceed limits on the server. If this happens, PhixFlow reports an "upload too large" error.

Managing Missing Items

When you export items from one PhixFlow instance, it is important to ensure all items are present. For example, if items refer to other items in a package, ensure the package is included in the export.

The import will fail if there is a reference to an item that does not exist:

  • either in the import file
  • or in the target system.


If an import fails, check the console for log details.  If there are missing items, the log will include

  • Error 612 - one for each missing item in the form: item-type "name" (reference) refers to item-type (reference)

     Example Error 612

    Area "inputform" (AreaComponent-08055461a13a51cb6914ca5be6dde21c) refers to Stream (Stream-36de2ecf9ecb2af08a42066d8c1fdd6a) but Stream (Stream-36de2ecf9ecb2af08a42066d8c1fdd6a) does not exist in the import zip or the repository.
    It is important for all referenced items to be imported. Please re-export from the source instance, including Stream (Stream-36de2ecf9ecb2af08a42066d8c1fdd6a)
    Note: To allow missing items when ALL AreaComponents refer to a Stream, consider adding AreaComponent.stream to System Configuration Allow Missing On Import. This will always null a reference from AreaComponents to a missing stream.


  • Error 618 - one message summarising all the missing items.

     Example Error 618

    There are items missing from the import file. It is important for all referenced items to be imported.
    Please re-export from the source instance, including the following items:
    Stream-36de2ecf9ecb2af08a42066d8c1fdd6a

What to do

  1. Copy the list of missing items from Error 618 to a text file.
  2. Go back to the PhixFlow instance where the import file was generated.
  3. Go to  AdministrationOther Show in Repository,
  4. Paste one missing item reference into the field.
  5. PhixFlow opens the repository with the missing item highlighted.
  6. Do something that means the item will be included in the export, Can the export window be open at the same time? Add it to a package, something else?

.Repeat for all the missing items.  redo the export, making sure you include all the necessary items.


In very rare circumstances, there may be a problem with references between types of item. If this occurs, discuss with PhixFlow support if there is a way to resolve this issue. If 

The support team can request that you allow imports to include incorrect references.

Only in this situation, you can use System Configuration → Allow Missing on Import option to allow PhixFlow to "null" any relationship from one type of item to a missing instance of another type.

What to do

In the console, find Error 612.

copy the <from object>.<to object> string

Go to System Configuration and find Allow Missing on Import

Paste the string into the field

Save the configuration

One example where this option is useful is when items from one instance refer to users. As there users should not have access to the import instance, <from item>.users allows PhixFlow to ignore (null) these references.

All log messages have a ? that goes to the system console help YOu need a link to troubleshooting import to here.


Error rendering macro 'excerpt-include' : No link could be created for 'Export Pane'.



  • No labels