Troubleshooting UnitySync error using command line shell.exe2020-12-01 09:31:04
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).
Create an empty text file: \UnitySync\Connections\YourConnectionName\console.txt
Open a cmd prompt and CD to the \UnitySync\bin directory.
Execute the following command:
shell "Your Connection Name"
./shell "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 "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).
Send the following to Support as requested:
– 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, or if those produced are too large to email, refer to this article for alternative ways to provide needed troubleshooting information.