Support

Akeeba Backup for Joomla!

#42094 Installation not strting

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.4.13
PHP version
8.2.28
Akeeba Backup version
10.0.3

Latest post by nicholas on Tuesday, 08 July 2025 10:58 CDT

retoturnverein

Hi,

I setup a Docker container with Joomla 4.4.13 as I intend to test the upgrade to Joomla version 5.

Then I copied the backup files of my productive site to my Docker web root as well as kickstart.php

Then I restored the backup successfully with kickstart. Going further with installing it stuck at "Initializing", what colt be the problem here?

Kind regards,

Reto

nicholas
Akeeba Staff
Manager

I have a feeling this problem may be down to your Docker configuration. Here's what I tried.

First, I created a Joomla 4.4 installation following the Docker Composer instructions in https://hub.docker.com/_/joomla/ i.e. creating the following compose.yaml file (note the image I am using):

services:
  joomla:
    image: joomla:4-php8.1-apache
    restart: always
    ports:
      - 9898:80
    environment:
      JOOMLA_DB_HOST: db
      JOOMLA_DB_USER: joomla
      JOOMLA_DB_PASSWORD: 2Yypqqv4a3V5DGShCYJfP8DvRbVqQgqd
      JOOMLA_DB_NAME: joomla_db
      JOOMLA_SITE_NAME: Joomla
      JOOMLA_ADMIN_USER: Super Duper
      JOOMLA_ADMIN_USERNAME: admin
      JOOMLA_ADMIN_PASSWORD: CAv6yeycY9VtxA53s9XhbyDz3mABq7sp
      JOOMLA_ADMIN_EMAIL: [email protected]
    volumes:
      - joomla4_data:/var/www/html
    networks:
      - joomla4_network

  db:
    image: mysql:8.0
    restart: always
    environment:
      MYSQL_DATABASE: joomla_db
      MYSQL_USER: joomla
      MYSQL_PASSWORD: 2Yypqqv4a3V5DGShCYJfP8DvRbVqQgqd
      MYSQL_RANDOM_ROOT_PASSWORD: '1'
    volumes:
      - joomla4_db:/var/lib/mysql
    networks:
      - joomla4_network

volumes:
  joomla4_data:
  joomla4_db:

networks:
  joomla4_network:

I started this up with docker compose up.

Since we have a Docker volume, we have to use docker cp to copy files into it. I opened a terminal window and run the following (note that ab15c60446078f470f019010b0a0346834a6d90d68387726c63aeb446014aaad is the ID of the Joomla container created when I ran docker compose up):

cd /path/to/my/local/directory
docker cp site.jpa ab15c60446078f470f019010b0a0346834a6d90d68387726c63aeb446014aaad:/var/www/html/site.jpa
docker cp kickstart.php ab15c60446078f470f019010b0a0346834a6d90d68387726c63aeb446014aaad:/var/www/html/kickstart.php

I then accessed http://localhost:9898/kickstart.php and proceeded to extract the backup and finish the restoration. I had no trouble with the installer.

The problem with the installed getting stuck, however, reminds me of something that was a problem in version 10.0.2 but fixed in 10.0.3. So, I am wondering. Could it be Joomla not fully updating the extension? In the meantime, we have version 10.0.4.

So, let's try this. Install 10.0.4 twice in a row, without uninstalling it before or in between. Take a new backup of your site, and try restoring that into your Docker setup. If that works, the problem was a half-updated Akeeba Backup; it's rare, but it happens. If that didn't work, the problem is with your Docker configuration. Most likely you are using a mount instead of a volume, and the permissions on the mount don't allow PHP to create new files / directories – or at least installation/tmp is unwritable. This would cause the restoration script to freeze as it can't move forward without a writeable storage space (a file in the installation/tmp directory) for its session.

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!

retoturnverein

After Install 10.0.4 twice in a row, backup and restore, it worked.

The site came up, was able to login to the backend as well. But ended up in a weird situation. As soon as I want to display an article I face an 404 error.

Beitrag nicht gefunden .../components/com_content/src/Model/ArticleModel.php:218
213                 $db->setQuery($query);
214 
215                 $data = $db->loadObject();
216 
217                 if (empty($data)) {
218                     throw new \Exception(Text::_('COM_CONTENT_ERROR_ARTICLE_NOT_FOUND'), 404);
219                 }
220 
221                 // Check for published state if filter set.
222                 if ((is_numeric($published) || is_numeric($archived)) && ($data->state != $published && $data->state != $archived)) {
223                     throw new \Exception(Text::_('COM_CONTENT_ERROR_ARTICLE_NOT_FOUND'), 404);
Joomla\Component\Content\Site\Model\ArticleModel->getItem() Joomla\CMS\MVC\View\AbstractView->get() Joomla\Component\Content\Site\View\Article\HtmlView->display() Joomla\CMS\Cache\Controller\ViewController->get() Joomla\CMS\MVC\Controller\BaseController->display() Joomla\Component\Content\Site\Controller\DisplayController->display() Joomla\CMS\MVC\Controller\BaseController->execute() Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() Joomla\Component\Content\Site\Dispatcher\Dispatcher->dispatch() Joomla\CMS\Component\ComponentHelper::renderComponent() Joomla\CMS\Application\SiteApplication->dispatch() Joomla\CMS\Application\SiteApplication->doExecute() Joomla\CMS\Application\CMSApplication->execute() require_once()     I checkt access rights on the filesystem and database codepage and collation. Didn't found the root cause so far. But maybe not related to the restore. If you have anyway an idea where to look at I'm glad to hear because I'm a bit confused now.   Reto

nicholas
Akeeba Staff
Manager

The error says "Article not found". This means that Joomla cannot find the article in the database. Can you log into the backend of the site and make sure the menu item is set up correctly, and that the article you are trying to access exists, and has the right access level?

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!

retoturnverein

Yes I know, but I restored a working site and there are no non-working articles. During Kickstart and Installation there wasn't an error displayed, all went smooth. Meanwhile I tried different database versions (mysql 8 and mariadb 11) have done database dumps and restore, checked filesystem access rights, but always the same error message as soon as I want to display something. The main site is showing correctly, front- and backend. I guess it must be something very general, an incompatibility of something.

But I fear that's beyond your support for Akeeba and obviously not a result of your software.

nicholas
Akeeba Staff
Manager

Hm, how about replacing the contents of the .htaccess file with those of the htaccess.txt file that comes with Joomla?

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!