Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Buildmaster - New install and SQL login bug

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 5 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      Jon
      last edited by

      When you create a new install of Buildmaster (2023.9) it is possible to enter a circular loop with service install if the user installing the application has privileges to SQL but the default service logon user does not.

      Steps to reproduce:

      1. Install the application using a user which has administrative privileges on the SQL box which by default sets the service to use the NT AUTHORITY\Network Service (default option) privilege.
      2. Ensure this user does NOT have access to SQL.
      3. Watch the services go in a circular starting state (Buildmaster Web Service and Buildmaster Service).

      You can only diaganose this error by examining the event logs which displays the SQL login error. To fix this, you need to add the Network Service user to the SQL box or change the logon user for the services.

      This is not good behaviour for Windows Services which already have built in error detection and handling.

      Expected behaviour: service fails to start up and gracefully shuts down. Records entry in log.

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @Jon
        last edited by

        Hi @Jon ,

        Thanks for the note; this behavior is intended, and was decided after many years of supporting products in the field. The service is configured to automatically restart after a crash, and a database error will crash the service.

        This is easiest to manage, since most database connection errors (even permissions-based ones) are are temporary in nature, so this behavior means the problem will be automatically resolved.

        Best,
        Alana

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation