Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.1 CE GA2, 6.2.0 CE B1, 6.2.0 CE B3
    • Fix Version/s: 6.2.0 CE B3
    • Component/s: Documentation
    • Labels:
    • Environment:
      Liferay 6.1.1 CE GA2 bundled with Tomcat 7.0.27, CentOS 2.6.32-358.6.2.el6.x86_64
    • Similar Issues:
      Show 5 results 

      Description

      There is a tutorial how to set up Liferay to use Amazon Simple Storage Service in official user guide for Liferay Portal 6.1 ( http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/liferay-clusteri-2 ).
      Unfortunately, there isn't much mentioned about data migration, especially data migration to S3. I thought that if I paste these four lines:

      dl.store.s3.access.key=
      dl.store.s3.secret.key=
      dl.store.s3.bucket.name=
      dl.store.impl=com.liferay.portlet.documentlibrary.store.S3Store

      Liferay will move existing files automatically to Amazon S3. It doesn't and it can be easily misunderstood.

      In fact user has to follow certain steps such as:

      1. User has to set up these 3 properties in portal-ext.properties first:

      dl.store.s3.access.key=
      dl.store.s3.secret.key=
      dl.store.s3.bucket.name=

      2. RESTART application server where Liferay is deployed

      3. perform data migration via Control Panel -> Server menu -> Server administration -> Data Migration

      4. after successfull migration insert following property to portal-ext.properties:

      dl.store.impl=com.liferay.portlet.documentlibrary.store.S3Store

      -> after this step All data are migrated to Amazon S3 and Lifery is ready to be used with Amazon S3 repository.

      If we do data migration without restart application server (step 2), access to S3 isn't loaded, migration process fails and files are inaccessible. In that case user has to remove dl.store.impl=com.liferay.portlet.documentlibrary.store.S3Store property again (or change it to previous settings) and restart application server, otherwise files will not be accessible even after restart. After restart files are again available and user can perform proper migration.

      More information can be found on issue https://issues.liferay.com/browse/LPS-36105 .
      Or in blog http://blog.profiq.cz/2013/06/24/setup-amazon-s3-to-liferay-with-data-migration/

        Issue Links

          Activity

          Hide
          Brian Wulbern added a comment -

          Hi Jan,

          Thanks for bringing up this point of clarity! We have a dedicated documentation team working on the 6.2 version of documentation right now. Since this isn't a bug, I'll close this ticket and notify the team about your request. Thanks again, Jan!

          Show
          Brian Wulbern added a comment - Hi Jan, Thanks for bringing up this point of clarity! We have a dedicated documentation team working on the 6.2 version of documentation right now. Since this isn't a bug, I'll close this ticket and notify the team about your request. Thanks again, Jan!

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 49 weeks, 4 days ago

                Development

                  Structure Helper Panel