GP SoftwareTwitter
Opus FAQsManualCommandsObjects

Changes to folders are not being detected


#1

Opus should detect changes to folders automatically, but there are some things to check first:

  • Fully exit Opus and restart it, in case the problem is with the Windows change-notification system losing track of the request from Opus to listen to changes on the drive(s) in question.

    (Note: Do not just close & re-open all your Opus windows; that does not exit the program by default.)

  • Go to Preferences / Miscellaneous / Advanced and make sure no_external_change_notify is set to False (which is the default).

  • Check that Windows Explorer is able to see changes on the same drive, when you make changes using Directory Opus or something else that isn’t Windows Explorer. If not, the drive may not be sending change notifications at all (or may be sending them incorrectly; or may be sending them, but very slowly as in the Samba case below).

    Explorer needs to be looking at the folder already, before the change is made, when you do this test, so it can see the change as it happens. (If you make the change and then open or navigate Explorer to the folder, the test is not meaningful; it’s like pushing F5 to force the folder to be re-read after making the change, which isn’t testing that change notifications work.)

  • If it’s a network drive, make sure Preferences / File Operations / Options: Detect external file changes on network drives is turned on.

  • If it is a network drive on a non-Windows system then it is probably shared using Samba at the other end. Because most Unix/Linux filesystems do not support change notification, many versions of Samba implement notification by polling the drive every X seconds, where X is configurable on the server but defaults to something quite large, sometimes a couple of minutes. This means you often don’t see changes made to Samba network drives for a long time, if it was something other than Opus which made the change. Very old versions of Samba do not support change notification at all.

  • If it is a NAS device or similar (e.g. router-attached storage) from a vendor like Synology, make sure it has the latest software and firmware installed. This has fixed many problems for people, sometimes only affecting some programs and not others. It continues to fix problems even on newer devices. (Note: Sometimes there are up to three things to update: Firmware on the device itself; software on the device; software/drivers on the PC side. Not all devices have all three and some may combine things into a single package/installer. Check the manufacturer’s downloads area to see what is available.)

  • If NTFS junctions, softlinks, mount-points, subst, etc. are involved then they are worth mentioning. Opus should detect changes through them but they can still complicate the situation and are worth keeping in mind.

  • If the problem only happens on a certain drive, or below a certain folder, or type of folder (e.g. a Library, or a Library pointing to a Network Drive), that may be significant and help determine where the issue is coming from.

  • Debugging: If none of the above are true and you want to try debugging the problem then you can enable debugging in the following way:

    • Go to Preferences - Miscellaneous - Advanced
    • Set notify_debug to True.
    • Set shellchange_debug to True.
    • Download the small DebugView tool from Microsoft and run it. (If you see an error message about extracting Dbgv.sys you can ignore it as we are not interested in debugging device drivers.)

    Note that other programs may also send messages to DebugView and it is possible that some of the output you see will not be from Opus.

    You don’t need to understand the DebugView output, just post it to the forum along with details of the folder/path you are viewing and which changes you were making to the files below it when the output was generated.

    When you are done debugging, quit DebugView and turn off the notify_debug and shellchange_debug settings in Opus.

    Presumably the problem will manifest in one of two ways: Either no change is detected at all or a change is detected but for a path that is different to the path Opus thinks it is viewing.

    If you don’t see any changes at all, create and delete a couple of files on C:\ to make sure the debug output is appearing. Even when notification is working fine it might take a few events to trigger the debug window to appear. The best bet, once you’re in a situation where notification isn’t working, is to switch on the debugging mode, then create/delete some files on C:\ to make sure the debug window is visible, and only then start to make some changes in the folder that’s having problems to see if any debug information is displayed for it.

    If needed, post the output you see in DebugView to the forum for advice. You can use File > Save As from DebugView to save the log to a text file, or take a screenshot (be sure to make the columns wide enough to see all the information).

  • A tool that may come in handy when diagnosing these problems is Microsoft’s Process Monitor (not to be confused with Process Explorer by the same people).

    If Opus doesn’t detect any changes, check which changes Process Monitor is able to see. The details it shows may help diagnose the problem. Within Process Monitor, you can save a .PML log file, to zip and submit as part of bug reports, using File > Save.


No folder auto-refresh when performing file operations
Directory Refresh Not Working
File List Automatic Update
Refresh stopped working
No auto-refresh and no archive drag'n'drop
Four questions from an Opus newbie
Auto refresh of folders not working after system wakes up
Contents of directory junctions not automatically refreshed
File lists not refreshing after drag-and-drop operations
Automatically update folder content view?
Lister & Folder Trees not refreshing [in 3 year old version]
No automatic update of folder contents with Google Drive File Stream
Windows 10 and refresh of ext. drives
No automatic update of folder contents with Google Drive File Stream
Directory Opus does not automatically update file window after Sync
Opus 12.6 - File list not updating for local/network/ftp folders
Problem of dopus, don´t refresh
Folder changes not detected on symlinked network locations
New folder items not showing up, have to refresh
Folder/file sorting and update/refresh of files
Problems with tearing and continously auto-refreshes in tiles mode after updating to 12.2.5
Help find some settings
Collection: update file size within
Folder tree update not consistent when using SABNZBD
File list not updating when copying to DiskStation
Files on Synology NAS not refreshing
Directory refresh speed
File/Folder Find not functioning after upgrade to Dopus 11
Folder Tree pane not updated when new folder created
F5 Refresh
Cannot edit PDF metadata in version 11.8
File list automatic update
Shell notifications keep stopping
Drag and drop issue
Problem using Opus with Stablebit DrivePool
Deleted Folder Name remains in Folder Tree Pane
Lister update during copy action to remote drive
Opus 10+11 - Error in shown directory contents
Folder display bug (again)
Automatically update Lister to display new files
Two questions - Anyone? Diropus and FTP
Opus folder content refresh speed
Opus folder content refresh speed
Directory Opus "Not responding"
File attributes not updating on Serena Network drive
Directory refresh issues (10.5.2.0)
Modified date/time not updating?
Lister not refreshing on file operations in Windows 8 (x64)
View does not refresh after delete/rename
View does not refresh after delete/rename
Opus not detecting file changes after IP broadcast
Change refresh on drive mounted via linked directory
Folder pane does not update when files/fodlers are deleted
Thread count
File not showing up in folder
File list not updating
Auto refresh on dopus 10.0.5.beta1 64 Win7
Refresh All
Folder tree list - stale content
Bug report: file listing not refreshed
Auto-refresh not working any more?!
Listener not refreshing after upgrade
Lister No Longer Automatically Refreshing
Lister not updating
Strange delete behavior
Directory Refresh not working DOpus 10
Link Repair with Filecollections?
Column refreshing constantly on QNAP NAS
Delay when renaming in network drive (Win 7)
Lister & Folder Trees not refreshing [in 3 year old version]
File Refresh problems
Refresh folderalias.oxc
DO not showing network updates
Live view of network share?
List mode statusbar not updating as file is downloaded
Clipdiary - No copy/move dialog, listers not refreshing
Folder don't refresh after rename or delete files
Folder tree won't refresh automatically. :(
Problems with mounted volumes (as directories) under Vista
Junction refresh not working on non-vista machine
Hardlink horror
Junction refresh not working on non-vista machine
Automatic Refresh
Busy Visual Studio 2005 makes Dopus use 20-30%
Refresh Network Drive
Slowness on redraw
Slowness on redraw
Listers not updating
Deletion/Update-problem with NAS (Update)
Double Listing New Entries
File changes not seen on subst drive
List of FAQs organised by topic
Curious behaviour with network folders
Files not showing up after being created in the directory
Deleting a directory - does not refresh
Copied items don't show in folder
Slowness on redraw
Refreshing problem with external usb-drive