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

Cannot enter FOG Web Interface: "Not Allowed Here"

Scheduled Pinned Locked Moved
General
2
11
2.3k
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.
  • *
    ***Redbob
    last edited by ***Redbob Nov 22, 2017, 12:20 PM Nov 22, 2017, 6:15 PM

    Hi!

    I changed fog user permissions, due to another issue I posted (https://forums.fogproject.org/post/103617). Now the problem is that I cannot enter with fog user because it’s “not allowed here” (attached image).

    I reinstalled FOG and the password was reset to ‘password’ default. But fog permissions were not changed, so I may understand that new FOG instalation didn’t reset user permissions.

    I created another user with admin permissions before FOG reinstall (because I cannot enter WEB interface anymore), but I don’t remember who is he. Any solution for me, please?!0_1511374334414_Seleção_178.png

    W 1 Reply Last reply Nov 22, 2017, 6:29 PM Reply Quote 0
    • W
      Wayne Workman @***Redbob
      last edited by Nov 22, 2017, 6:29 PM

      @redbob Typically that message is only given when you try to access the GUI on a storage node. Did you do a full server install or a storage node install? Make sure you do the right installation. It’s OK to re-run the installer to do the correct installation.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      * 1 Reply Last reply Nov 22, 2017, 6:44 PM Reply Quote 0
      • *
        ***Redbob @Wayne Workman
        last edited by Nov 22, 2017, 6:44 PM

        @wayne-workman, I did a full server install. It’s too painful to reinstall FOG, because at work I cannot access Ondrej repository due to firewall issues!!! Everytime I have to reinstall, I have to carry server home to do at my network…

        W 2 Replies Last reply Nov 22, 2017, 6:47 PM Reply Quote 0
        • W
          Wayne Workman @***Redbob
          last edited by Nov 22, 2017, 6:47 PM

          @redbob said in Cannot enter FOG Web Interface: “Not Allowed Here”:

          I cannot access Ondrej repository due to firewall issues!!!

          You should request that the site be allowed. This is an open source repository for used for Linux package install and patching purposes - there’s no reason to block it.

          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!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          1 Reply Last reply Reply Quote 1
          • W
            Wayne Workman @***Redbob
            last edited by Nov 22, 2017, 6:48 PM

            @redbob Also you might try this: https://wiki.fogproject.org/wiki/index.php?title=Password_Central#Web_Interface

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            * 1 Reply Last reply Nov 22, 2017, 7:06 PM Reply Quote 0
            • *
              ***Redbob @Wayne Workman
              last edited by ***Redbob Nov 22, 2017, 1:28 PM Nov 22, 2017, 7:06 PM

              @wayne-workman, I did that before, but the issue here is not about passwords. If the password were wrong, the message would be “invalid logon”. I changed permissions to user FOG, not allowing web access. If I could find where in Apache or Mysql to revert it without need to access WEB interface, this issue could be solved. At the other hand, I did a full server install. Reinstall it will solve this issue? Because I Already did that.

              W 1 Reply Last reply Nov 22, 2017, 7:23 PM Reply Quote 0
              • W
                Wayne Workman @***Redbob
                last edited by Wayne Workman Nov 22, 2017, 1:30 PM Nov 22, 2017, 7:23 PM

                @redbob Then you probably need to delete the FOG user and then recreate it via SQL. The commands for that should be:

                mysql -D fog
                DELETE FROM `users` WHERE `uName` = 'fog';
                INSERT INTO `users` (`uName`,`uPass`,`uCreateBy`,`uType`) VALUES ('fog','$2y$11$g0Hu8OaOStuPk7WWYGh6Wu4PLlZDZGOkzMwEEAk.rZMrI9IdDwno.','localAdmin','0');
                quit
                

                Alternatively, you can create a brand-new username bob like this:

                mysql -D fog
                INSERT INTO `users` (`uName`,`uPass`,`uCreateBy`,`uType`) VALUES ('bob','$2y$11$g0Hu8OaOStuPk7WWYGh6Wu4PLlZDZGOkzMwEEAk.rZMrI9IdDwno.','localAdmin','0');
                quit
                

                The password for those hashes is just password

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                * 1 Reply Last reply Nov 22, 2017, 9:19 PM Reply Quote 0
                • *
                  ***Redbob @Wayne Workman
                  last edited by Nov 22, 2017, 9:19 PM

                  @wayne-workman I could delete fog user by your suggest, but when I try to insert a user I have this error:

                  mysql> INSERT INTO `users` (`uName`,`uPass`,`uCreateBy`,`uType`) VALUES ('fog','$2y$11$g0Hu8OaOStuPk7WWYGh6Wu4PLlZDZGOkzMwEEAk.rZMrI9IdDwno.','localAdmin','0');
                  ERROR 1364 (HY000): Field 'uCreateDate' doesn't have a default value
                  mysql> INSERT INTO `users` (`uName`,`uPass`,`uCreateBy`,`uType`) VALUES ('bob','$2y$11$g0Hu8OaOStuPk7WWYGh6Wu4PLlZDZGOkzMwEEAk.rZMrI9IdDwno.','localAdmin','0');
                  ERROR 1364 (HY000): Field 'uCreateDate' doesn't have a default value
                  mysql> 
                  

                  I reinstalled fog Normal server using my 3g (just 23MB). At first try, fog user was “invalig login”. After I changed password by here

                  UPDATE `users` SET `uPass` = '$2y$11$g0Hu8OaOStuPk7WWYGh6Wu4PLlZDZGOkzMwEEAk.rZMrI9IdDwno.' WHERE `uName` = 'fog';
                  
                  

                  the answer was “Not Allowed Here”

                  W 1 Reply Last reply Nov 22, 2017, 10:30 PM Reply Quote 0
                  • W
                    Wayne Workman @***Redbob
                    last edited by Nov 22, 2017, 10:30 PM

                    @redbob Then create a new user as I suggested in the below post, it should not have any restrictions on it since it’s a new user.

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    * 1 Reply Last reply Nov 23, 2017, 3:05 PM Reply Quote 0
                    • *
                      ***Redbob @Wayne Workman
                      last edited by Nov 23, 2017, 3:05 PM

                      @wayne-workman, I found the admin password I created days ago. It was written in a paper in a desk. So I got enter web interface and recreated other users. Thanks!!

                      1 Reply Last reply Reply Quote 0
                      • W
                        Wayne Workman
                        last edited by Nov 23, 2017, 3:50 PM

                        @redbob I’ve updated the wiki to include details for creating a user in FOG in 1.4.0 and 1.5.0. Future readers can find that information here: https://wiki.fogproject.org/wiki/index.php?title=Password_Central#Web_Interface

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

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

                        160

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project