How to install the DXA 2.1 Model Service extension












3














I'm currently installing DXA 2.1 in a Sites 9 environment.
We are trying to install the new Model Service extension (an extension to the Content Microservice), but the documentation isn't very clear on where to add the extension parameter (https://docs.sdl.com/LiveContent/content/en-US/SDL%20DXA-v11/GUID-40677184-F773-4A39-889E-2154DD3A7446)




Modify your Content Service (or Session-enabled Content Service) configuration to add the following startup parameter:
Add the following environment variable:



--plugin=PATH/udp-content-dxa-extension-assembly-11.0.0-xxxx-core.zip



Where PATH specifies the location from step 1 and stated as relative to the bin/ folder. The path separators should work on both Unix and Windows.



For example: --plugin=../extensions/udp-content-dxa-extension-assembly-11.0.0-xxxx-core.zip




I'm not really sure where this --plugin=... should go. I tried adding it to the arguments of my installservice.ps script, but that didn't work.



UPDATE



I added the plugin=... line in my installservice.ps1 script on the jvmoptions. This allowed me to install the service, but when I want to start the service, i get the error "the system cannot open the file" in the event log.



I double checked my zip file was there, and i also made sure the zip file was unblocked.










share|improve this question





























    3














    I'm currently installing DXA 2.1 in a Sites 9 environment.
    We are trying to install the new Model Service extension (an extension to the Content Microservice), but the documentation isn't very clear on where to add the extension parameter (https://docs.sdl.com/LiveContent/content/en-US/SDL%20DXA-v11/GUID-40677184-F773-4A39-889E-2154DD3A7446)




    Modify your Content Service (or Session-enabled Content Service) configuration to add the following startup parameter:
    Add the following environment variable:



    --plugin=PATH/udp-content-dxa-extension-assembly-11.0.0-xxxx-core.zip



    Where PATH specifies the location from step 1 and stated as relative to the bin/ folder. The path separators should work on both Unix and Windows.



    For example: --plugin=../extensions/udp-content-dxa-extension-assembly-11.0.0-xxxx-core.zip




    I'm not really sure where this --plugin=... should go. I tried adding it to the arguments of my installservice.ps script, but that didn't work.



    UPDATE



    I added the plugin=... line in my installservice.ps1 script on the jvmoptions. This allowed me to install the service, but when I want to start the service, i get the error "the system cannot open the file" in the event log.



    I double checked my zip file was there, and i also made sure the zip file was unblocked.










    share|improve this question



























      3












      3








      3







      I'm currently installing DXA 2.1 in a Sites 9 environment.
      We are trying to install the new Model Service extension (an extension to the Content Microservice), but the documentation isn't very clear on where to add the extension parameter (https://docs.sdl.com/LiveContent/content/en-US/SDL%20DXA-v11/GUID-40677184-F773-4A39-889E-2154DD3A7446)




      Modify your Content Service (or Session-enabled Content Service) configuration to add the following startup parameter:
      Add the following environment variable:



      --plugin=PATH/udp-content-dxa-extension-assembly-11.0.0-xxxx-core.zip



      Where PATH specifies the location from step 1 and stated as relative to the bin/ folder. The path separators should work on both Unix and Windows.



      For example: --plugin=../extensions/udp-content-dxa-extension-assembly-11.0.0-xxxx-core.zip




      I'm not really sure where this --plugin=... should go. I tried adding it to the arguments of my installservice.ps script, but that didn't work.



      UPDATE



      I added the plugin=... line in my installservice.ps1 script on the jvmoptions. This allowed me to install the service, but when I want to start the service, i get the error "the system cannot open the file" in the event log.



      I double checked my zip file was there, and i also made sure the zip file was unblocked.










      share|improve this question















      I'm currently installing DXA 2.1 in a Sites 9 environment.
      We are trying to install the new Model Service extension (an extension to the Content Microservice), but the documentation isn't very clear on where to add the extension parameter (https://docs.sdl.com/LiveContent/content/en-US/SDL%20DXA-v11/GUID-40677184-F773-4A39-889E-2154DD3A7446)




      Modify your Content Service (or Session-enabled Content Service) configuration to add the following startup parameter:
      Add the following environment variable:



      --plugin=PATH/udp-content-dxa-extension-assembly-11.0.0-xxxx-core.zip



      Where PATH specifies the location from step 1 and stated as relative to the bin/ folder. The path separators should work on both Unix and Windows.



      For example: --plugin=../extensions/udp-content-dxa-extension-assembly-11.0.0-xxxx-core.zip




      I'm not really sure where this --plugin=... should go. I tried adding it to the arguments of my installservice.ps script, but that didn't work.



      UPDATE



      I added the plugin=... line in my installservice.ps1 script on the jvmoptions. This allowed me to install the service, but when I want to start the service, i get the error "the system cannot open the file" in the event log.



      I double checked my zip file was there, and i also made sure the zip file was unblocked.







      dxa installation model-service dxa-2.1






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 13 '18 at 18:51









      Rick Pannekoek

      17.3k11124




      17.3k11124










      asked Dec 13 '18 at 10:22









      Harald Hoffelinck

      7,8131227




      7,8131227






















          2 Answers
          2






          active

          oldest

          votes


















          5














          Indeed! documentation is bit unclear, an example command not work for windows, I did manage to install successfully, I have sent the message to fix the documentation, I will leave the comment in the documentation.



          Try the following steps to fix the installation of DXA Model Extension:



          Option1:




          1. Create the extensions folder in content service root.

          2. Copy the dxacisdxa-model-service-extensionudp-content-dxa-extension-assembly-11.0.0-1047-core.zip file to extensions folder

          3. UnInstall the Tridion SessionContent Service

          4. Re-install the service by this below command:



          .installService.ps1 -auto-register
          --plugin=./extensions/udp-content-dxa-extension-assembly-11.0.0-1047-core.zip




          Option2:




          1. Create the extensions folder in content service root.

          2. Copy the dxacisdxa-model-service-extensionudp-content-dxa-extension-assembly-11.0.0-1047-core.zip file to extensions folder

          3. Create the Environment variable PLUGIN
            Place the value as ./extensions/udp-content-dxa-extension-assembly-11.0.0-1047-core.zip

          4. Restart the system

          5. UnInstall the Tridion SessionContent Service

          6. ReInstall the service by .installService.ps1 - not required to pass --plugin=./ in the startup parameter


          You can verify this successfully installed or not by looking at the content service plugins folder should have udp-content-dxa-extension-assembly-11.0.0-1047-core folder and udp-content-dxa-extension-assembly-11.0.0-1047-core.zip file.



          enter image description here



          I hope it helps.






          share|improve this answer























          • thanks, I tried the first option and this works. After the install, I can see a plugins folder with the zip file and unzipped files
            – Harald Hoffelinck
            Dec 13 '18 at 13:02



















          1














          The short answer is that you can add these parameters to either the start or the installService scripts, with the caveat that if you add it when calling installService you will need to first uninstall the service for it to take effect.






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "485"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftridion.stackexchange.com%2fquestions%2f19591%2fhow-to-install-the-dxa-2-1-model-service-extension%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            5














            Indeed! documentation is bit unclear, an example command not work for windows, I did manage to install successfully, I have sent the message to fix the documentation, I will leave the comment in the documentation.



            Try the following steps to fix the installation of DXA Model Extension:



            Option1:




            1. Create the extensions folder in content service root.

            2. Copy the dxacisdxa-model-service-extensionudp-content-dxa-extension-assembly-11.0.0-1047-core.zip file to extensions folder

            3. UnInstall the Tridion SessionContent Service

            4. Re-install the service by this below command:



            .installService.ps1 -auto-register
            --plugin=./extensions/udp-content-dxa-extension-assembly-11.0.0-1047-core.zip




            Option2:




            1. Create the extensions folder in content service root.

            2. Copy the dxacisdxa-model-service-extensionudp-content-dxa-extension-assembly-11.0.0-1047-core.zip file to extensions folder

            3. Create the Environment variable PLUGIN
              Place the value as ./extensions/udp-content-dxa-extension-assembly-11.0.0-1047-core.zip

            4. Restart the system

            5. UnInstall the Tridion SessionContent Service

            6. ReInstall the service by .installService.ps1 - not required to pass --plugin=./ in the startup parameter


            You can verify this successfully installed or not by looking at the content service plugins folder should have udp-content-dxa-extension-assembly-11.0.0-1047-core folder and udp-content-dxa-extension-assembly-11.0.0-1047-core.zip file.



            enter image description here



            I hope it helps.






            share|improve this answer























            • thanks, I tried the first option and this works. After the install, I can see a plugins folder with the zip file and unzipped files
              – Harald Hoffelinck
              Dec 13 '18 at 13:02
















            5














            Indeed! documentation is bit unclear, an example command not work for windows, I did manage to install successfully, I have sent the message to fix the documentation, I will leave the comment in the documentation.



            Try the following steps to fix the installation of DXA Model Extension:



            Option1:




            1. Create the extensions folder in content service root.

            2. Copy the dxacisdxa-model-service-extensionudp-content-dxa-extension-assembly-11.0.0-1047-core.zip file to extensions folder

            3. UnInstall the Tridion SessionContent Service

            4. Re-install the service by this below command:



            .installService.ps1 -auto-register
            --plugin=./extensions/udp-content-dxa-extension-assembly-11.0.0-1047-core.zip




            Option2:




            1. Create the extensions folder in content service root.

            2. Copy the dxacisdxa-model-service-extensionudp-content-dxa-extension-assembly-11.0.0-1047-core.zip file to extensions folder

            3. Create the Environment variable PLUGIN
              Place the value as ./extensions/udp-content-dxa-extension-assembly-11.0.0-1047-core.zip

            4. Restart the system

            5. UnInstall the Tridion SessionContent Service

            6. ReInstall the service by .installService.ps1 - not required to pass --plugin=./ in the startup parameter


            You can verify this successfully installed or not by looking at the content service plugins folder should have udp-content-dxa-extension-assembly-11.0.0-1047-core folder and udp-content-dxa-extension-assembly-11.0.0-1047-core.zip file.



            enter image description here



            I hope it helps.






            share|improve this answer























            • thanks, I tried the first option and this works. After the install, I can see a plugins folder with the zip file and unzipped files
              – Harald Hoffelinck
              Dec 13 '18 at 13:02














            5












            5








            5






            Indeed! documentation is bit unclear, an example command not work for windows, I did manage to install successfully, I have sent the message to fix the documentation, I will leave the comment in the documentation.



            Try the following steps to fix the installation of DXA Model Extension:



            Option1:




            1. Create the extensions folder in content service root.

            2. Copy the dxacisdxa-model-service-extensionudp-content-dxa-extension-assembly-11.0.0-1047-core.zip file to extensions folder

            3. UnInstall the Tridion SessionContent Service

            4. Re-install the service by this below command:



            .installService.ps1 -auto-register
            --plugin=./extensions/udp-content-dxa-extension-assembly-11.0.0-1047-core.zip




            Option2:




            1. Create the extensions folder in content service root.

            2. Copy the dxacisdxa-model-service-extensionudp-content-dxa-extension-assembly-11.0.0-1047-core.zip file to extensions folder

            3. Create the Environment variable PLUGIN
              Place the value as ./extensions/udp-content-dxa-extension-assembly-11.0.0-1047-core.zip

            4. Restart the system

            5. UnInstall the Tridion SessionContent Service

            6. ReInstall the service by .installService.ps1 - not required to pass --plugin=./ in the startup parameter


            You can verify this successfully installed or not by looking at the content service plugins folder should have udp-content-dxa-extension-assembly-11.0.0-1047-core folder and udp-content-dxa-extension-assembly-11.0.0-1047-core.zip file.



            enter image description here



            I hope it helps.






            share|improve this answer














            Indeed! documentation is bit unclear, an example command not work for windows, I did manage to install successfully, I have sent the message to fix the documentation, I will leave the comment in the documentation.



            Try the following steps to fix the installation of DXA Model Extension:



            Option1:




            1. Create the extensions folder in content service root.

            2. Copy the dxacisdxa-model-service-extensionudp-content-dxa-extension-assembly-11.0.0-1047-core.zip file to extensions folder

            3. UnInstall the Tridion SessionContent Service

            4. Re-install the service by this below command:



            .installService.ps1 -auto-register
            --plugin=./extensions/udp-content-dxa-extension-assembly-11.0.0-1047-core.zip




            Option2:




            1. Create the extensions folder in content service root.

            2. Copy the dxacisdxa-model-service-extensionudp-content-dxa-extension-assembly-11.0.0-1047-core.zip file to extensions folder

            3. Create the Environment variable PLUGIN
              Place the value as ./extensions/udp-content-dxa-extension-assembly-11.0.0-1047-core.zip

            4. Restart the system

            5. UnInstall the Tridion SessionContent Service

            6. ReInstall the service by .installService.ps1 - not required to pass --plugin=./ in the startup parameter


            You can verify this successfully installed or not by looking at the content service plugins folder should have udp-content-dxa-extension-assembly-11.0.0-1047-core folder and udp-content-dxa-extension-assembly-11.0.0-1047-core.zip file.



            enter image description here



            I hope it helps.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Dec 13 '18 at 15:58

























            answered Dec 13 '18 at 12:51









            Velmurugan

            2,982717




            2,982717












            • thanks, I tried the first option and this works. After the install, I can see a plugins folder with the zip file and unzipped files
              – Harald Hoffelinck
              Dec 13 '18 at 13:02


















            • thanks, I tried the first option and this works. After the install, I can see a plugins folder with the zip file and unzipped files
              – Harald Hoffelinck
              Dec 13 '18 at 13:02
















            thanks, I tried the first option and this works. After the install, I can see a plugins folder with the zip file and unzipped files
            – Harald Hoffelinck
            Dec 13 '18 at 13:02




            thanks, I tried the first option and this works. After the install, I can see a plugins folder with the zip file and unzipped files
            – Harald Hoffelinck
            Dec 13 '18 at 13:02











            1














            The short answer is that you can add these parameters to either the start or the installService scripts, with the caveat that if you add it when calling installService you will need to first uninstall the service for it to take effect.






            share|improve this answer


























              1














              The short answer is that you can add these parameters to either the start or the installService scripts, with the caveat that if you add it when calling installService you will need to first uninstall the service for it to take effect.






              share|improve this answer
























                1












                1








                1






                The short answer is that you can add these parameters to either the start or the installService scripts, with the caveat that if you add it when calling installService you will need to first uninstall the service for it to take effect.






                share|improve this answer












                The short answer is that you can add these parameters to either the start or the installService scripts, with the caveat that if you add it when calling installService you will need to first uninstall the service for it to take effect.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 13 '18 at 13:16









                Peter Kjaer

                19.3k11653




                19.3k11653






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Tridion Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftridion.stackexchange.com%2fquestions%2f19591%2fhow-to-install-the-dxa-2-1-model-service-extension%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    Puebla de Zaragoza

                    Musa