New NAS: Sync runs ok in FFS, fails when scheduled

Get help for specific problems
Posts: 4
Joined: 4 Jan 2023

terbos

I just got a new NAS that dropped in at the same name and IP as the old NAS. The only notable thing that changed was the new NAS forced me to use a different password for my user account. This password does not match my Windows password.

Now, a daily sync job that has been working fine for years is broken. If I open the FFS gui, the job runs fine, but when the exact same FFS batch file is run from the Windows scheduler, it fails with permission errors on the NAS. This is true whether it runs at the scheduled time or if I force a manual run in the scheduler.

The job is mirroring files from Win10 to a Synology NAS. I'm using UNC syntax for the network paths.

I have another Win10 machine on my network that is doing basically the same thing and it works fine, including a mis-matched password. So it's just this one machine that's having a problem.

I'm looking for suggestions on where to look or how to get more information to diagnose it.

Thanks
Posts: 4
Joined: 4 Jan 2023

terbos

Thanks for the reply, but that's not it. The scheduled task is running, but FFS is logging permission errors when it tries to access the NAS.
Posts: 4
Joined: 4 Jan 2023

terbos

These two logs were captured minutes apart. The only difference is that the success was launched from the GUI and the failure was launched from the Windows Task Scheduler. The system had not been rebooted and the file shares were accessible the whole time.

https://1drv.ms/u/s!AkpuZvfh0DaAg8R0AYhWxMnLBcb4hA?e=jnfgNC
https://1drv.ms/u/s!AkpuZvfh0DaAg8R1ivCKBMYW7U7XBA?e=rk4ZsM
User avatar
Posts: 2946
Joined: 22 Aug 2012

Plerry

Perhaps this is also relevant here.
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

Have you opened credential manager in Windows and removed the possibly stale entries?
Posts: 4
Joined: 4 Jan 2023

terbos

Thanks for the tip @xCSxXenon. It looks like I had multiple stale credentials stacked up on that server/account. Removing them all and recreating a new one seems to have fixed the problem. At least it worked by running the scheduled task manually. I'll see if it runs on the schedule overnight, but it'll probably work.