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

[SOLVED] Like a good puzzle? sign in problems with fog

Scheduled Pinned Locked Moved
FOG Problems
4
17
3.6k
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.
  • T
    Tom Elliott
    last edited by May 3, 2015, 12:31 PM

    I’m just guessing but need verification. You’re using Ubuntu or Debian as the OS for serving fog on?

    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
      Julianh
      last edited by May 3, 2015, 2:21 PM

      Hi. Tom, it’s running on unbutu 14.04.01 LTS.

      Any suggestions?

      Thanks

      Julian

      1 Reply Last reply Reply Quote 0
      • W
        Wayne Workman
        last edited by May 3, 2015, 6:13 PM

        Tom probably has something in mind,

        but in the mean time, you could also try to re-run the installer for 1.2.0.

        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
        • J
          Julianh
          last edited by May 4, 2015, 6:42 AM

          Thanks Wayne, but won’t that destroy my images, not the actual files, but the image objects pointing to the files? I’m a little dubious about it.

          What are your thoughts?

          Thanks

          Julian

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by May 4, 2015, 8:20 AM

            No it will not. It will not delete anything out of the database.

            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
              Julianh
              last edited by May 4, 2015, 5:50 PM

              Hi Tom,

              Thanks for the suggestion, I reinstalled the fog 1.20 server, I even found the original CD, rebooted it, but unfortunatley it’s still asking for logins.

              The install has the images on the same disk as Unbuntu & Fog. I was beginning to think about a totally fresh install, but I’m paranoid of losing the images.

              When I did the install it read the settings and said “install with these values”. If I said no, and reinstalled overwriting the database etc, at the end I could manually add the images back. It’s a lot of work, there are over 110 images to add! I don’t want to do this, but as a last resort if I have to I will.

              Is there a the log file that might help out, or is there anything else you could suggest?

              Thanks

              Julian

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by May 4, 2015, 5:55 PM

                if you export the database (FOG Configuration -> Configuration Save), you now have a copy of FOG on your system. The actual physical images need to be backed up separately.

                Re-installing/upgrading FOG will not delete any of your images or database settings. There are changes to the database, but the data is typically moved around rather than “lost”.

                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
                  Julianh
                  last edited by May 4, 2015, 6:10 PM

                  Hi Tom,

                  If I export the configuration database, am I not going to export the problem and then reimport it?

                  Depending on your answer, the next step will be either a total reinstall and restoration of the images from backup, or the same, but import the configuration afterwards

                  What would you suggest?

                  Thanks

                  Julian

                  1 Reply Last reply Reply Quote 0
                  • J
                    Julianh
                    last edited by May 4, 2015, 6:35 PM

                    Hi All

                    Quick question, I’m going to cp the /images directory to a USB disk, then copy it back over after reinstalling.

                    Is there anything else I need to do?

                    Thanks

                    Julian

                    1 Reply Last reply Reply Quote 0
                    • J
                      Joseph Hales Testers
                      last edited by May 4, 2015, 6:46 PM

                      Reset permissions and ownership with the following commands.
                      sudo chown -R fog.root /images
                      sudo chmod 777 -R /images

                      RTFM

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by May 4, 2015, 7:11 PM

                        It’s possible exporting is just going to replicate the issue but I don’t think it’s an issue with fog at all…directly. You state it’s only occurring when you connect to fog from an internet source. This leads me to believe either you’re accessing fog using private browsing of some sort where the session identifier is constantly changing every so many seconds. I don’t think normal private browsing would be the cause of this directly but maybe a constantly changing IP address request source such as a proxy system redetecting a vpn connection? I don’t know the problem but it certainly sounds like it is environmental more than fog directly. What you could try just as a test is export the database and delete the fog database itself from cli or phpmyadmin. Go back to fog and have it start fresh. You have a backup so for now you should be safe. G through the same steps you have to get the problem. Does all happen the same? Do things seem to be working? Granted at that point you have no hosts or images yet. Get the individual tables you need and reimport them. Does the system still work?

                        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
                          Joseph Hales Testers
                          last edited by May 4, 2015, 7:29 PM

                          I forgot about the mountcheck file create it with this command.
                          [FONT=Calibri]sudo touch /images/.mntcheck[/FONT]

                          RTFM

                          1 Reply Last reply Reply Quote 0
                          • W
                            Wayne Workman
                            last edited by May 4, 2015, 9:32 PM

                            I highly recommend Tom’s advice.

                            Be very, very sure to put your configuration save in a safe spot. Maybe even back it up in two different locations.

                            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
                            • J
                              Julianh
                              last edited by May 5, 2015, 8:39 AM

                              Brilliant Tom.

                              Your quite right. The internet link I use to connect to the Fog server, on a seperate link, has just been upgraded to fibre. I checked the NAT pool, and there were several IPs that were being used as the NAT address. so effectivly I could have one of 5 IP’s hitting the Fog server. So your right, the fog server was getting multipe requests from different IP’s with the same session. I changed the NAT to just one IP, and the problem has gone away. Well untill tomorrow when the Fog server’s 2 internet links also get upgraded, but that shouldn’t be a problem now.

                              Thanks you all so much for your help, it’s really apprechiated, and I am grateful. It also reminded me to do a backup, which takes a few days, but I need to do it.

                              Now this is resolved, how do I make it a “Solved” problem and easily found to the next poor chap who changes his network?

                              Thanks once again, and have a good day to all those that helped.

                              Yours

                              Julian

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

                              198

                              Online

                              12.1k

                              Users

                              17.3k

                              Topics

                              155.3k

                              Posts
                              Copyright © 2012-2024 FOG Project