PrestaShop icon indicating copy to clipboard operation
PrestaShop copied to clipboard

Cannot install Prestashop 8.1.3 on Windows

Open musaffarpatel opened this issue 2 years ago • 53 comments

Prerequisites

Describe the bug and add attachments

When attempting to install a fresh copy of Prestashop 8.1.3 (downloaded from Prestashop.com) the attached error occurs:

screenshot

Also attaching the error log which I hope is helpful.

Please advise

Expected behavior

No response

Steps to reproduce

Download Prestashop 8.1.3 from Prestashop.com Install on Windows

PrestaShop version(s) where the bug happened

8.1.3

PHP version(s) where the bug happened

8.1.8

If your bug is related to a module, specify its name and its version

No response

Your company or customer's name goes here (if applicable).

No response

musaffarpatel avatar Jan 13 '24 21:01 musaffarpatel

I am getting the same error. It's impossible to install 8.1.3/develop on Windows. It works using CLI only.

Hlavtox avatar Jan 15 '24 06:01 Hlavtox

@Hlavtox, have you checked the logs? I'm not sure what could possibly happen between 8.1.2 and 8.1.3, so that it is no longer possible to install 🤔

@musaffarpatel I encourage you to discover the possibility of using Docker or WSL on Windows in order to use PrestaShop better on Windows :)

kpodemski avatar Jan 15 '24 10:01 kpodemski

@kpodemski Yeah, something with clearing symfony cache, tried many times. :(

Hlavtox avatar Jan 15 '24 12:01 Hlavtox

The problem occurs when the system tries to clear the cache, more specifically when it tries to copy the file var\cache\prod\appAppKernelProdContainer.php.cache_clear.lock. In fact, when performing an installation with active debugging, if I delete the file in question before the system tries to copy it, the error does not appear and the installation ends correctly.

The strange thing is that this error also occurs with version 8.1.2 but here the installation continues without problems.

Codencode avatar Jan 15 '24 14:01 Codencode

@Hlavtox, have you checked the logs? I'm not sure what could possibly happen between 8.1.2 and 8.1.3, so that it is no longer possible to install 🤔

@musaffarpatel I encourage you to discover the possibility of using Docker or WSL on Windows in order to use PrestaShop better on Windows :)

I found what changed between versions 8.1.2 and 8.1.3.

In version 8.1.3 the src/Adapter/Cache/Clearer/SymfonyCacheClearer.php file has been updated

PS 8.1.2

final class SymfonyCacheClearer implements CacheClearerInterface
{
    /**
     * {@inheritdoc}
     */
    public function clear()
    {
        /* @var AppKernel */
        global $kernel;
        if (!$kernel) {
            return;
        }

        $cacheClearLocked = $kernel->locksCacheClear();
        if (false === $cacheClearLocked) {
            // The lock was not possible for some reason we should exit
            return;
        }

        // If we reach here it means the clear lock file is locked, we register a shutdown function that will clear the cache once
        // the current process is over.
        register_shutdown_function(function () use ($kernel) {
            $cacheDir = $kernel->getCacheDir();
            if (!file_exists($cacheDir)) {
                return;
            }

            $application = new Application($kernel);
            $application->setAutoExit(false);

            // Clear cache
            $input = new ArrayInput([
                'command' => 'cache:clear',
                '--no-optional-warmers' => true,
                '--env' => $kernel->getEnvironment(),
            ]);

            $output = new NullOutput();
            $application->run($input, $output);

            Hook::exec('actionClearSf2Cache');
        });

        // Unlock is registered in another separate function to make sure it will be called no matter what
        register_shutdown_function(function () use ($kernel) {
            $kernel->unlocksCacheClear();
        });
    }
}

PS 8.1.3

final class SymfonyCacheClearer implements CacheClearerInterface
{
    /**
     * {@inheritdoc}
     */
    public function clear()
    {
        /* @var AppKernel */
        global $kernel;
        if (!$kernel) {
            return;
        }

        $cacheClearLocked = $kernel->locksCacheClear();
        if (false === $cacheClearLocked) {
            // The lock was not possible for some reason we should exit
            return;
        }

        // If we reach here it means the clear lock file is locked, we register a shutdown function that will clear the cache once
        // the current process is over.
        register_shutdown_function(function () use ($kernel) {
            try {
                $cacheDir = $kernel->getCacheDir();
                if (!file_exists($cacheDir)) {
                    $kernel->unlocksCacheClear();

                    return;
                }

                $environments = ['prod', 'dev'];
                foreach ($environments as $environment) {
                    try {
                        $application = new Application($kernel);
                        $application->setAutoExit(false);

                        // Clear cache without warmup to be fast
                        $input = new ArrayInput([
                            'command' => 'cache:clear',
                            '--no-warmup' => true,
                            '--env' => $environment,
                        ]);

                        $output = new NullOutput();
                        $application->doRun($input, $output);
                    } catch (Exception $e) {
                        // Do nothing but at least does not break the loop nor function
                    }
                }

                // Warmup prod environment only (not needed for dev since many things are dynamic)
                $application = new Application($kernel);
                $application->setAutoExit(false);
                $input = new ArrayInput([
                    'command' => 'cache:warmup',
                    '--no-optional-warmers' => true,
                    '--env' => 'prod',
                    '--no-debug' => true,
                ]);

                $output = new NullOutput();
                $application->doRun($input, $output);
            } finally {
                Hook::exec('actionClearSf2Cache');
                $kernel->unlocksCacheClear();
            }
        });
    }
}

If in version 8.1.3 I replace this file with that of version 8.1.2 the installation is successful.

Codencode avatar Jan 15 '24 15:01 Codencode

Maybe I understood the cause of the problem.

As already mentioned, the src/Adapter/Cache/Clearer/SymfonyCacheClearer.php file has been modified in which the execution of the cache:warmup command has been added. However, during execution, since the cache:warmup command is executed after the cache:clear command, cache:warmup is not found and therefore the system throws an exception which blocks the installation. By reversing the execution of the commands the installation runs without problems.

@Hlavtox @kpodemski do you think my reasoning works?

Codencode avatar Jan 15 '24 16:01 Codencode

The error still persists. Apparently the merge has not been accepted.

Olakouns avatar Jan 17 '24 11:01 Olakouns

Just edited the kernel function getContainerClearCacheLockPath on AppKernel.php to test if I was right:

    protected function getContainerClearCacheLockPath(): string
    {
        $class = $this->getContainerClass();
        $cacheDir = sys_get_temp_dir();//$this->getCacheDir();

        return sprintf('%s/%s.php.cache_clear.lock', $cacheDir, $class);
    }

So if we change $cacheDir to outside cache folder installation works.

Hi @ChillCode, I did some tests and your solution works both during installation and when clearing the cache in admin!

Good job.

I had proposed a solution which however has some problems, I think yours is good.

Do you create a PR or do I update mine?

Thank you.

Codencode avatar Jan 17 '24 14:01 Codencode

Just edited the kernel function getContainerClearCacheLockPath on AppKernel.php to test if I was right:

    protected function getContainerClearCacheLockPath(): string
    {
        $class = $this->getContainerClass();
        $cacheDir = sys_get_temp_dir();//$this->getCacheDir();

        return sprintf('%s/%s.php.cache_clear.lock', $cacheDir, $class);
    }

So if we change $cacheDir to outside cache folder installation works.

Works fine for me also.

Prestaworks avatar Jan 23 '24 11:01 Prestaworks

Nice it solved your issues, but also to mention that when I said

not sure it's the best solution

i was thinking of sys_get_temp_dir() result that I know can break other distros since you can hide/hack it, but for Windows should work.

Yes, in fact in the pull request https://github.com/PrestaShop/PrestaShop/pull/35052#issuecomment-1896073944 I submitted this solution and I am waiting for opinions to understand if it is good or not.

Codencode avatar Jan 24 '24 11:01 Codencode

Just edited the kernel function getContainerClearCacheLockPath on AppKernel.php to test if I was right:

    protected function getContainerClearCacheLockPath(): string
    {
        $class = $this->getContainerClass();
        $cacheDir = sys_get_temp_dir();//$this->getCacheDir();

        return sprintf('%s/%s.php.cache_clear.lock', $cacheDir, $class);
    }

So if we change $cacheDir to outside cache folder installation works.

This fixes the installation problem. However, after the install I had to revert to the original code otherwise I get errors related to problems renaming cache files in the back office after installing a module.

musaffarpatel avatar Jan 28 '24 18:01 musaffarpatel

Maybe the best solution is that the installer does not use cache at all?

Prestaworks avatar Jan 29 '24 07:01 Prestaworks

@Prestaworks The problem also happens during regular cache clean sometimes. It must be fixed.

Hlavtox avatar Jan 29 '24 08:01 Hlavtox

During the installation phase we could prevent the cache:warmup command from being executed which is what generates the problem.

The change to be made would be as follows:

if (!defined('PS_INSTALLATION_IN_PROGRESS')) { // The warmup should not be run during installation
    // Warmup prod environment only (not needed for dev since many things are dynamic)
    $application = new Application($kernel);
    $application->setAutoExit(false);
    $input = new ArrayInput([
        'command' => 'cache:warmup',
        '--no-optional-warmers' => true,
        '--env' => 'prod',
        '--no-debug' => true,
    ]);

    $output = new NullOutput();
    $application->doRun($input, $output);
}

I know it's not the best solution, but it would solve the installation problem on Windows.

Codencode avatar Jan 29 '24 11:01 Codencode

@Hlavtox, have you checked the logs? I'm not sure what could possibly happen between 8.1.2 and 8.1.3, so that it is no longer possible to install 🤔 @musaffarpatel I encourage you to discover the possibility of using Docker or WSL on Windows in order to use PrestaShop better on Windows :)

I found what changed between versions 8.1.2 and 8.1.3.

In version 8.1.3 the src/Adapter/Cache/Clearer/SymfonyCacheClearer.php file has been updated

PS 8.1.2

final class SymfonyCacheClearer implements CacheClearerInterface
{
    /**
     * {@inheritdoc}
     */
    public function clear()
    {
        /* @var AppKernel */
        global $kernel;
        if (!$kernel) {
            return;
        }

        $cacheClearLocked = $kernel->locksCacheClear();
        if (false === $cacheClearLocked) {
            // The lock was not possible for some reason we should exit
            return;
        }

        // If we reach here it means the clear lock file is locked, we register a shutdown function that will clear the cache once
        // the current process is over.
        register_shutdown_function(function () use ($kernel) {
            $cacheDir = $kernel->getCacheDir();
            if (!file_exists($cacheDir)) {
                return;
            }

            $application = new Application($kernel);
            $application->setAutoExit(false);

            // Clear cache
            $input = new ArrayInput([
                'command' => 'cache:clear',
                '--no-optional-warmers' => true,
                '--env' => $kernel->getEnvironment(),
            ]);

            $output = new NullOutput();
            $application->run($input, $output);

            Hook::exec('actionClearSf2Cache');
        });

        // Unlock is registered in another separate function to make sure it will be called no matter what
        register_shutdown_function(function () use ($kernel) {
            $kernel->unlocksCacheClear();
        });
    }
}

PS 8.1.3

final class SymfonyCacheClearer implements CacheClearerInterface
{
    /**
     * {@inheritdoc}
     */
    public function clear()
    {
        /* @var AppKernel */
        global $kernel;
        if (!$kernel) {
            return;
        }

        $cacheClearLocked = $kernel->locksCacheClear();
        if (false === $cacheClearLocked) {
            // The lock was not possible for some reason we should exit
            return;
        }

        // If we reach here it means the clear lock file is locked, we register a shutdown function that will clear the cache once
        // the current process is over.
        register_shutdown_function(function () use ($kernel) {
            try {
                $cacheDir = $kernel->getCacheDir();
                if (!file_exists($cacheDir)) {
                    $kernel->unlocksCacheClear();

                    return;
                }

                $environments = ['prod', 'dev'];
                foreach ($environments as $environment) {
                    try {
                        $application = new Application($kernel);
                        $application->setAutoExit(false);

                        // Clear cache without warmup to be fast
                        $input = new ArrayInput([
                            'command' => 'cache:clear',
                            '--no-warmup' => true,
                            '--env' => $environment,
                        ]);

                        $output = new NullOutput();
                        $application->doRun($input, $output);
                    } catch (Exception $e) {
                        // Do nothing but at least does not break the loop nor function
                    }
                }

                // Warmup prod environment only (not needed for dev since many things are dynamic)
                $application = new Application($kernel);
                $application->setAutoExit(false);
                $input = new ArrayInput([
                    'command' => 'cache:warmup',
                    '--no-optional-warmers' => true,
                    '--env' => 'prod',
                    '--no-debug' => true,
                ]);

                $output = new NullOutput();
                $application->doRun($input, $output);
            } finally {
                Hook::exec('actionClearSf2Cache');
                $kernel->unlocksCacheClear();
            }
        });
    }
}

If in version 8.1.3 I replace this file with that of version 8.1.2 the installation is successful.

this works for me... Windows 10.. xampp php 8.1, PS 8.1.4 i replace the function after unzip, before launch installer

aslays avatar Mar 16 '24 01:03 aslays

Any chance to fix this? I can provide an error log from PS 8.1.5 installed on linux and moved to windows, where it throws all kinds of errors on php 8.1.27. These are log's entries created during module installation:

PHP Notice: stream_copy_to_stream(): Read of 8192 bytes failed with errno=13 Permission denied in C:\wamp64\www\myapp\vendor\symfony\symfony\src\Symfony\Component\Filesystem\Filesystem.php on line 66

PHP Warning: filemtime(): stat failed for C:\wamp64\www\myapp\var\cache\prod\ContainerHpr0Fwe\appAppKernelProdContainer.php in C:\wamp64\www\myapp\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand.php on line 109

then it looks like it tries to access cache files that were already cleared (?)

PHP Warning: require(C:\wamp64\www\myapp\var\cache\prod\ContainerHpr0Fwe\getConsole_Command_CacheWarmupService.php): Failed to open stream: No such file or directory in C:\wamp64\www\myapp\var\cache\prod\ContainerHpr0Fwe\appAppKernelProdContainer.php on line 2256

PHP Warning: require(C:\wamp64\www\myapp\var\cache\prod\ContainerHpr0Fwe\getConsole_ErrorListenerService.php): Failed to open stream: No such file or directory in C:\wamp64\www\myapp\var\cache\prod\ContainerHpr0Fwe\appAppKernelProdContainer.php on line 2256

PHP Fatal error: Uncaught Error: Failed opening required 'C:\wamp64\www\myapp\var\cache\prod\ContainerHpr0Fwe\getConsole_ErrorListenerService.php' (include_path='C:\wamp64\www\myapp\vendor/pear/pear_exception;C:\wamp64\www\myapp\vendor/pear/console_getopt;C:\wamp64\www\myapp\vendor/pear/pear-core-minimal/src;C:\wamp64\www\myapp\vendor/pear/archive_tar;.;C:\php\pear') in C:\wamp64\www\myapp\var\cache\prod\ContainerHpr0Fwe\appAppKernelProdContainer.php:2256

Maybe this solution could help: https://github.com/rectorphp/rector-src/pull/5514

SharakPL avatar Mar 29 '24 22:03 SharakPL

I found what changed between versions 8.1.2 and 8.1.3.

In version 8.1.3 the src/Adapter/Cache/Clearer/SymfonyCacheClearer.php file has been updated

PS 8.1.2

final class SymfonyCacheClearer implements CacheClearerInterface
{
    /**
     * {@inheritdoc}
     */
    public function clear()
    {
        /* @var AppKernel */
        global $kernel;
        if (!$kernel) {
            return;
        }

        $cacheClearLocked = $kernel->locksCacheClear();
        if (false === $cacheClearLocked) {
            // The lock was not possible for some reason we should exit
            return;
        }

        // If we reach here it means the clear lock file is locked, we register a shutdown function that will clear the cache once
        // the current process is over.
        register_shutdown_function(function () use ($kernel) {
            $cacheDir = $kernel->getCacheDir();
            if (!file_exists($cacheDir)) {
                return;
            }

            $application = new Application($kernel);
            $application->setAutoExit(false);

            // Clear cache
            $input = new ArrayInput([
                'command' => 'cache:clear',
                '--no-optional-warmers' => true,
                '--env' => $kernel->getEnvironment(),
            ]);

            $output = new NullOutput();
            $application->run($input, $output);

            Hook::exec('actionClearSf2Cache');
        });

        // Unlock is registered in another separate function to make sure it will be called no matter what
        register_shutdown_function(function () use ($kernel) {
            $kernel->unlocksCacheClear();
        });
    }
}

PS 8.1.3

final class SymfonyCacheClearer implements CacheClearerInterface
{
    /**
     * {@inheritdoc}
     */
    public function clear()
    {
        /* @var AppKernel */
        global $kernel;
        if (!$kernel) {
            return;
        }

        $cacheClearLocked = $kernel->locksCacheClear();
        if (false === $cacheClearLocked) {
            // The lock was not possible for some reason we should exit
            return;
        }

        // If we reach here it means the clear lock file is locked, we register a shutdown function that will clear the cache once
        // the current process is over.
        register_shutdown_function(function () use ($kernel) {
            try {
                $cacheDir = $kernel->getCacheDir();
                if (!file_exists($cacheDir)) {
                    $kernel->unlocksCacheClear();

                    return;
                }

                $environments = ['prod', 'dev'];
                foreach ($environments as $environment) {
                    try {
                        $application = new Application($kernel);
                        $application->setAutoExit(false);

                        // Clear cache without warmup to be fast
                        $input = new ArrayInput([
                            'command' => 'cache:clear',
                            '--no-warmup' => true,
                            '--env' => $environment,
                        ]);

                        $output = new NullOutput();
                        $application->doRun($input, $output);
                    } catch (Exception $e) {
                        // Do nothing but at least does not break the loop nor function
                    }
                }

                // Warmup prod environment only (not needed for dev since many things are dynamic)
                $application = new Application($kernel);
                $application->setAutoExit(false);
                $input = new ArrayInput([
                    'command' => 'cache:warmup',
                    '--no-optional-warmers' => true,
                    '--env' => 'prod',
                    '--no-debug' => true,
                ]);

                $output = new NullOutput();
                $application->doRun($input, $output);
            } finally {
                Hook::exec('actionClearSf2Cache');
                $kernel->unlocksCacheClear();
            }
        });
    }
}

If in version 8.1.3 I replace this file with that of version 8.1.2 the installation is successful.

Only this solution works for me. Windows 10, XAMPP, PHP 8.2.4

SzymCode avatar Apr 10 '24 14:04 SzymCode

@aslays, @SharakPL, @SzymCode have you tried this solution https://github.com/PrestaShop/PrestaShop/pull/35052?

Codencode avatar Apr 10 '24 14:04 Codencode

Yes, but still couldn't install 😞

SharakPL avatar Apr 10 '24 16:04 SharakPL

Yes, but still couldn't install

So with this instruction it still doesn't work?

$cacheDir = sys_get_temp_dir();

Codencode avatar Apr 10 '24 17:04 Codencode

@aslays, @SharakPL, @SzymCode have you tried this solution #35052?

Changes in app/Kernel.php

$cacheDir = sys_get_temp_dir();

I tried it now and that also solved the problem

https://github.com/PrestaShop/PrestaShop/assets/107359025/2893335e-2018-4a21-bace-8c38f0b6ba3e

Prestashop 8.1.5

SzymCode avatar Apr 10 '24 23:04 SzymCode

$cacheDir = sys_get_temp_dir();

This also resolves the install problem for me, however I did have to revert the change after Install as it was causing errors after the shop had been installed. Not sure if this is happening for others as well.

musaffarpatel avatar Apr 11 '24 00:04 musaffarpatel

$cacheDir = sys_get_temp_dir();

This also resolves the install problem for me, however I did have to revert the change after Install as it was causing errors after the shop had been installed. Not sure if this is happening for others as well.

My store and admin panel work for me after this step, of course you have to delete the "install" folder and rename the "admin" folder, but I don't think this is the source of the problem

SzymCode avatar Apr 11 '24 14:04 SzymCode

Yes, but still couldn't install

So with this instruction it still doesn't work?

$cacheDir = sys_get_temp_dir();

Yes, it still doesn't work. It throws an error 500 on setting default shop and languages step. PS 8.1.5, PHP 8.1.27, MySQL 8.3.0

@SzymCode I see you're using a prestashop.com version. Can you try this one? https://github.com/PrestaShop/PrestaShop/releases/tag/8.1.5

SharakPL avatar Apr 23 '24 15:04 SharakPL

It has been fixed on develop as a byproduct of some other change.

Windows 11, latest XAMPP with PHP 8.2 and develop branch - installed just fine. 👍

I don't think it's worth it to waste time on this anymore guys.

Hlavtox avatar Apr 25 '24 11:04 Hlavtox

It has been fixed on develop as a byproduct of some other change.

Windows 11, latest XAMPP with PHP 8.2 and develop branch - installed just fine. 👍

I don't think it's worth it to waste time on this anymore guys.

Problem still remains on 8.1.5

image

piotrmerton avatar May 06 '24 08:05 piotrmerton

@piotrmerton develop branch

Hlavtox avatar May 06 '24 08:05 Hlavtox

Is there any update on this? The latest released version (8.15) still CANNOT be installed on windows despite the bug having been reported a few versions earlier, one expects to be able to use the official version downloaded from the official website...

matteolavaggi avatar May 06 '24 10:05 matteolavaggi

@matteolavaggi I'm sorry but you normally don't run PrestaShop on Windows using some fake environment pretending to be a real server, while I agree it's inconvenient, there are other ways to use PrestaShop on Windows like WSL2 or Docker.

If somebody from the community is motivated to continue on the subject and provide a valid fix that works not only in the installer but also later when a user clears the cache, such a contribution would definitely be welcomed

kpodemski avatar May 08 '24 11:05 kpodemski

I'm having this problem on linux with prestashop 8.1.6, can't understand why, maybe the aruba hosting?

I'm leaving the logs if someone is willing to help me.

FIRST TRY

27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "[27-May-2024 00:11:46 Europe/Rome] PHP Warning: filemtime(): stat failed for /web/htdocs/mypath/var/cache/prod/ContainerESVfqis/appAppKernelProdContainer.php in /web/htdocs/mypath/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php on line 109"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "[27-May-2024 00:11:46 Europe/Rome] PHP Warning: require(/web/htdocs/mypath/var/cache/prod/ContainerESVfqis/getConsole_Command_CacheWarmupService.php): Failed to open stream: No such file or directory in /web/htdocs/mypath/var/cache/prod/ContainerESVfqis/appAppKernelProdContainer.php on line 2256"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "[27-May-2024 00:11:46 Europe/Rome] PHP Warning: require(/web/htdocs/mypath/var/cache/prod/ContainerESVfqis/getConsole_Command_CacheWarmupService.php): Failed to open stream: No such file or directory in /web/htdocs/mypath/var/cache/prod/ContainerESVfqis/appAppKernelProdContainer.php on line 2256"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "[27-May-2024 00:11:46 Europe/Rome] PHP Warning: require(/web/htdocs/mypath/var/cache/prod/ContainerESVfqis/getSwiftmailer_EmailSender_ListenerService.php): Failed to open stream: No such file or directory in /web/htdocs/mypath/var/cache/prod/ContainerESVfqis/appAppKernelProdContainer.php on line 2256"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "[27-May-2024 00:11:46 Europe/Rome] PHP Warning: require(/web/htdocs/mypath/var/cache/prod/ContainerESVfqis/getSwiftmailer_EmailSender_ListenerService.php): Failed to open stream: No such file or directory in /web/htdocs/mypath/var/cache/prod/ContainerESVfqis/appAppKernelProdContainer.php on line 2256"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "[27-May-2024 00:11:46 Europe/Rome] PHP Fatal error: Uncaught Error: Failed opening required '/web/htdocs/mypath/var/cache/prod/ContainerESVfqis/getSwiftmailer_EmailSender_ListenerService.php' (include_path='/web/htdocs/mypath/vendor/pear/pear_exception:/web/htdocs/mypath/vendor/pear/console_getopt:/web/htdocs/mypath/vendor/pear/pear-core-minimal/src:/web/htdocs/mypath/vendor/pear/archive_tar:.:/php8.1/lib/php') in /web/htdocs/mypath/var/cache/prod/ContainerESVfqis/appAppKernelProdContainer.php:2256"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "Stack trace:"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "#0 /web/htdocs/mypath/var/cache/prod/ContainerESVfqis/appAppKernelProdContainer.php(2670): ContainerESVfqis\appAppKernelProdContainer->load()"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "#1 /web/htdocs/mypath/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(301): ContainerESVfqis\appAppKernelProdContainer->ContainerESVfqis\{closure}()"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "#2 /web/htdocs/mypath/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(264): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}()"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "#3 /web/htdocs/mypath/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "#4 /web/htdocs/mypath/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "#5 /web/htdocs/mypath/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(242): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "#6 /web/htdocs/mypath/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(83): Symfony\Component\Console\Application->doRun()"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "#7 /web/htdocs/mypath/src/Adapter/Cache/Clearer/SymfonyCacheClearer.php(103): Symfony\Bundle\FrameworkBundle\Console\Application->doRun()"
27/05/2024 00:11:46 	WARNING: [pool mydomain] child 63 said into stderr: "#8 [internal function]: PrestaShop\PrestaShop\Adapter\Cache\Clearer\SymfonyCacheClearer->PrestaShop\PrestaShop\Adapter\Cache\Clearer\{closure}()" 

SECOND TRY

27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "[27-May-2024 00:20:13 Europe/Rome] PHP Warning: filemtime(): stat failed for /web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/appAppKernelProdContainer.php in /web/htdocs/mypath/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php on line 109"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "[27-May-2024 00:20:13 Europe/Rome] PHP Warning: require(/web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/getThemeEnablerCommandService.php): Failed to open stream: No such file or directory in /web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/appAppKernelProdContainer.php on line 2256"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "[27-May-2024 00:20:13 Europe/Rome] PHP Warning: require(/web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/getThemeEnablerCommandService.php): Failed to open stream: No such file or directory in /web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/appAppKernelProdContainer.php on line 2256"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "[27-May-2024 00:20:13 Europe/Rome] PHP Warning: require(/web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/getConsole_Command_CacheWarmupService.php): Failed to open stream: No such file or directory in /web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/appAppKernelProdContainer.php on line 2256"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "[27-May-2024 00:20:13 Europe/Rome] PHP Warning: require(/web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/getConsole_Command_CacheWarmupService.php): Failed to open stream: No such file or directory in /web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/appAppKernelProdContainer.php on line 2256"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "[27-May-2024 00:20:13 Europe/Rome] PHP Warning: require(/web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/getSwiftmailer_EmailSender_ListenerService.php): Failed to open stream: No such file or directory in /web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/appAppKernelProdContainer.php on line 2256"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "[27-May-2024 00:20:13 Europe/Rome] PHP Warning: require(/web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/getSwiftmailer_EmailSender_ListenerService.php): Failed to open stream: No such file or directory in /web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/appAppKernelProdContainer.php on line 2256"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "[27-May-2024 00:20:13 Europe/Rome] PHP Fatal error: Uncaught Error: Failed opening required '/web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/getSwiftmailer_EmailSender_ListenerService.php' (include_path='/web/htdocs/mypath/vendor/pear/pear_exception:/web/htdocs/mypath/vendor/pear/console_getopt:/web/htdocs/mypath/vendor/pear/pear-core-minimal/src:/web/htdocs/mypath/vendor/pear/archive_tar:.:/php8.1/lib/php') in /web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/appAppKernelProdContainer.php:2256"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "Stack trace:"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "#0 /web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/appAppKernelProdContainer.php(2670): ContainerZLmtFjX\appAppKernelProdContainer->load()"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "#1 /web/htdocs/mypath/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(301): ContainerZLmtFjX\appAppKernelProdContainer->ContainerZLmtFjX\{closure}()"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "#2 /web/htdocs/mypath/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(264): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}()"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "#3 /web/htdocs/mypath/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "#4 /web/htdocs/mypath/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "#5 /web/htdocs/mypath/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(242): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "#6 /web/htdocs/mypath/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(83): Symfony\Component\Console\Application->doRun()"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "#7 /web/htdocs/mypath/src/Adapter/Cache/Clearer/SymfonyCacheClearer.php(103): Symfony\Bundle\FrameworkBundle\Console\Application->doRun()"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "#8 [internal function]: PrestaShop\PrestaShop\Adapter\Cache\Clearer\SymfonyCacheClearer->PrestaShop\PrestaShop\Adapter\Cache\Clearer\{closure}()"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: "#9 {main}"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 81 said into stderr: " thrown in /web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/appAppKernelProdContainer.php on line 2256"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 80 said into stderr: "[27-May-2024 00:20:13 Europe/Rome] PHP Warning: require(/web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/getPrestashop_Translation_TranslatorLanguageLoaderService.php): Failed to open stream: No such file or directory in /web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/appAppKernelProdContainer.php on line 2256"
27/05/2024 00:20:13 	WARNING: [pool mydomain] child 80 said into stderr: "[27-May-2024 00:20:13 Europe/Rome] PHP Warning: require(/web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/getPrestashop_Translation_TranslatorLanguageLoaderService.php): Failed to open stream: No such file or directory in /web/htdocs/mypath/var/cache/prod/ContainerZLmtFjX/appAppKernelProdContainer.php on line 2256" 

Zudjo avatar May 26 '24 22:05 Zudjo