Upgrade process from 2014.10

Problems/questions about updates/patches of MailCleaner

Moderators: FlorianB, Pascal, bourgeois, mentor

Cygnus
Posts: 2
Joined: Fri Jun 23, 2017 11:20 am
How did you hear about Mailcleaner: article

Upgrade process from 2014.10

Postby Cygnus » Fri Jun 23, 2017 12:31 pm

Hi guys,
sorry if it's already been covered.

As a sysadmin I've inherited a mailcleaner installation in version 2014.10 patch level 2014120101.

How can I upgrade to the latest version ?

Is there any way I can export configuration and logs and restore it to another machine with latest version installed ?

Many thanks
uncltom
Posts: 497
Joined: Tue Aug 26, 2008 3:01 am
How did you hear about Mailcleaner: I dont remember probably google?
Location: Spokane, WA

Re: Upgrade process from 2014.10

Postby uncltom » Tue Jun 27, 2017 7:44 am

At this point you are on the latest production version.
There is a beta version available but there is no upgrade process from 2014 to 2017 at this time. There are changes in the database that make this difficult.
scoolplace
Posts: 5
Joined: Sat Sep 03, 2016 10:08 am
How did you hear about Mailcleaner: Google

Re: Upgrade process from 2014.10

Postby scoolplace » Mon Sep 11, 2017 11:17 am

FlorianB has announced a upgrade script from 201410 to the newest version?
is this script public available ?
FlorianB
Posts: 258
Joined: Wed Apr 01, 2015 2:27 pm
How did you hear about Mailcleaner: job

Re: Upgrade process from 2014.10

Postby FlorianB » Mon Sep 11, 2017 11:58 am

Hello,
Final version is out, so you can already install the latest 2017 "Jessie"
Then you'll use the tools we'll announce today to export Domain, Users, Aliases etc of your old MailCleaner to the new one !
Regards,
Florian
FlorianB
Posts: 258
Joined: Wed Apr 01, 2015 2:27 pm
How did you hear about Mailcleaner: job

Re: Upgrade process from 2014.10

Postby FlorianB » Tue Sep 12, 2017 3:17 pm

Hello,
Tools are announced here: Community tools post
Regards,
Florian
Cygnus
Posts: 2
Joined: Fri Jun 23, 2017 11:20 am
How did you hear about Mailcleaner: article

Re: Upgrade process from 2014.10

Postby Cygnus » Thu Sep 14, 2017 12:03 pm

Many thanks !
joe.davis
Posts: 9
Joined: Fri Jan 04, 2008 7:34 pm

Re: Upgrade process from 2014.10

Postby joe.davis » Thu Sep 14, 2017 3:26 pm

I'm guessing, at this point, that I can't really upgrade from 2017.10 to 2017.xx. Rather, I need to install a clean (new) 2017.xx and then run this migration script to copy over my Domains, Users, etc ... to the new server.

I'm good with that but what about my existing bayesian data? Am I supposed to start over? I have been training this thing for nearly 10 years.

Thanks,
Joe
FlorianB
Posts: 258
Joined: Wed Apr 01, 2015 2:27 pm
How did you hear about Mailcleaner: job

Re: Upgrade process from 2014.10

Postby FlorianB » Fri Sep 15, 2017 9:16 am

Hello joe.davis,
You re right !
So to keep your bayesian databases:
- Stop mailscanner: /usr/mailcleaner/etc/init.d/mailscanner stop
Backup these files:
- /var/mailcleaner/spool/bogofilter/database/wordlist.db
- /var/mailcleaner/spool/spamassassin/bayes_seen
- /var/mailcleaner/spool/spamassassin/bayes_toks
and restore them to the same place in your new MailCleaner.
Regards,
PS: But you re right, we could have done this in the migration script. I suppose we'll add it soon. I confirm here when this is done.
Florian
snvdberg
Posts: 17
Joined: Tue Jul 21, 2015 5:17 pm
How did you hear about Mailcleaner: Sites

Re: Upgrade process from 2014.10

Postby snvdberg » Fri Sep 15, 2017 10:28 pm

Hi Florian,

I see that the table "mysql_auth" is not migrated with with the script. The users are migrated but not the passwords so they can't login.
I manually migrated the mysql_auth table and all seems to work. It might be a good idea to add this table to the migration script
mentor
Posts: 14
Joined: Thu Jul 30, 2015 9:38 am
How did you hear about Mailcleaner: I work at MC

Re: Upgrade process from 2014.10

Postby mentor » Fri Oct 06, 2017 2:02 pm

Hi snvdberg,

We just added the mysql_auth table to the migration script.
But we decided to not include bayesians to the migration process. You can backup it as explained by FlorianB just before.

Thank you for your support.

Regards,
Mentor Reka
MailCleaner Team

Return to “Updates”

Who is online

Users browsing this forum: No registered users and 1 guest