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

    Latest Development FOG

    Scheduled Pinned Locked Moved
    General
    57
    652
    1.2m
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      SVN 2518 released.

      I don’t know if it will work, but rather than pulling the entire query into a single variable, I’m using prepared statements which are supposedly unbuffered. Hopefully this will fix the issue of too much memory usage, though I’m suspecting it really won’t help at all. Either way, things seem to work on my side. I don’t have a large enough data set to have issues with this though either.

      This release also moves all of the GUI stuff that referenced the location plugin in the source code to purely be based on the plugin. This way the plugin is a real plugin, not something that’s kind of a mix between core and plugin.

      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
      • Tom ElliottT
        Tom Elliott
        last edited by

        SVN 2519 released.

        I had to revert the method’s of the mysql stuff back to the original as prepared statements won’t run for some reason with the prepared statements.

        Hopefully we can figure something out.

        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
        • Tom ElliottT
          Tom Elliott
          last edited by

          SVN 2526 released.

          Yes, quite a few. Basically it just adds the functionality to email yourself when an imaging task completes. Thanks Lee Rowlett.

          I’ve heard of others requesting this functionality as well so hopefully you find it useful.

          It defaults the email to disabled, but it’s in FOG Configuration->FOG Settings->FOG Email Settings.

          You’ll find:
          FOG_EMAIL_ACTION, checked means enabled, unchecked means disabled.
          FOG_EMAIL_BINARY, used to set the binary path, usually sendmail.
          FOG_EMAIL_ADDRESS, specify your emails in the form [email]email1@domain.com[/email],[email]email2@papa.com[/email]. Separate emails by comma basically.
          FOG_FROM_EMAIL, specifies who the email is coming from. ${server-name} is just a holder to get the node. So noreply@${server-name}.com will translate (if node’s name is weirdo) into [email]noreply@weirdo.com[/email] You can also specify in the form ${server-name}@domain, etc…

          You’ll also find:
          FOG_MEMORY_LIMIT,sets the memory limits of GUI directly from FOG rather than having you all edit and restart web server. It will always default to 128, even if you set below or the value is not numeric. Higher values are kept.

          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
          • falkoF
            falko Moderator
            last edited by

            Love the email addition, I currently have a line in my post deployment script that calls blat and sends an email before the shutdown command.

            Thanks Tom and Lee

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

              SVN 2535 release.

              Snapin Replication works properly, in that it will only copy over relevant snapins, not the entire snapin directory even if one of the snapins is only intended. Also made it so it works similar to images. Meaning snapins can be assigned to multiple storage groups and the data will be transferred between those groups. The node master of that group will then distribute to the rest of the nodes in it’s grouping.

              Cleaned up a few installer bits as well and fixed the ubuntu installer so SnapinReplicator server gets started.

              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
              • A
                ArchFan
                last edited by

                Tom, I just attempted to install rev 2542 on Ubuntu 14.04 (I know) in a new vm and it failed at setting up and starting MySql. I realize 14.04 isn’t officially supported but I haven’t had this issue before - I hadn’t done anything other than installing subversion prior to the install. I’ll try a supported version and see how it goes

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

                  [quote=“ArchFan, post: 38593, member: 19266”]Tom, I just attempted to install rev 2542 on Ubuntu 14.04 (I know) in a new vm and it failed at setting up and starting MySql. I realize 14.04 isn’t officially supported but I haven’t had this issue before - I hadn’t done anything other than installing subversion prior to the install. I’ll try a supported version and see how it goes[/quote]

                  All good, just let me know how it goes.

                  I haven’t seen any issues on my 14.04 box though so maybe something else went ary?

                  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
                  • A
                    ArchFan
                    last edited by

                    [quote=“Tom Elliott, post: 38595, member: 7271”]All good, just let me know how it goes.

                    I haven’t seen any issues on my 14.04 box though so maybe something else went ary?[/quote]

                    Just tried 13.10 and rev 2544 - same issue. I don’t think I’m doing anything differently than I have in the past, but it’s been a long weekend

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

                      When you’re installing the OS, are you installing with LAMP?

                      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
                      • A
                        ArchFan
                        last edited by

                        [quote=“Tom Elliott, post: 38597, member: 7271”]When you’re installing the OS, are you installing with LAMP?[/quote]

                        I’ve always used the minimal ISO, and just chose ‘manual package selection’ and FOG seemed to install its dependencies during the install - has this changed?

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

                          I think I found the issue.

                          IS it failing at setting up installer, or when you try to check for db update?

                          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
                          • A
                            ArchFan
                            last edited by

                            [quote=“Tom Elliott, post: 38599, member: 7271”]I think I found the issue.

                            IS it failing at setting up installer, or when you try to check for db update?[/quote]

                            It looks like setting up the installer - it’s just after ‘configuring services’ but before prompting for the mysql password. /var/log/foginstall.log screenshot attached

                            [url=“/_imported_xf_attachments/1/1473_MySqlErr.png?:”]MySqlErr.png[/url]

                            1 Reply Last reply Reply Quote 0
                            • C
                              Cory Landry
                              last edited by

                              Just to add on to ArchFan’s error:

                              Revision 2457
                              Debian 7
                              Nothing but ssh and subversion was installed prior to FOG

                              [CODE]

                              • Skipping package: apache2 (Already installed)
                              • Skipping package: php5 (Already installed)
                              • Installing package: php5-common
                              • Skipping package: php5-gd (Already installed)
                              • Skipping package: php5-cli (Already installed)
                              • Skipping package: php5-mysql (Already installed)
                              • Skipping package: php5-curl (Already installed)
                              • Skipping package: mysql-server (Already installed)
                              • Skipping package: mysql-client (Already installed)
                              • Skipping package: isc-dhcp-server (Already installed)
                              • Skipping package: tftpd-hpa (Already installed)
                              • Skipping package: tftp-hpa (Already installed)
                              • Skipping package: nfs-kernel-server (Already installed)
                              • Skipping package: vsftpd (Already installed)
                              • Skipping package: net-tools (Already installed)
                              • Skipping package: wget (Already installed)
                              • Skipping package: xinetd (Already installed)
                              • Skipping package: sysv-rc-conf (Already installed)
                              • Skipping package: tar (Already installed)
                              • Skipping package: gzip (Already installed)
                              • Skipping package: build-essential (Already installed)
                              • Skipping package: cpp (Already installed)
                              • Skipping package: gcc (Already installed)
                              • Skipping package: g++ (Already installed)
                              • Skipping package: m4 (Already installed)
                              • Skipping package: htmldoc (Already installed)
                              • Skipping package: lftp (Already installed)
                              • Skipping package: openssh-server (Already installed)
                              • Skipping package: php-gettext (Already installed)

                              Confirming package installation.

                              • Checking package: apache2…OK
                              • Checking package: php5…OK
                              • Checking package: php5-json…OK
                              • Checking package: php5-gd…OK
                              • Checking package: php5-cli…OK
                              • Checking package: php5-mysql…OK
                              • Checking package: php5-curl…OK
                              • Checking package: mysql-server…OK
                              • Checking package: mysql-client…OK
                              • Checking package: isc-dhcp-server…OK
                              • Checking package: tftpd-hpa…OK
                              • Checking package: tftp-hpa…OK
                              • Checking package: nfs-kernel-server…OK
                              • Checking package: vsftpd…OK
                              • Checking package: net-tools…OK
                              • Checking package: wget…OK
                              • Checking package: xinetd…OK
                              • Checking package: sysv-rc-conf…OK
                              • Checking package: tar…OK
                              • Checking package: gzip…OK
                              • Checking package: build-essential…OK
                              • Checking package: cpp…OK
                              • Checking package: gcc…OK
                              • Checking package: g++…OK
                              • Checking package: m4…OK
                              • Checking package: htmldoc…OK
                              • Checking package: lftp…OK
                              • Checking package: openssh-server…OK
                              • Checking package: php-gettext…OK

                              Configuring services.

                              What is the storage location for your images directory? (/images)
                              
                              • Setting up fog user…OK
                              • Setting up and starting MySql…Failed!

                              root@FOG-2:/opt/freeghost-code/bin# mysql
                              -bash: mysql: command not found
                              [/CODE]

                              --------edit---------

                              After installing the packages through apt: [CODE]apt-get install apache2 php5 php5-json php5-gd php5-cli php5-mysql php5-curl mysql-server mysql-client isc-dhcp-server tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htmldoc lftp openssh-server php-gettext[/CODE] the installation completed normally.

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

                                So MySQL isn’t installed or setting up properly?

                                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
                                • C
                                  Cory Landry
                                  last edited by

                                  Correct none of the required packages got installed via the script.

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

                                    If the package is installed, it doesn’t install it again. That’s expected.

                                    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
                                    • A
                                      ArchFan
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        ArchFan
                                        last edited by

                                        [quote=“Tom Elliott, post: 38610, member: 7271”]If the package is installed, it doesn’t install it again. That’s expected.[/quote]
                                        Tom, I just verified what Cory reported. When the install script runs, it says it’s going to install the necessary packages but then skips packages because it thinks they’re already installed even if they’re not. I only checked with mysql-server and php5 to verify, but I’d bet is the same in all cases

                                        [url=“/_imported_xf_attachments/1/1474_InstallErr.png?:”]InstallErr.png[/url]

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

                                          Question to help me narrow the issue? These are presenting on fresh installs not update/upgrades?

                                          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
                                          • A
                                            ArchFan
                                            last edited by

                                            [quote=“Tom Elliott, post: 38616, member: 7271”]Question to help me narrow the issue? These are presenting on fresh installs not update/upgrades?[/quote]

                                            Correct, fresh install of both Ubuntu 14.04 and 13.10 x64 running in VMware Fusion both had the same issue. The only thing I did was install subversion, then proceeded to download the newest revision from svn for the first time - FOG had never been installed prior. Confirmed Ubuntu ISO hashes matched

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 32
                                            • 33
                                            • 13 / 33
                                            • First post
                                              Last post

                                            251

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project