danb35 / freenas-iocage-nextcloud

Script to create an iocage jail on FreeNAS for the latest Nextcloud 28 release, including Caddy, MariaDB or PostgreSQL, and Let's Encrypt
GNU General Public License v3.0
252 stars 71 forks source link

pkg error, fails to install... #162

Closed Menethoran closed 3 years ago

Menethoran commented 3 years ago

Clean install of TrueNAS... NOTHING else on the system yet... CAN ping both an IP address (8.8.8.8) and a named server (www.google.com) just fine... Hangs for long periods of time when trying to install packages... this is copy/paste from shell:

FreeBSD 12.2-RELEASE-p3 7851f4a452d(HEAD) TRUENAS

    TrueNAS (c) 2009-2021, iXsystems, Inc.
    All rights reserved.
    TrueNAS code is released under the modified BSD license with some
    files copyrighted by (c) iXsystems, Inc.

    For more information, documentation, help or support, go here:
    http://truenas.com

Welcome to TrueNAS

Warning: settings changed through the CLI are not written to the configuration database and will be reset on reboot.

root@truenas[~]# ./nextcloud-jail.sh zsh: no such file or directory: ./nextcloud-jail.sh root@truenas[~]# rm -rf /mnt/Storage/nextcloudroot@truenas[~]# cd freenas-iocage-nextcloud root@truenas[~/freenas-iocage-nextcloud]# ./nextcloud-jail.sh JAIL_INTERFACES not set, defaulting to: vnet0:bridge0 ls: /mnt/Storage/nextcloud/config: No such file or directory nextcloud successfully created!

Testing Host DNS response to pkg.freebsd.org Testing nextcloud's SRV response to pkg.freebsd.org Testing nextcloud's DNSSEC response to pkg.freebsd.org

Installing pkg... pkg failed to install, retry #1 pkg failed to install, retry #2 pkg failed to install, retry #3

pkg error:

Please check your network Failed to create jail

Menethoran commented 3 years ago

Seems to be able to be bypassed by either setting the INTERFACE to my network card, or turning off VLAN in config (unsure which worked as I did both)