Upgrading past 11.3 breaks RTS (Solved)

Get help for specific problems
Posts: 5
Joined: 8 Dec 2020

dgregory

I am using RTS, setup through Task Scheduler to run as a specific user. This user has "logon as batch job" permissions, but cannot be used to actually login to the Windows server. The job is setup to sync a folder on the server's local hard drive to a shared folder on another server using a UNC path "\\[Server IP]\Backup".

On version 11.3, RTS works perfectly.

On every version afterwards (11.4-11.9), RTS no longer works. It runs in the task manager, but produces no logs, no errors, and no syncing activity.

I changed the shared folder to allow permissions for my user, and using 11.9 I am able to open and run the the same batch file that RTS uses. No errors are produced and the syncing happens as expected.

Any idea why RTS would stop working after 11.3, even though I can run the batch job manually as myself and it works fine?
Posts: 5
Joined: 8 Dec 2020

dgregory

Since RTS breaks just going from 11.3 to 11.4, I suspect it's being caused by something that was changed in 11.4, but the change notes don't give me enough hints to identify anything.

Even though RTS is running, should I use Process Explorer and create a dump for debugging?
Posts: 5
Joined: 8 Dec 2020

dgregory

Interestingly, a vanilla installation of RTS 11.9 on a brand new server works just fine with a nearly identical configuration.

Maybe there is a remnant of the 11.3 install that is preventing newer versions from working? I've been doing a full uninstall of 11.3 and install of 11.9 to upgrade, but if there is a registry setting or other remnant causing an issue, then that could explain why a brand new installation on a new server works.
Posts: 5
Joined: 8 Dec 2020

dgregory

I figured this out by comparing the old and new installations!

C:\Users\[username]\AppData\Roaming\FreeFileSync\GlobalSettings.xml

When 11.3 was installed, this file started with the following:
<FreeFileSync XmlType="GLOBAL" XmlFormat="19">
<General>

When 11.9 was installed, this file started with the following:
<FreeFileSync XmlType="GLOBAL" XmlFormat="21">
<Language Name="English (U.S.)"/>

I simply deleted the file after uninstalling version 11.3 and then everything worked as expected after installing 11.9 (which recreated the file).