Jump to content

[SOLVED] Endless loops after updates (> 5.0.1)


snck
 Share

Recommended Posts

Hello everyone,

Unfortunately, I have been having problems with “endless loops” for several versions (>=5.2.0), which obviously always occur after the update when the migration routines run.

I have now observed this on two different websites. The starting point and procedure was similar for both:

Prerequisites:

  • ProcessWire 3.0.229
  • Local development with DDEV
  • Github repository with main and dev branch
  • Integration of RockMigrations as Git submodules
  • Automatic deployment via Github Actions and RockMigrations

Procedure:

  • Update the RockMigration version from <5.2.0 to a more recent one (5.5.0 or 6.0.1)
  • Push the respective branch to Github, then automatic deployment via Github Actions

Problem description:

  • Deployment runs without error messages or similar.
  • Website is accessible (until login attempt).
  • On login attempt timeouts and various error messages (see below)
  • Various entries in modules.txt (see below)
  • Website can no longer be accessed (timeouts and exceptions)

A downgrade to RockMigrations 5.0.1 has so far resulted in the pages working reliably again in all cases. 

errors.txt:

2024-11-27 16:11:25	?	https://production.example.com/processwire/	Schwerwiegender Fehler:  Maximum execution time of 120 seconds exceeded (Zeile 255 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesConfigs.php)
2024-11-27 16:12:52	?	https://production.example.com/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 117 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesFiles.php)
2024-11-27 16:13:52	?	https://production.example.com/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 311 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesInfo.php)
2024-11-27 16:14:26	?	https://production.example.com/processwire/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 1660 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/WireFileTools.php)
2024-11-27 16:15:49	?	https://production.example.com/processwire/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 334 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/WireData.php)
2024-11-27 16:16:25	?	https://production.example.com/wir/impressum/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 191 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesFiles.php)
2024-11-27 16:16:59	?	https://production.example.com/fokus/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 191 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesFiles.php)
2024-11-27 16:19:39	?	https://production.example.com/processwire/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 255 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesConfigs.php)
2024-11-27 16:20:13	?	https://production.example.com/processwire/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 588 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesFiles.php)
2024-11-27 16:22:38	?	https://production.example.com/processwire/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 191 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesFiles.php)
2024-11-27 16:23:54	?	https://production.example.com/processwire/page/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 191 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesFiles.php)
2024-11-27 16:25:16	?	https://production.example.com/museum/ausstellungen/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 191 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesFiles.php)
2024-11-27 16:28:52	?	https://production.example.com/museum/ausstellungen/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 255 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesConfigs.php)
2024-11-27 16:29:26	?	https://production.example.com/processwire/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 471 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/modules/LanguageSupport/LanguageTranslator.php)
2024-11-27 16:31:11	admin	https://production.example.com/processwire/page/	Schwerwiegender Fehler:  Trait "RockMigrations\MagicPage" not found (Zeile 5 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/site/classes/ContactRolesPage.php)
2024-11-27 16:31:14	admin	https://production.example.com/processwire/page/	Schwerwiegender Fehler:  Trait "RockMigrations\MagicPage" not found (Zeile 5 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/site/classes/ContactRolesPage.php)
2024-11-27 16:31:23	admin	https://production.example.com/newsletter/	Schwerwiegender Fehler:  Trait "RockMigrations\MagicPage" not found (Zeile 5 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/site/classes/ContactRolePage.php)
2024-11-27 16:35:06	?	https://production.example.com/processwire/module/	Schwerwiegender Fehler:  Maximum execution time of 120 seconds exceeded (Zeile 307 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/modules/LanguageSupport/LanguageTranslator.php)
2024-11-27 16:35:39	?	https://production.example.com/processwire/module/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 316 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesInfo.php)
2024-11-27 16:37:14	?	https://production.example.com/processwire/page/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 311 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesInfo.php)
2024-11-27 16:38:06	?	https://production.example.com/processwire/page/list/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 589 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesInfo.php)
2024-11-27 16:38:53	?	https://production.example.com/processwire/page/list/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 255 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesConfigs.php)
2024-11-27 16:39:26	?	https://production.example.com/processwire/page/list/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 311 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesInfo.php)
2024-11-27 16:43:21	?	https://production.example.com/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 255 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesConfigs.php)
2024-11-27 16:43:52	?	https://production.example.com/processwire/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 191 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesFiles.php)
2024-11-27 16:43:54	?	https://production.example.com/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 198 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/WireCacheDatabase.php)
2024-11-27 16:45:09	?	https://production.example.com/processwire/page/	Schwerwiegender Fehler:  Maximum execution time of 30 seconds exceeded (Zeile 117 in /var/www/vhosts/example.com/production.example.com/release-20241127142315-a7d461c4/wire/core/ModulesFiles.php)

modules.txt

2024-11-27 15:23:32	?	http://example.com/http404/	Found 1 module version changes (applied when each module is loaded): 5.0.1 => 6.0.1: RockMigrations
2024-11-27 15:23:32	?	http://example.com/http404/	Found 1 module version changes (applied when each module is loaded): 5.0.1 => 6.0.1: RockMigrations
2024-11-27 15:23:33	?	http://example.com/http404/	Found 1 module version changes (applied when each module is loaded): 5.0.1 => 6.0.1: RockMigrations
2024-11-27 15:23:33	?	http://example.com/http404/	Found 1 module version changes (applied when each module is loaded): 5.0.1 => 6.0.1: RockMigrations
2024-11-27 15:23:33	?	http://example.com/http404/	Found 1 module version changes (applied when each module is loaded): 5.0.1 => 6.0.1: RockMigrations
2024-11-27 15:23:33	?	http://example.com/http404/	Found 1 module version changes (applied when each module is loaded): 5.0.1 => 6.0.1: RockMigrations
2024-11-27 15:23:33	?	http://example.com/http404/	Found 1 module version changes (applied when each module is loaded): 5.0.1 => 6.0.1: RockMigrations
2024-11-27 15:23:33	?	http://example.com/http404/	Found 1 module version changes (applied when each module is loaded): 5.0.1 => 6.0.1: RockMigrations
2024-11-27 15:23:33	?	http://example.com/http404/	Found 1 module version changes (applied when each module is loaded): 5.0.1 => 6.0.1: RockMigrations
2024-11-27 15:23:33	?	http://example.com/http404/	Found 1 module version changes (applied when each module is loaded): 5.0.1 => 6.0.1: RockMigrations

[ over 800 of these lines following ]

Has anybody experienced a similar problems?

Cheers,
Flo

Link to comment
Share on other sites

  • snck changed the title to [SOLVED] Endless loops after updates (> 5.0.1)

Markes as solved.

It might have been an issue of correctly updating RockMigrations. I completely removed the submodule, made a commit, added RockMigrations as a submodule again (main branch, 6.0.1), commited and pushed to Github and now everything is working as expected.

At least this might be helpful for somebody running into similar issues.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...