• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Unauthorized error

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    11 Posts 3 Posters 22 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
      Jamaal
      last edited by

      Hello guys,

      I wanted to build another FOG server just for testing purposes and running to this unauthorized error after I finish the setup and try to update the schema via GUI. I tried both Ubuntu 24.04.3 and also 22.04.4, even did an apt-get update and upgrade, got the same result.

      I never seen this before and tried googling up fixes, but can’t fix it.
      Here’s a screen shot of the error.

      5a86d90f-6b42-4f69-a03a-198cd5855550-image.png

      The usual screen for you to update the database after the command line prompts you too after a fresh install.

      Then I get this error:

      1f6d1651-5575-47a1-aae5-864d74ab94a6-image.png

      I even tried different browsers. I don’t think it matters, but just more information, the hypervisor is Windows Hyper-V. I’m not sure if Ubuntu 26.04 is supported, but I can try to see if I get the same error message.

      Tom ElliottT J 3 Replies Last reply Reply Quote 0
      • J
        Jab98
        last edited by Jab98

        Sorry this is not a helpful response 🙂

        Crazy this was just posted 10 min ago because I just ran into the same error.

        Just did fresh install of Debian 13, trying install latest stable FOG release, everything went well up to this point.

        J Tom ElliottT 2 Replies Last reply Reply Quote 0
        • J
          Jamaal @Jab98
          last edited by

          @Jab98 said in Unauthorized error:

          Sorry this is not a helpful response 🙂

          Crazy this was just posted 10 min ago because I just ran into the same error.

          Just did fresh install of Debian 13, trying install latest stable FOG release, everything went well up to this point.

          It’s ok, I’m just curious what happened all of a sudden as I’ve been using Ubuntu 20.xx a long time now before installing FOG. I guess I can try Debian and see how everything goes. Thanks for your input.

          1 Reply Last reply Reply Quote 0
          • J
            Jab98
            last edited by Jab98

            Just posting more info

            This is the only 403 response that shows when I get to the page that says Unauthorized

            56d8711f-82c0-451d-813a-5f81f010c65e-image.png

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @Jamaal
              last edited by

              @Jamaal What’s the url that is displayed for you to goto for that on the output of the command telling you where to go?

              It should contain a tokenization embedded for you to goto.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              J 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @Jamaal
                last edited by

                @Jamaal 82524c38-57e8-4702-becf-7963c79a6327-image.png

                That token is generated on every run so you seeing what I see doesn’t matter, but it should showup like what you’re seeing here.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @Jab98
                  last edited by

                  @Jab98 Please see the message to Jamaal as well.

                  Yes a security based change was added recently because anyone could force the updates and could export the db without any type of authorization.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jamaal @Tom Elliott
                    last edited by

                    @Tom-Elliott said in Unauthorized error:

                    @Jamaal What’s the url that is displayed for you to goto for that on the output of the command telling you where to go?

                    It should contain a tokenization embedded for you to goto.

                    Ok, I understand. The URL it gives me is this:

                    b0662855-ede6-404f-b602-8a26665351f9-image.png

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @Jamaal
                      last edited by

                      @Jamaal So if you go to that URL and click the button to install, you should be successful.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Jab98 @Tom Elliott
                        last edited by

                        @Tom-Elliott

                        Hey Tom,

                        The URL the installer generates is >
                        http://10.1.22.37/fog/management/index.php?node=schema&fogtoken=a813f075fc54cdd34f5304ff6cf3a3ee

                        3c66b186-b77f-4793-b587-478a92170403-image.png

                        7822b285-75fc-4453-b879-6d81ab38802d-image.png

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jab98 @Jamaal
                          last edited by Jab98

                          @Jamaal
                          @Tom-Elliott

                          Okay I got past this just by re-running the FOG installer.

                          It generated a new tokenized URL and this one worked fine!

                          The new token had way more characters than the first one it printed, not sure if that means anything

                          http://10.1.22.37/fog/management/index.php?node=schema&fogtoken=b407da4f77d7d94c25ca554a49090dafe1d5705ca3b25af267b6313972a10bc6

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post

                          136

                          Online

                          12.7k

                          Users

                          17.6k

                          Topics

                          156.6k

                          Posts
                          Copyright © 2012-2026 FOG Project