Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Base table or view not found: 1146 Table 'phpcr_workspaces' doesn't exist #12

Open
stollr opened this issue Feb 28, 2024 · 0 comments
Open

Comments

@stollr
Copy link
Contributor

stollr commented Feb 28, 2024

The import into a completely empty database fail with the exception

Base table or view not found: 1146 Table 'phpcr_workspaces' doesn't exist

I have done bin/console sulu:export at the live system, copied the files of var/export/ into var/import/ of my local dev system, dropped and recreated my local database (without schema) and then executed bin/console sulu:import.

The reason is that importPHPCR is called before importDatabase in the import command.

I found the command doctrine:phpcr:init:dbal that I executed. Then I tried sulu:import again and got

[PHPCR\NodeType\NoSuchNodeTypeException]
sulu:home

Is sulu:import not intended to be run on an empty database?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant