Error Installing Landscape Server on 18.04












1















I just installed Landscape Server on a fresh install of Ubuntu Server 18.04 and am getting an error when I go to the webpage.
Here is the message I get



Checking the logs, I found this




landscape-setup INFO Schema configuration output:#012#012Loading site
configuration...#012WARNING: PostgreSQL has max_prepared_transactions
set to 0, not using two-phase commit.#012Setting up database schemas
(will timeout after 86400 seconds) ...#012Schema patch version: 472




Not sure if this is what is causing the issue but if so, how do I update the max_prepared_transactions? Or could there be another issue causing my problems?



Thanks for your help!










share|improve this question























  • The details of the "Oops" should be in /var/log/landscape-server/appserver.log

    – simpoir
    Jan 5 at 18:39











  • It is saying "Unhandled error in Deferred" and then the traceback. Here is a paste of the log.

    – urby
    Jan 8 at 0:26
















1















I just installed Landscape Server on a fresh install of Ubuntu Server 18.04 and am getting an error when I go to the webpage.
Here is the message I get



Checking the logs, I found this




landscape-setup INFO Schema configuration output:#012#012Loading site
configuration...#012WARNING: PostgreSQL has max_prepared_transactions
set to 0, not using two-phase commit.#012Setting up database schemas
(will timeout after 86400 seconds) ...#012Schema patch version: 472




Not sure if this is what is causing the issue but if so, how do I update the max_prepared_transactions? Or could there be another issue causing my problems?



Thanks for your help!










share|improve this question























  • The details of the "Oops" should be in /var/log/landscape-server/appserver.log

    – simpoir
    Jan 5 at 18:39











  • It is saying "Unhandled error in Deferred" and then the traceback. Here is a paste of the log.

    – urby
    Jan 8 at 0:26














1












1








1








I just installed Landscape Server on a fresh install of Ubuntu Server 18.04 and am getting an error when I go to the webpage.
Here is the message I get



Checking the logs, I found this




landscape-setup INFO Schema configuration output:#012#012Loading site
configuration...#012WARNING: PostgreSQL has max_prepared_transactions
set to 0, not using two-phase commit.#012Setting up database schemas
(will timeout after 86400 seconds) ...#012Schema patch version: 472




Not sure if this is what is causing the issue but if so, how do I update the max_prepared_transactions? Or could there be another issue causing my problems?



Thanks for your help!










share|improve this question














I just installed Landscape Server on a fresh install of Ubuntu Server 18.04 and am getting an error when I go to the webpage.
Here is the message I get



Checking the logs, I found this




landscape-setup INFO Schema configuration output:#012#012Loading site
configuration...#012WARNING: PostgreSQL has max_prepared_transactions
set to 0, not using two-phase commit.#012Setting up database schemas
(will timeout after 86400 seconds) ...#012Schema patch version: 472




Not sure if this is what is causing the issue but if so, how do I update the max_prepared_transactions? Or could there be another issue causing my problems?



Thanks for your help!







18.04 landscape






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 3 at 20:06









urbyurby

61




61













  • The details of the "Oops" should be in /var/log/landscape-server/appserver.log

    – simpoir
    Jan 5 at 18:39











  • It is saying "Unhandled error in Deferred" and then the traceback. Here is a paste of the log.

    – urby
    Jan 8 at 0:26



















  • The details of the "Oops" should be in /var/log/landscape-server/appserver.log

    – simpoir
    Jan 5 at 18:39











  • It is saying "Unhandled error in Deferred" and then the traceback. Here is a paste of the log.

    – urby
    Jan 8 at 0:26

















The details of the "Oops" should be in /var/log/landscape-server/appserver.log

– simpoir
Jan 5 at 18:39





The details of the "Oops" should be in /var/log/landscape-server/appserver.log

– simpoir
Jan 5 at 18:39













It is saying "Unhandled error in Deferred" and then the traceback. Here is a paste of the log.

– urby
Jan 8 at 0:26





It is saying "Unhandled error in Deferred" and then the traceback. Here is a paste of the log.

– urby
Jan 8 at 0:26










1 Answer
1






active

oldest

votes


















0














Last I heard, Landscape Server has to be on 16.04, 18.04 is not yet supported. Maybe that has changed as you've gotten further than I had.



E: Looks like they updated the PPA for 18.04 (as suggested by the PPA version being 19.01). I gave it a go on a fresh 18.04 server VM and got the same error you did. It doesn't appear to be related to the Postgres message. It appears the actual issue (which spawns other issues afterwards) is:



pg_restore: [archiver (db)] error returned by PQputCopyData: server closed the connection unexpectedly






share|improve this answer










New contributor




jspinella is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2faskubuntu.com%2fquestions%2f1106714%2ferror-installing-landscape-server-on-18-04%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Last I heard, Landscape Server has to be on 16.04, 18.04 is not yet supported. Maybe that has changed as you've gotten further than I had.



    E: Looks like they updated the PPA for 18.04 (as suggested by the PPA version being 19.01). I gave it a go on a fresh 18.04 server VM and got the same error you did. It doesn't appear to be related to the Postgres message. It appears the actual issue (which spawns other issues afterwards) is:



    pg_restore: [archiver (db)] error returned by PQputCopyData: server closed the connection unexpectedly






    share|improve this answer










    New contributor




    jspinella is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      Last I heard, Landscape Server has to be on 16.04, 18.04 is not yet supported. Maybe that has changed as you've gotten further than I had.



      E: Looks like they updated the PPA for 18.04 (as suggested by the PPA version being 19.01). I gave it a go on a fresh 18.04 server VM and got the same error you did. It doesn't appear to be related to the Postgres message. It appears the actual issue (which spawns other issues afterwards) is:



      pg_restore: [archiver (db)] error returned by PQputCopyData: server closed the connection unexpectedly






      share|improve this answer










      New contributor




      jspinella is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        Last I heard, Landscape Server has to be on 16.04, 18.04 is not yet supported. Maybe that has changed as you've gotten further than I had.



        E: Looks like they updated the PPA for 18.04 (as suggested by the PPA version being 19.01). I gave it a go on a fresh 18.04 server VM and got the same error you did. It doesn't appear to be related to the Postgres message. It appears the actual issue (which spawns other issues afterwards) is:



        pg_restore: [archiver (db)] error returned by PQputCopyData: server closed the connection unexpectedly






        share|improve this answer










        New contributor




        jspinella is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        Last I heard, Landscape Server has to be on 16.04, 18.04 is not yet supported. Maybe that has changed as you've gotten further than I had.



        E: Looks like they updated the PPA for 18.04 (as suggested by the PPA version being 19.01). I gave it a go on a fresh 18.04 server VM and got the same error you did. It doesn't appear to be related to the Postgres message. It appears the actual issue (which spawns other issues afterwards) is:



        pg_restore: [archiver (db)] error returned by PQputCopyData: server closed the connection unexpectedly







        share|improve this answer










        New contributor




        jspinella is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer








        edited 2 hours ago





















        New contributor




        jspinella is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 5 hours ago









        jspinellajspinella

        1013




        1013




        New contributor




        jspinella is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        jspinella is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        jspinella is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f1106714%2ferror-installing-landscape-server-on-18-04%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

            香粉寮

            GameSpot