• 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

      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
                        • JunkhackerJ
                          Junkhacker Developer
                          last edited by

                          not that i suspect it matters, but just for the sake of clarity: were updates run prior to installing fog, or was this immediately after install?

                          signature:
                          Junkhacker
                          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                            I have tried both with and without updates on Debian 7.

                            1 Reply Last reply Reply Quote 0
                            • A
                              ArchFan
                              last edited by

                              [quote=“Junkhacker, post: 38618, member: 21583”]not that i suspect it matters, but just for the sake of clarity: were updates run prior to installing fog, or was this immediately after install?[/quote]

                              It was the Minimal ISO, so it downloads the newest packages during the OS install

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

                                Sorry to ask, but can you try reinstalling with 2548?

                                I don’t know where it went wrong, but hopefully I’ve fixed the issue.

                                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: 38629, member: 7271”]Sorry to ask, but can you try reinstalling with 2548?

                                  I don’t know where it went wrong, but hopefully I’ve fixed the issue.[/quote]

                                  For some reason it’s just hanging at the mysql-server install now - no ‘failed’ message. Htop shows that it’s attempting to install, and just typing the same command in manually works, but it’s not working in the script. I wasn’t sure if the dpkg-query line was just meant for added verbosity or if that was unintentional. Its been sitting at the mysql-server install for 10 minutes while I had another VM I manually installed mysql-server on in that time. Same result on 14.04.01 and 13.10 - I didn’t create a new VM but didn’t think it would be necessary given that it didn’t actually install packages last time

                                  [url=“/_imported_xf_attachments/1/1475_Processes.png?:”]Processes.png[/url][url=“/_imported_xf_attachments/1/1476_RetryAttempt.png?:”]RetryAttempt.png[/url]

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

                                    Try 2550.

                                    Hopefully all the extra output and the mysql stuff will now 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
                                    • Tom ElliottT
                                      Tom Elliott
                                      last edited by

                                      2551 should make it so there’s properly less output.

                                      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

                                        2550 worked, although I had previously installed mysql manually to troubleshoot so I uninstalled and then successfully ran the FOG installer. I’m creating a new VM just to verify the results and will update

                                        1 Reply Last reply Reply Quote 0
                                        • sudburrS
                                          sudburr
                                          last edited by

                                          Running SVN 2551 installer over SVN 2547 :

                                          Are you sure you wish to continue (Y/N) y
                                          Installation Started…
                                          Installing required packages, if this fails
                                          make sure you have an active internet connection.

                                          • Preparing apt-get
                                          • Packages to be installed: apache2 php5 php5-json php5-gd php5-cli php5-mysq l php5-curl mysql-server mysql-client tftpd-hpa tftp-hpa nfs-kernel-server vsftp d net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htm ldoc lftp openssh-server php-gettext
                                          • Installing package: apache2
                                          • Installing package: php5
                                          • Installing package: php5-gd
                                          • Installing package: php5-cli
                                          • Installing package: php5-mysql
                                          • Installing package: php5-curl
                                          • Installing package: mysql-server
                                            We are about to install MySQL Server on
                                            this server, if MySQL isn’t installed already
                                            you will be prompted for a root password.
                                            Press enter to acknowledge this message.
                                            Reading package lists…
                                            Building dependency tree…
                                            Reading state information…
                                            mysql-server is already the newest version.
                                            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                          • Installing package: mysql-client
                                          • Installing package: tftpd-hpa
                                          • Installing package: tftp-hpa
                                          • Installing package: nfs-kernel-server
                                          • Installing package: vsftpd
                                          • Installing package: net-tools
                                          • Installing package: wget
                                          • Installing package: xinetd
                                          • Installing package: sysv-rc-conf
                                          • Installing package: tar
                                          • Installing package: gzip
                                          • Installing package: build-essential
                                          • Installing package: cpp
                                          • Installing package: gcc
                                          • Installing package: g++
                                          • Installing package: m4
                                          • Installing package: htmldoc
                                          • Installing package: lftp
                                          • Installing package: openssh-server
                                          • Installing package: php-gettext
                                            Confirming package installation.
                                          • Checking package: apache2…OK
                                          • Checking package: php5…OK
                                          • Checking package: php5-json…Failed!

                                          [ Standing in between extinction in the cold and explosive radiating growth ]

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            ArchFan
                                            last edited by

                                            Well…just created a new 14.04.01 VM and downloaded rev 2551 via svn. Everything was going perfectly other than still getting dpkg-query output (not really a big deal), and now when checking package php5-json it says ‘failed’. If it’s checking to see if it’s installed, it seems to be incorrect, because dpkg seems to indicate that it is. Some type of issue with how it’s checking to verify packages are installed?

                                            [url=“/_imported_xf_attachments/1/1477_PhpErr.png?:”]PhpErr.png[/url]

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

                                            284

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project