Troubleshooting UnitySync error using command line shell.exeCreated: 2012-04-20 08:09:59
Modified: 2023-12-05 13:01:04
Tags: Troubleshooting UnitySync
There may be occasion when a sync is hanging, crashing or throwing an unknown error. In this instance, it may be recommended by the support team that a command line shell be run to gather more information.
On the General tab of the connection, turn up CONSOLE logging to 5. Click Save.
(In some cases, you may want to also turn LOGGING level to 5. Just remember to reduce the log level again when you resume normal syncs.)
On the General tab of the connection, set the desired phases to run for this test.
(Sometimes a test calls for SIMULATION only. In this case, be sure to UNcheck Sync).
Open a cmd prompt and CD to the \UnitySync\bin directory.
Execute the following command:
shell --conn "Your Connection Name"
./shell --conn "Your Connection Name"
This will run all operations for your connection that you selected in step 2 above, outputting detailed debug information to the screen.
Alternatively, you may also use a parameter to specifically run one phase:
shell --conn Your Connection Name" --disc
Send the following to support:
On some crashes, a pop-up will occur. Note the contents or screenshot the pop up.
On crash, the cmd window will likely show an error code (preceded by whatever normal logging occurred. When the connection run stops, copy the last 20 lines or so of output (or more, if available and if they appear to provide pertinent information).
Please ZIP and upload the the following:
– Screen shots and/or detailed error information
– Any logs that are produced by the shell run.
Note: If you are not able to provide complete log files, refer to this article for alternative ways to provide needed troubleshooting information.