Skip to content

Magento 2 installation hangs at 53% 224 / 421 #6008

Closed
@melnikovis

Description

@melnikovis

Magento 2, version 2.1.0-22

Installation fails at 53% 224 / 421 with:

[Progress: 224 / 421]
Module 'Magento_Cms':
Installing data... Upgrading data...

[Magento\Framework\Exception\LocalizedException]
The page URL key contains capital letters or disallowed symbols.

This happens regardless of php version (tried 5.6.23 and 7.0.9)

Installation script hangs at vendor/magento/module-cms/Model/ResourceModel/Page.php line 119

function isValidPageIdentifier return false

return preg_match('/^[a-z0-9][a-z0-9_/-]+(.[a-z0-9_-]+)?$/', $object->getData('identifier'));

reason is that $object->getData('identifier') is empty

changing regular expression into /^[a-z0-9][a-z0-9_/-](.[a-z0-9_-]+)?$/ helps to solve the issue, and installation completes normally.

CMS Page Table though contains NULL in identifier column for Privacy Policy page
magento

Webserver is based on ISPConfig 3.1 multiserver installation with Mariadb Galera cluster and GlusterFS as storage, mounted via NFS

This error happens regardless of installation method, tried CLI, GUI

Looks like sample data is corrupted, but strangely no one else seems to had this problem, since we wasn't able to google any similar case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions