diff --git a/module/VuFind/src/VuFind/Controller/UpgradeController.php b/module/VuFind/src/VuFind/Controller/UpgradeController.php
index 127276117086a5438129e822ce67b35695587656..c89c2fbda44cb0ba19d23f1bfffcfaa693c80bf8 100644
--- a/module/VuFind/src/VuFind/Controller/UpgradeController.php
+++ b/module/VuFind/src/VuFind/Controller/UpgradeController.php
@@ -507,6 +507,9 @@ class UpgradeController extends AbstractBase
             return $this->forwardTo('Upgrade', 'Home');
         }
 
+        // This can take a while -- don't time out!
+        set_time_limit(0);
+
         // Check for problems:
         $table = $this->getTable('Resource');
         $problems = $table->findMissingMetadata();