Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-3289

Describe Fixed and migrated DFS configuration to Symfony 5

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • Documentation
    • None

    Description

      Describe changes made sa part of
      https://github.com/ezsystems/ezplatform/pull/596

      It's no longer possible to use local NFS adapter shipped with Flysystem (3rd party). Developers who want dynamic (SiteAccess-dependent) paths in their NFS directory path need to use our new SiteAccess-aware adapter. Thus meta repository upgrade is required. Patch from this Pull Request can be applied on a project. Also it's worth to mention this in deprecation/removal section of 3.x doc and in upgrade instructions.

      Upgrade:

      Env settings:

      Before:

       

      {{DFS_DATABASE_NAME=<dfs_db_name>
      DFS_NFS_PATH=<absolute-nfs-path>}}

      After:
      DFS_DATABASE_URL=<dfs_db_url> DFS_NFS_PATH=<absolute-nfs-path>

      Project configuration (if the patch was applied and dfs.yaml hasn't been customized, then this step is not required):

      Before:
      oneup_flysystem: adapters: nfs_adapter: local: directory: "/%dfs_nfs_path%/$var_dir$/$storage_dir$"
      After:
      oneup_flysystem: adapters: nfs_adapter: custom: service: ibexa.platform.io.nfs.adapter.site_access_aware

      Attachments

        Activity

          People

            Unassigned Unassigned
            tomasz.dabrowski@ibexa.co Tomasz Dąbrowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 week
                1w
                Remaining:
                Remaining Estimate - 1 week
                1w
                Logged:
                Time Spent - Not Specified
                Not Specified