• 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

      Good day to all,

      I am running a Fog server, version .32 and have been trouble imaging new hp laptops like the Probook 650. From what I read so far updating my version to .33b should take care of it. I was just wondering what would be the best way for me to go about it. I have read that a fresh install is best, as well as seen that I should be able to download the fog_0.33b.tar.bz2, extract it, and run the install. I have also tried downloading the bzImage but couldn’t get it to work. My fog server is running Ubuntu 12.04.

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

        Ok, Nevermind. I found the 0.33b wiki page.

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

          I made it to step five of the Wiki page (the part where I need to edit my TFTP values). I go to the FOG config page and it comes through as a blank white page. I have also noticed that my Bandwidth meter isn’t showing anything as it runs either. I changed my settings on my DCHP server. I’m not sure where else to look. Trying to run 0.33b on a Ubuntu 12.04 server.

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

            This is pasted directly from my Apache2 error log.

            [Tue Apr 29 10:34:02 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.11 with Suhosin-Patch configured – resuming normal operations
            [Tue Apr 29 10:35:55 2014] [error] [client 10.248.3.117] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php[/url]
            [Tue Apr 29 10:35:55 2014] [error] [client 10.248.3.117] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php[/url]
            [Tue Apr 29 10:35:55 2014] [error] [client 10.248.3.117] File does not exist: /var/www/access, referer: [url]http://10.5.96.220/fog/management/index.php[/url]
            [Tue Apr 29 10:36:13 2014] [error] [client 10.248.3.117] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
            [Tue Apr 29 10:36:13 2014] [error] [client 10.248.3.117] File does not exist: /var/www/access, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
            [Tue Apr 29 10:36:13 2014] [error] [client 10.248.3.117] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
            [Tue Apr 29 10:37:01 2014] [error] [client 10.248.3.117] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
            [Tue Apr 29 10:37:01 2014] [error] [client 10.248.3.117] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
            [Tue Apr 29 10:37:01 2014] [error] [client 10.248.3.117] File does not exist: /var/www/access, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
            [Tue Apr 29 10:55:43 2014] [error] [client 171.223.148.163] script not found or unable to stat: /usr/lib/cgi-bin/php
            [Tue Apr 29 10:55:44 2014] [error] [client 171.223.148.163] script not found or unable to stat: /usr/lib/cgi-bin/php5
            [Tue Apr 29 10:55:45 2014] [error] [client 171.223.148.163] script not found or unable to stat: /usr/lib/cgi-bin/php-cgi
            [Tue Apr 29 10:55:46 2014] [error] [client 171.223.148.163] script not found or unable to stat: /usr/lib/cgi-bin/php.cgi
            [Tue Apr 29 10:55:47 2014] [error] [client 171.223.148.163] script not found or unable to stat: /usr/lib/cgi-bin/php4
            [Tue Apr 29 11:21:19 2014] [error] [client 10.248.3.117] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php?node=home[/url]
            [Tue Apr 29 11:21:19 2014] [error] [client 10.248.3.117] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php?node=home[/url]
            [Tue Apr 29 11:21:19 2014] [error] [client 10.248.3.117] File does not exist: /var/www/access, referer: [url]http://10.5.96.220/fog/management/index.php?node=home[/url]

            I have also tried reinstalling for a third time but have had no luck.

            1 Reply Last reply Reply Quote 0
            • 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
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            148

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project