Page 1 of 1

How do I use sudo to remove dsm.filebot-node.conf

Posted: 02 Jan 2025, 19:10
by Leedsboy38
Sorry, this may be a super dumb question but if you don't know you don't know ...

I'm trymg to install Filebot Node on DSM7.2 and I get the message telling me I need to use sudo to remove dsm.filebot-node.conf. I have no idea what it means or how to do it and I suspect the path usr/local/etc/nginx/ is not real?

Would anyone be kind and patient enough to tell me (a mac user) how to sort this out having downloaded the package file to my mac.

Thank you!

Re: How do I use sudo to remove dsm.filebot-node.conf

Posted: 03 Jan 2025, 03:34
by rednoah
:arrow: You'll have to log in via SSH and then run the given command:

Shell: Select all

sudo rm -v /usr/local/etc/nginx/conf.d/dsm.filebot-node.conf

:idea: /usr/local/etc/nginx/conf.d/dsm.filebot-node.conf is the file path for the dsm.filebot-node.conf configuration file on the local Linux file system on the NAS.


:!: Which NAS are you using? How many years did you not update FileBot or DSM? The issue is caused by installing a very old version of FileBot Node on a very old version of DSM 6.* and then upgrading to DSM 7.* without first uninstalling FileBot Node. Since DSM 7.* no longer allows application to run as root the /usr/local/etc/nginx/conf.d/dsm.filebot-node.conf configuration file installed by FileBot Node on DSM 6.* can no longer uninstalled on DSM 7.* by the package itself and thus needs to be manually deleted.




EDIT:

If you're not Linux-savvy then you may prefer to just use the FileBot Desktop application on your macOS Desktop. FileBot Node is less suitable for normal users, especially if you do not actually need / want unattended automation.

Re: How do I use sudo to remove dsm.filebot-node.conf

Posted: 03 Jan 2025, 13:01
by Leedsboy38
Thanks for the reply. It was indeed several years that I left my Synology DS418play on DSM 6.2.4. I did the upgrade to DSM 7.2 last week but didn't uninstall Filetbot Node. If I uninstall it now, will I be able too install the new package?

I like the Mode version as it automates the renaming of downloaded files for me.

I'll have a go at uninstalling and reinstalling, and if that doesn't work, I'll try SSH.

Thanks for your help

Re: How do I use sudo to remove dsm.filebot-node.conf

Posted: 03 Jan 2025, 13:58
by rednoah
Leedsboy38 wrote: 03 Jan 2025, 13:01 If I uninstall it now, will I be able too install the new package?
No, because the package no longer runs as root and thus cannot fully uninstall itself without your help.




:idea: I just remembered that you can actually use Task Manager to run commands as root, so you can set up a task with the command you want to run and then just run it once:

Shell: Select all

rm -v /usr/local/etc/nginx/conf.d/dsm.filebot-node.conf



e.g. Generate thumbnails for video files on Synology NAS › Task Scheduler

ScreenshotScreenshot

Re: How do I use sudo to remove dsm.filebot-node.conf

Posted: 03 Jan 2025, 14:07
by Leedsboy38
Thank you!!! Somehopw managed to muddle my way through that and now have it installed

I installed Filebot Node but when I run it I just get a window saying Not Found. Have I missed a step?

Re: How do I use sudo to remove dsm.filebot-node.conf

Posted: 03 Jan 2025, 14:10
by rednoah
:?: What does the log say?

:arrow: FileBot Node Troubleshooting

Re: How do I use sudo to remove dsm.filebot-node.conf

Posted: 03 Jan 2025, 14:24
by Leedsboy38
Don;t worry. estarted my NAS and all seems good now

Thanks for your help