Support

Akeeba Backup for Joomla!

#39479 file_fof40 missing and cron job not working

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
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

Joomla! version
4.3.4
PHP version
8.1
Akeeba Backup version
9.7.1

Latest post by nicholas on Tuesday, 26 September 2023 03:52 CDT

brainynl

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 10MiB, please upload it on your server and post a link to it.

Hi, on one of my sites I have an issue with the cronjob on the webserver. This is not working and in the e-mail I get: 

In AkeebaBackup.php line 128:  FOF 3.0 is not installed 

The only difference with a FOF file is that on other websites I see this under extentions

file_fof40

and this is not there on the problem website. 

Is in here the reason that the cron job is not working and is there a way to reinstall this file?

 Best regards, Hein
brainy.nl

nicholas
Akeeba Staff
Manager

Akeeba Backup 9, like all of our Joomla! 4 software, does not use FOF or FEF. The problem is coming from an obsolete plugin from Akeeba Backup 8. Please delete that plugin's folder, then install Akeeba Backup 9's ZIP file twice in a row, without uninstalling it before or in between.

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!

brainynl

Sorry, I get a bit lost. I searched in every folder, but only in de \libraries folder I find a folder \fof40

I deleted that folder and installed pkg_akeebabackup-9.6.1-pro 2 times.

Now the 'One-click Backup' is indeed uploading the file to my Onedrive again. 

But via the cronjob no back-up is taken. Cronjob runs, and e-mail message after the job only includes: 

"In AkeebaBackup.php line 128:

  FOF 3.0 is not installed "

 

Can you tell me more about this messages or about the plugin that I should uninstall?

 Best regards, Hein
brainy.nl

nicholas
Akeeba Staff
Manager

Can you tell me what is the command line you are using in the CRON job?

If it has something like /cli/akeeba-backup.php in it, you are using the wrong CRON job. Remember that since the first release of Akeeba Backup 9 in August 2021 we are using Joomla 4's new CLI application. Go to Components, Akeeba Backup for Joomla!, Schedule Automatic Backups to see the new command line you need to use. Kindly note that this information is also present in the documentation, in the migration chapter.

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!

brainynl

Hi Nicholas, 

I am using these 2 cronjobs;
monthly:
/usr/local/bin/php /home/elslooinfo/domains/elsloo.info/public_html/cli/joomla.php akeeba:backup:take

and
daily:
/usr/local/bin/php /home/elslooinfo/domains/elsloo.info/public_html/cli/joomla.php akeeba:backup:take --profile=3

Both have (suddenly) not been working for several weeks. We are trying figuring out what hase changed, there have only been minor updates.

I have multiple websites and on all of them (also with the same extensions) the cronjob does still work. When updating to J4, I always follow the procedure to modify the cronjob as well.

We just can't figure out why it suddenly went wrong.

 Best regards, Hein
brainy.nl

nicholas
Akeeba Staff
Manager

Good, now we definitely know that the problem is coming from a leftover plugin.

In your Global Configuration set Debug Site to Yes and Error Reporting to Maximum. Then, run the command-line backup again. The error message should tell you which plugin is that as the error will now have a full path to the file which reports the error.

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!

brainynl

Hi, 

It took a while until the website was free to disable the RSfirewall otherwise debug didn't work at all.

But with debug on + maximum I see all sorts of lines from other plugins but nothing from Akeeba or the backup. Also the mail stil shows only In AkeebaBackup.php line 128: FOF 3.0 is not installed 

 

Should I run the command line within Joomla or webserver side (as the normal cron job)?

 Best regards, Hein
brainy.nl

nicholas
Akeeba Staff
Manager

Try deleting the folder plugins/console/akeebabackup and, if it exists, plugins/console/akeeba. Then install the latest Akeeba Backup 9 package twice in a row, without uninstalling it before or in between.

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!

brainynl

It took a while, because I had to plan this via a staging environment.

 

It turned out that the culprit was a leftover Akeeba plugin. When I uninstalled it manually and installed akeeba 2x, everything was solved. Cron job on the server are running again. 

 

X        PLG_CONSOLE_AKEEBABACKUP        Website        Plugin        7.5.0.1

 

So you can close this ticket after reading ;)

 Best regards, Hein
brainy.nl

nicholas
Akeeba Staff
Manager

Ah, you had installed a version of our software which was available for one hour before I recalled it. Okay, that makes sense :)

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!

brainynl
Someone has to be the lucky one 32.png
 
That explains why we only suffer from it at 1 website, even though we have some identical installations.
 Best regards, Hein
brainy.nl

nicholas
Akeeba Staff
Manager

Yup! Most of those old installations were something we caught about 2 years ago when people were migrating from Joomla 3 to 4. Now we have the second wave so it's a bit like Groundhog Day in our support these days 😆

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!