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

    Kernel Update FOG 1.3.4

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    6
    20
    6.0k
    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.
    • R
      rdaval3
      last edited by

      Server
      • FOG Version: 1.3.4
      • OS: debian
      Client
      • Service Version:
      • OS:
      Description

      kernel update
      Unable to contact server

      0_1486482228731_fog1.3.4_kernelupdate.PNG

      0_1486482214725_fogproxy.PNG

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @rdaval3 Are you behind a proxy server? Maybe find something useful here: https://forums.fogproject.org/topic/9371/fog-1-3-3-kernel-update-unable-to-contact-server

        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

        R 1 Reply Last reply Reply Quote 1
        • R
          rdaval3 @Sebastian Roth
          last edited by

          @Sebastian-Roth

          non rien d’utile, le ticket est d’ailleurs classé non résolu.
          oui comme indiqué sur l’image j’ai renseigné mon serveur proxy, le problème est survenu depuis la mise à jour vers la version 1.3.3 et subsiste sur la version 1.3.4 (cela fonctionnait sur la version 1.2.0)

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

            @rdaval3 said in Kernel Update FOG 1.3.4:

            non rien d’utile, le ticket est d’ailleurs classé non résolu.
            oui comme indiqué sur l’image j’ai renseigné mon serveur proxy, le problème est survenu depuis la mise à jour vers la version 1.3.3 et subsiste sur la version 1.3.4 (cela fonctionnait sur la version 1.2.0)

            I’m going to side on the err or caution here and suggest that you, for now, remove Proxy information from the information here and see if things are suddenly functional.

            I was informed a long time ago that proxy information on 1.2.0 didn’t actually “work” as was intended which has now been fixed for these series of releases.

            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

            R 1 Reply Last reply Reply Quote 0
            • R
              rdaval3 @Tom Elliott
              last edited by

              @Tom-Elliott

              J’ai enlevé les paramètres du proxy dans FOG, mais cela ne fonctionne pas non plus.

              1 Reply Last reply Reply Quote 0
              • R
                rdaval3
                last edited by

                dans le fichier fogconfigurationpage.class.php, lorsque je modifie la ligne
                ‘https://fogproject.org/kernels/kernelupdate.php?version=%s’,
                en
                ‘https://fogproject.org/kernels/kernelupdate.php’,
                j’ai accès a la liste des kernel mais cette fois lorsque je clic pour telecharger le fichier voila le message que j’obtiens
                0_1486539748805_kernelupdate.PNG

                public function kernelUpdate()
                {
                    $this->kernelselForm('pk');
                    $url = sprintf(
                        'https://fogproject.org/kernels/kernelupdate.php?version=%s',
                        FOG_VERSION
                    );
                    $test = self::$FOGURLRequests->isAvailable($url);
                    $test = array_shift($test);
                    if (false === $test) {
                        return print _('Unable to contact server');
                
                LenainL 1 Reply Last reply Reply Quote 0
                • LenainL
                  Lenain @rdaval3
                  last edited by Lenain

                  @rdaval3
                  Thanks for that tip 😉 It work fine for me with ’https://fogproject.org/kernels/kernelupdate.php?version=’. I’ve let the proxy setting in fog and change fogconfigurationpage.class.php and now I have the kernel update page.

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    rdaval3 @Lenain
                    last edited by

                    @Lenain
                    maintenant la liste des kernel s’affiche
                    je peux en selectionner un
                    mais quand je clic sur NEXT
                    0_1486557012095_kernelupdate_1.PNG

                    j’ai une nouvelle erreur
                    0_1486556897343_kernelupdate.PNG

                    Quel seveur ??
                    Merci de votre aide

                    LenainL 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator
                      last edited by george1421

                      I can confirm that I get the same error message with 1.3.4.

                      In a way it is no problem, since the kernel has not updated since 1.3.4. I agree that the error should not be. But the result isn’t bad.

                      If you feel you MUST update the kernel files, you can always execute the manual steps.

                      On your FOG server run these commands:

                      wget https://fogproject.org/kernels/bzImage
                      wget https://fogproject.org/kernels/bzImage32

                      If your FOG server is behind an internet proxy server you must execute these commands BEFORE the wget steps.
                      export http_proxy=http://<proxy_ip>:<proxy_port>
                      export https_proxy=http://<proxy_ip>:<proxy_port>
                      export no_proxy=<fog_server_ip>

                      For my server I placed these commands in /etc/bashrc so they run on every login.

                      These bzImage files must go into /var/www/html/fog/service/ipxe directory on the fog server.

                      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!

                      1 Reply Last reply Reply Quote 0
                      • LenainL
                        Lenain @rdaval3
                        last edited by

                        @rdaval3
                        Bonjour,
                        J’avais le même problème que vous, pour le résoudre j’ai ajouté mon proxy à l’environnement:

                        vim /etc/environment
                        

                        Puis j’ai ajouté ces lignes en fin de fichier:

                        http_proxy="http://AdresseIPduProxy:port/"
                        https_proxy="http://AdresseIPduProxy:port/"
                        

                        J’ai ensuite enregistré, après je suis allé sur la console web FOG dans “FOG Configuration” -> “FOG Settings” -> “Proxy settings” et ai ajouté les paramètres de proxy.
                        Comme vous l’avez proposé j’ai modifié le fichier “/var/www/html/fog/lib/pages/fogconfigurationpage.class.php” et ai remplacé

                        ’https://fogproject.org/kernels/kernelupdate.php?version=%s’
                        

                        par

                        ’https://fogproject.org/kernels/kernelupdate.php?version=’
                        

                        J’ai redémarré mon serveur FOG et j’ai pu mettre à jour le Kernel.

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

                          I’ve removed the version= string from the fogconfigurationpage testing element as you guys found. Ultimately this version string isn’t needed for anything and should not have been causing any other issues. It would seem, to me, the query string was trying to be accessed as if it were a “direct” page instead of stripping the query part off.

                          working-1.3.5 has the string updated now.

                          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 1
                          • R
                            rdaval3 @Lenain
                            last edited by

                            @Lenain

                            j’ai fait la manipulation dans le fichier environnement, mais hélas pas de changement.

                            Je ne sais pas sur quel serveur il essai de se connecté, le message est assez vague.

                            si je fait un wget, apt-get depuis un terminal je n’ai aucun problème
                            mes postes client se connectent sans problème au serveur tftp ou se trouve le fichier bzimage.

                            si un des développeurs de fog peux me dire sur quel serveur il veut se connecté peux etre pourrai-je trouvé l’erreur sur mon serveur

                            george1421G 1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator @rdaval3
                              last edited by

                              @rdaval3 Le problème sera résolu lorsque vous avez terminé la mise à jour à FOG 1.3.5 (lorsqu’il est libéré)

                              translation by google

                              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!

                              R 1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman
                                last edited by

                                It may help those with this issue now and in the future to note that the “Kernel Update” wiki article also has manual steps in it:
                                https://wiki.fogproject.org/wiki/index.php?title=Kernel_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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                1 Reply Last reply Reply Quote 0
                                • R
                                  rdaval3 @george1421
                                  last edited by

                                  @george1421 je viens de faire la mise à jour de FOG vers la 1.3.5 mais le problème n’est toujours pas résolu
                                  j’ai toujours le message : “Error: Failed to connect to server” lorsque je clic pour télécharger la mise a jours

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

                                    @rdaval3 Nous avons besoin de plus d’informations. Par exemple, êtes-vous derrière un proxy? Avez-vous essayé de supprimer les informations de proxy? Votre proxy doit-il être authentifié?

                                    Translation by google.

                                    Untranslated:

                                    @rdaval3 We need more information. For example, are you behind a proxy? Have you tried deleting the proxy information? Does your proxy need to be authenticated?

                                    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

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      rdaval3 @Tom Elliott
                                      last edited by

                                      @Tom-Elliott oui je suis derrière un proxy sans authentification
                                      tout fonctionnait bien avec FOG 1.2.0 et les paramètres proxy actuel
                                      j’arrive a contacter le serveur pour la liste des kernels ( sauf si j’enleve le proxy), mais lorsque je veux mettre a jours le kernels a l’étape de téléchargement
                                      0_1490018436862_kernelupdate_2.PNG
                                      j’ai le message suivant
                                      0_1490018476555_kernelupdate_3.PNG

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

                                        @rdaval3 Avez-vous quelque chose dans vos journaux d’erreurs apache? Essayez également d’exécuter les étapes suivantes: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

                                        Portez une attention particulière à la page de configuration FOG-> FOG Settings-> Expand All-> FOG_TFTP_FTP_USERNAME & FOG_TFTP_FTP_PASSWORD

                                        @rdaval3 Do you have anything in your apache error logs? Please also try running through the steps: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

                                        Pay special attention to the FOG Configuration Page->FOG Settings->Expand All->FOG_TFTP_FTP_USERNAME & FOG_TFTP_FTP_PASSWORD

                                        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

                                        george1421G 1 Reply Last reply Reply Quote 0
                                        • george1421G
                                          george1421 Moderator @Tom Elliott
                                          last edited by

                                          @Tom-Elliott Tom, I just updated my production server to 1.3.5 and I can get to the kernel update page, and my fog server is behind a proxy server. But my proxy server doesn’t require authentication (explicit or implicit) to access the internet. I also have the environment variables in the bash shell set as I have defined below.

                                          0_1490021035534_fog_kern_update.png

                                          @rdaval3 Votre serveur proxy requiert-il une authentification pour accéder à Internet?
                                          L’accès à Internet requiert-il un compte Windows valide?

                                          via google translate

                                          Does your proxy server require authentication for internet access?
                                          Does internet access require a valid windows account?

                                          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!

                                          george1421G 1 Reply Last reply Reply Quote 0
                                          • george1421G
                                            george1421 Moderator @george1421
                                            last edited by george1421

                                            Juste une légère correction, tout fonctionne jusqu’à ce que j’essaie de télécharger le noyau mis à jour, puis je reçois la même erreur que rdaval3.

                                            Aucune erreur n’a été signalée dans le journal des erreurs apache.

                                            English:
                                            Just a slight correction, everything works until I try to download the updated kernel, then I get the same error as rdaval3.

                                            There is no error posted in the apache error log.

                                            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!

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

                                            155

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project