What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi everyone, I've got a problem with deploying environment. ```Symfony\Component\Filesystem\Exceptio

U02BMQW9TT8
U02BMQW9TT8 Posts: 4 🧑🏻‍🚀 - Cadet

Hi everyone, I've got a problem with deploying environment.

Symfony\Component\Filesystem\Exception\IOException - Exception: Failed to remove directory "/data/src/Orm/Propel/Schema/": rmdir(/data/src/Orm/Propel/Schema/): Directory not empty
in /data/vendor/symfony/filesystem/Filesystem.php (181)

Command: vendor/bin/console propel:schema:copy

Trace:
#0 /data/vendor/spryker/propel/src/Spryker/Zed/Propel/Business/Model/DirectoryRemover.php(35): Symfony\Component\Filesystem\Filesystem->remove(Array)
#1 /data/vendor/spryker/propel/src/Spryker/Zed/Propel/Business/PropelFacade.php(28): Spryker\Zed\Propel\Business\Model\DirectoryRemover->execute()
#2 /data/vendor/spryker/propel/src/Spryker/Zed/Propel/Communication/Console/SchemaCopyConsole.php(42): Spryker\Zed\Propel\Business\PropelFacade->cleanPropelSchemaDirectory()
#3 /data/vendor/symfony/console/Command/Command.php(255): Spryker\Zed\Propel\Communication\Console\SchemaCopyConsole->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 /data/vendor/symfony/console/Application.php(1018): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 /data/vendor/symfony/console/Application.php(271): Symfony\Component\Console\Application->doRunCommand(Object(Spryker\Zed\Propel\Communication\Console\SchemaCopyConsole), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /data/vendor/spryker/console/src/Spryker/Zed/Console/Communication/Bootstrap/ConsoleBootstrap.php(110): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /data/vendor/symfony/console/Application.php(147): Spryker\Zed\Console\Communication\Bootstrap\ConsoleBootstrap->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /data/vendor/spryker/console/bin/console(27): Symfony\Component\Console\Application->run()
#9 {main}
In CommandLineExecutable.php line 107:

  Aborted install...

I ran it with root user using "su" command. What can cause the problem?

Comments

  • U0208K3V15W
    U0208K3V15W Posts: 33 🧑🏻‍🚀 - Cadet

    /data/src/Orm/Propel/Schema/ => this forder is not empty. So spryker cannot not remove it during install. Can you try to remove it manually and try again

  • U0208K3V15W
    U0208K3V15W Posts: 33 🧑🏻‍🚀 - Cadet

    Or clean cache via console commad and try again

  • U02BMQW9TT8
    U02BMQW9TT8 Posts: 4 🧑🏻‍🚀 - Cadet

    Thanks a lot!