Support

Akeeba Backup for Joomla!

#35651 Folder create loop error

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
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by on Thursday, 16 September 2021 20:17 CDT

Joris

Hi,

 

I have a joomla 4 and i installed the new Akeeba.
Now i have a little error on top.

 

Joomla\CMS\Filesystem\Folder::create: Oneindige lus geconstateerd

Translation: Infinite loop detected

nicholas
Akeeba Staff
Manager

I believe you are still using 9.0.2. In version 9.0.3 we stopped using the Joomla filesystem API and moved everything back to built-in PHP with a fallback to the Joomla Filesystem API which has this particular bug.

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!

Joris

Hi Nicholas,

 

No to bad, i just downloaded it an hour ago and i went from an 8 version to the 9.0.3.

So maybe having an 8 version on the site could cause it? 

I could delete all akeeba stuff and reinstall.

nicholas
Akeeba Staff
Manager

In 9.0.3 this would only happen if you have unwritable folders i.e. administrator/components/com_akeebabackup/engine is unwritable. In this case we fall back to Joomla's Filesystem API which has a bug that will throw this error. Namely, when it thinks that a folder is missing (most likely because of open_basedir restrictions) it will try to create it. If it cannot create it OR detects that its parent folder is the same as the folder it tries to create it displays the infinite loop error. This is a bug, it's easily preventable, or would have been easily preventable if the core developers had any experience whatsoever dealing with live sites. This bug did not exist in Joomla 3, the error was silently suppressed.

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!

Joris

Hi Nicholas,

 

Great that you answer so fast and thorough :-)

I have check admin tools and my ftp but the engine folder is 755 as it should be right?

 

Just removed all Akeeba backup stuff.

Fully reinstalled and again the issue appeared.

 

Any suggestion?

 

nicholas
Akeeba Staff
Manager

Install the following dev release https://www.akeeba.com/download/developer-releases/akeebabackuppro-dev/rev5cf7b7e.html

This uses the same code we had in Akeeba Backup 8.

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!

nicholas
Akeeba Staff
Manager

I obviously mean the same code we had in Akeeba Backup 8 for generating the encryption key which is what was calling Joomla's broken CMS Filesystem API in Akeeba Backup 9. Note to self, do not trust Joomla with any code which is important to run on a real world site, it's not a given that it will work :(

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!

Joris

Great!!

It works :-)

 

 

 

nicholas
Akeeba Staff
Manager

Awesome! Thank you for the feedback. I was 99.999% certain where the problem was, but it was essentially a blind fix as I cannot reproduce it on any of my servers. Having independent confirmation of the fix is great :)

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!

Joris

Thanks for your fast fix Nicholas!

nicholas
Akeeba Staff
Manager

You're welcome and thank you for the feedback!

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!