• FreeBSD Port: nextcloud-php85-34.0.1_1

    From Will Tuladhar-Douglas@will@tending.to to muc.lists.freebsd.ports on Tue Jul 21 13:58:42 2026
    From Newsgroup: muc.lists.freebsd.ports

    This is a multi-part message in MIME format.

    --nextPart4169681.VxTJFVV6RB
    Content-Transfer-Encoding: 7Bit
    Content-Type: text/plain; charset="us-ascii"

    Dear brnrd (Bernard, I will guess?),

    Thank you for setting up the Nextcloud port/package for FreeBSD. I continue to be delighted by how constructive and supportive the FreeBSD community is!

    On inspection it looks as though the install is based on MySQL or MariaDB.

    Nextcloud themselves are now recommneding that new installs use Postgres.

    I'm just in the process of bringing a long-established small Nextcloud instance from Debian across to FreeBSD and as part of that am migrating the DB from MariabDB to Postgres on the old server before bringing it across to the new server.

    Is there anything I could do to help extend the port to include a Postgres backend? I have many years of (mostly amateur) experience with Unix systems but am only recently returning to BSD.

    Be well,

    ---WBTD.
    - - -- --- ----- -------- -------------
    will@tending.to
    Will Tuladhar-Douglas
    https://tending.to/garden

    --nextPart4169681.VxTJFVV6RB
    Content-Transfer-Encoding: 7Bit
    Content-Type: text/html; charset="us-ascii"

    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Dear brnrd (Bernard, I will guess?),</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Thank you for setting up the Nextcloud port/package for FreeBSD. I continue to be delighted by how constructive and supportive the FreeBSD community is!</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On inspection it looks as though the install is based on MySQL or MariaDB. </p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Nextcloud themselves are now recommneding that new installs use Postgres. </p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I'm just in the process of bringing a long-established small Nextcloud instance from Debian across to FreeBSD and as part of that am migrating the DB from MariabDB to Postgres on the old server before bringing it across to the new server.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Is there anything I could do to help extend the port to include a Postgres backend?&nbsp; I have many years of (mostly amateur) experience with Unix systems but am only recently returning to BSD. </p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Be well,</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">---WBTD.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">- - -- --- ----- -------- -------------</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">will@tending.to</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Will Tuladhar-Douglas</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">https://tending.to/garden</p>
    </body>
    </html>
    --nextPart4169681.VxTJFVV6RB--





    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Kevin P. Neal@kpn@neutralgood.org to muc.lists.freebsd.ports on Tue Jul 21 21:52:40 2026
    From Newsgroup: muc.lists.freebsd.ports

    On Tue, Jul 21, 2026 at 01:58:42PM +0100, Will Tuladhar-Douglas wrote:
    Dear brnrd (Bernard, I will guess?),

    Thank you for setting up the Nextcloud port/package for FreeBSD. I
    continue to be delighted by how constructive and supportive the FreeBSD
    community is!

    On inspection it looks as though the install is based on MySQL or
    MariaDB.

    Is there anything I could do to help extend the port to include a
    Postgres backend? I have many years of (mostly amateur) experience
    with Unix systems but am only recently returning to BSD.

    I run a Nextcloud instance on Postgres. I had to switch from my original
    SQLite database, but that's another story.

    I didn't do anything special to Nextcloud aside from following configuration documentation at the NC site. I installed PG plus the PHP interface to the database and that was it. Install software, follow instructions on configuration, done.

    I don't know what would change when switching from Linux to FreeBSD.
    Filesystem paths, of course, but it's the same NC and the same PG so
    I expect it's fine.


    I just checked, and I guess the reason I have php84-pdo_mysql installed
    is because of the default options on the port. Huh. I'll have to change
    that at some point. It's really not that important to me, though.

    If you want an install of Nextcloud to install the PG PHP support
    automatically then just 'make config' in the appropriate ports directory
    I believe. Or the equivalent if you use poudriere or whatever other
    build system.
    --

    "You know what I mean." -- US patent 8,011,992B2, "Apparatus For Facilitating The Construction Of A Snow Man/Woman"


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Kevin P. Neal@kpn@neutralgood.org to muc.lists.freebsd.ports on Wed Jul 22 13:23:20 2026
    From Newsgroup: muc.lists.freebsd.ports

    On Wed, Jul 22, 2026 at 02:08:16PM +0000, Bernard Spil wrote:
    There's been discussions about the database options in Nextcloud before.
    What you're seeing is because of the Nextcloud port's defaults. As
    Postgresql is now recommended, it may be time to add this to the default options.

    There's this thing with personal preferences. I maintain the MariaDB ports
    as well, so I naturally gravitate towards using that. I hate unnecessary dependencies, so adding PGSQL to the defaults will add a couple packages I don't need.

    You can always set up poudriere, and define your own options for the nextcloud port.

    One point worth mentioning is that the options to the nextcloud port change what dependencies are pulled in -- they don't change how nextcloud is
    built.

    If you really really don't want the PHP pdo_mysql module installed then
    the defaults matter. Most of the time it just doesn't matter. I have php84-pcntl, php84-pecl-imagick, and php84-pdo_pgsql installed, it seems
    I don't need the php84-pgsql module, and php84-mysql is installed but doing nothing. And I've never changed any of the nextcloud port's options. It's
    fine.
    --
    Kevin P. Neal http://www.pobox.com/~kpn/
    'Concerns about "rights" and "ownership" of domains are inappropriate.
    It is appropriate to be concerned about "responsibilities" and "service"
    to the community.' -- RFC 1591, page 4: March 1994


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2