Maximum execution time exceeded when updating

When trying to update from 6.5 to 6.6 I get this error:
PHP Fatal error: Maximum execution time of 300 seconds exceeded in phar:///Users/magnus/Sites/bytadiskbank/public/shopware-installer.phar.php/vendor/composer/class-map-generator/src/PhpFileParser.php on line 35

But in the php.ini (PHP 8.2) file I have set the time to 30000 (also confirmed when checking with „phpinfo()“.

Why is it so? Anyway to force the Shopware installer to use more time? Where does the „300“ comes from?

System: MacOS with Apache and PHP installed with Homebrew.

We had this discussion in the German forum. You might find it via the search.

You have to remove the 300 second limit from the phar file.

Thanks @Max_Shop
I could not find the Germany thread, but took a look inside shopware-installer.phar.php.

Changed the relevant instances of „300“ to „3000“. Started the installation, but now I get another error:

Uncaught PharException: phar "/Users/magnus/Sites/bytadiskbank/public/shopware-installer.phar.php" SHA1 signature could not be verified: broken signature in

Anyway to not mess up the SHA1 signature? I used my code editor (Nova) to edit the file.

/ Magnus

Sorry, that was my mistake :grimacing:

You have to clone the Shopware repository, edit the source and then create the phar.

Alright. I will try this :grimacing: (wish me luck!)
Do you know if this is a bug (that will be fixed) or is it a „feature“?

I would not call your Mac a bug, maybe slightly outdated? :stuck_out_tongue_winking_eye:

On my 1 Euro/month VPS the installer needs about 30 to 60 seconds to install Shopware.
So I guess it is either your setup up on the Mac or your internet connection that slows down the installation.

:joy:
It must be my Internet connection (only 5G).
May I ask which service (VPS) you are using?

It’s only for testing, not for production.

Dieses Thema wurde automatisch 30 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.