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

    Best way to update to Fog.33b?

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    37
    13.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.
    • J
      Joseph Waldfogel
      last edited by

      Any suggestions on how to get my Fog Management UI to show up on my Fog page so that I can change my TFTP settings?

      1 Reply Last reply Reply Quote 0
      • Jaymes DriverJ
        Jaymes Driver Developer
        last edited by

        I would start fresh, re-install Ubuntu then run the installer for 0.33b.

        I would also check your /var/www folder and verify there are contents

        “File does not exist: /var/www/assets, referer:[url]http://10.5.96.220/fog/management/index.php?node=home[/url]”

        Is pretty self explanatory, the file doesn’t exist.

        I can only assume the installation did not complete correctly. I also see you have errors when trying to run the php scripts.

        A wipe and fresh install will get you back on track. If you still have issues we can move forward from there. re-installing won’t solve your issues, FOG already thinks FOG is installed, you need to remove the old before installing new. You can spend your time manually removing the content or you can spend 10 minutes to rebuild a Ubuntu 12.04 set up and install again to rid the headache.

        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

        1 Reply Last reply Reply Quote 0
        • J
          Joseph Waldfogel
          last edited by

          Ok, I assume that uninstalling FOG following the steps on the wiki won’t completely remove Fog and that’s why I should start fresh?

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

            It will remove all of fog.

            [code]mysql -u root -p’<IFYOUSETPASSWORDENTERHERE>’
            drop database fog;
            exit
            sudo rm -rf {/var/www/fog,/tftpboot,/opt/fog}
            sudo userdel fog
            [/code]

            If you need to delete images run:
            [code]sudo rm -rf /images[/code]

            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 Waldfogel
              last edited by

              Ok, much appreciated. I will try it out, if it doesn’t work I will let you know.

              1 Reply Last reply Reply Quote 0
              • Jaymes DriverJ
                Jaymes Driver Developer
                last edited by

                [quote=“Joseph Waldfogel, post: 26406, member: 23569”]Ok, much appreciated. I will try it out, if it doesn’t work I will let you know.[/quote]

                Good luck, if you have any complications just let us know, we will try our best to get you sorted.

                WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                1 Reply Last reply Reply Quote 0
                • N
                  need2 Moderator
                  last edited by

                  Just make sure you back up your DB…

                  1 Reply Last reply Reply Quote 0
                  • J
                    Joseph Waldfogel
                    last edited by

                    Thanks again for the help with my update. I ended up starting fresh after fully deleting fog also failed. It resolved most of the issues, but the fog management page is still blank for me. I think I’m messing something up during the install. When the install finishes do I need to go directly to the fog management page (x.x.x.x/fog/management) to do the update for the schema or can that be done at say the fog main page? I have been going to the main page (x.x.x.x/fog) and doing the update. As far as I can tell that would be the only time I have done something different. I should also note that I haven’t re-added my database or images at this point either. I plan on wiping it again and starting fresh in the morning. When I do, I will try it as directed. If any one has anything to add, it would be appreciated.

                    1 Reply Last reply Reply Quote 0
                    • N
                      need2 Moderator
                      last edited by

                      It doesn’t matter where you navigate to, if you get prompted to update the schema then you have gone to the right place. As for the fog main page being blank, that’s very odd. Is Apache still throwing tons of errors? Have you ‘apt-get update’, ‘apt-get upgrade -f’ lately?

                      1 Reply Last reply Reply Quote 0
                      • J
                        Joseph Waldfogel
                        last edited by

                        I did the “apt-get update” before I started the install; however, “apt-get upgrade” is news to me. I will try it when I get to the FOG install. Thanks for the help! Apache is throwing the same “file does not exist” error that I posted above; the others are gone.

                        1 Reply Last reply Reply Quote 0
                        • N
                          need2 Moderator
                          last edited by

                          apt-get upgrade actually tells your linux server to upgrade any modules it found updates/upgrades for from the aptitude lists.

                          EDIT: “apt-get upgrade -f” should also tell your system to check for and attempt to repair broken dependencies.

                          1 Reply Last reply Reply Quote 0
                          • J
                            Joseph Waldfogel
                            last edited by

                            Well, my adventure continues. I tried the “upgrade -f” and the “update” prior to install, and then after I seen that the management page wasn’t there; neither worked. I went back to the Apache log and found an error i didn’t see before. Says a few times that Apache can’t determine the FQDN and assigns the local add. as the name. I assume this means that fog is not communicating with the DNS server to resolve the FQDN. I probably typed the add. for the DNS server wrong. At any rate, I uploaded the Apache log from this last install if any one would like to have a look. I also noticed this time around that there are more php pages it’s looking for and can’t find, and not just the Fog management page.

                            [url=“/_imported_xf_attachments/0/721_error.txt?:”]error.txt[/url]

                            1 Reply Last reply Reply Quote 0
                            • J
                              Joseph Waldfogel
                              last edited by

                              Still no successful install… can’t figure out why Apache keeps putting 127.0.1.1 as the DNS server. Should I try pointing it to my router and see what happens?

                              1 Reply Last reply Reply Quote 0
                              • J
                                Joseph Waldfogel
                                last edited by

                                Okay, got rid of the 127.0.1.1 issue. Still get the blank management page. However I found a new error after I updated my schema… Hopefully this one will have some useful information (the 10.5.96.220 ip is my fog server):
                                [Thu May 15 13:50:04 2014] [error] [client 10.101.114.9] script ‘/var/www/fog/service/servicemodule-active.php’ not found or unable to stat
                                [Thu May 15 13:55:02 2014] [error] [client 10.5.96.220] File does not exist: /var/www/favicon.ico
                                [Thu May 15 13:55:02 2014] [error] [client 10.5.96.220] File does not exist: /var/www/favicon.ico
                                [Thu May 15 13:55:11 2014] [error] [client 10.5.96.220] PHP Warning: mysql_close(): 13 is not a valid MySQL-Link resource in /var/www/fog/lib/db/MySQL.class.php on line 45, referer: [url]http://10.5.96.220/fog/commons/schemaupdater/index.php?redir=1[/url]
                                [Thu May 15 13:55:11 2014] [error] [client 10.5.96.220] PHP Fatal error: Call to a member function debug() on a non-object in /var/www/fog/lib/db/MySQL.class.php on line 50, referer: [url]http://10.5.96.220/fog/commons/schemaupdater/index.php?redir=1[/url]
                                [Thu May 15 13:55:14 2014] [error] [client 10.5.96.220] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/pages/DashboardPage.class.php on line 30, referer: [url]http://10.5.96.220/fog/commons/schemaupdater/index.php?redir=1[/url]
                                [Thu May 15 13:55:15 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/[/url]
                                [Thu May 15 13:55:15 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/[/url]
                                [Thu May 15 13:55:15 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets
                                [Thu May 15 13:55:15 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets
                                [Thu May 15 13:55:28 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
                                [Thu May 15 13:55:28 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
                                [Thu May 15 13:55:28 2014] [error] [client 10.5.96.220] File does not exist: /var/www/access, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
                                [Thu May 15 13:55:29 2014] [error] [client 10.5.96.220] File does not exist: /var/www/access, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
                                [Thu May 15 13:55:43 2014] [error] [client 10.5.96.220] PHP Warning: array_merge(): Argument #1 is not an array in /var/www/fog/lib/pages/ReportManagementPage.class.php on line 949, referer: [url]http://10.5.96.220/fog/management/index.php?node=report&sub=user-track[/url]
                                [Thu May 15 13:55:54 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
                                [Thu May 15 13:55:54 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
                                [Thu May 15 13:55:54 2014] [error] [client 10.5.96.220] File does not exist: /var/www/access, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
                                [Thu May 15 13:55:54 2014] [error] [client 10.5.96.220] File does not exist: /var/www/access, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]

                                1 Reply Last reply Reply Quote 0
                                • J
                                  Joseph Waldfogel
                                  last edited by

                                  Today I updated my Fog database from my back-up just for giggles. The fog man page is still missing. I seem to be going around in circles; wipe, install, wipe, install and not making any more progress. What else could be going on with my system that could be causing my installs to not finish properly? I haven’t seen any thing new in my apache error logs, and mySQL logs are all empty. When I do the install I also don’t notice anything wrong.

                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    need2 Moderator
                                    last edited by

                                    Are you accessing the fog UI from the same subnet as the server?

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      Joseph Waldfogel
                                      last edited by

                                      Once I get the msg to update the schema from the install I am opening up Firefox (from the server), updating the schema, logging in and finally going to the fog management page so I can configure it but it is not there.

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        need2 Moderator
                                        last edited by

                                        What specifically is not there?

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          Joseph Waldfogel
                                          last edited by

                                          Everything, it is a blank page. The Apache log gives me this error: [Thu May 15 13:55:54 2014] [error] [client 10.5.96.220] File does not exist: /var/www/access, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            Joseph Waldfogel
                                            last edited by

                                            Ok, I thought it was the fog management page that was messed up because of what it said in the error log. It is not; it’s the fog configuration page that is blank. All the other pages are there and I have also been able to ping existing clients after re-loading my database from backup, it also shows my snap-ins and images. I tried installing fog on my network at home and had no issues, it was gravy. After that I tried to install it on a laptop here at work completely fresh, and I still get the blank config page. Since having a successful install outside of my network, and none inside, I’m now thinking that the issue is with my network. But from what I understand from the forums, the only thing I need to change from my previous version is setting up the DCHP server rules 66 & 67 (which I have already done). Is there anything that I could be missing as far as my network setup is concerned?

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

                                            155

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project