Onlyoffice-Documentserver

Overview

This is a development jail. Do not use in production yet.

Be aware, this is a large jail image.

This flavour currently contains onlyoffice-documentserver for live editing documents, paired with a separate Nextcloud instance.

The flavour includes a local consul agent instance to be available that it can connect to (see configuration below). You can e.g. use the consul pot flavour on this site to run consul. You can also connect to this host and service consul restart manually.

Installation

  • Create a ZFS dataset beforehand, for example:
zfs create -o mountpoint=/mnt/documentserver zroot/data/documentserver
  • Create your local jail from the image or the flavour files.
  • Clone the local jail
  • Mount in persistent storage to /mnt specifically
pot mount-in -p <jailname> -m /mnt -d /mnt/documentserver
  • Adjust to your environment:
    sudo pot set-env -p <jailname> \
      -E DATACENTER=<datacentername> \
      -E NODENAME=<nodename> \
      -E IP=<IP address of this system> \
      -E CONSULSERVERS="<comma-deliminated list of consul servers>" \
      -E GOSSIPKEY=<32 byte Base64 key from consul keygen> \
      -E DOMAIN=<FQDN for host> \
      -E EMAIL=<email address for letsencrypt setup> \
      -E DBHOST=<database hostname or IP address> \
      -E DBUSER=<database username> \
      -E DBPASS=<database password> \
      -E DBNAME=<database name, i.e. onlyoffice> \
      [ -E PVTCERT=<any value enables self-signed certificates instead of using acme.sh> ] \
      [ -E DBPORT=<database port> ] \
      [ -E SECRETSTRING=<secret string> ] \
      [ -E RABBITONLYOFFICEPASS=<password for rabbitmq onlyoffice user> ] \
      [ -E REMOTELOG=<IP address> ]
    
  • Start the jail

Required Paramaters

The DATACENTER parameter defines a common datacenter.

The NODENAME parameter defines the name of this node.

The IP parameter is the IP address which will be used to access services.

The CONSULSERVERS parameter is a comma-deliminated list of IP addresses for the consul server or cluster. Do not include spaces!

e.g. CONSULSERVERS="10.0.0.2" or CONSULSERVERS="10.0.0.2,10.0.0.3,10.0.0.4,10.0.0.5,10.0.0.6"

The GOSSIPKEY parameter is the gossip encryption key for consul agent. We’re using a default key if you do not set the parameter, do not use the default key for production encryption, instead provide your own.

The DOMAIN parameter is the domain name of the onlyoffice-documentserver instance.

The EMAIL parameter is the email address to use for letsencrypt registration. This must still be passed in if using the self-signed certificate parameter PVTCERT.

The parameters DBHOST, DBNAME, DBUSER, DBPASS relate to a postgresql instance. The database and user permissions must be setup in advance of running this jail. Refer note below for database setup.

Optional Parameters

The PVTCERT parameter is an optional value which generates self-signed certificates instead of using acme.sh. This is used in testing, or if there is a frontend that handles SSL certificates, such as haproxy. You must still pass in an EMAIL parameter even though it’s not used.

The DBPORT parameter defaults to 5432, yet can be set to another port by setting this parameter.

The SECRETSTRING parameter will be automatically created if not passed in. This password will be used by the Nextcloud Onlyoffice connector.

The RABBITONLYOFFICEPASS parameter will be automatically created if not passed in.

The REMOTELOG parameter is the IP address of a destination syslog-ng server, such as with the loki flavour, or beast-of-argh flavour.

Database setup

Before running this pot image, create a database and user with permissions on a separate postgresql jail as follows:

sudo -u postgres psql -c "CREATE DATABASE onlyoffice;"
sudo -u postgres psql -c "CREATE USER onlyoffice WITH password 'REPLACE-PASSWORD';"
sudo -u postgres psql -c "GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;"
sudo -u postgres psql -c "ALTER DATABASE onlyoffice OWNER to onlyoffice;"

Then pass in the relevant values to jail for DBHOST, DBNAME, DBUSER, DBPASS, and optionally DBPORT.

Usage

The shared secret to use in Nextcloud connector will be in /mnt/private/documentserver.txt.

See https://api.onlyoffice.com/editors/nextcloud for more details on configuring Nextcloud.

Getting Started

How To Use The Ready-Made Image

FreeBSD 14.2:
pot import -p onlyoffice-documentserver-amd64-14_2 -t 0.0.3 -U https://potluck.honeyguide.net/onlyoffice-documentserver

With Signify Verification:
fetch https://potluck.honeyguide.net/potluck.pub; pot import -p onlyoffice-documentserver-amd64-14_2 -t 0.0.3 -C potluck.pub -U https://potluck.honeyguide.net/onlyoffice-documentserver

If you don’t want to use the default pot bridged network configuration but instead need an individual network setup (e.g. assign a host IP address), after importing it you can simply clone the jail like that (em0 is the host network adapter in this example):
pot clone -P onlyoffice-documentserver-amd64-14_2 -p my-cloned-jail -N alias -i "em0|10.10.10.10"

Note: Some images might require specific network configuration, double check the Overview-chapter at the top.

Alternatively: Create a Jail With This Flavour Yourself

1. Create Flavour Files

Save all files and directories from https://github.com/hny-gd/potluck/tree/master/onlyoffice-documentserver to /usr/local/etc/pot/flavours/

2. Create Jail From Flavour

Run
pot create -b <FreeBSD Version> -p <jailname> -t single -N public-bridge -f fbsd-update

with your FreeBSD version (e.g. 14.1) and the name your jail should get.

Note: Some images might require specific network configuration, double check the Overview-chapter at the top.

Version History

0.0

  • First bash at a pot jail with onlyoffice-documentserver
  • Fix script which checks if database exists to use greater-than-or-equal because grep is counting 2 items
  • Fix rabbitmq for missing “–node ’name’” option not mentioned in onlyoffice-documentserver pkg info
  • Add missing package py311-setuptools for supervisord
  • Add missing parameter SECRETSTRING to cook script variables check
  • Fix nginx parameter naming variables
  • Update CHECKLIST for python package version name changes
  • Fix typo in variable expansion of _POT_NAME for local.json configuration

These images were built on Tue Mar 18 20:07:06 UTC 2025

Manual Image Download Links

onlyoffice-documentserver-amd64-14_2_0.0.3.xz ( )
onlyoffice-documentserver-amd64-14_2_0.0.3.xz.skein ( ) onlyoffice-documentserver-amd64-14_2_0.0.3.xz.skein.sig ( ) onlyoffice-documentserver-amd64-14_2_0.0.3.xz.meta ( )

Jenkins Pot Creation Logs

onlyoffice-documentserver-amd64-14_2_0.0.3:


onlyoffice-documentserver/onlyoffice-documentserver:
copy-in -s /usr/local/etc/pot/flavours/onlyoffice-documentserver.d/local -d /root/.pot_local
onlyoffice-documentserver/onlyoffice-documentserver.sh:
#!/bin/sh

# Based on POTLUCK TEMPLATE v3.0
# Altered by Michael Gmelin
#
# EDIT THE FOLLOWING FOR NEW FLAVOUR:
# 1. RUNS_IN_NOMAD - true or false
# 2. If RUNS_IN_NOMAD is false, can delete the <flavour>+4 file, else
#    make sure pot create command doesn't include it
# 3. Create a matching <flavour> file with this <flavour>.sh file that
#    contains the copy-in commands for the config files from <flavour>.d/
#    Remember that the package directories don't exist yet, so likely copy
#    to /root
# 4. Adjust package installation between BEGIN & END PACKAGE SETUP
# 5. Adjust jail configuration script generation between BEGIN & END COOK
#    Configure the config files that have been copied in where necessary

# Set this to true if this jail flavour is to be created as a nomad
# (i.e. blocking) jail.
# You can then query it in the cook script generation below and the script
# is installed appropriately at the end of this script
RUNS_IN_NOMAD=false

# set the cook log path/filename
COOKLOG=/var/log/cook.log

# check if cooklog exists, create it if not
if [ ! -e $COOKLOG ]
then
    echo "Creating $COOKLOG" | tee -a $COOKLOG
else
    echo "WARNING $COOKLOG already exists"  | tee -a $COOKLOG
fi
date >> $COOKLOG

# -------------------- COMMON ---------------

STEPCOUNT=0
step() {
  STEPCOUNT=$(("$STEPCOUNT" + 1))
  STEP="$*"
  echo "Step $STEPCOUNT: $STEP" | tee -a $COOKLOG
}

exit_ok() {
  trap - EXIT
  exit 0
}

FAILED=" failed"
exit_error() {
  STEP="$*"
  FAILED=""
  exit 1
}

set -e
trap 'echo ERROR: $STEP$FAILED | (>&2 tee -a $COOKLOG)' EXIT

# -------------- BEGIN PACKAGE SETUP -------------

step "Bootstrap package repo"
mkdir -p /usr/local/etc/pkg/repos
#
# switch to latest as stress-ng missing from quarterlies
# shellcheck disable=SC2016
echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }' \
    >/usr/local/etc/pkg/repos/FreeBSD.conf
# only modify repo if not already done in base image
# shellcheck disable=SC2016
#test -e /usr/local/etc/pkg/repos/FreeBSD.conf || \
#  echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly" }' \
#    >/usr/local/etc/pkg/repos/FreeBSD.conf
ASSUME_ALWAYS_YES=yes pkg bootstrap
# added for images with switch to latest
ASSUME_ALWAYS_YES=yes pkg update

step "Touch /etc/rc.conf"
touch /etc/rc.conf

step "Clean freebsd-update"
rm -rf /var/db/freebsd-update
mkdir -p /var/db/freebsd-update

# this is important, otherwise running /etc/rc from cook will
# overwrite the IP address set in tinirc
step "Remove ifconfig_epair0b from config"
# shellcheck disable=SC2015
sysrc -cq ifconfig_epair0b && sysrc -x ifconfig_epair0b || true

step "Disable sendmail"
service sendmail onedisable

step "Create /usr/local/etc/rc.d"
mkdir -p /usr/local/etc/rc.d

# we need consul for consul agent
step "Install package consul"
pkg install -y consul

step "Install package openssl"
pkg install -y openssl

step "Install package sudo"
pkg install -y sudo

# necessary if installing curl now
step "Install package ca_root_nss"
pkg install -y ca_root_nss

step "Install package curl"
pkg install -y curl

step "Install package jq"
pkg install -y jq

step "Install package jo"
pkg install -y jo

step "Install package nano"
pkg install -y nano

step "Install package bash"
pkg install -y bash

step "Install package rsync"
pkg install -y rsync

step "Install package node_exporter"
pkg install -y node_exporter

step "Install package nginx"
pkg install -y nginx

step "Install package python3"
pkg install -y python3

step "Install package py311-supervisor"
pkg install -y py311-supervisor

# supervisord needs this but it isn't installed as a dependency with onlyoffice-documentserver
step "Install package py311-setuptools"
pkg install -y py311-setuptools

step "Install package postgresql16-client"
pkg install -y postgresql16-client

step "Install package rabbitmq"
pkg install -y rabbitmq

step "Install package onlyoffice-documentserver"
pkg install -y onlyoffice-documentserver

step "Install package syslog-ng"
pkg install -y syslog-ng

step "Clean package installation"
pkg clean -ay

# -------------- END PACKAGE SETUP -------------

#
# Now generate the run command script "cook"
# It configures the system on the first run by creating the config file(s)
# On subsequent runs, it only starts sleeps (if nomad-jail) or simply exits
#

# this runs when image boots
# ----------------- BEGIN COOK ------------------

step "Clean cook artifacts"
rm -rf /usr/local/bin/cook /usr/local/share/cook

step "Install pot local"
tar -C /root/.pot_local -cf - . | tar -C /usr/local -xf -
rm -rf /root/.pot_local

step "Set file ownership on cook scripts"
chown -R root:wheel /usr/local/bin/cook /usr/local/share/cook
chmod 755 /usr/local/share/cook/bin/*

# ----------------- END COOK ------------------


# ---------- NO NEED TO EDIT BELOW ------------

step "Make cook script executable"
if [ -e /usr/local/bin/cook ]
then
    echo "setting executable bit on /usr/local/bin/cook" | tee -a $COOKLOG
    chmod u+x /usr/local/bin/cook
else
    exit_error "there is no /usr/local/bin/cook to make executable"
fi

#
# There are two ways of running a pot jail: "Normal", non-blocking mode and
# "Nomad", i.e. blocking mode (the pot start command does not return until
# the jail is stopped).
# For the normal mode, we create a /usr/local/etc/rc.d script that starts
# the "cook" script generated above each time, for the "Nomad" mode, the cook
# script is started by pot (configuration through flavour file), therefore
# we do not need to do anything here.
#

# Create rc.d script for "normal" mode:
step "Create rc.d script to start cook"
echo "creating rc.d script to start cook" | tee -a $COOKLOG

# shellcheck disable=SC2016
echo '#!/bin/sh
#
# PROVIDE: cook
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
. /etc/rc.subr
name="cook"
rcvar="cook_enable"
load_rc_config $name
: ${cook_enable:="NO"}
: ${cook_env:=""}
command="/usr/local/bin/cook"
command_args=""
run_rc_command "$1"
' > /usr/local/etc/rc.d/cook

step "Make rc.d script to start cook executable"
if [ -e /usr/local/etc/rc.d/cook ]
then
  echo "Setting executable bit on cook rc file" | tee -a $COOKLOG
  chmod u+x /usr/local/etc/rc.d/cook
else
  exit_error "/usr/local/etc/rc.d/cook does not exist"
fi

if [ "$RUNS_IN_NOMAD" != "true" ]
then
  step "Enable cook service"
  # This is a non-nomad (non-blocking) jail, so we need to make sure the script
  # gets started when the jail is started:
  # Otherwise, /usr/local/bin/cook will be set as start script by the pot
  # flavour
  echo "enabling cook" | tee -a $COOKLOG
  service cook enable
fi

# -------------------- DONE ---------------
exit_ok

onlyoffice-documentserver/onlyoffice-documentserver+1:
onlyoffice-documentserver/onlyoffice-documentserver+1.sh:

onlyoffice-documentserver/onlyoffice-documentserver+2:
onlyoffice-documentserver/onlyoffice-documentserver+2.sh:

onlyoffice-documentserver/onlyoffice-documentserver+3:
onlyoffice-documentserver/onlyoffice-documentserver+3.sh:

onlyoffice-documentserver/onlyoffice-documentserver+4:
onlyoffice-documentserver/onlyoffice-documentserver+4.sh:
=====>  Create conf dir (/mnt/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/conf)
=====>  Cloning freebsd-potluck-amd64-14_2_0_0_36 with snap 
=====>  clone zroot/srv/pot/jails/freebsd-potluck-amd64-14_2_0_0_36/m@1740167589 into zroot/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/m
=====>  Flavour: fbsd-update
=====>  Starting onlyoffice-documentserver-amd64-14_2 pot for the initial bootstrap
=====>  mount /mnt/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/m/tmp
defaultrouter: 10.192.0.1 -> 10.192.0.1
===>  Starting the pot onlyoffice-documentserver-amd64-14_2
=====>  Pot onlyoffice-documentserver-amd64-14_2 jail params are: allow.set_hostname=false allow.raw_sockets allow.socket_af allow.chflags exec.clean mount.devfs enforce_statfs=2 sysvshm=new sysvsem=new sysvmsg=new children.max=0 devfs_ruleset=4 stop.timeout=10 name=onlyoffice-documentserver-amd64-14_2 host.hostname=onlyoffice-documentserver-amd64-14_2 osrelease=14.2-RELEASE-p2 path=/mnt/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/m persist vnet vnet.interface=epair0b
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg
32-bit compatibility ldconfig path: /usr/lib32
Starting Network: lo0 epair0b.
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet 127.0.0.1 netmask 0xff000000
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:1b:d6:bb:e9:0b
	inet 10.192.0.3 netmask 0xffc00000 broadcast 10.255.255.255
	groups: epair
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 10.192.0.1
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Clearing /tmp (X related).
Updating /var/run/os-release done.
Creating and/or trimming log files.
Updating motd:.
Starting syslogd.
Starting sendmail_submit.
Starting cron.

Tue Mar 18 19:56:14 UTC 2025
/usr/local/etc/pot/flavours/fbsd-update.sh -> /mnt/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/m/tmp/fbsd-update.sh
=====>  Executing fbsd-update script on onlyoffice-documentserver-amd64-14_2
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update2.freebsd.org... done.
Fetching metadata signature for 14.2-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 14.2-RELEASE-p2.
No updates are available to install.
=====>  Stop the pot onlyoffice-documentserver-amd64-14_2
=====>  Remove p467d9cfdd72b3 epair network interfaces
=====>  unmount /mnt/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/m/tmp
=====>  unmount /mnt/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/m/dev
=====>  Flavour: onlyoffice-documentserver
=====>  Executing onlyoffice-documentserver pot commands on onlyoffice-documentserver-amd64-14_2
=====>  mount /mnt/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/m/tmp
=====>  Source /usr/local/etc/pot/flavours/onlyoffice-documentserver.d/local copied in the pot onlyoffice-documentserver-amd64-14_2
=====>  unmount /mnt/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/m/tmp
=====>  /mnt/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/m/dev is already unmounted
=====>  Starting onlyoffice-documentserver-amd64-14_2 pot for the initial bootstrap
=====>  mount /mnt/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/m/tmp
defaultrouter: 10.192.0.1 -> 10.192.0.1
===>  Starting the pot onlyoffice-documentserver-amd64-14_2
=====>  Pot onlyoffice-documentserver-amd64-14_2 jail params are: allow.set_hostname=false allow.raw_sockets allow.socket_af allow.chflags exec.clean mount.devfs enforce_statfs=2 sysvshm=new sysvsem=new sysvmsg=new children.max=0 devfs_ruleset=4 stop.timeout=10 name=onlyoffice-documentserver-amd64-14_2 host.hostname=onlyoffice-documentserver-amd64-14_2 osrelease=14.2-RELEASE-p2 path=/mnt/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/m persist vnet vnet.interface=epair0b
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg
32-bit compatibility ldconfig path: /usr/lib32
Starting Network: lo0 epair0b.
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet 127.0.0.1 netmask 0xff000000
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair0b: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:84:e5:45:0d:0b
	inet 10.192.0.3 netmask 0xffc00000 broadcast 10.255.255.255
	groups: epair
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 10.192.0.1
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Clearing /tmp (X related).
Updating /var/run/os-release done.
Creating and/or trimming log files.
Updating motd:.
Starting syslogd.
Starting sendmail_submit.
Starting cron.

Tue Mar 18 19:56:22 UTC 2025
/usr/local/etc/pot/flavours/onlyoffice-documentserver.sh -> /mnt/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/m/tmp/onlyoffice-documentserver.sh
=====>  Executing onlyoffice-documentserver script on onlyoffice-documentserver-amd64-14_2
WARNING /var/log/cook.log already exists
Step 1: Bootstrap package repo
pkg already bootstrapped at /usr/local/sbin/pkg
Updating FreeBSD repository catalogue...
pkg: Repository FreeBSD has a wrong packagesite, need to re-create database
[onlyoffice-documentserver-amd64-14_2] Fetching meta.conf: . done
[onlyoffice-documentserver-amd64-14_2] Fetching data.pkg: .......... done
Processing entries: .......... done
FreeBSD repository update completed. 35977 packages processed.
All repositories are up to date.
Step 2: Touch /etc/rc.conf
Step 3: Clean freebsd-update
Step 4: Remove ifconfig_epair0b from config
Step 5: Disable sendmail
sendmail disabled in /etc/rc.conf
sendmail_submit disabled in /etc/rc.conf
sendmail_msp_queue disabled in /etc/rc.conf
Step 6: Create /usr/local/etc/rc.d
Step 7: Install package consul
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	pkg: 1.21.3 -> 2.0.6

Number of packages to be upgraded: 1

12 MiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/1] Fetching pkg-2.0.6.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/1] Upgrading pkg from 1.21.3 to 2.0.6...
[onlyoffice-documentserver-amd64-14_2] [1/1] Extracting pkg-2.0.6: .......... done
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	consul: 1.20.5

Number of packages to be installed: 1

The process will require 117 MiB more space.
24 MiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/1] Fetching consul-1.20.5.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/1] Installing consul-1.20.5...
===> Creating groups
Creating group 'consul' with gid '469'
===> Creating users
Creating user 'consul' with uid '469'
===> Creating homedir(s)
[onlyoffice-documentserver-amd64-14_2] [1/1] Extracting consul-1.20.5: ..... done
Step 8: Install package openssl
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	openssl: 3.0.15_1,1 -> 3.0.16,1

Number of packages to be upgraded: 1

7 MiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/1] Fetching openssl-3.0.16,1.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/1] Upgrading openssl from 3.0.15_1,1 to 3.0.16,1...
[onlyoffice-documentserver-amd64-14_2] [1/1] Extracting openssl-3.0.16,1: .......... done
Step 9: Install package sudo
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	sudo: 1.9.16p2 -> 1.9.16p2_1

Number of packages to be upgraded: 1

2 MiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/1] Fetching sudo-1.9.16p2_1.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/1] Upgrading sudo from 1.9.16p2 to 1.9.16p2_1...
[onlyoffice-documentserver-amd64-14_2] [1/1] Extracting sudo-1.9.16p2_1: .......... done
Step 10: Install package ca_root_nss
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	ca_root_nss: 3.104 -> 3.108

Number of packages to be upgraded: 1

282 KiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/1] Fetching ca_root_nss-3.108.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/1] Upgrading ca_root_nss from 3.104 to 3.108...
[onlyoffice-documentserver-amd64-14_2] [1/1] Extracting ca_root_nss-3.108: ....... done
Scanning /usr/share/certs/untrusted for certificates...
Scanning /usr/share/certs/trusted for certificates...
Scanning /usr/local/share/certs for certificates...
Step 11: Install package curl
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	curl: 8.11.1_1 -> 8.12.1

Number of packages to be upgraded: 1

2 MiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/1] Fetching curl-8.12.1.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/1] Upgrading curl from 8.11.1_1 to 8.12.1...
[onlyoffice-documentserver-amd64-14_2] [1/1] Extracting curl-8.12.1: .......... done
Step 12: Install package jq
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Step 13: Install package jo
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Step 14: Install package nano
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	nano: 8.2 -> 8.3

Number of packages to be upgraded: 1

678 KiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/1] Fetching nano-8.3.pkg: ......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/1] Upgrading nano from 8.2 to 8.3...
[onlyoffice-documentserver-amd64-14_2] [1/1] Extracting nano-8.3: .......... done
Step 15: Install package bash
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Step 16: Install package rsync
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	rsync: 3.4.1 -> 3.4.1_2

Number of packages to be upgraded: 1

401 KiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/1] Fetching rsync-3.4.1_2.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/1] Upgrading rsync from 3.4.1 to 3.4.1_2...
[onlyoffice-documentserver-amd64-14_2] [1/1] Extracting rsync-3.4.1_2: .......... done
Step 17: Install package node_exporter
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	node_exporter: 1.8.2_1

Number of packages to be installed: 1

The process will require 11 MiB more space.
4 MiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/1] Fetching node_exporter-1.8.2_1.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/1] Installing node_exporter-1.8.2_1...
[onlyoffice-documentserver-amd64-14_2] [1/1] Extracting node_exporter-1.8.2_1: .......... done
=====
Message from node_exporter-1.8.2_1:

--
If upgrading from a version of node_exporter <0.15.0 you'll need to update any
custom command line flags that you may have set as it now requires a
double-dash (--flag) instead of a single dash (-flag).
The collector flags in 0.15.0 have now been replaced with individual boolean
flags and the -collector.procfs` and -collector.sysfs` flags have been renamed
to --path.procfs and --path.sysfs respectively.
Step 18: Install package nginx
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	nginx: 1.26.3_2,3
	pcre2: 10.45

Number of packages to be installed: 2

The process will require 9 MiB more space.
2 MiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/2] Fetching nginx-1.26.3_2,3.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [2/2] Fetching pcre2-10.45.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/2] Installing pcre2-10.45...
[onlyoffice-documentserver-amd64-14_2] [1/2] Extracting pcre2-10.45: .......... done
[onlyoffice-documentserver-amd64-14_2] [2/2] Installing nginx-1.26.3_2,3...
===> Creating groups
Using existing group 'www'
===> Creating users
Using existing user 'www'
[onlyoffice-documentserver-amd64-14_2] [2/2] Extracting nginx-1.26.3_2,3: .......... done
=====
Message from nginx-1.26.3_2,3:

--
Recent version of the NGINX introduces dynamic modules support.  In
FreeBSD ports tree this feature was enabled by default with the DSO
knob.  Several vendor's and third-party modules have been converted
to dynamic modules.  Unset the DSO knob builds an NGINX without
dynamic modules support.

To load a module at runtime, include the new `load_module'
directive in the main context, specifying the path to the shared
object file for the module, enclosed in quotation marks.  When you
reload the configuration or restart NGINX, the module is loaded in.
It is possible to specify a path relative to the source directory,
or a full path, please see
https://www.nginx.com/blog/dynamic-modules-nginx-1-9-11/ and
http://nginx.org/en/docs/ngx_core_module.html#load_module for
details.

Default path for the NGINX dynamic modules is

/usr/local/libexec/nginx.
Step 19: Install package python3
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 4 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	libffi: 3.4.6
	mpdecimal: 4.0.0
	python3: 3_4
	python311: 3.11.11

Number of packages to be installed: 4

The process will require 202 MiB more space.
27 MiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/4] Fetching mpdecimal-4.0.0.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [2/4] Fetching libffi-3.4.6.pkg: ........ done
[onlyoffice-documentserver-amd64-14_2] [3/4] Fetching python3-3_4.pkg: . done
[onlyoffice-documentserver-amd64-14_2] [4/4] Fetching python311-3.11.11.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/4] Installing libffi-3.4.6...
[onlyoffice-documentserver-amd64-14_2] [1/4] Extracting libffi-3.4.6: .......... done
[onlyoffice-documentserver-amd64-14_2] [2/4] Installing mpdecimal-4.0.0...
[onlyoffice-documentserver-amd64-14_2] [2/4] Extracting mpdecimal-4.0.0: .......... done
[onlyoffice-documentserver-amd64-14_2] [3/4] Installing python311-3.11.11...
[onlyoffice-documentserver-amd64-14_2] [3/4] Extracting python311-3.11.11: .......... done
[onlyoffice-documentserver-amd64-14_2] [4/4] Installing python3-3_4...
[onlyoffice-documentserver-amd64-14_2] [4/4] Extracting python3-3_4: ....... done
=====
Message from python311-3.11.11:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py311-gdbm       databases/py-gdbm@py311
py311-sqlite3    databases/py-sqlite3@py311
py311-tkinter    x11-toolkits/py-tkinter@py311
Step 20: Install package py311-supervisor
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	py311-supervisor: 4.2.5_1,1

Number of packages to be installed: 1

The process will require 6 MiB more space.
666 KiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/1] Fetching py311-supervisor-4.2.5_1,1.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/1] Installing py311-supervisor-4.2.5_1,1...
[onlyoffice-documentserver-amd64-14_2] [1/1] Extracting py311-supervisor-4.2.5_1,1: .......... done
Step 21: Install package py311-setuptools
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	py311-setuptools: 63.1.0_2

Number of packages to be installed: 1

The process will require 11 MiB more space.
1 MiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/1] Fetching py311-setuptools-63.1.0_2.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/1] Installing py311-setuptools-63.1.0_2...
[onlyoffice-documentserver-amd64-14_2] [1/1] Extracting py311-setuptools-63.1.0_2: .......... done
Step 22: Install package postgresql16-client
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	postgresql16-client: 16.8_1

Number of packages to be installed: 1

The process will require 16 MiB more space.
3 MiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/1] Fetching postgresql16-client-16.8_1.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/1] Installing postgresql16-client-16.8_1...
[onlyoffice-documentserver-amd64-14_2] [1/1] Extracting postgresql16-client-16.8_1: .......... done
=====
Message from postgresql16-client-16.8_1:

--
The PostgreSQL port has a collection of "side orders":

postgresql-docs
  For all of the html documentation

p5-Pg
  A perl5 API for client access to PostgreSQL databases.

postgresql-tcltk
  If you want tcl/tk client support.

postgresql-jdbc
  For Java JDBC support.

postgresql-odbc
  For client access from unix applications using ODBC as access
  method. Not needed to access unix PostgreSQL servers from Win32
  using ODBC. See below.

ruby-postgres, py-psycopg
  For client access to PostgreSQL databases using the ruby & python
  languages.

postgresql-plperl, postgresql-pltcl & postgresql-plruby
  For using perl5, tcl & ruby as procedural languages.

postgresql-contrib
  Lots of contributed utilities, postgresql functions and
  datatypes. There you find pg_standby, pgcrypto and many other cool
  things.

etc...
Step 23: Install package rabbitmq
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	erlang-runtime27: 27.1.2_1
	rabbitmq: 4.0.4

Number of packages to be installed: 2

The process will require 139 MiB more space.
55 MiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/2] Fetching rabbitmq-4.0.4.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [2/2] Fetching erlang-runtime27-27.1.2_1.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/2] Installing erlang-runtime27-27.1.2_1...
[onlyoffice-documentserver-amd64-14_2] [1/2] Extracting erlang-runtime27-27.1.2_1: .......... done
[onlyoffice-documentserver-amd64-14_2] [2/2] Installing rabbitmq-4.0.4...
===> Creating groups
Creating group 'rabbitmq' with gid '135'
===> Creating users
Creating user 'rabbitmq' with uid '135'
===> Creating homedir(s)
[onlyoffice-documentserver-amd64-14_2] [2/2] Extracting rabbitmq-4.0.4: .......... done
=====
Message from erlang-runtime27-27.1.2_1:

--
To use this runtime port for development or testing, just prepend
its binary path ("/usr/local/lib/erlang27/bin") to your PATH variable.
=====
Message from rabbitmq-4.0.4:

--
First-time users will want to run:

sudo -u rabbitmq rabbitmq-plugins enable rabbitmq_management
sudo -u rabbitmq rabbitmqctl enable_feature_flag --experimental khepri_db

and restart, to enable the web admin console at http://localhost:15672/
with a default username and password of guest:guest. You should change it..

See https://www.rabbitmq.com/docs for install help, and
https://www.rabbitmq.com/docs/configure for further options.
Step 24: Install package onlyoffice-documentserver
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 23 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	boost-libs: 1.87.0_1
	c-ares: 1.34.4
	expat: 2.6.4
	fontconfig: 2.15.0_3,1
	freetype2: 2.13.3
	glib: 2.80.5_1,2
	graphite2: 1.3.14
	gsed: 4.9
	harfbuzz: 10.3.0
	icu: 76.1,1
	libetonyek01: 0.1.12,1
	libfontenc: 1.1.8
	liblangtag: 0.6.7
	libodfgen01: 0.1.8_2
	librevenge: 0.0.5
	libuv: 1.50.0
	libxml2: 2.11.9
	mkfontscale: 1.2.3
	onlyoffice-documentserver: 8.3.1.25
	png: 1.6.46
	pwgen: 2.08_1,2
	py311-packaging: 24.2
	webfonts: 0.30_14

Number of packages to be installed: 23

The process will require 2 GiB more space.
609 MiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/23] Fetching png-1.6.46.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [2/23] Fetching libxml2-2.11.9.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [3/23] Fetching c-ares-1.34.4.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [4/23] Fetching freetype2-2.13.3.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [5/23] Fetching onlyoffice-documentserver-8.3.1.25.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [6/23] Fetching pwgen-2.08_1,2.pkg: ... done
[onlyoffice-documentserver-amd64-14_2] [7/23] Fetching fontconfig-2.15.0_3,1.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [8/23] Fetching icu-76.1,1.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [9/23] Fetching libfontenc-1.1.8.pkg: .... done
[onlyoffice-documentserver-amd64-14_2] [10/23] Fetching py311-packaging-24.2.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [11/23] Fetching libetonyek01-0.1.12,1.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [12/23] Fetching libuv-1.50.0.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [13/23] Fetching boost-libs-1.87.0_1.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [14/23] Fetching glib-2.80.5_1,2.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [15/23] Fetching librevenge-0.0.5.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [16/23] Fetching mkfontscale-1.2.3.pkg: .... done
[onlyoffice-documentserver-amd64-14_2] [17/23] Fetching liblangtag-0.6.7.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [18/23] Fetching graphite2-1.3.14.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [19/23] Fetching webfonts-0.30_14.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [20/23] Fetching libodfgen01-0.1.8_2.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [21/23] Fetching expat-2.6.4.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [22/23] Fetching gsed-4.9.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [23/23] Fetching harfbuzz-10.3.0.pkg: .......... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/23] Installing c-ares-1.34.4...
[onlyoffice-documentserver-amd64-14_2] [1/23] Extracting c-ares-1.34.4: .......... done
[onlyoffice-documentserver-amd64-14_2] [2/23] Installing expat-2.6.4...
[onlyoffice-documentserver-amd64-14_2] [2/23] Extracting expat-2.6.4: .......... done
[onlyoffice-documentserver-amd64-14_2] [3/23] Installing graphite2-1.3.14...
[onlyoffice-documentserver-amd64-14_2] [3/23] Extracting graphite2-1.3.14: .......... done
[onlyoffice-documentserver-amd64-14_2] [4/23] Installing gsed-4.9...
[onlyoffice-documentserver-amd64-14_2] [4/23] Extracting gsed-4.9: .......... done
[onlyoffice-documentserver-amd64-14_2] [5/23] Installing icu-76.1,1...
[onlyoffice-documentserver-amd64-14_2] [5/23] Extracting icu-76.1,1: .......... done
[onlyoffice-documentserver-amd64-14_2] [6/23] Installing boost-libs-1.87.0_1...
[onlyoffice-documentserver-amd64-14_2] [6/23] Extracting boost-libs-1.87.0_1: .......... done
[onlyoffice-documentserver-amd64-14_2] [7/23] Installing libfontenc-1.1.8...
[onlyoffice-documentserver-amd64-14_2] [7/23] Extracting libfontenc-1.1.8: ......... done
[onlyoffice-documentserver-amd64-14_2] [8/23] Installing librevenge-0.0.5...
[onlyoffice-documentserver-amd64-14_2] [8/23] Extracting librevenge-0.0.5: .......... done
[onlyoffice-documentserver-amd64-14_2] [9/23] Installing libuv-1.50.0...
[onlyoffice-documentserver-amd64-14_2] [9/23] Extracting libuv-1.50.0: .......... done
[onlyoffice-documentserver-amd64-14_2] [10/23] Installing libxml2-2.11.9...
[onlyoffice-documentserver-amd64-14_2] [10/23] Extracting libxml2-2.11.9: .......... done
[onlyoffice-documentserver-amd64-14_2] [11/23] Installing liblangtag-0.6.7...
[onlyoffice-documentserver-amd64-14_2] [11/23] Extracting liblangtag-0.6.7: .......... done
[onlyoffice-documentserver-amd64-14_2] [12/23] Installing libetonyek01-0.1.12,1...
[onlyoffice-documentserver-amd64-14_2] [12/23] Extracting libetonyek01-0.1.12,1: .......... done
[onlyoffice-documentserver-amd64-14_2] [13/23] Installing libodfgen01-0.1.8_2...
[onlyoffice-documentserver-amd64-14_2] [13/23] Extracting libodfgen01-0.1.8_2: .......... done
[onlyoffice-documentserver-amd64-14_2] [14/23] Installing png-1.6.46...
[onlyoffice-documentserver-amd64-14_2] [14/23] Extracting png-1.6.46: .......... done
[onlyoffice-documentserver-amd64-14_2] [15/23] Installing freetype2-2.13.3...
[onlyoffice-documentserver-amd64-14_2] [15/23] Extracting freetype2-2.13.3: .......... done
[onlyoffice-documentserver-amd64-14_2] [16/23] Installing fontconfig-2.15.0_3,1...
[onlyoffice-documentserver-amd64-14_2] [16/23] Extracting fontconfig-2.15.0_3,1: .......... done
[onlyoffice-documentserver-amd64-14_2] [17/23] Installing mkfontscale-1.2.3...
[onlyoffice-documentserver-amd64-14_2] [17/23] Extracting mkfontscale-1.2.3: ....... done
[onlyoffice-documentserver-amd64-14_2] [18/23] Installing pwgen-2.08_1,2...
[onlyoffice-documentserver-amd64-14_2] [18/23] Extracting pwgen-2.08_1,2: ..... done
[onlyoffice-documentserver-amd64-14_2] [19/23] Installing py311-packaging-24.2...
[onlyoffice-documentserver-amd64-14_2] [19/23] Extracting py311-packaging-24.2: .......... done
[onlyoffice-documentserver-amd64-14_2] [20/23] Installing glib-2.80.5_1,2...
[onlyoffice-documentserver-amd64-14_2] [20/23] Extracting glib-2.80.5_1,2: .......... done
[onlyoffice-documentserver-amd64-14_2] [21/23] Installing harfbuzz-10.3.0...
[onlyoffice-documentserver-amd64-14_2] [21/23] Extracting harfbuzz-10.3.0: .......... done
[onlyoffice-documentserver-amd64-14_2] [22/23] Installing webfonts-0.30_14...
[onlyoffice-documentserver-amd64-14_2] [22/23] Extracting webfonts-0.30_14: .......... done
[onlyoffice-documentserver-amd64-14_2] [23/23] Installing onlyoffice-documentserver-8.3.1.25...
===> Creating groups
Creating group 'onlyoffice' with gid '303'
===> Creating users
Creating user 'onlyoffice' with uid '303'
===> Creating homedir(s)
[onlyoffice-documentserver-amd64-14_2] [23/23] Extracting onlyoffice-documentserver-8.3.1.25: .......... done
==> Running trigger: onlyoffice-documentserver.ucl
Running documentserver-generate-allfonts.sh to generate OnlyOffice fonts and themes...
Generating AllFonts.js, please wait...Done
Generating presentation themes, please wait...Done
Generating js caches, please wait...Done
==> Running trigger: gio-modules.ucl
Generating GIO modules cache
==> Running trigger: fontconfig.ucl
Running fc-cache to build fontconfig cache...
==> Running trigger: glib-schemas.ucl
Compiling glib schemas
No schema files found: doing nothing.
=====
Message from boost-libs-1.87.0_1:

--
You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.
=====
Message from freetype2-2.13.3:

--
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed).
=====
Message from webfonts-0.30_14:

--
IMPORTANT - READ CAREFULLY: You may not use these fonts if you do not agree to
the terms of the Microsoft End-User License Agreement ("EULA").  You will find
the EULA at /usr/local/share/doc/webfonts/LICENSE.  If you read and agree
to the EULA, you can start using the fonts by following these instructions:

Make sure that the freetype module is loaded.  If it is not, add the following
line to the "Modules" section of xorg.conf or XF86Config:

	Load "freetype"

Add the following line to the "Files" section of xorg.conf or XF86Config:

	FontPath "/usr/local/share/fonts/webfonts/"

NOTE: Due to known freetype bug some glyphs (N, W) of y2006 Verdana Bold
      font are not rendered correctly in anti-aliased mode within the range
      9-16 ppem
=====
Message from onlyoffice-documentserver-8.3.1.25:

--
CONFIGURATION:
-------------
The configuration file can be found (or created) at the following path:
  /usr/local/etc/onlyoffice/documentserver/local.json
The default values are available in the default.json configuration file,
which is available in the folders above. Please do not edit the contents of the
default.json file directly. The default values will be restored each time you
upgrade Document Server to a new version and all your changes will be lost. 

1. Enable services at startup in the /etc/rc.conf file:
  nginx_enable="YES"
  rabbitmq_enable="YES"
  supervisord_enable="YES"

  Optionally in case of a jail with local IP and no internet access:
    update /etc/hosts in order to resolve your nextcloud server to its local IP

2. Install a database server and set up the database (either PostgreSQL or MySQL):
  For PostgreSQL (don't forget to change the password):
    # service postgresql initdb
    # service postgresql start
    # psql -U postgres -c "CREATE DATABASE onlyoffice;"
    # psql -U postgres -c "CREATE USER onlyoffice WITH password 'onlyoffice';"
    # psql -U postgres -c "GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;"
    # psql -U postgres -c "ALTER DATABASE onlyoffice OWNER to onlyoffice;"
    # psql -hlocalhost -Uonlyoffice -d onlyoffice -f /usr/local/www/onlyoffice/documentserver/server/schema/postgresql/createdb.sql

    Optionally in case of a jail with local IP:
      update /var/db/postgres/data13/pg_hba.conf accordingly

  For MySQL don't forget to change the password):
    # service mysql-server start
    # mysql -u root -p -e "CREATE DATABASE onlyoffice DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;"
    # mysql -u root -p -e "CREATE USER 'onlyoffice'@'localhost' IDENTIFIED BY 'onlyoffice';"
    # mysql -u root -p -e "GRANT ALL privileges ON  onlyoffice.* TO 'onlyoffice'@'localhost';"
    # mysql -u onlyoffice -D onlyoffice -p < /usr/local/www/onlyoffice/documentserver/server/schema/mysql/createdb.sql

3. Create a new rabbitmq user for the ONLYOFFICE Document Server configuration (don't forget to change the password):
  # service rabbitmq start
  # rabbitmqctl --erlang-cookie `cat /var/db/rabbitmq/.erlang.cookie` add_user onlyoffice password
  # rabbitmqctl --erlang-cookie `cat /var/db/rabbitmq/.erlang.cookie` set_user_tags onlyoffice administrator
  # rabbitmqctl --erlang-cookie `cat /var/db/rabbitmq/.erlang.cookie` set_permissions -p / onlyoffice ".*" ".*" ".*"
  and change it in /usr/local/etc/onlyoffice/documentserver/local.json accordingly.

4. Set up supervisord in order to execute documentserver services:
  - let supervisord.conf load files contained in this directory by adding to
    /usr/local/etc/supervisord.conf:
[include]
files = /usr/local/etc/onlyoffice/documentserver/supervisor/*.conf

  - start supervisord:
    # service supervisord start

5. Set up nginx:
  - For HTTP include the following in your /usr/local/etc/nginx/nginx.conf file:
      include /usr/local/etc/onlyoffice/documentserver/nginx/ds.conf;

NOTE: documentserver-update-securelink.sh will only update ./nginx/ds.conf and local.json under /usr/local/etc/onlyoffice/documentserver/!
  - run documentserver-update-securelink.sh once for creationg a verysecretstring 

  - start nginx:
    # service nginx start

6. Follow the following doc If you want to use Onlyoffice with Nextcloud:
  - https://api.onlyoffice.com/editors/nextcloud

7. Install OnlyOffice plugins (you'll need internet):
  # /usr/local/bin/documentserver-pluginsmanager.sh --update=/usr/local/www/onlyoffice/documentserver/sdkjs-plugins/plugin-list-default.json

8. Enjoy.
Step 25: Install package syslog-ng
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 4 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	e2fsprogs-libuuid: 1.47.2
	ivykis: 0.43.2
	json-c: 0.18
	syslog-ng: 4.8.1_5

Number of packages to be installed: 4

The process will require 6 MiB more space.
1 MiB to be downloaded.
[onlyoffice-documentserver-amd64-14_2] [1/4] Fetching ivykis-0.43.2.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [2/4] Fetching syslog-ng-4.8.1_5.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [3/4] Fetching json-c-0.18.pkg: .......... done
[onlyoffice-documentserver-amd64-14_2] [4/4] Fetching e2fsprogs-libuuid-1.47.2.pkg: ..... done
Checking integrity... done (0 conflicting)
[onlyoffice-documentserver-amd64-14_2] [1/4] Installing e2fsprogs-libuuid-1.47.2...
[onlyoffice-documentserver-amd64-14_2] [1/4] Extracting e2fsprogs-libuuid-1.47.2: .......... done
[onlyoffice-documentserver-amd64-14_2] [2/4] Installing ivykis-0.43.2...
[onlyoffice-documentserver-amd64-14_2] [2/4] Extracting ivykis-0.43.2: .......... done
[onlyoffice-documentserver-amd64-14_2] [3/4] Installing json-c-0.18...
[onlyoffice-documentserver-amd64-14_2] [3/4] Extracting json-c-0.18: .......... done
[onlyoffice-documentserver-amd64-14_2] [4/4] Installing syslog-ng-4.8.1_5...
[onlyoffice-documentserver-amd64-14_2] [4/4] Extracting syslog-ng-4.8.1_5: .......... done
=====
Message from syslog-ng-4.8.1_5:

--
syslog-ng is now installed!  To replace FreeBSD's standard syslogd
(/usr/sbin/syslogd), complete these steps:

1. Create a configuration file named /usr/local/etc/syslog-ng.conf
   (a sample named syslog-ng.conf.sample has been included in
   /usr/local/etc). Note that this is a change in 2.0.2
   version, previous ones put the config file in
   /usr/local/etc/syslog-ng/syslog-ng.conf, so if this is an update
   move that file in the right place

2. Configure syslog-ng to start automatically by adding the following
   to /etc/rc.conf:

        syslog_ng_enable="YES"

3. Prevent the standard FreeBSD syslogd from starting automatically by
   adding a line to the end of your /etc/rc.conf file that reads:

        syslogd_enable="NO"

4. Shut down the standard FreeBSD syslogd:

     kill `cat /var/run/syslog.pid`

5. Start syslog-ng:

     /usr/local/etc/rc.d/syslog-ng start
Step 26: Clean package installation
The following package files will be deleted:
	/var/cache/pkg/libxml2-2.11.9~c59c41b4c1.pkg
	/var/cache/pkg/libffi-3.4.6~55708d7ceb.pkg
	/var/cache/pkg/expat-2.6.4.pkg
	/var/cache/pkg/gsed-4.9~e2422203da.pkg
	/var/cache/pkg/nano-8.3.pkg
	/var/cache/pkg/json-c-0.18.pkg
	/var/cache/pkg/harfbuzz-10.3.0~2c98897395.pkg
	/var/cache/pkg/postgresql16-client-16.8_1.pkg
	/var/cache/pkg/c-ares-1.34.4.pkg
	/var/cache/pkg/nano-8.3~e2ea11f489.pkg
	/var/cache/pkg/syslog-ng-4.8.1_5.pkg
	/var/cache/pkg/node_exporter-1.8.2_1~9d06fbb1e6.pkg
	/var/cache/pkg/icu-76.1,1~a3af715c40.pkg
	/var/cache/pkg/curl-8.12.1~952a33f1b3.pkg
	/var/cache/pkg/libodfgen01-0.1.8_2.pkg
	/var/cache/pkg/sudo-1.9.16p2_1.pkg
	/var/cache/pkg/pkg-2.0.6~b2b7ec2a15.pkg
	/var/cache/pkg/nginx-1.26.3_2,3~40246af2b7.pkg
	/var/cache/pkg/glib-2.80.5_1,2.pkg
	/var/cache/pkg/python3-3_4.pkg
	/var/cache/pkg/libuv-1.50.0~f9b71c1255.pkg
	/var/cache/pkg/freetype2-2.13.3~4bb27c97ba.pkg
	/var/cache/pkg/ca_root_nss-3.108~89ac921b67.pkg
	/var/cache/pkg/boost-libs-1.87.0_1.pkg
	/var/cache/pkg/gsed-4.9.pkg
	/var/cache/pkg/erlang-runtime27-27.1.2_1~a11457565a.pkg
	/var/cache/pkg/onlyoffice-documentserver-8.3.1.25~9e2944ee5c.pkg
	/var/cache/pkg/graphite2-1.3.14~9da5471b80.pkg
	/var/cache/pkg/curl-8.12.1.pkg
	/var/cache/pkg/erlang-runtime27-27.1.2_1.pkg
	/var/cache/pkg/py311-setuptools-63.1.0_2~10c3246322.pkg
	/var/cache/pkg/e2fsprogs-libuuid-1.47.2.pkg
	/var/cache/pkg/mkfontscale-1.2.3~f2fa69c8ef.pkg
	/var/cache/pkg/py311-packaging-24.2~2a75dfbaa4.pkg
	/var/cache/pkg/python311-3.11.11.pkg
	/var/cache/pkg/c-ares-1.34.4~e54c58a6ca.pkg
	/var/cache/pkg/webfonts-0.30_14.pkg
	/var/cache/pkg/liblangtag-0.6.7.pkg
	/var/cache/pkg/graphite2-1.3.14.pkg
	/var/cache/pkg/consul-1.20.5.pkg
	/var/cache/pkg/pcre2-10.45.pkg
	/var/cache/pkg/harfbuzz-10.3.0.pkg
	/var/cache/pkg/freetype2-2.13.3.pkg
	/var/cache/pkg/py311-setuptools-63.1.0_2.pkg
	/var/cache/pkg/libfontenc-1.1.8.pkg
	/var/cache/pkg/libuv-1.50.0.pkg
	/var/cache/pkg/node_exporter-1.8.2_1.pkg
	/var/cache/pkg/py311-packaging-24.2.pkg
	/var/cache/pkg/png-1.6.46.pkg
	/var/cache/pkg/py311-supervisor-4.2.5_1,1.pkg
	/var/cache/pkg/ca_root_nss-3.108.pkg
	/var/cache/pkg/python3-3_4~9ebeb061e7.pkg
	/var/cache/pkg/boost-libs-1.87.0_1~399e5f4758.pkg
	/var/cache/pkg/json-c-0.18~d3277301c4.pkg
	/var/cache/pkg/openssl-3.0.16,1~f733f6c4f2.pkg
	/var/cache/pkg/consul-1.20.5~54b642ecff.pkg
	/var/cache/pkg/mpdecimal-4.0.0.pkg
	/var/cache/pkg/nginx-1.26.3_2,3.pkg
	/var/cache/pkg/expat-2.6.4~42c1708d57.pkg
	/var/cache/pkg/liblangtag-0.6.7~47e55f092d.pkg
	/var/cache/pkg/libffi-3.4.6.pkg
	/var/cache/pkg/fontconfig-2.15.0_3,1.pkg
	/var/cache/pkg/pwgen-2.08_1,2~cec821dfce.pkg
	/var/cache/pkg/png-1.6.46~435fd087f4.pkg
	/var/cache/pkg/rsync-3.4.1_2~8d108fdd15.pkg
	/var/cache/pkg/libxml2-2.11.9.pkg
	/var/cache/pkg/icu-76.1,1.pkg
	/var/cache/pkg/rabbitmq-4.0.4.pkg
	/var/cache/pkg/ivykis-0.43.2.pkg
	/var/cache/pkg/librevenge-0.0.5.pkg
	/var/cache/pkg/rsync-3.4.1_2.pkg
	/var/cache/pkg/py311-supervisor-4.2.5_1,1~abcaf5b340.pkg
	/var/cache/pkg/fontconfig-2.15.0_3,1~7f0a4c09b9.pkg
	/var/cache/pkg/mkfontscale-1.2.3.pkg
	/var/cache/pkg/libfontenc-1.1.8~13c4597369.pkg
	/var/cache/pkg/mpdecimal-4.0.0~199582f811.pkg
	/var/cache/pkg/pkg-2.0.6.pkg
	/var/cache/pkg/glib-2.80.5_1,2~195654a5aa.pkg
	/var/cache/pkg/libodfgen01-0.1.8_2~fe13b27617.pkg
	/var/cache/pkg/librevenge-0.0.5~8a29896863.pkg
	/var/cache/pkg/openssl-3.0.16,1.pkg
	/var/cache/pkg/pwgen-2.08_1,2.pkg
	/var/cache/pkg/sudo-1.9.16p2_1~84224316b3.pkg
	/var/cache/pkg/ivykis-0.43.2~6b21fd0628.pkg
	/var/cache/pkg/libetonyek01-0.1.12,1.pkg
	/var/cache/pkg/pcre2-10.45~579121f8a5.pkg
	/var/cache/pkg/e2fsprogs-libuuid-1.47.2~9510506929.pkg
	/var/cache/pkg/syslog-ng-4.8.1_5~9d53ea32c3.pkg
	/var/cache/pkg/libetonyek01-0.1.12,1~e7aef6c92e.pkg
	/var/cache/pkg/onlyoffice-documentserver-8.3.1.25.pkg
	/var/cache/pkg/python311-3.11.11~8cfe5f7695.pkg
	/var/cache/pkg/rabbitmq-4.0.4~289167143e.pkg
	/var/cache/pkg/webfonts-0.30_14~e150aaccbc.pkg
	/var/cache/pkg/postgresql16-client-16.8_1~3323370117.pkg
The cleanup will free 750 MiB
Deleting files: .......... done
Step 27: Clean cook artifacts
Step 28: Install pot local
Step 29: Set file ownership on cook scripts
Step 30: Make cook script executable
setting executable bit on /usr/local/bin/cook
Step 31: Create rc.d script to start cook
creating rc.d script to start cook
Step 32: Make rc.d script to start cook executable
Setting executable bit on cook rc file
Step 33: Enable cook service
enabling cook
cook enabled in /etc/rc.conf
=====>  Stop the pot onlyoffice-documentserver-amd64-14_2
=====>  Remove p467d9cfe572b3 epair network interfaces
=====>  unmount /mnt/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/m/tmp
=====>  unmount /mnt/srv/pot/jails/onlyoffice-documentserver-amd64-14_2/m/dev
===>  exporting onlyoffice-documentserver-amd64-14_2 @ 1742328069 to /tmp/onlyoffice-documentserver-amd64-14_2_0.0.3.xz

This site © Honeyguide Group (Pty) Ltd, all the hosted software their respective license owners 2020 - 2021 - Disclaimer