Koozali.org: home of the SME Server

koozali 11 update log...

Offline sages

  • *
  • 211
  • +0/-0
    • http://www.sages.com.au
koozali 11 update log...
« on: October 02, 2026, 07:53:34 AM »
Well that's been an interesting couple of days.
Big disclaimer.....
My setup isn't a vanilla system, it's been customised. I believe that the following issues have been self inflicted and should in no way reflect on the KZ team or software release.

Koozali 11 upgrade log day 1
Received the news that koozali 11 has been released. Great work and a hell of an effort from the (few) people involved.

Figured I needed to take a planned approach to upgrading from v10.
Downloaded the iso and fired up a virtual machine to try it out. Figured I could use Migratehelper and restore onto the vm to check for any contrib issues. Couple of minor unsupported contribs and a need for adding epel repo for some of the installs.
All good.

Koozali 11 upgrade log day 2
Wrote up my procedure and of we went.
My existing kz 10 has a ssd for primary and a mounted raid 1 hdd pair on /home/e-smith/files.
First off I wanted to image the ssd before I started, Fired up clonezilla and found an old ssd to use as an image target. Something happened during the process and it failed, rebooted into kz10 and it can't find my raid1 arrray.
Not overly thrilled at this stage. I do have backups but it kind of defeats the point if I have to use them.
Figured that things were heading pear shaped at this stage so I disconnected the hdd and fired up clonezilla again. Intent on imaging primary ssd before upgrading. All good except estimated completion of the image is increasing faster than progressing.
Transfer rate now in the MB/s range. Not good. Ok, use a portable hdd as a target and try again.
Ummh, hdd not recognised. Try it on another machine and it's formatted btrfs. Clonezilla wasn't happy.
Repartitioned it on another machine and a guick format to see if its is actually ok, seems ok now.
Back to the kz 10 machine and try clonezilla again to image to the hdd. Yep, off we go, going to take ~30 minutes but it's lunch time by now.
We started just after breakfast with the actual hardware upgrade.
Finally have an image of the original kz 10 on a spare hdd.
Started the kz 10 box without the raid 1 drives and ran migratehelper. done.
Ran kz11 install on old kz 10 box.
Suspect we may have pulled the install flash drive to quickly after hitting the reboot button. Booted back into recovery mode. <sigh>

Reinstalled kz 11.
Rebooted
Restored migratehelper image.
Went to remount raid1 array with data and array not found. Kind of got a little sad at this point.
Rebuilt raid 1 array, formatted and mounted it (with hindsight I'm wondering if I should have just tried to recreate the array and the data wouldn't have needed to be restored)
Started restoring data to raid array from backup, forecast about an 8 hour restore. sigh
Fun times, Spamhaus decided to put my static public IP onto it's blacklist. Reasons unknown especially given I was offline for a couple of days.
Email is being sent/received but rejected by gmail and various other sites. Bit sadder now.
Well past beer o'clock so have stepped away from the keyboard.

Koozali 11 upgrade log day 3
Restored successfully overnight.
Still on naughty spamhaus list even though requested removal. Guess we have to wait.
Finished up updates/finalised migratehelper contribs installs.
Nextcloud was on v31.x and was still working then I got the sillies and tried to update it to 32.0.15
Obviously needed some entertainment as life was a bit boring. Getting the following error during upgrade:
General error: 1025 Error on rename of './nextcloud/oc_jobs' to './nextcloud/#sql-backup-b46-2c' (errno: 168 "Unknown (generic) error from engine")
Yeehah, something to get my teeth into. We don't want to be bored.

And during early boot the following flashes up on the screen:
Invalid call dxe_update_mem_attrs xxxxx addr is not page aligned
error: grub-core/fs/fshelp.c:250:file `EFI/rocky/fonts/unicode.pf2` found

I'll get back to that later.

I also run collectd and collectd-nut on my server that provides data to a raspberrypi influxdb/grafana system.
Seems that collectd-nut is pretty much unicorn dust/fart as far as an available package to download for collectd-nut-5.9.05
Still another search in progress.

Nextcloud issue sorted, had to dive into the database, nuke the table and recreate it from a previous dump.

It's later.
Nextcloud now current with a php low memory warning but we'll get to that eventually.
Waiting for raid to sync before checking if we've resolved the boot warning messages.

Gave up on collectd-nut and configured it on another device connecting remotely, why make things simple

I'll wade through some logs soon to see if there is any unknowns throwing errors that I haven't noticed yet. Functionally all appears to be working as it was before I started  :grin:
 
Disclaimer again, as far as I can tell, all of my issues are down to changes I made from a std setup, don't let this put anyone off upgrading.
...

Offline TerryF

  • grumpy old man
  • *
  • 1,912
  • +6/-0
Re: koozali 11 update log...
« Reply #1 on: October 02, 2026, 09:21:25 AM »
Lots of i's dotted and t's being crossed nice work.

And congrats on success
--
qui scribit bis legit

Offline ReetP

  • *
  • 4,072
  • +7/-0
Re: koozali 11 update log...
« Reply #2 on: October 02, 2026, 02:07:10 PM »
Disclaimer again, as far as I can tell, all of my issues are down to changes I made from a std setup, don't let this put anyone off upgrading.

Yup, and yup. Now is the time for v11 if you haven't tried any previous versions. Zero excuses.

I did a migratehelper transfer on our rocketchat server yesterday. If I hadn't messed up the clean server by forgetting to disable LVM/RAID it would have taken me a short while as I bind mount the old drive in to /home/e-smith/file hierachy and save all that messing about restoring etc.

eg

Code: [Select]
# fstab samples

# ordinary drive sdb3
UUID=f534bc2c-8154-4d77-bb23-87e3a09b5a7e /mnt/sdb3 ext4 defaults 0 0
/mnt/sdb3/home/e-smith/files /home/e-smith/files ext4 bind,uquota,gquota,noatime 0 0

# using LVM
# blkid sample
# /dev/mapper/kss-home: UUID="99542d18-6444-4321-92a9-89dd0a1a9bc7" BLOCK_SIZE="512" TYPE="xfs"

UUID=99542d18-6444-4321-92a9-89dd0a1a9bc7 /mnt/data               xfs     defaults 0 0
/mnt/data/e-smith/files /home/e-smith/files                       xfs     bind,uquota,gquota,noatime 0 0

No, quotas don't work on a bind mount but I don't care.

I've done several this way and it is quick and easy.

Quote
My existing kz 10 has a ssd for primary and a mounted raid 1 hdd pair on /home/e-smith/files.

Personally I'd have:

  • Got a new SSD for Primary
  • Run migratehelper to backup your key data to a small drive/USB
  • Keep the old SSD as the backup
  • Install KZ11 to the new SSD
  • Restore the migratehelper backup
  • Mount the raid (lvscan, blkid, add the LVM via fstab)

It's is very quick and easy when you use Proxmox.

Even managed my Mongo DB without even retoring it - just added /var/lib/mongo to migratehelper and fixed the perms once transferred


Nextcloud - this will show you the settings available:

Code: [Select]
grep -rn nextcloud /etc/e-smith/templates
eg

Code: [Select]
my $memory_limit = ($nextcloud{MemoryLimit} || '512M');
So you can set that as a key and run smeserver-nextcloud-update




...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 4,072
  • +7/-0
Re: koozali 11 update log...
« Reply #3 on: October 03, 2026, 12:29:46 AM »
Think a bug needs opening against migratehelper as it does not reset the yum/dnf default repos so you end up with old repos with incorrect urls and update/install errors

I haven't time this weekend.

One possibility is they should not be restored and just defaults used.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline sages

  • *
  • 211
  • +0/-0
    • http://www.sages.com.au
Re: koozali 11 update log...
« Reply #4 on: October 03, 2026, 02:50:25 AM »
kz 11 update log day 4

Have been a few minor glitches that have been relatively straight forward to resolve. Most issues have been resolved by RTFM  :shock:  :-P
Either error reports or checking logs for reported issues, then either checking the contribs or howtos where the solution has been found.
I'd also point out that there is a lot of history in this system with it's origins starting back in the v3/4? e-emith days with subsequent upgrades and varying levels of rebuilds over the years. There are a few dregs from configurations from the punched card era lurking in places.
Once again my clean test builds on vm's haven't had issues, just the transition from live system via migratehelper.
With some changed, redundant, replacement, new contribs this is to be expected.
Rod
...

Offline bunkobugsy

  • *
  • 359
  • +4/-0
Re: koozali 11 update log...
« Reply #5 on: October 03, 2026, 09:36:44 AM »
Think a bug needs opening against migratehelper as it does not reset the yum/dnf default repos so you end up with old repos with incorrect urls and update/install errors
This shouldn't happen, at least my test via migratehelper seems ok. However EPEL needs to be enabled manually:
https://wiki.koozali.org/SME_Server:11.0_Addendum#Issues_related_to_migrating_from_earlier_version

Offline sages

  • *
  • 211
  • +0/-0
    • http://www.sages.com.au
Re: koozali 11 update log...
« Reply #6 on: October 04, 2026, 05:01:04 AM »
kz 11 update log day 5

Nothing really associated with the update but have conceded defeat with convincing google that I'm not a threat to them or the greater internet with running my own smtp server. Set up a free account with smtp2go. Followed their instructions to set up a domain user, added domain records and added smtp2go server and user info to kz11 via gui. Works a treat.
Now my outgoing email is forwarded via smtp2go and suddenly google loves me again and I'm no longer a threat to the interweb.
Also old rsync-backup2disk contrib appears to work ok with no error messages.
...

Offline bunkobugsy

  • *
  • 359
  • +4/-0
Re: koozali 11 update log...
« Reply #7 on: October 04, 2026, 07:27:53 AM »
So if I understand correctly you were running SME 10 to deliver email directly
and didn't have problems with spamhaus or google before upgrade to SME 11?
Was everything set up correctly? MX, revDNS, SPF, DKIM, DMARC?
Did anything change since?
Thanks

Offline sages

  • *
  • 211
  • +0/-0
    • http://www.sages.com.au
Re: koozali 11 update log...
« Reply #8 on: October 04, 2026, 07:36:40 AM »
Please read the preceding posts, i've answered your questions already.
SMTP send 10/10 before and after upgrade using mail tester. Somewhere/how my public ip ended up in spamhaus. No idea when as I rarely send email. Had IP removed from spamhaus blacklist but google already placed it on their own FU list and it's extremely difficult to get it taken off.
Once again my point, repeating myself, nothing to do with upgrade from kz 10 -> 11. ymmv
« Last Edit: October 04, 2026, 07:41:53 AM by sages »
...

Offline bunkobugsy

  • *
  • 359
  • +4/-0
Re: koozali 11 update log...
« Reply #9 on: October 04, 2026, 07:52:27 AM »
Understood, on the other hand that is to be expected if your public IP is dynamic, in a bad AS or doesn't have a correctly set up domain and records associated with it.

Offline sages

  • *
  • 211
  • +0/-0
    • http://www.sages.com.au
Re: koozali 11 update log...
« Reply #10 on: October 04, 2026, 08:13:16 AM »
Nope, static IP for years. As stated before and after dns/domain/dkim etc all 100% as per several public email service testers. It was my IP dropping into spamhaus blacklist at an indeterminate time then google placing my IP into their FU list. Spamhaus issue was sorted easily but google don't provide any means of addressing issues apart from sit still, shut up and wait. I haven't, I won't and the existing options (well documented in the email security howtos) work.

Please don't try and fix a problem I don't have or add in symptoms or configuration I don't have.

Purpose of the is thread is to thank the few, document the journey, repeatedly point out that I didn't start with a standard system, I sorted out my problems and that even when the rest of the internet don't have an issue with you, google can drop a (bodily function) on you and you just need to work around them.
...

Offline bunkobugsy

  • *
  • 359
  • +4/-0
Re: koozali 11 update log...
« Reply #11 on: October 04, 2026, 08:24:42 AM »
No offense intended, was just trying to diagnose a problem we also had while testing SME11.
"It was my IP dropping into spamhaus blacklist at an indeterminate time" - was it XBL by any chance?
"Spamhaus issue was sorted easily" - removal is easy and quick, getting to the root cause of being listed is not, especially getting listed again / by others too.
« Last Edit: October 04, 2026, 08:37:39 AM by bunkobugsy »

Offline sages

  • *
  • 211
  • +0/-0
    • http://www.sages.com.au
Re: koozali 11 update log...
« Reply #12 on: October 04, 2026, 08:39:59 AM »
I didn't make any notes at the time on the specific spamhaus list, just followed the trail from the rejected email from google. It was definitely a SBL, malicious network ranges, easily sorted with spamhaus but no way of determining who/what put it there.
Getting it sorted with Spamhaus left the issue with google unresolved. Their suggestion was to try groveling to my ISP, but there's bugger all they can do as it's googles internal FU list. Apart from praying, thumb twiddling the only other solution is to bend over and take it from google and stop hosting your own smtp service that directly sends email and use a relay service. It works.
...

Offline bunkobugsy

  • *
  • 359
  • +4/-0
Re: koozali 11 update log...
« Reply #13 on: October 04, 2026, 09:42:58 AM »
https://check.spamhaus.org/results/?query=yourip  shows historical listings too

Offline sages

  • *
  • 211
  • +0/-0
    • http://www.sages.com.au
Re: koozali 11 update log...
« Reply #14 on: October 04, 2026, 02:12:41 PM »
Bit of history, changed ISP in early september 2025, found a response from spamhaus when I requested my ip be removed from there lists about  week after I changed ISP.
Seems Spamhaus only takes your IP of the list of 'google automatically believes your an internet threat' for about 12 months, then you have to ask again.
See where I'm going here? it's about twelve months since we last played this game. And my system has an extremely low email usage so chances are high that I may have been on the naughty list for several weeks. When I did the upgrade to kz 11 I sent a test email from my system to my gmail account, which failed. Leading to the saga above.
So, I have now succumbed and reconfigure to use an smtp relay service and have set up periodic reminders to check if I have been relisted so I can re advise them that I'm not a threat to the internet, just a p'ed off victim.  :P 
[edit] script to check spamhaus for IP listing https://www.sages.au/spamhaus-listing-check.html
« Last Edit: October 04, 2026, 03:09:59 PM by sages »
...