Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Upgrade Failed 24.11 to 25.07 - "Maximum execution time"

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 2 Posters 95 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      james_h
      last edited by

      I tried to upgrade to 25.07 from 24.11 and am receiving the following error

      PHP ERROR: Type: 1, File: /etc/inc/xmlparse.inc, Line: 117, Message: Maximum execution time of 900 seconds exceeded
      

      I tried removing packages and still recieve the same error and system reboots back to 24.11 after 15 minutes

      Looking at the /etc/inc/xmlparse.inc file, line 117 seems to be part of below but I'm none the wiser on deugging this:

      	/* Special case handling for erroneous empty $listtag elements. Pop the most
      	 * recent $listtag element off if it is a string AND is zero length. */
      	if (isset($listtags[strtolower($name)])) {
      		$ptr = &$parsedcfg;
      		foreach ($curpath as $path) {
      			$ptr = &$ptr[$path];
      		}
      
      E 1 Reply Last reply Reply Quote 0
      • E Offline
        eloich @james_h
        last edited by

        @james_h

        I suggest having a look at this post. In my case, anyways, this was what caused the script to time out.

        Cheers,

        J 1 Reply Last reply Reply Quote 1
        • J Offline
          james_h @eloich
          last edited by james_h

          @eloich Thanks, this worked. Was back online in 2 mins of reboot and I didnt remove any packages this time either.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.