CommunityScripts icon indicating copy to clipboard operation
CommunityScripts copied to clipboard

DupFileManager Can't open reports

Open nikawiwi opened this issue 6 months ago • 2 comments

I have stash installed on my home server, and after installing DupFileManager and running it, I can't open the HTML reports. It might just be something silly, but I can see that they were created when I access my server via ssh, and if I download the files I can open them, but when I click the button on the stash site, it doesn't do anything.

When I right click the button and open it in new tab it just brings me to about:blank#blocked

There are no errors in the logs either.

Do I need to open up my server to serve HTML files separately from stash? Or is there a way to change where the reports are saved so I can save them to my shared storage?

Thanks!

nikawiwi avatar Jun 10 '25 16:06 nikawiwi

The plugin assumes it's running under stash.PLUGINS_PATH/DupFileManager so it looks for the report directory under stash.PLUGINS_PATH/DupFileManager/report, but plugins from this repository are under a subfolder community so it should actually look into: ``stash.PLUGINS_PATH/community/DupFileManager/report`.

I tried to naively fix this by editing DupFileManager.py with:

    593 htmlReportNameFolder        = f"{stash.PLUGINS_PATH}{os.sep}community{os.sep}DupFileManager{os.sep}report"

but that didn't fix the whole issue, the plugin runs, but breaks on another part of the code which must be getting this value from somewhere else.

It's not clear to me if we should use the plugin version in this repository or from https://github.com/David-Maisonave/Axter-Stash - and who maintains the version in this repo, if anyone.

tjkpdlr avatar Jun 18 '25 19:06 tjkpdlr

my workaround was to create the missing folder path outside the community subfolder. this creates the report file, but is still not accessible in the UI. if i access the html file from my NAS I can open it in the browser and view the report. not ideal but it works that way.

dRuEFFECT avatar Aug 22 '25 19:08 dRuEFFECT