Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [SOLVED]/etc/rc.restart_webgui not running except root

    webGUI
    3
    4
    752
    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.
    • K
      kloon
      last edited by

      Hi,

      ACME package failed to restart my webgui after renewed the certificate. I SSH into the pfsense to restart webgui manually but failed, but it works only if I login as root. ACME package update to the latest version.

      Any idea why the package or admin privilege account fail to execute the rc.restart_webgui script?

      ssh1.png
      ssh1.png_thumb
      ssh_root.png
      ssh_root.png_thumb
      webgui.png
      webgui.png_thumb

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        Hi,

        Login as root ?
        I'm always using the 'admin' user.

        ACME, when renewing, runs as superuser also, it writes out cert and has to restart  servcices.

        ACME restarts services  fine for me.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          This works fine in the ACME package:

          Did you do something different?

          Also, you can use the sudo package to grant other users rights to do things. It wouldn't be necessary for ACME, but for your own user it could help you out.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • K
            kloon
            last edited by

            @jimp:

            This works fine in the ACME package:

            Did you do something different?

            Also, you can use the sudo package to grant other users rights to do things. It wouldn't be necessary for ACME, but for your own user it could help you out.

            I think I found the problem. Silly me. I entered the command as /etc**.rc.restart_webgui instead of /etc/**rc.restart_webgui

            I only realize it after I look into the screenshot.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.