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

Firefox 47 snap-in

Scheduled Pinned Locked Moved Solved
FOG Problems
3
10
2.1k
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
    JoeG
    last edited by Jul 20, 2016, 8:58 PM

    Running FOG 1.3-RC-1 on Ubuntu 14.04 LTS

    Not sure if this is a FOG issue or a Firefox issue, but when deploying ‘Firefox Setup 47.0.1.exe’ or ‘Firefox Setup 47.0.exe’ to either Windows 7 x64 or Windows 10 as a snapin gives this error:

    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     7/20/2016 3:24 PM Client-Info Client Version: 0.11.4
     7/20/2016 3:24 PM Client-Info Client OS:      Windows
     7/20/2016 3:24 PM Client-Info Server Version: 1.3.0-RC-1
     7/20/2016 3:24 PM Middleware::Response Success
     7/20/2016 3:24 PM SnapinClient Snapin Found:
     7/20/2016 3:24 PM SnapinClient     ID: -1
     7/20/2016 3:24 PM SnapinClient     Name: 
     7/20/2016 3:24 PM SnapinClient     Created: -1
     7/20/2016 3:24 PM SnapinClient     Action: 
     7/20/2016 3:24 PM SnapinClient     Pack: False
     7/20/2016 3:24 PM SnapinClient     Hide: False
     7/20/2016 3:24 PM SnapinClient     Server: 
     7/20/2016 3:24 PM SnapinClient     TimeOut: -1
     7/20/2016 3:24 PM SnapinClient     RunWith: 
     7/20/2016 3:24 PM SnapinClient     RunWithArgs: 
     7/20/2016 3:24 PM SnapinClient     Args: 
     7/20/2016 3:24 PM SnapinClient     File: 
     7/20/2016 3:24 PM SnapinClient ERROR: Snapin hash does not exist
    ------------------------------------------------------------------------------
    

    The snapin runs with the ‘-ms’ argument for silent install. Previous versions of FF were deployed as snapin with the same argument and without issue. Creating the snapin anew does not resolve. My next step is to roll back to a previous version, will share results.

    Curious if anyone else has run into this error specifically with Firefox. Thanks,

    Joe

    FOG 1.3.0-RC-8, Ubuntu 14.04 LTS

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jul 20, 2016, 9:35 PM

      I don’t think it’s specific to the software being installed.

      I had one instance where the server returned a 500 code (syntax/issue with server), however I was not able to see what the error was.

      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
      • T
        Tom Elliott
        last edited by Jul 20, 2016, 9:46 PM

        On thought, can you try editing fogcontroller.class.php. This is found under /var/www/fog/lib/fog/fogcontroller.class.php.

        Look for function isValid within this file.

        You will likely see: if (!$this->get('id')) throw new Exception(_('Invalid ID'))

        Change it to read as: if ($this->get('id') < 1) throw new Exception(_('Invalid ID'));

        Hopefully this will prevent -1 identifiers.

        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

        J 2 Replies Last reply Jul 21, 2016, 2:51 PM Reply Quote 0
        • W
          Wayne Workman
          last edited by Jul 20, 2016, 10:21 PM

          We were having this issue today at work but on about a week old trunk version, afk right now.

          It was a silent avast install, about 250MB. File uploads fine but we got the same error in the fog client log, with hashes not existing.

          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
          • J
            JoeG @Tom Elliott
            last edited by Jul 21, 2016, 2:51 PM

            @Tom-Elliott thanks for the suggestion. here is the isValid function from my /var/www/fog/lib/fog/FOGController.class.php. it doesn’t quite match what you wrote so I wanted to check with you before making changes. can you confirm the change i should make is on the if (!$this->get($field)) line?

                    // isValid
                    /** isValid()
                            Checks that the returned items are valid for the relevant class calling it.
                    */
                    public function isValid()
                    {
                            try
                            {
                                    foreach ($this->databaseFieldsRequired AS $field)
                                    {
                                            if (!$this->get($field))
                                                    throw new Exception(_('Required database field is empty'));
                                    }
                                    if ($this->get('id') || $this->get('name'))
                                            return true;
                            }
                            catch (Exception $e)
                            {
                                    $this->debug('isValid Failed: Error: %s', array($e->getMessage()));
                            }
                            return false;
                    }
            

            Additionally, I created a new snapin for Firefox 45.0.2 and the original error persists. All other snapins are working, though…

            Joe

            FOG 1.3.0-RC-8, Ubuntu 14.04 LTS

            T 1 Reply Last reply Jul 21, 2016, 2:56 PM Reply Quote 0
            • T
              Tom Elliott @JoeG
              last edited by Jul 21, 2016, 2:56 PM

              @JoeG How is that even possible? Your client is showing you’re running 1.3.0-RC-1. However, the file you’re showing is from 1.2.0?

              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

              J 1 Reply Last reply Jul 21, 2016, 3:28 PM Reply Quote 0
              • J
                JoeG @Tom Elliott
                last edited by Jul 21, 2016, 3:28 PM

                @Tom-Elliott beats me! 🙂 very strange. i renamed /var/www/…/FOGController.class.php to FOGController.class.php.backup and ran the FOG 1.3.0-RC-1 installer again but it left the file as is.

                FOG 1.3.0-RC-8, Ubuntu 14.04 LTS

                1 Reply Last reply Reply Quote 0
                • J
                  JoeG @Tom Elliott
                  last edited by Jul 21, 2016, 5:08 PM

                  @Tom-Elliott one other note, the snapins have the names “Firefox 47.0.1” and “Firefox 45” - include spaces and periods. do you think these characters are affecting deployment? as mentioned in this topic: https://forums.fogproject.org/topic/8136/1-3-0-rc-1-snapin-spaces

                  FOG 1.3.0-RC-8, Ubuntu 14.04 LTS

                  T 1 Reply Last reply Jul 21, 2016, 5:09 PM Reply Quote 0
                  • T
                    Tom Elliott @JoeG
                    last edited by Tom Elliott Jul 21, 2016, 11:10 AM Jul 21, 2016, 5:09 PM

                    @JoeG Yes. Yes I do.

                    I have a fix for that which will be available in RC 2, but it will mean recreating the snapins (or reuploading the files).

                    For now, please upload the same files replacing the spaces with _. Make sure the Snapin file for that/those snapins are set to use the _ named files.

                    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

                    J 1 Reply Last reply Jul 21, 2016, 5:24 PM Reply Quote 0
                    • J
                      JoeG @Tom Elliott
                      last edited by Jul 21, 2016, 5:24 PM

                      @Tom-Elliott Success!! changing filename from “Firefox Setup 47.0.1.exe” to “Firefox47.exe” and renaming snapin to “Firefox47” allowed the snapin to deploy. many thanks for your help!

                      FOG 1.3.0-RC-8, Ubuntu 14.04 LTS

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

                      154

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project