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

    Problem after update

    Scheduled Pinned Locked Moved
    FOG Problems
    9
    32
    14.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.
    • P
      Pascal Gazaille
      last edited by

      Hi,
      I’ve update from 1.1.0 to 1.1.2, I seem to have a problem with the installation.

      If I reboot my ubuntu, I have to do the reinstall because I can’t go in the web interface.
      I have this :

      [SIZE=6][B]Database Schema Installer / Updater[/B][/SIZE]

      Your FOG database schema is not up to date, either because you have updated FOG or this is a new FOG installation. If this is a upgrade, we highly recommend that you backup your FOG database before updating the schema (this will allow you to return the previous installed version).
      If you would like to backup your FOG database you can do so my using MySql Administrator or by running the following command in a terminal window (Applications -> System Tools -> Terminal), this will save sqldump in your home directory.
      cd ~;mysqldump --allow-keywords -x -v fog > fogbackup.sql
      Are you sure you wish to install/update the FOG database?

      This seems to come back after a ubuntu reboot.

      Any Idea?

      1 Reply Last reply Reply Quote 0
      • F
        Fhajad
        last edited by

        If you update does it go away just for that time while it’s up then require an update again after a reboot?

        1 Reply Last reply Reply Quote 0
        • B
          braindead
          last edited by

          I was able to resolve this problem by following Tom’s suggestion [URL=‘http://fogproject.org/forum/threads/fog-1-1-2-released.10938/’]here[/URL].

          It’s basically edit this setting to be blank:

          [CODE]snmysqlpass=“”[/CODE]

          in /opt/fog/.fogsettings

          Modify that setting, then reinstall the update.

          1 Reply Last reply Reply Quote 0
          • P
            Pascal Gazaille
            last edited by

            I’ve rebooted, I had a message asking to check the disk.
            I’ve let it done it’s job and once up my web interface seems ok.

            rebooted another time, seems ok now…
            Going to check if it comes back!

            1 Reply Last reply Reply Quote 0
            • P
              Pascal Gazaille
              last edited by

              ok problem as come back…

              [SIZE=6][B]Database Schema Installer / Updater again…[/B][/SIZE]

              1 Reply Last reply Reply Quote 0
              • P
                Pascal Gazaille
                last edited by

                When I try to do the installation, I have the error in the txt file.

                I’ve updated the my information in the /opt/fog/.fogsettings

                [url=“/_imported_xf_attachments/1/1084_Database_Error.txt?:”]Database_Error.txt[/url]

                1 Reply Last reply Reply Quote 0
                • B
                  braindead
                  last edited by

                  [quote=“Pascal Gazaille, post: 31675, member: 21659”]When I try to do the installation, I have the error in the txt file.

                  I’ve updated the my information in the /opt/fog/.fogsettings[/quote]

                  I had the same errors, but modified the [CODE]snmysqlpass=“”[/CODE] to blank, then reinstalled.

                  Did you run the FOG install script after that?

                  Also, there’s a point during the install script to update the DB, then you hit enter afterwards. Try that.

                  1 Reply Last reply Reply Quote 0
                  • D
                    drenj19
                    last edited by

                    I have the same issue listed above… but I cannot find /opt/fog/.fogsettings in order to apply the suggested fix above.
                    I’m new to Ubuntu, I cannont find the “.fogsettings” under /opt/fog. what am I missing?

                    AM.

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

                      [quote=“drenj19, post: 31784, member: 24855”]I have the same issue listed above… but I cannot find /opt/fog/.fogsettings in order to apply the suggested fix above.
                      I’m new to Ubuntu, I cannont find the “.fogsettings” under /opt/fog. what am I missing?

                      AM.[/quote]

                      Your system sounds like it hasn’t properly installed FOG. Can you provide the /var/log/foginstall.log file?

                      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
                      • D
                        drenj19
                        last edited by

                        Here you go…

                        thank you!

                        [url=“/_imported_xf_attachments/1/1088_foginstall.zip?:”]foginstall.zip[/url]

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

                          It looks like this isn’t the complete log. It’s stopped at the installing htmldoc and there isn’t any more information.

                          Was/is there an error if you try to re-run the installer?

                          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
                          • D
                            drenj19
                            last edited by

                            no, the install appears to run without a glitch. I’ve done this several times, even going as far as reloading Ubuntu.
                            any other suggestions?

                            1 Reply Last reply Reply Quote 0
                            • D
                              drenj19
                              last edited by

                              Here is the installation log file after a re-install.

                              [url=“/_imported_xf_attachments/1/1090_foginstall.zip?:”]foginstall.zip[/url]

                              1 Reply Last reply Reply Quote 0
                              • D
                                drenj19
                                last edited by

                                After doing more testing I find that restarting the MySQL daemon temporarily fixes the issue until the next reboot.
                                sudo service mysql stop
                                sudo service mysql start

                                1 Reply Last reply Reply Quote 0
                                • D
                                  drenj19
                                  last edited by

                                  so… my issue is definitely related to MySQL and not the password in the ./fogsettings file.
                                  after a Ubuntu restart, the for website will run for a minute or so before displaying the [SIZE=6][B]Database Schema Installer / Updater again…[/B][/SIZE] .

                                  manually restarting MySQL temporarily fixes the issue until the next reboot… any suggestions?

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    Fhajad
                                    last edited by

                                    Sounds like MySQL isn’t waiting to connect and just fails on startup. Ubuntu does weird things in the sake of “speeding up startup”.

                                    Check in your my.cnf for MySQL what “[FONT=Helvetica][COLOR=#000000][SIZE=14px]–service-startup-timeout” is set to.[/SIZE][/COLOR][/FONT]

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

                                      Add the start condition in /etc/init/mysql.conf to"start on (net-device-up IFACE=ethX)", where “X” is the interface you have mysql bound to, e.g. ETH0, usually the same port FOG is using.

                                      We used this similar command to help with start up problems in Ubuntu 12.04 for tftpd-hpa service, it might help here as well.

                                      This of course doesn’t solve the issue but may help alleviate the need to type the command on each reboot.

                                      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
                                      • D
                                        drenj19
                                        last edited by

                                        I don’t see "[FONT=Helvetica][COLOR=#000000][SIZE=14px]–service-startup-timeout inside the my.cnf file… again, just to reiterate, it does appear that MySQL starts and then crashes. after that restarting MySQL allows me use the fog management website.[/SIZE][/COLOR][/FONT]

                                        [FONT=Helvetica][COLOR=#000000][SIZE=14px]is there a way to script the restart of the mysql service after 120 secs after boot?[/SIZE][/COLOR][/FONT]

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          drenj19
                                          last edited by

                                          I also do no see the line (net-device-up IFACE=ethX)", inside the mysql.conf

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            Fhajad
                                            last edited by

                                            I’d ass in my.cnf --service-startup-timeout=900 to see if that helps you out.

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

                                            186

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project