FileBot 5.1.4 won't start on Fedora 40

Support for Ubuntu and other Desktop Linux distributions
Post Reply
dokuro
Posts: 34
Joined: 01 Sep 2023, 18:45

FileBot 5.1.4 won't start on Fedora 40

Post by dokuro »

I upgraded to FileBot 5.1.4 today and afterwards filebot would not start with an access denied error.

Console Output: Select all

[plex]-[dokuro]:/data/Personal/Scripts$ filebot
bash: /usr/bin/filebot: Permission denied
[plex]-[dokuro]:/data/Personal/Scripts$ 
Checking /usr/share/filebot/bin/filebot.sh ...

Console Output: Select all

[plex]-[dokuro]:/data/Personal/Scripts$ ls -la /usr/share/filebot/bin/filebot.sh
-rw------- 1 root root 2133 Jul 29 17:33 /usr/share/filebot/bin/filebot.sh
[plex]-[dokuro]:/data/Personal/Scripts$
I downgraded to FileBot 5.1.3 and filebot works fine. Checking /usr/share/filebot/bin/filebot.sh again and its ...

Console Output: Select all

[plex]-[dokuro]:/data/Personal/Scripts$ ls -la /usr/share/filebot/bin/filebot.sh
-rwxr-xr-x 1 root root 2166 Feb 26 11:08 /usr/share/filebot/bin/filebot.sh
[plex]-[dokuro]:/data/Personal/Scripts$ 
I guess there is a bug with FileBot 5.1.4. Filebot was installed via dnf using FileBot_5.1.4_amd64.rpm.
User avatar
rednoah
The Source
Posts: 23420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot 5.1.4 won't start on Fedora 40

Post by rednoah »

chmod +x will do the trick:

Shell: Select all

chmod +xr /usr/bin/filebot

:!: rpmbuild seems to somehow change the permissions. I'll look into it.




EDIT:

The root cause seems to be a switch from gRPC FUSE to VirtioFS in the docker settings on our macOS build machine... WTF
:idea: Please read the FAQ and How to Request Help.
dokuro
Posts: 34
Joined: 01 Sep 2023, 18:45

Re: FileBot 5.1.4 won't start on Fedora 40

Post by dokuro »

Alas /usr/bin/filebot already has ...

Console Output: Select all

[plex]-[dokuro]:/data/Personal/Scripts$ ls -la /usr/bin/filebot
lrwxrwxrwx 1 root root 33 Jul 29 17:33 /usr/bin/filebot -> /usr/share/filebot/bin/filebot.sh
[plex]-[dokuro]:/data/Personal/Scripts$
... so it won't work. For the moment I'll just stick with 5.1.3 until you figure out what is up with the permissions. BTW... I noticed the filebot gnome icons in the show apps is also missing with 5.1.4 so I guess there might be a wider permission issue than just the filebot.sh script.

Happy to test out a fix if you need me to when you have one.
User avatar
rednoah
The Source
Posts: 23420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot 5.1.4 won't start on Fedora 40

Post by rednoah »

:?: Do you see any strange permissions on the icon files?

Shell: Select all

ls -l /share/icons/hicolor/scalable/apps/filebot.svg

I've uploaded r10364 here:
https://get.filebot.net/filebot/BETA/Fi ... _amd64.rpm


Please let me know if that fixes the permission issues with both launcher, icons, etc files.
:idea: Please read the FAQ and How to Request Help.
dokuro
Posts: 34
Joined: 01 Sep 2023, 18:45

Re: FileBot 5.1.4 won't start on Fedora 40

Post by dokuro »

I'm not seeing that file at all ...

Console Output: Select all

[plex]-[dokuro]:/data/Personal/Scripts$ ls -l /share/icons/hicolor/scalable/apps/filebot.svg
ls: cannot access '/share/icons/hicolor/scalable/apps/filebot.svg': No such file or directory
[plex]-[dokuro]:/data/Personal/Scripts$
Unfortunately https://get.filebot.net/filebot/BETA/Fi ... _amd64.rpm made no difference :-( Still the same permission error when trying to launch filebot.

BTW... doing a

Code: Select all

sudo chmod -R 755 /usr/share/filebot/
does help in that filebot will start when I do that. However, icon is still missing so I guess other files don't have the correct permissions after 5.1.4 install completed. Going to stay on 5.1.3 for now.
User avatar
rednoah
The Source
Posts: 23420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot 5.1.4 won't start on Fedora 40

Post by rednoah »

Ups, I forgot the /usr bit in the copy & paste code above...

So I've set up Fedora 40 with Gnome in a VM and the latest beta (r10364) does seem to work... The release (r10362) is confirmed borked though... Fck.
:idea: Please read the FAQ and How to Request Help.
dokuro
Posts: 34
Joined: 01 Sep 2023, 18:45

Re: FileBot 5.1.4 won't start on Fedora 40

Post by dokuro »

Thank you. I pulled the latest beta FileBot 5.1.4 (r10364) and the issue is now fixed with your latest update. Its getting late here now so I'll run some additional tests tomorrow with this version but so far it seems okay including the gnome app icon.
dokuro
Posts: 34
Joined: 01 Sep 2023, 18:45

Re: FileBot 5.1.4 won't start on Fedora 40

Post by dokuro »

Completed some additional tests with FileBot 5.1.4 (r10364) and could not find any additional problems so for use cases this build is good. Thank you.

Out of curiosity, do you plan on re-releasing 5.1.4 with this updated version or will you just wait and re-spin calling it 5.1.5.
User avatar
rednoah
The Source
Posts: 23420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot 5.1.4 won't start on Fedora 40

Post by rednoah »

Reluctant to re-release 5.1.4 due to package management. Reluctant re-release new version build since that somewhat requires releasing all builds for all platforms due to automation. So there'll probably be a 5.1.5 rather soon-ish, more soon if we find issues with Windows / macOS builds as well, less soon if it's just the Fedora package.
:idea: Please read the FAQ and How to Request Help.
dokuro
Posts: 34
Joined: 01 Sep 2023, 18:45

Re: FileBot 5.1.4 won't start on Fedora 40

Post by dokuro »

Understood. Thanks for your help.
User avatar
rednoah
The Source
Posts: 23420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot 5.1.4 won't start on Fedora 40

Post by rednoah »

FileBot 5.1.5 (r10380) has been released to fix the issue at hand.
:idea: Please read the FAQ and How to Request Help.
dokuro
Posts: 34
Joined: 01 Sep 2023, 18:45

Re: FileBot 5.1.4 won't start on Fedora 40

Post by dokuro »

Thanks -- I have installed FileBot_5.1.5_amd64.rpm and its running well.
User avatar
rednoah
The Source
Posts: 23420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot 5.1.4 won't start on Fedora 40

Post by rednoah »

Thanks for the confirmation. Cheers. Sorry for the wait.
:idea: Please read the FAQ and How to Request Help.
dokuro
Posts: 34
Joined: 01 Sep 2023, 18:45

Re: FileBot 5.1.4 won't start on Fedora 40

Post by dokuro »

Was no problem at all -- the beta build you supplied tied me over until the official release was published. Again, thanks for your help.
Post Reply