ok, i was able to solve it by installing the latest iRedAdmin-Pro and noticing that py-pycurl had some issue.
So i went to install the new version:
# cd /root/iRedAdmin-Pro-SQL-4.3/tools/
# bash upgrade_iredadmin.sh
* Detected Linux/BSD distribution: FREEBSD
* HTTP server root: /usr/local/www
* Found iRedAdmin directory: /usr/local/www/iredadmin, symbol link of iRedAdmin-Pro-SQL-4.2
* Found iRedAdmin config file: /usr/local/www/iredadmin/settings.py
* Copying new version to /usr/local/www/iRedAdmin-Pro-SQL-4.3
* Copy /usr/local/www/iredadmin/settings.py.
* Removing old symbol link /usr/local/www/iredadmin
* Creating symbol link /usr/local/www/iredadmin to /usr/local/www/iRedAdmin-Pro-SQL-4.3
* Delete all existing sessions to force all admins to re-login.
* Enable Fail2ban SQL integration.
* Enable mlmmj integration.
* Restarting service: mlmmjadmin.
Stopping mlmmjadmin.
Starting mlmmjadmin.
[uWSGI] getting INI configuration from /opt/mlmmjadmin/rc_scripts/uwsgi/freebsd.ini
* Check and install dependent Python modules:
+ [required] json or simplejson
+ [required] dnspython
+ [required] pycurl
Install package: ftp/py-pycurl
===> Installing for py27-pycurl-7.43.0.5
===> Checking if py27-pycurl is already installed
===> py27-pycurl-7.43.0.5 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of py27-pycurl
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
Stop.
make[1]: stopped in /basejail/usr/ports/ftp/py-pycurl
*** Error code 1
Stop.
make: stopped in /basejail/usr/ports/ftp/py-pycurl
+ [required] requests
* Check SQL tables, and add missed ones - if there's any
* Clean up.
* iRedAdmin has been successfully upgraded.
* Restarting iredadmin service.
iredadmin is already stopped.
Starting iredadmin.
[uWSGI] getting INI configuration from /usr/local/www/iredadmin/rc_scripts/uwsgi/freebsd.ini
* Enable service: iredadmin
iredadmin_enable: YES -> YES
iredadmin is already stopped.
Starting iredadmin.
[uWSGI] getting INI configuration from /usr/local/www/iredadmin/rc_scripts/uwsgi/freebsd.ini
* Upgrading completed.
<<< NOTE >>> If iRedAdmin doesn't work as expected, please post your issue in
<<< NOTE >>> our online support forum: http://www.iredmail.org/forum/
ok, so it said that py-pycurl was already installed but still attempted to install it, not sure why, but i figured, let me deinstall it and allow the script to install it again
# cd /usr/ports/ftp/py-pycurl
# make deinstall
===> Deinstalling for py27-pycurl
===> Deinstalling py27-pycurl-7.43.0.5
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
Installed packages to be REMOVED:
py27-pycurl: 7.43.0.5
Number of packages to be removed: 1
[my.host] [1/1] Deinstalling py27-pycurl-7.43.0.5...
[my.host] [1/1] Deleting files for py27-pycurl-7.43.0.5: 100%
# cd /root/iRedAdmin-Pro-SQL-4.3/tools/
# bash upgrade_iredadmin.sh
* Detected Linux/BSD distribution: FREEBSD
* HTTP server root: /usr/local/www
* Found iRedAdmin directory: /usr/local/www/iredadmin, symbol link of iRedAdmin-Pro-SQL-4.3
* Found iRedAdmin config file: /usr/local/www/iredadmin/settings.py
* Copying new version to /usr/local/www/iRedAdmin-Pro-SQL-4.3
* Copy /usr/local/www/iredadmin/settings.py.
cp: /usr/local/www/iRedAdmin-Pro-SQL-4.3/settings.py and /usr/local/www/iredadmin/settings.py are identical (not copied).
* Removing old symbol link /usr/local/www/iredadmin
* Creating symbol link /usr/local/www/iredadmin to /usr/local/www/iRedAdmin-Pro-SQL-4.3
* Delete all existing sessions to force all admins to re-login.
* Enable mlmmj integration.
* Restarting service: mlmmjadmin.
mlmmjadmin is already stopped.
Starting mlmmjadmin.
[uWSGI] getting INI configuration from /opt/mlmmjadmin/rc_scripts/uwsgi/freebsd.ini
* Check and install dependent Python modules:
+ [required] json or simplejson
+ [required] dnspython
+ [required] pycurl
Install package: ftp/py-pycurl
===> Installing for py27-pycurl-7.43.0.5
===> Checking if py27-pycurl is already installed
===> Registering installation for py27-pycurl-7.43.0.5
[my.host] Installing py27-pycurl-7.43.0.5...
===> Cleaning for py27-pycurl-7.43.0.5
===> Cleaning for py38-pycurl-7.43.0.5
+ [required] requests
* Check SQL tables, and add missed ones - if there's any
* Clean up.
* iRedAdmin has been successfully upgraded.
* Restarting iredadmin service.
iredadmin is already stopped.
Starting iredadmin.
[uWSGI] getting INI configuration from /usr/local/www/iredadmin/rc_scripts/uwsgi/freebsd.ini
* Enable service: iredadmin
iredadmin_enable: YES -> YES
iredadmin is already stopped.
Starting iredadmin.
[uWSGI] getting INI configuration from /usr/local/www/iredadmin/rc_scripts/uwsgi/freebsd.ini
* Upgrading completed.
<<< NOTE >>> If iRedAdmin doesn't work as expected, please post your issue in
<<< NOTE >>> our online support forum: http://www.iredmail.org/forum/
interesting enough the new installation installed py27-pycurl but also py38-pycurl, which was not previously there...
I also had to restart mlmmjadmin to make everything work properly.