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

    Updated Fog and Ubuntu no longer able to login

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    5
    331
    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.
    • E
      EuroEnglish
      last edited by

      I updated both Fog and Ubuntu today, then restarted the server (Hyper-V VM) and the regular login page came up, but none of my accounts let me log in. I checked the login/var/www/fog and have a list of errors saying simply that “username:fog failed to login” (and other usernames that were attempted.

      All the accounts were working prior to the update. I checked MySQL and reset the password for FOG, no change. I created a new user in MySQL and that is unable to login either. I have plenty of free space, RAM is at about 50% max usage. Everything has been working perfectly for a few years, but now we are moving to Windows 11 I figured it was time to upgrade. I am at a loss, any suggestions?

      1 Reply Last reply Reply Quote 0
      • D
        dvorak @EuroEnglish
        last edited by dvorak

        @EuroEnglish Check the usual suspects first

        1.) Since it seems your passwords may have changed, make sure they are all synced. This includes the ones in the FOG webUI configurations, in configuration files like the .fog_settings file for instance, MySQL etc.

        2.) Check the permissions of your files on the FOG server. Make sure they mirror what you had before (prob something like fogproject:root or likes). EG the folder with the images, the tftpboot folder as well (esp if you’re PXE booting images from the menu and not just capturing or deploying images).

        3.) Check logs in /var/log/fog and /var/log in general depending on the issues. This will tell you exactly what’s going on if you know how to read the logs. This should actually be #1 on this list.

        4.) Check systemctl status messages: make sure fog-tftp is the correct tftp server running, is actually running, and pointing to where the files actually are (like /tftpboot versus /var/lib/tftpboot).

        1 Reply Last reply Reply Quote 0
        • E
          EuroEnglish
          last edited by

          I realized that I didn’t include any version information:

          Ubuntu now version - 20.04.6 LTS
          Fog now (Master) - 1.5.10.29

          Also, trying to image a computer brings up the regular FOG screen, PXE is working fine, but then it locks up - You can kind of keep hitting down to get to deploy, but even that takes about 5 minutes, entering a username password has proven impossible as it lags so much.

          1 Reply Last reply Reply Quote 0
          • E
            EuroEnglish
            last edited by

            So, I have fixed the login issues, apparently installing the Dev Branch cured that problem. However, it now fails after selecting which image to push. I am receiving a few messages:

            Could not select: Exec format error (https://ipxe.org/2e008081)
            Could not boot: Exec format error (https://ipxe.org/2e008081)
            Chainloading failed, hit ‘s’ for the for the iPXR shell; reboot in 10 seconds

            Those errors appear no matter what image I select, or laptop I use. All the images and the laptops were working before this issue started.

            D 1 Reply Last reply Reply Quote 0
            • D
              dvorak @EuroEnglish
              last edited by dvorak

              @EuroEnglish Check the usual suspects first

              1.) Since it seems your passwords may have changed, make sure they are all synced. This includes the ones in the FOG webUI configurations, in configuration files like the .fog_settings file for instance, MySQL etc.

              2.) Check the permissions of your files on the FOG server. Make sure they mirror what you had before (prob something like fogproject:root or likes). EG the folder with the images, the tftpboot folder as well (esp if you’re PXE booting images from the menu and not just capturing or deploying images).

              3.) Check logs in /var/log/fog and /var/log in general depending on the issues. This will tell you exactly what’s going on if you know how to read the logs. This should actually be #1 on this list.

              4.) Check systemctl status messages: make sure fog-tftp is the correct tftp server running, is actually running, and pointing to where the files actually are (like /tftpboot versus /var/lib/tftpboot).

              1 Reply Last reply Reply Quote 0
              • P
                processor
                last edited by

                I quickly read about your issue, could this be related with your problem ? :

                https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy?page=1

                1 Reply Last reply Reply Quote 0
                • [[undefined-on, E EuroEnglish, ]]
                • 1 / 1
                • First post
                  Last post

                154

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project