Opened 3 years ago

Closed 3 years ago

#1716 closed defect (fixed)

MapBender fails to start on Xenial

Reported by: kalxas Owned by: kalxas
Priority: blocker Milestone: OSGeoLive10.0
Component: OSGeoLive Keywords: mapbender
Cc: live-demo@…

Description

From apache2 error log:

[Fri Jun 03 20:25:55.047861 2016] [:error] [pid 4331] [client 127.0.0.1:46800] PHP Fatal error:  Uncaught Error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52\nStack trace:\n#0 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(207): Symfony\\Component\\Config\\Util\\XmlUtils::loadFile('/var/www/html/m...', Array)\n#1 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(39): Symfony\\Component\\DependencyInjection\\Loader\\XmlFileLoader->parseFile('/var/www/html/m...')\n#2 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php(42): Symfony\\Component\\DependencyInjection\\Loader\\XmlFileLoader->load('web.xml')\n#3 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php(50): Symfony\\Bundle\\FrameworkBundle\\DependencyInjection\\FrameworkExtension->load(Array, Object(Symf in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52

Change history (7)

comment:1 Changed 3 years ago by kalxas

From build log:

2016-06-03 12:23:08 (246 MB/s) - 'mapbender3-3.0.5.3_parameters.yml' saved [1072/1072]

PHP Fatal error:  Uncaught Error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52
Stack trace:
#0 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(207): Symfony\Component\Config\Util\XmlUtils::loadFile('/var/www/html/m...', Array)
#1 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(39): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFile('/var/www/html/m...')
#2 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php(42): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->load('web.xml')
#3 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php(50): Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension->load(Array, Object(Symf in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
PHP Fatal error:  Uncaught Error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52
Stack trace:
#0 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(207): Symfony\Component\Config\Util\XmlUtils::loadFile('/var/www/html/m...', Array)
#1 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(39): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFile('/var/www/html/m...')
#2 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php(42): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->load('web.xml')
#3 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php(50): Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension->load(Array, Object(Symf in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
PHP Fatal error:  Uncaught Error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52
Stack trace:
#0 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(207): Symfony\Component\Config\Util\XmlUtils::loadFile('/var/www/html/m...', Array)
#1 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(39): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFile('/var/www/html/m...')
#2 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php(42): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->load('web.xml')
#3 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php(50): Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension->load(Array, Object(Symf in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
PHP Fatal error:  Uncaught Error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52
Stack trace:
#0 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(207): Symfony\Component\Config\Util\XmlUtils::loadFile('/var/www/html/m...', Array)
#1 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(39): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFile('/var/www/html/m...')
#2 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php(42): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->load('web.xml')
#3 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php(50): Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension->load(Array, Object(Symf in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
PHP Fatal error:  Uncaught Error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52
Stack trace:
#0 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(207): Symfony\Component\Config\Util\XmlUtils::loadFile('/var/www/html/m...', Array)
#1 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(39): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFile('/var/www/html/m...')
#2 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php(42): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->load('web.xml')
#3 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php(50): Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension->load(Array, Object(Symf in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
PHP Fatal error:  Uncaught Error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52
Stack trace:
#0 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(207): Symfony\Component\Config\Util\XmlUtils::loadFile('/var/www/html/m...', Array)
#1 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(39): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFile('/var/www/html/m...')
#2 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php(42): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->load('web.xml')
#3 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php(50): Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension->load(Array, Object(Symf in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
PHP Fatal error:  Uncaught Error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52
Stack trace:
#0 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(207): Symfony\Component\Config\Util\XmlUtils::loadFile('/var/www/html/m...', Array)
#1 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(39): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFile('/var/www/html/m...')
#2 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php(42): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->load('web.xml')
#3 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php(50): Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension->load(Array, Object(Symf in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
PHP Fatal error:  Uncaught Error: Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52
Stack trace:
#0 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(207): Symfony\Component\Config\Util\XmlUtils::loadFile('/var/www/html/m...', Array)
#1 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(39): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFile('/var/www/html/m...')
#2 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php(42): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->load('web.xml')
#3 /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php(50): Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension->load(Array, Object(Symf in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52

comment:2 Changed 3 years ago by astrid_emde

Owner: changed from live-demo@… to astrid_emde

comment:3 Changed 3 years ago by kalxas

Like in the case of GeoMoose, error with PHP 5.6:

[Sun Jun 05 21:07:05.814909 2016] [:error] [pid 3120] [client 127.0.0.1:50348] PHP Fatal error:  Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52

In this case, Symphony complains during build time too:

PHP Fatal error:  Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
PHP Fatal error:  Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
PHP Fatal error:  Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
PHP Fatal error:  Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
PHP Fatal error:  Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
PHP Fatal error:  Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
PHP Fatal error:  Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
PHP Fatal error:  Class 'DOMDocument' not found in /var/www/html/mapbender3/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52

Link to test iso: http://aiolos.survey.ntua.gr/gisvm/dev/osgeo-live-nightly-build101-amd64-036a7ea.iso

comment:4 Changed 3 years ago by astrid_emde

Owner: changed from astrid_emde to kalxas
  • on OSGeo-Live 10.0 alpha1 the Mapbender3 database was missing

I ran the install_mapbender3.sh again on the OSGeo-Live 10.0 alpha1 again.

Afterwards Mapbender3 worked fine. Mapbender3 database was created and the application started ok.

comment:5 Changed 3 years ago by kalxas

Thanks Astrid for the feedback, I will look into this.

So basically MapBender3 works ok on PHP7?

comment:6 Changed 3 years ago by kalxas

Status: newassigned

comment:7 Changed 3 years ago by kalxas

Resolution: fixed
Status: assignedclosed

Confirmed fixed in alpha2

Note: See TracTickets for help on using tickets.