1

Topic: update on freebsd

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.2 OPENLDAP edition.
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: FreeBSD 14.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): OpenLDAP
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Is it safe to keep updating the under-laying FreeBSD with its usual commands (pkg upgrade; freebsd-update) ?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by djoka 2025-02-05 21:09:32)

Re: update on freebsd

oh, and, is there a complete list of FreeBSD packages that should NOT be installed from OS (like ldap, nginx...) ?

'pkg upgrade' currently outputs this:

New packages to be INSTALLED:
        bash: 5.2.37
        boost-libs: 1.86.0_1
        galera26: 26.4.16_4
        gnupg1: 1.4.23_4
        groff: 1.23.0_4
        hidapi: 0.14.0
        libcbor: 0.11.0
        libcjson: 1.7.18_2
        libfido2: 1.15.0
        libunwind: 20240221_1
        mysql80-client: 8.0.39
        postgresql16-client: 16.6
        psutils: 1.17_6
        rsync: 3.4.1
        uchardet: 0.0.8_1
        xxhash: 0.8.2_1

Installed packages to be REINSTALLED:
        amavisd-new-2.12.3_6,1 (options changed)
        arj-3.10.22_12 (options changed)
        clamav-1.4.2,1 (options changed)
        cyrus-sasl-2.1.28_5 (options changed)
        dlib-cpp-19.24.6_1 (required shared library changed)
        gnupg-2.4.7 (options changed)
        gnustep-base-1.29.0_1 (options changed)
        mariadb106-client-10.6.20 (options changed)
        mariadb106-server-10.6.20 (options changed)
        memcached-1.6.34 (options changed)
        openldap26-client-2.6.9 (options changed)
        openldap26-server-2.6.9 (options changed)
        p5-DBD-mysql4-4.052 (direct dependency changed: mysql80-client)
        p5-Net-DNS-1.49,1 (options changed)
        postfix-3.9.1,1 (options changed)
        py311-Babel-2.16.0 (options changed)
        py311-Jinja2-3.1.4 (options changed)
        py311-dnspython-2.7.0,1 (options changed)
        roundcube-php84-1.6.9,1 (options changed)
        sogo-5.11.2 (options changed)
        sope-5.11.2 (options changed)
        spamassassin-4.0.1_2 (options changed)
        texinfo-7.1_8,1 (required shared library changed)
        uwsgi-py311-2.0.28 (options changed)


Thanks.

3

Re: update on freebsd

iRedMail installs packages with ports tree on FreeBSD, you should upgrade them with ports tree, not "pkg upgrade".

4

Re: update on freebsd

By the way, we're trying to install all packages with pkg, but pending on 2 packages:
https://github.com/iredmail/iRedMail/pull/280
https://github.com/iredmail/iRedMail/issues/272

5 (edited by djoka 2025-02-06 19:57:55)

Re: update on freebsd

Thanks, I don't have much experience with freebsd.
So the pkg and its ports 'clone' are using the same options/config files?
Can we uninstall pkg but keep the config for ports?

edit:
so we can use:

# portsnap fetch extract
# portsnap fetch update

to upgrade?

6

Re: update on freebsd

should I update anything !?