Hi all, im a beginner but im trying to install heimdall in a jail using THIS guide.
I have followed the step, plus:
- added this to initial script for fix a previous error
# If release is 13.1-RELEASE, change to 13.2-RELEASE
if [ "${RELEASE}" = "13.1-RELEASE" ]; then
RELEASE="13.2-RELEASE"
fi
- added in the config file
FILE="v2.6.1.tar.gz"
for get the latest version
The jail installation go well until the last process, and trying to reach jail ip i got ERROR 502 from browser.
This is the log of intsallation:
Log
Script started on Fri Apr 26 11:30:08 2024
Command: ./heimdall-jail.sh
heimdall successfully created!
Testing Host DNS response to pkg.freebsd.org
Testing heimdall's SRV response to pkg.freebsd.org
Testing heimdall's DNSSEC response to pkg.freebsd.org
Installing pkg...
Installing supplied packages:
- nano...
- caddy...
===> Creating groups.
Using existing group 'www'.
===> Creating users
Using existing user 'www'.
=====
Message from caddy-2.7.6_5:
--
To enable caddy:
- Edit /usr/local/etc/caddy/Caddyfile
See https://caddyserver.com/docs/
- Run 'service enable caddy'
Note while Caddy currently defaults to running as root:wheel, it is strongly
recommended to run the server as an unprivileged user, such as www:www --
- Use security/portacl-rc to enable privileged port binding:
# pkg install security/portacl-rc
# sysrc portacl_users+=www
# sysrc portacl_user_www_tcp="http https"
# sysrc portacl_user_www_udp="https"
# service portacl enable
# service portacl start
- Configure caddy to run as www:www
# sysrc caddy_user=www caddy_group=www
- Note if Caddy has been started as root previously, files in
/var/log/caddy, /var/db/caddy, and /var/run/caddy may require their ownership
changing manually.
/usr/local/etc/rc.d/caddy has the following defaults:
- Server log: /var/log/caddy/caddy.log
(runtime messages, NOT an access.log)
- Automatic SSL certificate storage: /var/db/caddy/data/caddy/
- Administration endpoint: //unix/var/run/caddy/caddy.sock
- Runs as root:wheel (this will change to www:www in the future)
- php80...
pkg: No packages available to install matching 'php80' have been found in the repositories
- php80 failed to install, retry #1
pkg: No packages available to install matching 'php80' have been found in the repositories
- php80 failed to install, retry #2
pkg: No packages available to install matching 'php80' have been found in the repositories
- php80 failed to install, retry #3
- php80-mbstring...
pkg: No packages available to install matching 'php80-mbstring' have been found in the repositories
- php80-mbstring failed to install, retry #1
pkg: No packages available to install matching 'php80-mbstring' have been found in the repositories
- php80-mbstring failed to install, retry #2
pkg: No packages available to install matching 'php80-mbstring' have been found in the repositories
- php80-mbstring failed to install, retry #3
- php80-zip...
pkg: No packages available to install matching 'php80-zip' have been found in the repositories
- php80-zip failed to install, retry #1
pkg: No packages available to install matching 'php80-zip' have been found in the repositories
- php80-zip failed to install, retry #2
pkg: No packages available to install matching 'php80-zip' have been found in the repositories
- php80-zip failed to install, retry #3
- php80-tokenizer...
pkg: No packages available to install matching 'php80-tokenizer' have been found in the repositories
- php80-tokenizer failed to install, retry #1
pkg: No packages available to install matching 'php80-tokenizer' have been found in the repositories
- php80-tokenizer failed to install, retry #2
pkg: No packages available to install matching 'php80-tokenizer' have been found in the repositories
- php80-tokenizer failed to install, retry #3
- php80-openssl...
pkg: No packages available to install matching 'php80-openssl' have been found in the repositories
- php80-openssl failed to install, retry #1
pkg: No packages available to install matching 'php80-openssl' have been found in the repositories
- php80-openssl failed to install, retry #2
pkg: No packages available to install matching 'php80-openssl' have been found in the repositories
- php80-openssl failed to install, retry #3
- php80-pdo...
pkg: No packages available to install matching 'php80-pdo' have been found in the repositories
- php80-pdo failed to install, retry #1
pkg: No packages available to install matching 'php80-pdo' have been found in the repositories
- php80-pdo failed to install, retry #2
pkg: No packages available to install matching 'php80-pdo' have been found in the repositories
- php80-pdo failed to install, retry #3
- php80-pdo_sqlite...
pkg: No packages available to install matching 'php80-pdo_sqlite' have been found in the repositories
- php80-pdo_sqlite failed to install, retry #1
pkg: No packages available to install matching 'php80-pdo_sqlite' have been found in the repositories
- php80-pdo_sqlite failed to install, retry #2
pkg: No packages available to install matching 'php80-pdo_sqlite' have been found in the repositories
- php80-pdo_sqlite failed to install, retry #3
- php80-filter...
pkg: No packages available to install matching 'php80-filter' have been found in the repositories
- php80-filter failed to install, retry #1
pkg: No packages available to install matching 'php80-filter' have been found in the repositories
- php80-filter failed to install, retry #2
pkg: No packages available to install matching 'php80-filter' have been found in the repositories
- php80-filter failed to install, retry #3
- php80-xml...
pkg: No packages available to install matching 'php80-xml' have been found in the repositories
- php80-xml failed to install, retry #1
pkg: No packages available to install matching 'php80-xml' have been found in the repositories
- php80-xml failed to install, retry #2
pkg: No packages available to install matching 'php80-xml' have been found in the repositories
- php80-xml failed to install, retry #3
- php80-ctype...
pkg: No packages available to install matching 'php80-ctype' have been found in the repositories
- php80-ctype failed to install, retry #1
pkg: No packages available to install matching 'php80-ctype' have been found in the repositories
- php80-ctype failed to install, retry #2
pkg: No packages available to install matching 'php80-ctype' have been found in the repositories
- php80-ctype failed to install, retry #3
- sqlite3...
- php80-session...
pkg: No packages available to install matching 'php80-session' have been found in the repositories
- php80-session failed to install, retry #1
pkg: No packages available to install matching 'php80-session' have been found in the repositories
- php80-session failed to install, retry #2
pkg: No packages available to install matching 'php80-session' have been found in the repositories
- php80-session failed to install, retry #3
- go...
- git...
===> Creating groups.
Creating group 'git_daemon' with gid '964'.
===> Creating users
Creating user 'git_daemon' with uid '964'.
=====
Message from python39-3.9.18_2:
--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:
py39-gdbm databases/py-gdbm@py39
py39-sqlite3 databases/py-sqlite3@py39
py39-tkinter x11-toolkits/py-tkinter@py39
=====
Message from git-2.44.0:
--
If you installed the GITWEB option please follow these instructions:
In the directory /usr/local/share/examples/git/gitweb you can find all files to
make gitweb work as a public repository on the web.
All you have to do to make gitweb work is:
1) Please be sure you're able to execute CGI scripts in
/usr/local/share/examples/git/gitweb.
2) Set the GITWEB_CONFIG variable in your webserver's config to
/usr/local/etc/git/gitweb.conf. This variable is passed to gitweb.cgi.
3) Restart server.
If you installed the CONTRIB option please note that the scripts are
installed in /usr/local/share/git-core/contrib. Some of them require
other ports to be installed (perl, python, etc), which you may need to
install manually.
No default gateway found for ipv6.
* Starting heimdall
+ Started OK
+ Using devfs_ruleset: 1000 (iocage generated default)
+ Configuring VNET OK
+ Using IP options: vnet
+ Starting services OK
+ Executing poststart OK
Successfully added mount to heimdall's fstab
fetch: https://github.com/linuxserver/Heimdall/archive/v2.6.1.tar.gz: size of remote file is not known
/tmp/v2.6.1.tar.gz 0 B 0 Bps
/tmp/v2.6.1.tar.gz 2432 kB 3919 kBps
/tmp/v2.6.1.tar.gz 7040 kB 4615 kBps
/tmp/v2.6.1.tar.gz 11 MB 4629 kBps
/tmp/v2.6.1.tar.gz 15 MB 4615 kBps
/tmp/v2.6.1.tar.gz 16 MB 4504 kBps 04s
php_fpm_enable: -> YES
caddy_enable: -> YES
caddy_config: -> /usr/local/www/Caddyfile
sh: php: not found
Command: sh -c cd /usr/local/www/html/ && php artisan key:generate failed!
php-fpm does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
Command: service php-fpm start failed!
Starting caddy... done
Log: /var/log/caddy/caddy.log
Command exit status: 0
Script done on Fri Apr 26 11:31:43 2024
someone can help me? Thanks a lot