Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23710

ezpublish:legacy:assets_install --relative fails on windows

    XMLWordPrintable

    Details

    • Sprint:
      Pollux Platform S8

      Description

      On Windows environment, when I run:
      php composer create-project ezsystems/ezpublish-community
      the process runs to the end accordingly, but right at the end, after the assets installation part, I get this

      It looks like your system doesn't support symbolic links, so the assets were installed by copying them.
      Installing eZ Publish legacy assets from C:/Users/IEUser/ezpublish-community/ezpublish/../ezpublish_legacy using the symlink option
      It looks like your system doesn't support symbolic links, so will fallback to hard copy instead!
      
        [InvalidArgumentException]
        The "../ezpublish/../ezpublish_legacy/design/" directory does not exist.
      
      ezpublish:legacy:assets_install [--symlink] [--relative] [target]
      
      Script eZ\Bundle\EzPublishLegacyBundle\Composer\ScriptHandler::installAssets handling the post-install-cmd event terminated with an exception
      
        [RuntimeException]
        An error occurred when executing the ""ezpublish:legacy:assets_install --symlink --relative  web "" command.
      
      create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repository-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] 
      [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [package] [directory] [version]
      

      Not sure if this is an expected result of the symlink fallback to hard copy or not, but if it is, I don't suppose it should result in an error..

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              rui.silva-obsolete@ez.no Rui Silva (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 week
                  1w
                  Remaining:
                  Time Spent - 7 hours, 5 minutes Remaining Estimate - 1 hour, 45 minutes
                  1h 45m
                  Logged:
                  Time Spent - 7 hours, 5 minutes Remaining Estimate - 1 hour, 45 minutes Time Not Required
                  7h 5m