Resource icon

Install Heimdall Dashboard in a jail

rayearth2000

Dabbler
Joined
Apr 22, 2018
Messages
27
Hi danb35, I try to run you script, but pop up

In SupportedApps.php line 164:
class 'app supportedapps cloud cloud' not found.

what could I do?

I use you script for Nextcloud it very easy to setup.

Thank You
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

rayearth2000

Dabbler
Joined
Apr 22, 2018
Messages
27
here is the picture, Thank alot.


shell.jpg
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
here is the picture, Thank alot.
Interesting; what you posted here is not the same as what was in your OP. But it looks like the issue exists in the Heimdall plugin as well (which I don't think I'd known about before):
Although this issue refers to Docker, it looks like it may be fundamentally the same:
 

rayearth2000

Dabbler
Joined
Apr 22, 2018
Messages
27
Thank alot.
 

shawnsmithnc

Cadet
Joined
Feb 13, 2022
Messages
5
has anyone tried to do a jail install

Install Heimdall Dashboard in a jail​

from truenas - its giving me errors now
 
Joined
Jul 10, 2016
Messages
521
The Heimdall dashboard only runs on PHP 7.3, but the PHP 7.3 packages were removed as PHP 7.3 reached end-of-life.
More information here.
 
Last edited:

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Looks like there won't be a new release of PHP-based Heimdall;
Well, almost a year and a half later, this has proven to be incorrect. Heimdall 2.2.2 was released on 22 Jun 19; 2.3.0 was released a week ago, and 2.4.0 a few days later. It's now up to 2.4.5. I've updated the script to default to 2.4.5, and also to install PHP 8.0 rather than 7.3 which had previously been used. It installs and loads the index page, updates the apps list, and lets you add apps; that's as much as I've tested so far.

Edit: As far as updating is concerned, I haven't tried it, but here are a few notes in their docs:

Edit 2: I do wonder what that means for the JS-based Heimdall they'd been talking about--has it been dropped? Are they going to work on both in parallel? Because it looks like a flurry of activity on this one in the last week or so.
 
Last edited:
Joined
Jul 10, 2016
Messages
521
I do wonder what that means for the JS-based Heimdall they'd been talking about--has it been dropped? Are they going to work on both in parallel? Because it looks like a flurry of activity on this one in the last week or so.

Thanks for the update on the PHP 8.0 support! I'm surprised (but pleased) to see that the PHP-based project suddenly raised from the ashes!
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I do wonder what that means for the JS-based Heimdall they'd been talking about--has it been dropped?
Well, a little bit of research would have answered that question:
This has now changed, the plan is to get the main one up to date and pull any of the useful functionality from heimdalljs back into this.
Still doesn't quite answer the question of the fate of heimdalljs. Last commit to that project was 19 Dec 21, so still pretty recent, but not as recent as anything that's been happening to the main one. And that comment sounds like the main one will be, at least, kept up to date.

I saw a random YouTube comment earlier this afternoon indicating new work on Heimdall, which is why I went looking.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Well, Heimdall is now up to 2.4.9, so I've updated the script to default to that version, and added a note to the README suggesting to check for the most current version before installing.

And, as much for my own reference as anything, I've added some notes to the README on dealing with self-signed or local CA certs. Since I'm using a local CA, (and Caddy works perfectly with it), I needed to figure out how to get Heimdall to trust that root CA cert--the README now describes how to do this.
 

Phill23

Dabbler
Joined
Feb 9, 2017
Messages
30
Hi all!
for 13.0 deleted the row 99 “format single_field common_log” content of heimdall-jail.sh .
 
Last edited:

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
That's not really a matter of TrueNAS 13; it's a matter of the Caddy dev(s) not caring about backward compatibility and introducing breaking changes in point releases. But yes, I need to update the script to account for that.
 

Phill23

Dabbler
Joined
Feb 9, 2017
Messages
30
Well yes you are right. Let me put it that way:
Thanks for the script it still works for 13.0 just the Caddy setup nets to be updated ;)

Cheers
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Depends whether those directives are going to be under the heimdall hostname or not. For example, when I was running it under CORE, I had Heimdall proxying to /jackett, /lidarr, etc. as https://heimdall.mydomain/jackett/. That looked like this in the Caddyfile:
Code:
heimdall.mydomain {

        encode gzip

        log {
                output file /var/log/heimdall_access.log
        }

        root * /usr/local/www/html/public
        file_server

        php_fastcgi 127.0.0.1:9000

        # Add reverse proxy directives here if desired

        reverse_proxy /jackett* http://192.168.1.15:9117
        reverse_proxy /lidarr* http://192.168.1.15:8686
        reverse_proxy /nzbget* http://192.168.1.15:6789
        reverse_proxy /radarr* http://192.168.1.16:7878
        reverse_proxy /sonarr* http://192.168.1.16:8989
        reverse_proxy /sabnzbd* http://192.168.1.15:8080
        reverse_proxy /deluge* http://192.168.1.67:8112
        reverse_proxy /nzbhydra* http://192.168.1.15:5076
        reverse_proxy /nextcloud* http://192.168.1.24
}

Then I put some other things in their own virtual hosts, like this:
Code:
plex.mydomain {
        encode gzip
        reverse_proxy 192.168.1.12:32400
}

emby.mydomain {
        encode gzip
        reverse_proxy 192.168.1.14:8096
}
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

victort

Guru
Joined
Dec 31, 2021
Messages
973
Top