Module installation error for Unifi controller

jawakharlal

Dabbler
Joined
Feb 5, 2024
Messages
12
Installed TrueNAS-13.0-U6.1, created a storage intended for storing Jail.
I'm now trying to install the plugin for unificontroller, but I get the error: Error: 13.1-RELEASE not found!

I tried to run the command in the ssh console:
pkg install unifi7

and I get the error:

Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating local repository catalogue...
pkg: file:///usr/ports/packages/meta.txz: No such file or directory
repository local has no meta file, using default settings
pkg: file:///usr/ports/packages/packagesite.pkg: No such file or directory
pkg: file:///usr/ports/packages/packagesite.txz: No such file or directory
Unable to update repository local
Error updating repositories!

is it possible to do something about this?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Make yourself a new jail. (13.2-RELEASE is the right version)

run pkg install unifi8 in that jail.
 

jawakharlal

Dabbler
Joined
Feb 5, 2024
Messages
12
Make yourself a new jail. (13.2-RELEASE is the right version)

run pkg install unifi8 in that jail.
I still get the error:


root@truenas[~]# pkg install unifi8
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating local repository catalogue...
pkg: file:///usr/ports/packages/meta.txz: No such file or directory
repository local has no meta file, using default settings
pkg: file:///usr/ports/packages/packagesite.pkg: No such file or directory
pkg: file:///usr/ports/packages/packagesite.txz: No such file or directory
Unable to update repository local
Error updating repositories!
root@truenas[~]#

 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
root@truenas[~]# pkg install unifi8
You're at the TrueNAS console... not in the jail. That's an expected result when executed on the TrueNAS host.

iocage console <unifi jail name>

Then

pkg install unifi8
 

jawakharlal

Dabbler
Joined
Feb 5, 2024
Messages
12
and now I’m faced with the fact that I don’t know how to open the controller’s web panel.
I have a hyper-v server (192.168.111.241), it has a truenas virtual machine (192.168.111.236), it has a jail for unifi (172.16.10.30)
Which link to open the web panel?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
I have a hyper-v server (192.168.111.241), it has a truenas virtual machine (192.168.111.236), it has a jail for unifi (172.16.10.30)
Which link to open the web panel?
Without commenting in detail on the lack of wisdom of your setup (hyper-v is really not supported/known to not work well), you could solve that either of 2 ways...

Since it seems you've got a NAT jail, use the host (TrueNAS) IP with the port of the service in the jail (8443 for unifi, I think).

Or you could switch to a VNET jail, which will have its own IP address... then connecting to the jail IP (still on 8443).
 
Top