Unable Install smbclient

RMAZOUZI

Explorer
Joined
Jan 15, 2023
Messages
54
Hello,

In order to mount shared smb folder as external storge to nextcloud,im unable to install smbclient i got erro bellow

make: stopped in /usr/ports/net
root@nextcloud:/usr/ports/net # make distclean install -C /usr/ports/net/pecl-smbclient
===> Cleaning for php80-pecl-smbclient-1.0.6
===> Cleaning for php81-pecl-smbclient-1.0.6
===> Cleaning for php82-pecl-smbclient-1.0.6
===> Deleting distfiles for php80-pecl-smbclient-1.0.6
/!\ ERROR: /!\

Ports Collection support for your FreeBSD version has ended, and no ports are
guaranteed to build on this system. Please upgrade to a supported release.

No support will be provided if you silence this message by defining
ALLOW_UNSUPPORTED_SYSTEM.

can you help me please
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Ports Collection support for your FreeBSD version has ended
The message seems pretty self-explanatory--which version of Free/TrueNAS are you using?
 

RMAZOUZI

Explorer
Joined
Jan 15, 2023
Messages
54
Thanks for you reply
FreeBSD truenas.local 12.2-RELEASE-p14 FreeBSD 12.2-RELEASE-p14 325282c09a5(HEAD) TRUENAS amd64
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
That didn't really answer the question, but it's close enough; that version of FreeBSD has been EOL for exactly one year, as of yesterday. Depending on how you built the jail, you may be able to upgrade it to 12.4, which is still supported.
 

RMAZOUZI

Explorer
Joined
Jan 15, 2023
Messages
54
can i upgrade directly to

TrueNAS CORE 13.0-U4 ? and does not impact nextcloud and exisiting smb shared​

 

RMAZOUZI

Explorer
Joined
Jan 15, 2023
Messages
54
after upgrade to 13.0-U4 and running gain the comand i got the error below

root@nextcloud:~ # make install -C /usr/ports/net/pecl-smbclient
make: "/usr/ports/Mk/bsd.port.mk" line 1207: UNAME_r (13.1-RELEASE-p7) and OSVERSION (1203000) do not agree on major version number
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
You still need to upgrade the jail to use that version. iocage upgrade -r 13.1-RELEASE nextcloud, IIRC. Or you can do it through the GUI as well.
 

RMAZOUZI

Explorer
Joined
Jan 15, 2023
Messages
54
Thanks danb35 after upgrade of both truenas and nextcloud the smb work,but i can enter with addresse IP and i cannot access with domain name it give error certificate i used let'sencrypt
 

RMAZOUZI

Explorer
Joined
Jan 15, 2023
Messages
54
it is ok the probleme solved thanks



 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
So you're using the plugin? Bad call:
 
Top