Page 1 of 1

Raspberry Pi 3 - Updating script error

Posted: 03 Jul 2017, 16:36
by devster
I recently tried to update FileBot on my Raspberry Pi 3 using the following command:

Code: Select all

sh -xu <<< "$(curl -fsSL https://raw.githubusercontent.com/filebot/plugins/master/installer/portable.sh)"
This however failed with:

Code: Select all

+ FILEBOT_VERSION=4.7.10
+ FILEBOT_SHA256=8ade6995e33db309a9aead54bf0f06f70d29d99425278719748dbf62b479cd81
+ FILEBOT_PACKAGE=FileBot_4.7.10-portable.tar.xz.gpg
+ FILEBOT_PACKAGE_URL=https://get.filebot.net/filebot/4.7.10/FileBot_4.7.10-portable.tar.xz.gpg
+ FILEBOT_PACKAGE_KEY=4E402EBF7C3C6A71
+ FILEBOT_PACKAGE_KEY_URL=https://raw.githubusercontent.com/filebot/plugins/master/gpg/maintainer.pub
+ curl -o FileBot_4.7.10-portable.tar.xz.gpg -z FileBot_4.7.10-portable.tar.xz.gpg --retry 5 --location https://get.filebot.net/filebot/4.7.10/FileBot_4.7.10-portable.tar.xz.gpg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   283    0   283    0     0    885      0 --:--:-- --:--:-- --:--:--   887
  0   308    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100 67668  100 67668    0     0  32490      0  0:00:02  0:00:02 --:--:--  127k
+ echo 8ade6995e33db309a9aead54bf0f06f70d29d99425278719748dbf62b479cd81 *FileBot_4.7.10-portable.tar.xz.gpg
+ sha256sum --check
FileBot_4.7.10-portable.tar.xz.gpg: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match
+ exit 1
and downloaded only a FileBot_4.7.10-portable.tar.xz.gpg file that seems to be an HTML file.

How can I find the newer portable versions?

Re: Raspberry Pi 3 - Updating script error

Posted: 03 Jul 2017, 17:22
by rednoah
The latest version of that installer script is currently broken.

You can go back in the commit history and use the one for the previous stable release:
https://raw.githubusercontent.com/fileb ... ortable.sh

Re: Raspberry Pi 3 - Updating script error

Posted: 03 Jul 2017, 21:53
by devster
Thank you, but it still seems to fail:

Code: Select all

sh -xu <<< "$(curl -fsSL https://raw.githubusercontent.com/filebot/plugins/e9e5a71a62de9239ea5518cb6db3036ad5aa560f/installer/portable.sh)"
+ FILEBOT_VERSION=4.7.9
+ FILEBOT_SHA256=2531bc67d3522b1db05870da2b72fff580ebfa5969655e75382ffe2c8dec6867
+ FILEBOT_PACKAGE=FileBot_4.7.9-portable.tar.xz
+ FILEBOT_PACKAGE_URL=https://downloads.sourceforge.net/project/filebot/filebot/FileBot_4.7.9/FileBot_4.7.9-portable.tar.xz
+ curl -L -O https://downloads.sourceforge.net/project/filebot/filebot/FileBot_4.7.9/FileBot_4.7.9-portable.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   470    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   97k  100   97k    0     0  48281      0  0:00:02  0:00:02 --:--:-- 90224
+ echo 2531bc67d3522b1db05870da2b72fff580ebfa5969655e75382ffe2c8dec6867 *FileBot_4.7.9-portable.tar.xz
+ sha256sum --check --strict
FileBot_4.7.9-portable.tar.xz: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match
+ exit 1
However, if I'm not mistaken, it would still only download 4.7.9, while I see on other platforms the version is 4.7.11.

Re: Raspberry Pi 3 - Updating script error

Posted: 04 Jul 2017, 02:02
by rednoah
1.
FILEBOT_PACKAGE_URL should give you a 25.8M file. You're getting a 97k file. Probably an error page. Maybe the sourceforge mirror in your region is down or you have been banned. Not sure. It works here.


2.
4.7.11 is only available on the Windows Store. Currently, 4.7.9 is what you want to use on your Raspberry Pi.

Re: Raspberry Pi 3 - Updating script error

Posted: 04 Jul 2017, 06:32
by devster
Yes, it was an error page.
Is it allowed to build and share the .jar or .deb package?

Re: Raspberry Pi 3 - Updating script error

Posted: 04 Jul 2017, 10:18
by rednoah
1.
For your own purposes, absolutely yes, you can do whatever you want. The recent point releases only contain minor bugfixes, so I didn't bother with pushing a new release for all platforms. The latest jar is updated weekly though.


2.
I do provide the latest jar here, and if you use the portable then you can just use update-filebot.sh to grab the latest jar:
viewtopic.php?f=7&t=1609
viewtopic.php?f=8&t=4960

EDIT: You might need the latest update-filebot.sh to get the latest jar. Looks like things are a bit broken right now because things changed. It'll be fixed with the next public release.


3.
The deb builds are only tested on x86_64 machines. The portable package is more likely to work on "esoteric" architectures such as armv7 and armv8. If I had a Pi, that's what I'd use. I also use the portable in my DS216J so the latest portable + latest jar gets tested every other day.

Is there such a thing as PPA for the Pi OS? You can try to make one, but I'd kinda like you to commit to keeping things updated "indefinitely" if you do. There's an RPM that never gets updated so all the OpenSuse folks are using some version from years ago. I'd like to avoid that kinda thing. ;)


PS: Does snapd work on the Pi yet?

Re: Raspberry Pi 3 - Updating script error

Posted: 04 Jul 2017, 10:48
by rednoah
I've updated plugins/installer/portable.sh with the current revision. Should work. But completely untested.

Re: Raspberry Pi 3 - Updating script error

Posted: 04 Jul 2017, 14:14
by devster
My Raspberry Pi 3 runs the very standard raspbian (Debian derivative) which should support PPA. I'm not able to make one though.
I haven't tested snap on the Pi3 yet but since there is a version of Ubuntu Core for the Raspberry I presume it works.
https://developer.ubuntu.com/core/get-s ... rry-pi-2-3