Windows problems with network locations
Posted: 16 Oct 2022, 21:34
FileBot seems to be hanging onto the directory somehow after renaming the file, even once closed when manipulating files over a network connection.
The files reside on UnRaid. They are accessed via SMB shares. I have tried this with FileBot on a Virtual machine within UnRaid and a Physical machine.

I can replicate it locally by CD into the directory with CMD.exe. Change the file name with "rename". If I keep command prompt open or stay in that directory, I cannot change it. As soon as I close command prompt/leave that directory I can do what ever I want with the file that's over the network/locally.
This is the same behavior once I rename a file with FileBot over the network. Once the the file has been renamed, I cannot move/rename the directory the file was in at all what so ever until I reboot the computer.
This does not happen with FileBot when renaming files on local drives. But I can replicate this on multiple machines with multiple shares via FileBot.
For what ever reason it's not releasing the directory. I don't see any background tasks running to kill either.
Originally I thought this was just an UnRaid problem. However, while It might be related, Bulk Rename Utility can easily rename the files and not cause this same problem.
The files reside on UnRaid. They are accessed via SMB shares. I have tried this with FileBot on a Virtual machine within UnRaid and a Physical machine.

I can replicate it locally by CD into the directory with CMD.exe. Change the file name with "rename". If I keep command prompt open or stay in that directory, I cannot change it. As soon as I close command prompt/leave that directory I can do what ever I want with the file that's over the network/locally.
This is the same behavior once I rename a file with FileBot over the network. Once the the file has been renamed, I cannot move/rename the directory the file was in at all what so ever until I reboot the computer.
Code: Select all
# C:\Users\jlwServerWin\AppData\Roaming\FileBot\logs\error.log
Oct 05, 2022 8:56:33 PM net.filebot.DiskStore acquireDiskStore
WARNING: Initialize new disk cache: C:\Users\jlwServerWin\AppData\Roaming\FileBot\cache\0
Oct 05, 2022 8:57:01 PM net.filebot.UserInteraction configureLicense
SEVERE: Bad License Key: PGP SIGNED MESSAGE not found (34 chars, 1 lines)
Oct 05, 2022 8:57:01 PM net.filebot.UserInteraction configureLicense
SEVERE: Bad License Key
~~~
Year should be 1975, repack needed
~~~
Oct 05, 2022 8:57:01 PM net.filebot.UserInteraction configureLicense
WARNING: You have selected 1 line. A complete License Key has no less than 20 lines.
Oct 05, 2022 8:57:35 PM net.filebot.License lambda$verifyLicense$1
WARNING: Activate License [P41846617] on [Wed Oct 05 20:57:35 EDT 2022]
Oct 07, 2022 12:37:10 AM net.filebot.media.XattrMetaInfo setMetaInfo
WARNING: Failed to set xattr: Access Denied: F:\downloads\The Handmaid's Tale - 5x01 - Morning.mkv:net.filebot.metadata
Oct 07, 2022 12:37:10 AM net.filebot.media.XattrMetaInfo setMetaInfo
WARNING: Failed to set xattr: Access Denied: F:\downloads\The Handmaid's Tale - 5x02 - Ballet.mkv:net.filebot.metadata
Oct 07, 2022 12:37:10 AM net.filebot.media.XattrMetaInfo setMetaInfo
WARNING: Failed to set xattr: Access Denied: F:\downloads\The Handmaid's Tale - 5x03 - Border.mkv:net.filebot.metadata
Oct 07, 2022 12:37:10 AM net.filebot.media.XattrMetaInfo setMetaInfo
WARNING: Failed to set xattr: Access Denied: F:\downloads\The Handmaid's Tale - 5x04 - Dear Offred.mkv:net.filebot.metadata
Oct 07, 2022 12:37:10 AM net.filebot.media.XattrMetaInfo setMetaInfo
WARNING: Failed to set xattr: Access Denied: F:\downloads\The Handmaid's Tale - 5x05 - Fairytale.mkv:net.filebot.metadata
Oct 16, 2022 9:41:06 AM net.filebot.License lambda$verifyLicense$1
WARNING: Activate License [P41846617] on [Sun Oct 16 09:41:06 EDT 2022]
Oct 16, 2022 10:25:06 AM net.filebot.DiskStore acquireDiskStore
WARNING: Initialize new disk cache: C:\Users\jlwServerWin\AppData\Roaming\FileBot\cache\1
Oct 16, 2022 10:26:01 AM net.filebot.License lambda$verifyLicense$1
WARNING: Activate License [P41846617] on [Sun Oct 16 10:26:01 EDT 2022]
Oct 16, 2022 10:49:42 AM net.filebot.License lambda$verifyLicense$1
WARNING: Activate License [P41846617] on [Sun Oct 16 10:49:42 EDT 2022]
Oct 16, 2022 2:26:59 PM net.filebot.DiskStore acquireDiskStore
WARNING: Initialize new disk cache: C:\Users\jlwServerWin\AppData\Roaming\FileBot\cache\0
Oct 16, 2022 2:27:22 PM net.filebot.License lambda$verifyLicense$1
WARNING: Activate License [P41846617] on [Sun Oct 16 14:27:22 EDT 2022]
For what ever reason it's not releasing the directory. I don't see any background tasks running to kill either.
Originally I thought this was just an UnRaid problem. However, while It might be related, Bulk Rename Utility can easily rename the files and not cause this same problem.