Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For some reason the plugin not executed on startup #53

Open
itoldusoandso opened this issue May 20, 2024 · 1 comment
Open

For some reason the plugin not executed on startup #53

itoldusoandso opened this issue May 20, 2024 · 1 comment
Labels
question Further information is requested

Comments

@itoldusoandso
Copy link

itoldusoandso commented May 20, 2024

And I don't know why. I just doesn't run. I have orphans to clean but it doesn't clean them on startup, regardless if I select with or without confirmation. If I press Clean files (the little trash icon), it finds the files or folders and deletes.

Tested a few times, created a note, added a PDF, then deleted note but left PDF untouched, then run the plugin manually, it offers to delete them. But if I want the plugin to find the orphans and delete them on start of Obsidian, it doesn't.

Not sure what is going on.

image

@husjon
Copy link
Owner

husjon commented May 21, 2024

Hi, thanks for raising the issue, I might have an idea as to what it could, currently the plugin uses an arbitrary wait time of 1 second from being loaded until it runs the cleanup, this might be affected how long it takes for Obsidian to start up.

Could you try to close down the vault, then re-open it.
After it has finished indexing, open up the Developer Console by pressing (Control + Shift + I / Command + Shift + I on Mac)

You should see see something along the lines of the following
image

If you do not see the lines, could you try to run the cleanup process while having the console open, this should generate the output, once you see it, copy the line saying File Cleaner Redux: Finished indexing X files and Y folders in Zms.

@husjon husjon added the bug Something isn't working label May 21, 2024
@husjon husjon added question Further information is requested and removed bug Something isn't working labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants