Support

Akeeba Backup for WordPress

#39606 8.1 beta - "Migration necessary" notification never goes away on core package

Posted in ‘Akeeba Backup for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
6.2-6.3
PHP version
7.4-8.0
Akeeba Backup version
8.1.0.b1

Latest post by nicholas on Tuesday, 10 October 2023 08:40 CDT

mbabker

On all but one of the sites we've updated to 8.1.0.b1 running the Core package, the "Migration necessary" notification will not go away, no matter how many times we click the "More Details" button, or the "Start Migration" button on the migration page.  The one site running the Pro package (not on this same server, FWIW) doesn't persistently show it.

For the most part, the sites are all on a combination of PHP 7.4 (because PHP 8 compatibility in the WordPress ecosystem is still a joke) and WordPress 6.3.  There are a couple of outliers here; one site's on WP 5.5 and two sites are surprisingly running on PHP 8.0 (none of the outliers are the site where the notification cleared itself).

nicholas
Akeeba Staff
Manager

Do you have any backup profiles using [DEFAULT_OUTPUT] or a path that ultimately leads to somewhere under wp-content/plugins/akeebabackupwp?

Do you have any backup archives stored in under wp-content/plugins/akeebabackupwp?

If you do, are they still the same after the migration, or have they been moved to be under wp-content/backups?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

mbabker

I went through the UI on the first 5 sites in my list (which includes the one that the message disappeared from), they all have [DEFAULT_OUTPUT] as the output path.

There aren't any backups left under the plugin path inspecting the output from ls -al /home/*/public_html/wp-content/plugins/akeebabackupwp/app/backups/

The output from ls -al /home/*/public_html/wp-content/backups shows the backups that still exist on the server were moved, but a few of the folders have no backups (either we nuked them clearing out old stuff without deleting the backup record in the database or they've been downloaded and moved elsewhere, there are server and platform level backups so not everything has a timely Akeeba backup).

For S&G, I cleared the backup records on one of the sites where there weren't any actual JPAs left on the server, and the notification disappeared there.

nicholas
Akeeba Staff
Manager

I have figured out what is going on. There are backup records which claim the file exists but, in fact, it does not on disk. This discrepancy makes the migration code think there is always something to migrate.

Can you please use the latest dev release and let me know if that works for you?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

mbabker

Installed it, now I have a SQL error on the migration page.

RuntimeException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3 SQL=UPDATE `wp_ak_stats` SET `filesexist` = 0 WHERE `id` IN ()

 

nicholas
Akeeba Staff
Manager

Good catch. Your backup record ID is over 100. Let's try that again: Version 8.1.0.b2-dev202310091743-rev5104f9ca

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

mbabker

Looks like it's cleared up on sites updated to the dev build.

nicholas
Akeeba Staff
Manager

Awesome! I'll publish a new beta2 with this change soon

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!