I’m going to migrate data02/freshports/dev-ingress01 to the data04
This is before:
[13:45 r730-01 dvl ~] % zfs list -r data02/freshports/dev-ingress01 NAME USED AVAIL REFER MOUNTPOINT data02/freshports/dev-ingress01 229G 60.6G 88K none data02/freshports/dev-ingress01/dvl-src 197G 60.6G 197G /jails/dev-ingress01/usr/home/dvl/src data02/freshports/dev-ingress01/freshports 22.9G 60.6G 2.09G /jails/dev-ingress01/var/db/freshports data02/freshports/dev-ingress01/freshports/cache 2.30M 60.6G 132K /jails/dev-ingress01/var/db/freshports/cache data02/freshports/dev-ingress01/freshports/cache/html 2.07M 60.6G 2.07M /jails/dev-ingress01/var/db/freshports/cache/html data02/freshports/dev-ingress01/freshports/cache/spooling 104K 60.6G 104K /jails/dev-ingress01/var/db/freshports/cache/spooling data02/freshports/dev-ingress01/freshports/message-queues 20.8G 60.6G 14.4M /jails/dev-ingress01/var/db/freshports/message-queues data02/freshports/dev-ingress01/freshports/message-queues/archive 20.8G 60.6G 11.7G /jails/dev-ingress01/var/db/freshports/message-queues/archive data02/freshports/dev-ingress01/ingress 5.39G 60.6G 132K /jails/dev-ingress01/var/db/ingress data02/freshports/dev-ingress01/ingress/latest_commits 528K 60.6G 108K /jails/dev-ingress01/var/db/ingress/latest_commits data02/freshports/dev-ingress01/ingress/message-queues 1.53M 60.6G 628K /jails/dev-ingress01/var/db/ingress/message-queues data02/freshports/dev-ingress01/ingress/repos 5.39G 60.6G 120K /jails/dev-ingress01/var/db/ingress/repos data02/freshports/dev-ingress01/ingress/repos/doc 549M 60.6G 546M /jails/dev-ingress01/var/db/ingress/repos/doc data02/freshports/dev-ingress01/ingress/repos/ports 2.23G 60.6G 2.22G /jails/dev-ingress01/var/db/ingress/repos/ports data02/freshports/dev-ingress01/ingress/repos/src 2.63G 60.6G 2.62G /jails/dev-ingress01/var/db/ingress/repos/src data02/freshports/dev-ingress01/jails 3.05G 60.6G 104K /jails/dev-ingress01/jails data02/freshports/dev-ingress01/jails/freshports 3.05G 60.6G 405M /jails/dev-ingress01/jails/freshports data02/freshports/dev-ingress01/jails/freshports/ports 2.65G 60.6G 2.65G /jails/dev-ingress01/jails/freshports/usr/ports data02/freshports/dev-ingress01/modules 4.38M 60.6G 4.38M /jails/dev-ingress01/usr/local/lib/perl5/site_perl/FreshPorts data02/freshports/dev-ingress01/scripts 3.30M 60.6G 3.30M /jails/dev-ingress01/usr/local/libexec/freshports
And:
root@r730-01:/home/dvl # zfs get -t filesystem mountpoint -r data02/freshports/dev-ingress01 | grep -v no NAME PROPERTY VALUE SOURCE data02/freshports/dev-ingress01/dvl-src mountpoint /jails/dev-ingress01/usr/home/dvl/src received data02/freshports/dev-ingress01/freshports mountpoint /jails/dev-ingress01/var/db/freshports received data02/freshports/dev-ingress01/freshports/cache mountpoint /jails/dev-ingress01/var/db/freshports/cache inherited from data02/freshports/dev-ingress01/freshports data02/freshports/dev-ingress01/freshports/cache/html mountpoint /jails/dev-ingress01/var/db/freshports/cache/html inherited from data02/freshports/dev-ingress01/freshports data02/freshports/dev-ingress01/freshports/cache/spooling mountpoint /jails/dev-ingress01/var/db/freshports/cache/spooling inherited from data02/freshports/dev-ingress01/freshports data02/freshports/dev-ingress01/freshports/message-queues mountpoint /jails/dev-ingress01/var/db/freshports/message-queues received data02/freshports/dev-ingress01/freshports/message-queues/archive mountpoint /jails/dev-ingress01/var/db/freshports/message-queues/archive inherited from data02/freshports/dev-ingress01/freshports/message-queues data02/freshports/dev-ingress01/ingress mountpoint /jails/dev-ingress01/var/db/ingress received data02/freshports/dev-ingress01/ingress/latest_commits mountpoint /jails/dev-ingress01/var/db/ingress/latest_commits inherited from data02/freshports/dev-ingress01/ingress data02/freshports/dev-ingress01/ingress/message-queues mountpoint /jails/dev-ingress01/var/db/ingress/message-queues inherited from data02/freshports/dev-ingress01/ingress data02/freshports/dev-ingress01/ingress/repos mountpoint /jails/dev-ingress01/var/db/ingress/repos inherited from data02/freshports/dev-ingress01/ingress data02/freshports/dev-ingress01/ingress/repos/doc mountpoint /jails/dev-ingress01/var/db/ingress/repos/doc inherited from data02/freshports/dev-ingress01/ingress data02/freshports/dev-ingress01/ingress/repos/ports mountpoint /jails/dev-ingress01/var/db/ingress/repos/ports inherited from data02/freshports/dev-ingress01/ingress data02/freshports/dev-ingress01/ingress/repos/src mountpoint /jails/dev-ingress01/var/db/ingress/repos/src inherited from data02/freshports/dev-ingress01/ingress data02/freshports/dev-ingress01/jails mountpoint /jails/dev-ingress01/jails received data02/freshports/dev-ingress01/jails/freshports mountpoint /jails/dev-ingress01/jails/freshports inherited from data02/freshports/dev-ingress01/jails data02/freshports/dev-ingress01/jails/freshports/ports mountpoint /jails/dev-ingress01/jails/freshports/usr/ports received data02/freshports/dev-ingress01/modules mountpoint /jails/dev-ingress01/usr/local/lib/perl5/site_perl/FreshPorts received data02/freshports/dev-ingress01/scripts mountpoint /jails/dev-ingress01/usr/local/libexec/freshports received
The canmount stuff, where it’s not on.
root@r730-01:/home/dvl # zfs get -t filesystem canmount -r data02/freshports/dev-ingress01 | grep -v on NAME PROPERTY VALUE SOURCE data02/freshports/dev-ingress01 canmount off received
The mounted stuff, apart from yes.
root@r730-01:/home/dvl # zfs get -t filesystem mounted -r data02/freshports/dev-ingress01 | grep -v yes NAME PROPERTY VALUE SOURCE data02/freshports/dev-ingress01 mounted no -
First, I’ve shutdown the main processes:
[13:46 dev-ingress01 dvl ~] % ps auwwx USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND dvl 62660 0.4 0.0 18896 7840 7 SsJ 13:46 0:00.06 -zsh (zsh) root 62654 0.1 0.0 25708 8920 - SsJ 13:46 0:00.03 sshd-session: dvl [priv] (sshd-session) dvl 62656 0.1 0.0 25708 9240 - SJ 13:46 0:00.01 sshd-session: dvl@pts/7 (sshd-session) root 16734 0.0 0.0 14432 1880 - SCsJ 10Apr26 0:14.46 /usr/sbin/syslogd -c -ss root 16739 0.0 0.0 14432 1960 - IJ 10Apr26 0:00.05 syslogd: syslogd.casper (syslogd) root 16741 0.0 0.0 14432 1880 - IsJ 10Apr26 0:00.00 syslogd: system.net (syslogd) root 16867 0.0 0.0 14280 1436 - IsJ 10Apr26 0:05.02 /usr/sbin/cron -s root 16963 0.0 0.0 25200 4684 - SsJ 10Apr26 0:08.19 sshd: /usr/sbin/sshd [listener] 0 of 10-100 startups (sshd) nagios 16994 0.0 0.0 21796 1872 - IsJ 10Apr26 0:14.70 /usr/local/sbin/nrpe -c /usr/local/etc/nrpe.cfg -d freshports 17692 0.0 0.0 14184 1604 - IsJ 10Apr26 0:00.27 daemon: freshports[17693] (daemon) freshports 17693 0.0 0.0 14744 2112 - SJ 10Apr26 0:43.24 /bin/sh /usr/local/libexec/freshports-service/freshports.sh ingress 17725 0.0 0.0 14184 1612 - IsJ 10Apr26 0:00.57 daemon: ingress[17727] (daemon) ingress 17727 0.0 0.0 14744 1856 - SJ 10Apr26 0:29.88 /bin/sh /usr/local/libexec/freshports-service/ingress.sh ingress 62679 0.0 0.0 14068 1980 - SCJ 13:46 0:00.00 sleep 3 freshports 62686 0.0 0.0 14068 1964 - SCJ 13:46 0:00.00 sleep 3 dvl 62688 0.0 0.0 14824 2620 7 R+J 13:46 0:00.00 ps auwwx [13:46 dev-ingress01 dvl ~] % sudo service freshports stop Stopping freshports. Waiting for PIDS: 17692. [13:46 dev-ingress01 dvl ~] % sudo service ingress stop Stopping ingress. Waiting for PIDS: 17725 [13:46 dev-ingress01 dvl ~] % ps auwwx USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 16734 0.0 0.0 14432 1880 - SCsJ 10Apr26 0:14.46 /usr/sbin/syslogd -c -ss root 16739 0.0 0.0 14432 1960 - IJ 10Apr26 0:00.05 syslogd: syslogd.casper (syslogd) root 16741 0.0 0.0 14432 1880 - IsJ 10Apr26 0:00.00 syslogd: system.net (syslogd) root 16867 0.0 0.0 14280 1436 - IsJ 10Apr26 0:05.02 /usr/sbin/cron -s root 16963 0.0 0.0 25200 4684 - IsJ 10Apr26 0:08.19 sshd: /usr/sbin/sshd [listener] 0 of 10-100 startups (sshd) nagios 16994 0.0 0.0 21796 1872 - IsJ 10Apr26 0:14.70 /usr/local/sbin/nrpe -c /usr/local/etc/nrpe.cfg -d root 62654 0.0 0.0 25708 8920 - IsJ 13:46 0:00.03 sshd-session: dvl [priv] (sshd-session) dvl 62656 0.0 0.0 25708 9284 - SJ 13:46 0:00.04 sshd-session: dvl@pts/7 (sshd-session) dvl 62660 0.0 0.0 18896 7872 7 SsJ 13:46 0:00.06 -zsh (zsh) dvl 64938 0.0 0.0 14824 2724 7 R+J 13:46 0:00.00 ps auwwx [13:46 dev-ingress01 dvl ~] %
snapshot, create, adjust, and send
[15:34 r730-01 dvl ~] % sudo zfs snapshot -r data02/freshports/dev-ingress01@for.data04.0 [15:36 r730-01 dvl ~] % sudo zfs create data04/freshports [15:37 r730-01 dvl ~] % sudo zfs set atime=off data04/freshports
To compare the old data02/freshports against the new data04/freshports, I:
- opened two tabs in my ssh-client
- ran zfs get all data02/freshports in one
- ran zfs get all data04/freshports in the other
- switched back and forth between the two so I could review differences
diff isn’t so useful there. Hope that helps.
And now I send it:
root@r730-01:/home/dvl # zfs send -R data02/freshports/dev-ingress01@for.data04.0 | zfs receive data04/freshports/dev-ingress01
Received
[16:01 r730-01 dvl ~] % zfs list -r data04/freshports/dev-ingress01 NAME USED AVAIL REFER MOUNTPOINT data04/freshports/dev-ingress01 241G 15.1T 188K none data04/freshports/dev-ingress01/dvl-src 201G 15.1T 201G /jails/dev-ingress01/usr/home/dvl/src data04/freshports/dev-ingress01/freshports 29.0G 15.1T 2.94G /jails/dev-ingress01/var/db/freshports data04/freshports/dev-ingress01/freshports/cache 4.94M 15.1T 299K /jails/dev-ingress01/var/db/freshports/cache data04/freshports/dev-ingress01/freshports/cache/html 4.45M 15.1T 4.45M /jails/dev-ingress01/var/db/freshports/cache/html data04/freshports/dev-ingress01/freshports/cache/spooling 205K 15.1T 205K /jails/dev-ingress01/var/db/freshports/cache/spooling data04/freshports/dev-ingress01/freshports/message-queues 26.0G 15.1T 29.8M /jails/dev-ingress01/var/db/freshports/message-queues data04/freshports/dev-ingress01/freshports/message-queues/archive 26.0G 15.1T 13.1G /jails/dev-ingress01/var/db/freshports/message-queues/archive data04/freshports/dev-ingress01/ingress 7.43G 15.1T 282K /jails/dev-ingress01/var/db/ingress data04/freshports/dev-ingress01/ingress/latest_commits 1.10M 15.1T 230K /jails/dev-ingress01/var/db/ingress/latest_commits data04/freshports/dev-ingress01/ingress/message-queues 2.22M 15.1T 1.31M /jails/dev-ingress01/var/db/ingress/message-queues data04/freshports/dev-ingress01/ingress/repos 7.43G 15.1T 256K /jails/dev-ingress01/var/db/ingress/repos data04/freshports/dev-ingress01/ingress/repos/doc 705M 15.1T 702M /jails/dev-ingress01/var/db/ingress/repos/doc data04/freshports/dev-ingress01/ingress/repos/ports 3.22G 15.1T 3.22G /jails/dev-ingress01/var/db/ingress/repos/ports data04/freshports/dev-ingress01/ingress/repos/src 3.52G 15.1T 3.51G /jails/dev-ingress01/var/db/ingress/repos/src data04/freshports/dev-ingress01/jails 4.43G 15.1T 222K /jails/dev-ingress01/jails data04/freshports/dev-ingress01/jails/freshports 4.43G 15.1T 610M /jails/dev-ingress01/jails/freshports data04/freshports/dev-ingress01/jails/freshports/ports 3.84G 15.1T 3.84G /jails/dev-ingress01/jails/freshports/usr/ports data04/freshports/dev-ingress01/modules 8.27M 15.1T 8.27M /jails/dev-ingress01/usr/local/lib/perl5/site_perl/FreshPorts data04/freshports/dev-ingress01/scripts 7.04M 15.1T 7.04M /jails/dev-ingress01/usr/local/libexec/freshports
Turning off the old filesystem
Let’s get all this set to canmount=off. That will also umount them, I think.
root@r730-01:/home/dvl # zfs list -Hr data02/freshports/dev-ingress01 | cut -f 1 -w | xargs -n 1 echo sudo zfs set canmount=off sudo zfs set canmount=off data02/freshports/dev-ingress01 sudo zfs set canmount=off data02/freshports/dev-ingress01/dvl-src sudo zfs set canmount=off data02/freshports/dev-ingress01/freshports sudo zfs set canmount=off data02/freshports/dev-ingress01/freshports/cache sudo zfs set canmount=off data02/freshports/dev-ingress01/freshports/cache/html ... sudo zfs set canmount=off data02/freshports/dev-ingress01/jails/freshports/ports sudo zfs set canmount=off data02/freshports/dev-ingress01/modules sudo zfs set canmount=off data02/freshports/dev-ingress01/scripts
OK, looks good, now I’ll remove the echo and try again:
root@r730-01:/home/dvl # zfs list -Hr data02/freshports/dev-ingress01 | cut -f 1 -w | xargs -n 1 sudo zfs set canmount=off cannot unmount '/jails/dev-ingress01/var/db/freshports/cache/html': pool or dataset is busy xargs: sudo: exited with status 255; aborting
Oh, I think that gets mounted in the webserver. Let’s stop that. I also see: I don’t need sudo in that command.
root@r730-01:/home/dvl # service jail stop dev-nginx01 Stopping jails: dev-nginx01. root@r730-01:/home/dvl # zfs list -Hr data02/freshports/dev-ingress01 | cut -f 1 -w | xargs -n 1 sudo zfs set canmount=off cannot unmount '/jails/dev-ingress01/var/db/freshports': pool or dataset is busy xargs: sudo: exited with status 255; aborting
No, that’s not it.
I know. It’s the other filesystems mounted inside it. Let’s do this in reverse, by using the tail -r command. By doing the filesystems in reverse order, we get them umounted nicely.
root@r730-01:/home/dvl # zfs list -Hr data02/freshports/dev-ingress01 | cut -f 1 -w | tail -r | xargs -n 1 sudo zfs set canmount=off root@r730-01:/home/dvl #
All set to off:
root@r730-01:/home/dvl # zfs get -t filesystem canmount -r data02/freshports/dev-ingress01 | grep -v off NAME PROPERTY VALUE SOURCE
Nothing mounted:
root@r730-01:/home/dvl # zfs get -t filesystem mounted -r data02/freshports/dev-ingress01 | grep -v no NAME PROPERTY VALUE SOURCE
Good to go.
Preparing the new filesystem
First, nothing is mounted, good:
[17:08 r730-01 dvl ~] % zfs get -r -t filesystem mounted data04/freshports/dev-ingress01 | grep yes [17:09 r730-01 dvl ~] %
I thought about it, but then realized the tail -r trick won’t be for here. We want to do them in the order.
[17:10 r730-01 dvl ~] % zfs get -Hr -t filesystem canmount data04/freshports/dev-ingress01 | cut -f 1 -w | xargs -n 1 sudo zfs mount cannot mount 'data04/freshports/dev-ingress01': no mountpoint set
Right, because that can’t be mounted.
Start the webserver
This starts the webserver:
[17:07 r730-01 dvl ~] % sudo service jail start dev-nginx01 Starting jails: dev-nginx01.
Starting the ingress jail
First, don’t let the services start, let’s just see if the jail starts.
[17:12 r730-01 dvl ~] % sudo sysrc -f /jails/dev-ingress01/etc/rc.conf ingress_enable="NO" ingress_enable: YES -> NO [17:13 r730-01 dvl ~] % sudo sysrc -f /jails/dev-ingress01/etc/rc.conf freshports_enable="NO" freshports_enable: YES -> NO [17:13 r730-01 dvl ~] %
Starting the jail.
[17:13 r730-01 dvl ~] % sudo service jail start dev-ingress01 Starting jails: dev-ingress01. [17:14 r730-01 dvl ~] % sudo service jail stop dev-ingress01 Stopping jails: dev-ingress01.
I had an oh-shit moment and stopped the jail right away.
No, we’re good. I think it’s OK, the thing I thought of affects only dvl-ingress01.
[17:16 r730-01 dvl /etc/jail.conf.d] % grep data02/freshports/dev-ingress01 * [17:18 r730-01 dvl /etc/jail.conf.d] % grep data02/freshports/dvl-ingress01 * dvl-ingress01.conf: exec.poststart+="zfs mount data02/freshports/dvl-ingress01/dvl-src"; dvl-ingress01.conf: exec.poststart+="zfs mount data02/freshports/dvl-ingress01/modules"; dvl-ingress01.conf: exec.poststart+="zfs mount data02/freshports/dvl-ingress01/scripts"; dvl-ingress01.conf: exec.poststop+="zfs umount data02/freshports/dvl-ingress01/dvl-src"; dvl-ingress01.conf: exec.poststop+="zfs umount data02/freshports/dvl-ingress01/modules"; dvl-ingress01.conf: exec.poststop+="zfs umount data02/freshports/dvl-ingress01/scripts";
The jail in question does not mount stuff.
Let’s start it again:
[17:21 r730-01 dvl /etc/jail.conf.d] % sudo service jail start dev-ingress01 Starting jails: dev-ingress01.
I’m going inside!
This looks OK:
[13:22 pro07 dvl ~] % di Last login: Sun Apr 19 13:46:35 2026 from pro07.startpoint.vpn.unixathome.org [17:22 dev-ingress01 dvl ~] % ps auwwx USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND dvl 11884 0.5 0.0 18896 8068 3 SsJ 17:22 0:00.05 -zsh (zsh) root 11879 0.1 0.0 25708 11836 - SsJ 17:22 0:00.02 sshd-session: dvl [priv] (sshd-session) root 4827 0.0 0.0 14432 2972 - SCsJ 17:21 0:00.00 /usr/sbin/syslogd -c -ss root 4830 0.0 0.0 14432 2796 - IJ 17:21 0:00.00 syslogd: syslogd.casper (syslogd) root 4831 0.0 0.0 14432 2764 - IsJ 17:21 0:00.00 syslogd: system.net (syslogd) root 4903 0.0 0.0 14280 2484 - IsJ 17:21 0:00.00 /usr/sbin/cron -s root 4944 0.0 0.0 25200 11260 - SsJ 17:21 0:00.00 sshd: /usr/sbin/sshd [listener] 0 of 10-100 startups (sshd) nagios 4959 0.0 0.0 21796 8784 - SsJ 17:21 0:00.00 /usr/local/sbin/nrpe -c /usr/local/etc/nrpe.cfg -d dvl 11882 0.0 0.0 25708 12136 - SJ 17:22 0:00.01 sshd-session: dvl@pts/3 (sshd-session) dvl 11900 0.0 0.0 14824 2956 3 R+J 17:22 0:00.00 ps auwwx [17:22 dev-ingress01 dvl ~] %
So far so good. I typed most of this from the Bryn Mawr ER room. Now it’s time to take home the patient.
Starting the ingress daemon
[17:34 dev-ingress01 dvl ~] % sudo service ingress onestart Starting ingress. [17:34 dev-ingress01 dvl ~] % ps auwwx USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 4827 0.0 0.0 14432 2972 - SCsJ 17:21 0:00.01 /usr/sbin/syslogd -c -ss root 4830 0.0 0.0 14432 2796 - IJ 17:21 0:00.00 syslogd: syslogd.casper (syslogd) root 4831 0.0 0.0 14432 2764 - IsJ 17:21 0:00.00 syslogd: system.net (syslogd) root 4903 0.0 0.0 14280 2476 - SsJ 17:21 0:00.01 /usr/sbin/cron -s root 4944 0.0 0.0 25200 11260 - IsJ 17:21 0:00.01 sshd: /usr/sbin/sshd [listener] 0 of 10-100 startups (sshd) nagios 4959 0.0 0.0 21796 8784 - IsJ 17:21 0:00.03 /usr/local/sbin/nrpe -c /usr/local/etc/nrpe.cfg -d root 11879 0.0 0.0 25708 11836 - IsJ 17:22 0:00.02 sshd-session: dvl [priv] (sshd-session) dvl 11882 0.0 0.0 25708 12180 - SJ 17:22 0:00.04 sshd-session: dvl@pts/3 (sshd-session) ingress 53416 0.0 0.0 14184 2236 - SsJ 17:34 0:00.00 daemon: ingress[53417] (daemon) ingress 53417 0.0 0.0 14744 2800 - SJ 17:34 0:00.01 /bin/sh /usr/local/libexec/freshports-service/ingress.sh ingress 62059 0.0 0.0 14068 2112 - SCJ 17:36 0:00.00 sleep 3 dvl 11884 0.0 0.0 18896 8092 3 SsJ 17:22 0:00.06 -zsh (zsh) dvl 62118 0.0 0.0 14824 2992 3 R+J 17:36 0:00.00 ps auwwx [17:36 dev-ingress01 dvl ~] % ls ~ingress/message-queues/incoming 2026.04.19.14.35.39.000000.9a5bfb4c563b73352c38b197d957c7bc5b1fdf6f.xml 2026.04.19.15.21.08.000007.acc979959457fcd00fae13c81fb6ca834ca9be50.xml 2026.04.19.14.35.39.000001.5f4406b40047eb96ed145dd2211634a244b15260.xml 2026.04.19.15.22.51.000008.d9c5a50e4842e99cccbe53533a661e75deb9c8b5.xml 2026.04.19.14.35.39.000002.ecbc89077e1ae5a604de7a800db6e08913f8914b.xml 2026.04.19.15.27.27.000005.4ed5b949d5e25456124a4d280d27e9719f90e9be.xml 2026.04.19.14.35.40.000003.27e12fe3e5204fb9035e477ecc76b27577cbe8a4.xml 2026.04.19.15.30.08.000006.20cf11812ac722852322f2f2994698d7a5fa8dc6.xml 2026.04.19.14.35.40.000004.18f8becee09d1f6c8b2f2ae7c45511c1e7071567.xml 2026.04.19.15.36.42.000009.64eb67291d3a28359ac7d5c4275ef6bdb66509ae.xml 2026.04.19.15.07.19.000005.3686ad021c2308f83b00ccba3e046b69dbb0ecf6.xml 2026.04.19.15.38.33.000007.60bac4d6438b6bcb3d7b439684211d05396d90ce.xml 2026.04.19.15.07.19.000006.7c546a3a09e0e09f2fa1e5695057410e52a15dfb.xml 2026.04.19.15.42.39.000010.e5fd1c9bf646f174c71ca48f15e57d5a00f87be7.xml 2026.04.19.15.07.36.000000.ff18554fd6e616f5d965322be477dc406a2906bc.xml 2026.04.19.15.50.19.000008.5cfadb6633128dccc32b1e4f84386ad705adc721.xml 2026.04.19.15.07.48.000000.186c106f0c77a417cc549e46cda0539f0026d950.xml 2026.04.19.16.03.13.000009.9d39213d222395eb40323102db018cbedf773ddf.xml 2026.04.19.15.07.49.000001.6e4354baa81f88b0bcde13bfd2e1aaa1f8f4190a.xml 2026.04.19.16.07.03.000011.101e513c44a47b1d3d128834488c34476026572b.xml 2026.04.19.15.09.30.000001.02b46313fd1461338703a1e02c667b8dbcc36237.xml 2026.04.19.16.34.22.000012.dd8f68ba13a1b6182d69464f943e6ca1b0946ede.xml 2026.04.19.15.12.15.000002.4546eb0c27f22236be8179616e1f0a3e88ddfbbe.xml 2026.04.19.17.02.55.000013.7840e703ba0fe0a178172f61e162b333b468f630.xml 2026.04.19.15.16.04.000003.117d9331fedeb5c5657a796423c4f7b311f40770.xml 2026.04.19.17.15.41.000014.7f8bee92ba65899e47268c30ee409399a395f1a0.xml 2026.04.19.15.17.29.000004.634a48f3673ff8af9848846a6bff1a8c068d205d.xml
It has started, and has pulled the commits it has missed during downtime.
Let’s try processing them.
[17:37 dev-ingress01 dvl ~] % sudo service freshports onestart Starting freshports.
In the logs, I see:
[17:21 r730-01 dvl /etc/jail.conf.d] % sudo xtail /jails/dev-ingress01/var/log/freshports/* *** /jails/dev-ingress01/var/log/freshports/freshports-daemon.log *** Apr 19 17:38:11 dev-ingress01 freshports[67523]: starting up! Apr 19 17:38:11 dev-ingress01 freshports[67523]: incoming: /var/db/ingress/message-queues/incoming recent: /var/db/freshports/message-queues/recent retry: /var/db/freshports/message-queues/retry spooling: /var/db/freshports/message-queues/spooling ready Apr 19 17:38:11 dev-ingress01 freshports[67523]: found stuff in /var/db/ingress/message-queues/incoming Apr 19 17:38:11 dev-ingress01 freshports[67523]: processing /var/db/ingress/message-queues/incoming/2026.04.19.14.35.39.000000.9a5bfb4c563b73352c38b197d957c7bc5b1fdf6f.xml Apr 19 17:38:11 dev-ingress01 freshports[67523]: loading that XML into the database via load_xml_into_db.pl Apr 19 17:38:11 dev-ingress01 freshports[67523]: /usr/local/bin/perl /usr/local/libexec/freshports/load_xml_into_db.pl /var/db/ingress/message-queues/incoming/2026.04.19.14.35.39.000000.9a5bfb4c563b73352c38b197d957c7bc5b1fdf6f.xml /var/db/freshports/message-queues/spooling/2026.04.19.14.35.39.000000.9a5bfb4c563b73352c38b197d957c7bc5b1fdf6f.log /var/db/freshports/message-queues/spooling/2026.04.19.14.35.39.000000.9a5bfb4c563b73352c38b197d957c7bc5b1fdf6f.errors Apr 19 17:38:16 dev-ingress01 freshports[67523]: XML loading finished result=0 Apr 19 17:38:16 dev-ingress01 freshports[67523]: drwxrwxr-x 5 freshports freshports 127 Apr 19 13:15 /var/db/freshports/message-queues/recent/ drwxrwxr-x 2 ingress freshports 29 Apr 19 17:34 /var/db/ingress/message-queues/incoming/ -rw-rw-r-- 1 ingress freshports 833 Apr 19 17:34 /var/db/ingress/message-queues/incoming/2026.04.19.14.35.39.000000.9a5bfb4c563b73352c38b197d957c7bc5b1fdf6f.xml Apr 19 17:38:16 dev-ingress01 freshports[67523]: removing /var/db/ingress/message-queues/incoming/2026.04.19.14.35.39.000000.9a5bfb4c563b73352c38b197d957c7bc5b1fdf6f.xml Apr 19 17:38:16 dev-ingress01 freshports[67523]: removal completed Apr 19 17:38:16 dev-ingress01 freshports[67523]: yes, there is a job waiting *** /jails/dev-ingress01/var/log/freshports/freshports.log *** Apr 19 17:38:16 dev-ingress01 FreshPorts[68081]: running job-waiting.pl Apr 19 17:38:16 dev-ingress01 FreshPorts[68081]: starting ./job-waiting.pl (/usr/local/libexec/freshports) Apr 19 17:38:16 dev-ingress01 FreshPorts[68081]: running ./job-waiting.pl as user = 'freshports' (/usr/local/libexec/freshports) Apr 19 17:38:16 dev-ingress01 FreshPorts[68081]: checking jobs for freshports (/usr/local/libexec/freshports) Apr 19 17:38:16 dev-ingress01 FreshPorts[68081]: flag '/var/db/freshports/signals/check_port_categories' not set. no work for missing-port-categories.sh (/usr/local/libexec/freshports) Apr 19 17:38:16 dev-ingress01 FreshPorts[68081]: flag '/var/db/freshports/signals/default_versions' not set. no work for process_default_versions.pl (/usr/local/libexec/freshports) Apr 19 17:38:16 dev-ingress01 FreshPorts[68081]: flag '/var/db/freshports/signals/ports_to_refresh' not set. no work for refresh-ports.sh (/usr/local/libexec/freshports) Apr 19 17:38:16 dev-ingress01 FreshPorts[68081]: flag '/var/db/freshports/signals/vuxml' not set. no work for process_vuxml.sh (/usr/local/libexec/freshports) Apr 19 17:38:16 dev-ingress01 FreshPorts[68081]: flag '/var/db/freshports/signals/refresh_moved' not set. no work for process_moved.sh (/usr/local/libexec/freshports) Apr 19 17:38:16 dev-ingress01 FreshPorts[68081]: flag '/var/db/freshports/signals/refresh_updating' not set. no work for process_updating.sh (/usr/local/libexec/freshports) Apr 19 17:38:16 dev-ingress01 FreshPorts[68081]: /var/db/freshports/signals/new_repo_ready_for_import exists. About to run import_packagesite.py via system() (/usr/local/libexec/freshports) Apr 19 17:38:16 dev-ingress01 FreshPorts[68081]: details are: /usr/local/libexec/freshports/import_packagesite.py >> /var/log/freshports/jobs_waiting.log (/usr/local/libexec/freshports) Apr 19 17:38:17 dev-ingress01 import_packagesite.py[68082]: Starting up Apr 19 17:38:17 dev-ingress01 import_packagesite.py[68082]: we have 2 repos to process Apr 19 17:38:17 dev-ingress01 import_packagesite.py[68082]: importing FreeBSD:13:amd64/quarterly Apr 19 17:38:17 dev-ingress01 import_packagesite.py[68082]: command is: /usr/local/libexec/freshports/fetch-extract-parse-import-one-abi.sh FreeBSD:13:amd64 quarterly Apr 19 17:38:17 dev-ingress01 fetch-extract-parse-import-one-abi.sh[68088]: starting /usr/local/libexec/freshports/fetch-extract-parse-import-one-abi.sh Apr 19 17:38:17 dev-ingress01 fetch-extract-parse-import-one-abi.sh[68092]: creating /var/db/freshports/packagesite/FreeBSD:13:amd64/quarterly ...
That looks good.
And now the queue has emptied.
[17:47 dev-ingress01 dvl ~] % ls ~ingress/message-queues/incoming [17:47 dev-ingress01 dvl ~] %
Good to go.











